bsign-customization-full 0.0.7 → 0.0.8
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/{AppDemo2-DtXW6HLh.js → AppDemo2-CHG7TE-4.js} +13 -16
- package/dist/{index--fus9V0R.js → index-D0KjTST_.js} +288 -289
- package/dist/{index.es-IXkdxZEy.js → index.es-8FCd3L2V.js} +2 -2
- package/dist/sign-constructor.es.js +1 -1
- package/dist/sign-constructor.iife.js +70 -70
- package/package.json +1 -1
- package/src/AppDemo2.tsx +2 -3
- package/src/components/cart-view.tsx +1 -1
- package/src/components/import-file-modal.tsx +3 -3
- package/src/components/size-guide-modal.tsx +1 -1
- package/src/components/ui/dialog.tsx +2 -2
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/select.tsx +4 -4
- package/src/components/ui/sheet.tsx +3 -3
- package/src/components/ui/tooltip.tsx +7 -7
- package/src/index.css +7 -4
- package/src/index.tsx +8 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as D, j as v, g as J1, a as _5, R as Z1, c as cl, u as Rf, b as rh, d as Si } from "./index
|
|
1
|
+
import { r as D, j as v, g as J1, a as _5, R as Z1, c as cl, u as Rf, b as rh, d as Si } from "./index-D0KjTST_.js";
|
|
2
2
|
function Xt(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
3
3
|
return function(i) {
|
|
4
4
|
if (e?.(i), n === !1 || !i.defaultPrevented)
|
|
@@ -5604,13 +5604,13 @@ function Z2({
|
|
|
5604
5604
|
"data-slot": "tooltip-content",
|
|
5605
5605
|
sideOffset: t,
|
|
5606
5606
|
className: Mt(
|
|
5607
|
-
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-
|
|
5607
|
+
"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[2147483002] w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
|
|
5608
5608
|
e
|
|
5609
5609
|
),
|
|
5610
5610
|
...i,
|
|
5611
5611
|
children: [
|
|
5612
5612
|
n,
|
|
5613
|
-
/* @__PURE__ */ v.jsx(Hv, { className: "bg-primary fill-primary z-
|
|
5613
|
+
/* @__PURE__ */ v.jsx(Hv, { className: "bg-primary fill-primary z-[2147483002] size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
|
|
5614
5614
|
]
|
|
5615
5615
|
}
|
|
5616
5616
|
) });
|
|
@@ -9073,7 +9073,7 @@ function od({
|
|
|
9073
9073
|
{
|
|
9074
9074
|
"data-slot": "dialog-overlay",
|
|
9075
9075
|
className: Mt(
|
|
9076
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-
|
|
9076
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[2147483000] bg-black/50",
|
|
9077
9077
|
e
|
|
9078
9078
|
),
|
|
9079
9079
|
...t
|
|
@@ -9093,7 +9093,7 @@ function S8({
|
|
|
9093
9093
|
{
|
|
9094
9094
|
"data-slot": "dialog-content",
|
|
9095
9095
|
className: Mt(
|
|
9096
|
-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-
|
|
9096
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-[2147483001] grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
9097
9097
|
e
|
|
9098
9098
|
),
|
|
9099
9099
|
...r,
|
|
@@ -9161,7 +9161,7 @@ function N8({
|
|
|
9161
9161
|
yc,
|
|
9162
9162
|
{
|
|
9163
9163
|
className: Mt(
|
|
9164
|
-
"fixed left-1/2 top-1/2
|
|
9164
|
+
"fixed left-1/2 top-1/2 max-h-[90vh] w-[calc(100%-1rem)] max-w-[1600px] overflow-auto bg-background -translate-x-1/2 -translate-y-1/2 sm:w-[calc(100%-2rem)]",
|
|
9165
9165
|
"rounded-2xl",
|
|
9166
9166
|
"duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
9167
9167
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
@@ -9962,7 +9962,7 @@ function a7({
|
|
|
9962
9962
|
{
|
|
9963
9963
|
"data-slot": "sheet-overlay",
|
|
9964
9964
|
className: Mt(
|
|
9965
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-
|
|
9965
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[2147483000] bg-black/50",
|
|
9966
9966
|
e
|
|
9967
9967
|
),
|
|
9968
9968
|
...t
|
|
@@ -9982,13 +9982,13 @@ function l7({
|
|
|
9982
9982
|
{
|
|
9983
9983
|
"data-slot": "sheet-content",
|
|
9984
9984
|
className: Mt(
|
|
9985
|
-
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed inset-0 z-
|
|
9985
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed inset-0 z-[2147483001] flex flex-col shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right border-0 md:mx-6 md:my-4 md:rounded-3xl md:border",
|
|
9986
9986
|
e
|
|
9987
9987
|
),
|
|
9988
9988
|
...r,
|
|
9989
9989
|
children: [
|
|
9990
9990
|
t,
|
|
9991
|
-
n && /* @__PURE__ */ v.jsxs(Sa, { className: "z-
|
|
9991
|
+
n && /* @__PURE__ */ v.jsxs(Sa, { className: "z-[2147483002] flex text-[#1C1D1D] items-center gap-1 ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-3 right-3 rounded-xs hover:opacity-70 transition-opacity cursor-pointer text-sm sm:text-base focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none sm:top-4 sm:right-4", children: [
|
|
9992
9992
|
/* @__PURE__ */ v.jsx(Zi, { className: "size-4" }),
|
|
9993
9993
|
/* @__PURE__ */ v.jsx("span", { className: "font-semibold sm:inline", children: "Close" })
|
|
9994
9994
|
] })
|
|
@@ -21180,7 +21180,7 @@ endobj\r
|
|
|
21180
21180
|
var u = c.getContext("2d");
|
|
21181
21181
|
u.fillStyle = "#fff", u.fillRect(0, 0, c.width, c.height);
|
|
21182
21182
|
var f = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, m = this;
|
|
21183
|
-
return (st.canvg ? Promise.resolve(st.canvg) : import("./index.es-
|
|
21183
|
+
return (st.canvg ? Promise.resolve(st.canvg) : import("./index.es-8FCd3L2V.js")).catch(function(b) {
|
|
21184
21184
|
return Promise.reject(new Error("Could not load canvg: " + b));
|
|
21185
21185
|
}).then(function(b) {
|
|
21186
21186
|
return b.default ? b.default : b;
|
|
@@ -22401,7 +22401,7 @@ function iL({
|
|
|
22401
22401
|
yc,
|
|
22402
22402
|
{
|
|
22403
22403
|
className: Mt(
|
|
22404
|
-
"fixed left-1/2 top-1/2
|
|
22404
|
+
"fixed left-1/2 top-1/2 w-[calc(100%-1rem)] max-w-[580px] -translate-x-1/2 -translate-y-1/2 sm:w-full",
|
|
22405
22405
|
"rounded-2xl border border-border bg-background shadow-xl",
|
|
22406
22406
|
"duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
22407
22407
|
"data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
@@ -22855,15 +22855,12 @@ function aL({ openButton: e } = {}) {
|
|
|
22855
22855
|
/* @__PURE__ */ v.jsxs("div", { className: "flex min-h-0 w-full flex-1 flex-col", children: [
|
|
22856
22856
|
/* @__PURE__ */ v.jsx(oL, {}),
|
|
22857
22857
|
/* @__PURE__ */ v.jsxs("div", { className: "flex min-h-0 flex-1 flex-col md:flex-row md:justify-between", children: [
|
|
22858
|
-
f.length > 0 && /* @__PURE__ */ v.
|
|
22859
|
-
/* @__PURE__ */ v.jsx("div", { className: "hidden xl:block xl:w-[700px]" }),
|
|
22860
|
-
/* @__PURE__ */ v.jsx("div", { className: "z-0 transition-all duration-500 ease-in-out xl:fixed xl:top-1/2 xl:-translate-y-1/2 xl:z-0", children: /* @__PURE__ */ v.jsx(cx, {}) })
|
|
22861
|
-
] }),
|
|
22858
|
+
f.length > 0 && /* @__PURE__ */ v.jsx("div", { className: "flex w-full justify-center p-2 pb-4 md:h-full md:items-center md:p-0", children: /* @__PURE__ */ v.jsx("div", { className: "z-0 transition-all duration-500 ease-in-out", children: /* @__PURE__ */ v.jsx(cx, {}) }) }),
|
|
22862
22859
|
/* @__PURE__ */ v.jsx(sL, { setConstructureSelectedItem: n })
|
|
22863
22860
|
] })
|
|
22864
22861
|
] })
|
|
22865
22862
|
] }),
|
|
22866
|
-
/* @__PURE__ */ v.jsx("div", { className: "z-100 w-full border-t border-[#D6D6D6] bg-white px-3 pt-4 pb-[calc(1rem+env(safe-area-inset-bottom))] md:rounded-b-3xl md:p-6", children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
|
|
22863
|
+
/* @__PURE__ */ v.jsx("div", { className: "z-[100] w-full border-t border-[#D6D6D6] bg-white px-3 pt-4 pb-[calc(1rem+env(safe-area-inset-bottom))] md:rounded-b-3xl md:p-6", children: /* @__PURE__ */ v.jsxs("div", { className: "flex flex-col gap-4 md:flex-row md:items-center md:justify-between", children: [
|
|
22867
22864
|
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center w-full justify-between", children: [
|
|
22868
22865
|
/* @__PURE__ */ v.jsxs("div", { className: "flex items-center gap-6", children: [
|
|
22869
22866
|
/* @__PURE__ */ v.jsxs("div", { children: [
|