@veeqo/transfigure 1.1.8 → 1.1.9
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/index100.cjs +1 -1
- package/dist/index100.js +29 -33
- package/dist/index101.cjs +12 -1
- package/dist/index101.js +16 -29
- package/dist/index102.cjs +1 -19
- package/dist/index102.js +14 -23
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +24 -21
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +1 -1
- package/dist/index109.cjs +1 -13
- package/dist/index109.js +2 -17
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +13 -1
- package/dist/index110.js +14 -33
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +26 -2
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +32 -22
- package/dist/index113.cjs +1 -7
- package/dist/index113.js +63 -10
- package/dist/index114.cjs +7 -1
- package/dist/index114.js +10 -63
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +2 -2
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +2 -2
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +2 -2
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +80 -73
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +4 -4
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +118 -2
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +19 -9
- package/dist/index83.cjs +1 -3
- package/dist/index83.js +4 -13
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +41 -9
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +9 -41
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +2 -9
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +8 -4
- package/dist/index88.cjs +3 -1
- package/dist/index88.js +13 -117
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +9 -19
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +21 -24
- package/dist/index98.cjs +18 -11
- package/dist/index98.js +20 -12
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +32 -14
- package/package.json +1 -1
package/dist/index100.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("@veeqo/ui"),r=({shouldShow:a,viewName:n,onCancel:t,onDelete:o})=>e.jsx(i.Modal,{headerTitle:`Delete '${n}' view?`,"data-testid":"act-react-listing-custom-confirmation-popup",variant:"sm",shouldShow:a,onClose:t,rightActions:[{className:"act-react-listing-custom-confirmation-popup-cancel",label:"Cancel",onClick:t,variant:"default"},{className:"act-react-listing-custom-confirmation-popup-delete",label:"Delete",onClick:o,variant:"primaryDestructive"}],showHeaderCloseButton:!0,children:e.jsx(i.Text,{variant:"body",children:"This cannot be undone."})});exports.Confirmation=r;
|
package/dist/index100.js
CHANGED
|
@@ -1,35 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
isLoadingViewCounts: L,
|
|
30
|
-
mutate: d
|
|
31
|
-
};
|
|
32
|
-
};
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Modal as n, Text as r } from "@veeqo/ui";
|
|
3
|
+
const s = ({ shouldShow: a, viewName: i, onCancel: t, onDelete: o }) => /* @__PURE__ */ e(
|
|
4
|
+
n,
|
|
5
|
+
{
|
|
6
|
+
headerTitle: `Delete '${i}' view?`,
|
|
7
|
+
"data-testid": "act-react-listing-custom-confirmation-popup",
|
|
8
|
+
variant: "sm",
|
|
9
|
+
shouldShow: a,
|
|
10
|
+
onClose: t,
|
|
11
|
+
rightActions: [
|
|
12
|
+
{
|
|
13
|
+
className: "act-react-listing-custom-confirmation-popup-cancel",
|
|
14
|
+
label: "Cancel",
|
|
15
|
+
onClick: t,
|
|
16
|
+
variant: "default"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
className: "act-react-listing-custom-confirmation-popup-delete",
|
|
20
|
+
label: "Delete",
|
|
21
|
+
onClick: o,
|
|
22
|
+
variant: "primaryDestructive"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
showHeaderCloseButton: !0,
|
|
26
|
+
children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
|
|
27
|
+
}
|
|
28
|
+
);
|
|
33
29
|
export {
|
|
34
|
-
|
|
30
|
+
s as Confirmation
|
|
35
31
|
};
|
package/dist/index101.cjs
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("styled-components"),t=require("@veeqo/ui"),o=e=>e&&e.__esModule?e:{default:e},r=o(i),d=r.default(t.BaseContainer)`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
padding: 8px;
|
|
5
|
+
padding-left: 35px;
|
|
6
|
+
margin: 8px;
|
|
7
|
+
background-color: ${t.theme.colors.neutral.grey.lightest};
|
|
8
|
+
`,l=r.default.hr`
|
|
9
|
+
width: 100%;
|
|
10
|
+
border-top: 1px solid ${t.theme.colors.neutral.grey.dark};
|
|
11
|
+
margin: 0 0 4px 0;
|
|
12
|
+
`;exports.Divider=l;exports.FixedViews=d;
|
package/dist/index101.js
CHANGED
|
@@ -1,31 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
onClick: t,
|
|
16
|
-
variant: "default"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
className: "act-react-listing-custom-confirmation-popup-delete",
|
|
20
|
-
label: "Delete",
|
|
21
|
-
onClick: o,
|
|
22
|
-
variant: "primaryDestructive"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
showHeaderCloseButton: !0,
|
|
26
|
-
children: /* @__PURE__ */ e(r, { variant: "body", children: "This cannot be undone." })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
1
|
+
import r from "styled-components";
|
|
2
|
+
import { theme as o, BaseContainer as e } from "@veeqo/ui";
|
|
3
|
+
const d = r(e)`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
padding-left: 35px;
|
|
8
|
+
margin: 8px;
|
|
9
|
+
background-color: ${o.colors.neutral.grey.lightest};
|
|
10
|
+
`, l = r.hr`
|
|
11
|
+
width: 100%;
|
|
12
|
+
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
13
|
+
margin: 0 0 4px 0;
|
|
14
|
+
`;
|
|
29
15
|
export {
|
|
30
|
-
|
|
16
|
+
l as Divider,
|
|
17
|
+
d as FixedViews
|
|
31
18
|
};
|
package/dist/index102.cjs
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
margin: ${e.theme.sizes.xs};
|
|
3
|
-
min-width: 180px;
|
|
4
|
-
justify-content: flex-start;
|
|
5
|
-
font-size: ${e.theme.text.body.fontSize};
|
|
6
|
-
|
|
7
|
-
&:hover {
|
|
8
|
-
background-color: ${e.theme.colors.neutral.grey.lightest};
|
|
9
|
-
color: ${e.theme.colors.secondary.blue.base};
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
`,n=o.default(e.Card.Surface).attrs(()=>({role:"listbox",elevation:4}))`
|
|
13
|
-
margin-top: ${e.theme.sizes.xs};
|
|
14
|
-
background-color: white;
|
|
15
|
-
`,l=o.default.hr`
|
|
16
|
-
width: 100%;
|
|
17
|
-
border-top: 1px solid ${e.theme.colors.neutral.grey.dark};
|
|
18
|
-
margin: 0;
|
|
19
|
-
`;exports.Divider=l;exports.Item=i;exports.MenuItems=n;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),l=require("./index110.cjs"),o=e=>i.jsx(l.StyledSortableViews,{...e,onChange:t=>{t.filter(r=>{var n;return(n=r.children)==null?void 0:n.length}).length||e.onChange(t)}});exports.LegacySortableViews=o;
|
package/dist/index102.js
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { StyledSortableViews as i } from "./index110.js";
|
|
3
|
+
const h = (e) => /* @__PURE__ */ o(
|
|
4
|
+
i,
|
|
5
|
+
{
|
|
6
|
+
...e,
|
|
7
|
+
onChange: (t) => {
|
|
8
|
+
t.filter((n) => {
|
|
9
|
+
var r;
|
|
10
|
+
return (r = n.children) == null ? void 0 : r.length;
|
|
11
|
+
}).length || e.onChange(t);
|
|
12
|
+
}
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
margin-top: ${o.sizes.xs};
|
|
16
|
-
background-color: white;
|
|
17
|
-
`, l = t.hr`
|
|
18
|
-
width: 100%;
|
|
19
|
-
border-top: 1px solid ${o.colors.neutral.grey.dark};
|
|
20
|
-
margin: 0;
|
|
21
|
-
`;
|
|
14
|
+
);
|
|
22
15
|
export {
|
|
23
|
-
|
|
24
|
-
n as Item,
|
|
25
|
-
a as MenuItems
|
|
16
|
+
h as LegacySortableViews
|
|
26
17
|
};
|
package/dist/index103.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),n=require("react"),l=require("./index114.cjs"),v=({children:i,style:o,className:c})=>{const r=n.useRef(null),[u,f]=n.useState(0);return n.useEffect(()=>{const e=r.current,s=()=>{if(e){const{top:a}=e.getBoundingClientRect();f(a)}};s();const t=new ResizeObserver(s);return e&&t.observe(e),()=>{e&&t.unobserve(e),t.disconnect()}},[]),d.jsx(l.AdaptiveStyledContainer,{style:o,className:c,offset:u,ref:r,children:i})};exports.AdaptiveHeightContainer=v;
|
package/dist/index103.js
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as a, useState as d, useEffect as m } from "react";
|
|
3
|
+
import { AdaptiveStyledContainer as v } from "./index114.js";
|
|
4
|
+
const R = ({
|
|
5
|
+
children: o,
|
|
6
|
+
style: s,
|
|
7
|
+
className: f
|
|
8
|
+
}) => {
|
|
9
|
+
const r = a(null), [i, c] = d(0);
|
|
10
|
+
return m(() => {
|
|
11
|
+
const e = r.current, n = () => {
|
|
12
|
+
if (e) {
|
|
13
|
+
const { top: u } = e.getBoundingClientRect();
|
|
14
|
+
c(u);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
n();
|
|
18
|
+
const t = new ResizeObserver(n);
|
|
19
|
+
return e && t.observe(e), () => {
|
|
20
|
+
e && t.unobserve(e), t.disconnect();
|
|
21
|
+
};
|
|
22
|
+
}, []), /* @__PURE__ */ p(v, { style: s, className: f, offset: i, ref: r, children: o });
|
|
23
|
+
};
|
|
21
24
|
export {
|
|
22
|
-
|
|
25
|
+
R as AdaptiveHeightContainer
|
|
23
26
|
};
|
package/dist/index104.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@veeqo/ui"),r=require("@veeqo/components"),l=require("framer-motion"),s=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("styled-components"),t=require("@veeqo/ui"),r=require("@veeqo/components"),l=require("framer-motion"),s=require("./index111.cjs"),c=e=>e&&e.__esModule?e:{default:e},o=c(a),{Glyph:i}=r.VeeqoCommon,d=o.default(l.motion(t.BaseContainer)).attrs(()=>({variants:s.notificationVariants,initial:"initial",animate:"animate",exit:"exit"}))`
|
|
2
2
|
display: flex;
|
|
3
3
|
position: fixed;
|
|
4
4
|
width: 100vw;
|
package/dist/index104.js
CHANGED
|
@@ -2,7 +2,7 @@ import t from "styled-components";
|
|
|
2
2
|
import { BaseContainer as n, theme as i, Text as e, Banner as a, Button as l } from "@veeqo/ui";
|
|
3
3
|
import { VeeqoCommon as s } from "@veeqo/components";
|
|
4
4
|
import { motion as c } from "framer-motion";
|
|
5
|
-
import { notificationVariants as p } from "./
|
|
5
|
+
import { notificationVariants as p } from "./index111.js";
|
|
6
6
|
const { Glyph: x } = s, u = t(c(n)).attrs(() => ({
|
|
7
7
|
variants: p,
|
|
8
8
|
initial: "initial",
|
package/dist/index109.cjs
CHANGED
|
@@ -1,13 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
.rst__rowTitle {
|
|
3
|
-
span {
|
|
4
|
-
white-space: nowrap;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
text-overflow: ellipsis;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.rst__rowTitle > div:first-child {
|
|
11
|
-
gap: ${o.theme.sizes.sm};
|
|
12
|
-
}
|
|
13
|
-
`;exports.StyledSortableViews=n;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=r=>r instanceof Error;exports.isError=e;
|
package/dist/index109.js
CHANGED
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { theme as o } from "@veeqo/ui";
|
|
3
|
-
import t from "styled-components";
|
|
4
|
-
const { SortableViews: r } = e, p = t(r)`
|
|
5
|
-
.rst__rowTitle {
|
|
6
|
-
span {
|
|
7
|
-
white-space: nowrap;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
text-overflow: ellipsis;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.rst__rowTitle > div:first-child {
|
|
14
|
-
gap: ${o.sizes.sm};
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
1
|
+
const o = (r) => r instanceof Error;
|
|
17
2
|
export {
|
|
18
|
-
|
|
3
|
+
o as isError
|
|
19
4
|
};
|
package/dist/index11.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),t=require("@veeqo/ui"),h=require("pluralize"),m=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),p=require("react"),t=require("@veeqo/ui"),h=require("pluralize"),m=require("./index83.cjs"),f=e=>e&&e.__esModule?e:{default:e},w=f(h),S=({children:e,totalCount:i,selectedCount:o,itemLabel:r="item"})=>{const[l,c]=p.useState(!1),n=o>0,a=n?o:i,d=w.default(r,a),u=`Actions will apply to ${n?`${o} selected`:`${i} filtered`} ${d}`;return s.jsxs(t.Dropdown,{id:"actions-dropdown",ctaProps:{children:"Actions",variant:"primary",size:"sm"},shouldShow:l,setShouldShow:c,style:{padding:t.theme.sizes.none,minWidth:"300px"},children:[s.jsx("div",{className:m.default.actionsHeaderContainer,children:s.jsx(t.MiniAlert,{title:u,variant:"default",customIconColour:t.theme.colors.secondary.blue.base})}),e]})};exports.ActionsDropdown=S;
|
package/dist/index11.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as p } from "react";
|
|
3
3
|
import { Dropdown as h, theme as e, MiniAlert as u } from "@veeqo/ui";
|
|
4
4
|
import f from "pluralize";
|
|
5
|
-
import w from "./
|
|
5
|
+
import w from "./index83.js";
|
|
6
6
|
const b = ({ children: s, totalCount: t, selectedCount: o, itemLabel: n = "item" }) => {
|
|
7
7
|
const [l, a] = p(!1), i = o > 0, c = f(n, i ? o : t), d = `Actions will apply to ${i ? `${o} selected` : `${t} filtered`} ${c}`;
|
|
8
8
|
return /* @__PURE__ */ m(
|
package/dist/index110.cjs
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@veeqo/components"),o=require("@veeqo/ui"),s=require("styled-components"),l=e=>e&&e.__esModule?e:{default:e},r=l(s),{SortableViews:i}=t.VeeqoUI,n=r.default(i)`
|
|
2
|
+
.rst__rowTitle {
|
|
3
|
+
span {
|
|
4
|
+
white-space: nowrap;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.rst__rowTitle > div:first-child {
|
|
11
|
+
gap: ${o.theme.sizes.sm};
|
|
12
|
+
}
|
|
13
|
+
`;exports.StyledSortableViews=n;
|
package/dist/index110.js
CHANGED
|
@@ -1,38 +1,19 @@
|
|
|
1
|
+
import { VeeqoUI as e } from "@veeqo/components";
|
|
1
2
|
import { theme as o } from "@veeqo/ui";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
thumb: {
|
|
10
|
-
height: 20,
|
|
11
|
-
width: 20,
|
|
12
|
-
backgroundColor: "#fff",
|
|
13
|
-
border: "3px solid currentColor",
|
|
14
|
-
marginTop: -8,
|
|
15
|
-
marginLeft: -10,
|
|
16
|
-
"&:focus, &:hover, &$active": {
|
|
17
|
-
boxShadow: "inherit"
|
|
3
|
+
import t from "styled-components";
|
|
4
|
+
const { SortableViews: r } = e, p = t(r)`
|
|
5
|
+
.rst__rowTitle {
|
|
6
|
+
span {
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
text-overflow: ellipsis;
|
|
18
10
|
}
|
|
19
|
-
},
|
|
20
|
-
valueLabel: {
|
|
21
|
-
left: "calc(-50% - 1px)"
|
|
22
|
-
},
|
|
23
|
-
track: {
|
|
24
|
-
height: 4,
|
|
25
|
-
borderRadius: 4,
|
|
26
|
-
backgroundColor: o.colors.secondary.blue.light,
|
|
27
|
-
opacity: 1
|
|
28
|
-
},
|
|
29
|
-
rail: {
|
|
30
|
-
height: 4,
|
|
31
|
-
borderRadius: 4,
|
|
32
|
-
backgroundColor: o.colors.neutral.grey.dark,
|
|
33
|
-
opacity: 1
|
|
34
11
|
}
|
|
35
|
-
|
|
12
|
+
|
|
13
|
+
.rst__rowTitle > div:first-child {
|
|
14
|
+
gap: ${o.sizes.sm};
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
36
17
|
export {
|
|
37
|
-
|
|
18
|
+
p as StyledSortableViews
|
|
38
19
|
};
|
package/dist/index111.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={initial:{opacity:0,y:50,scale:.95},animate:{opacity:1,y:0,scale:1,transition:{duration:.2,ease:"easeOut"}},exit:{opacity:0,y:20,scale:.95,transition:{duration:.2,ease:"easeIn"}}};exports.notificationVariants=t;
|
package/dist/index111.js
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = {
|
|
2
|
+
initial: {
|
|
3
|
+
opacity: 0,
|
|
4
|
+
y: 50,
|
|
5
|
+
scale: 0.95
|
|
6
|
+
},
|
|
7
|
+
animate: {
|
|
8
|
+
opacity: 1,
|
|
9
|
+
y: 0,
|
|
10
|
+
scale: 1,
|
|
11
|
+
transition: {
|
|
12
|
+
duration: 0.2,
|
|
13
|
+
ease: "easeOut"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
exit: {
|
|
17
|
+
opacity: 0,
|
|
18
|
+
y: 20,
|
|
19
|
+
scale: 0.95,
|
|
20
|
+
transition: {
|
|
21
|
+
duration: 0.2,
|
|
22
|
+
ease: "easeIn"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
};
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
a as notificationVariants
|
|
4
28
|
};
|
package/dist/index112.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@veeqo/ui"),o=require("@material-ui/core/styles"),t=require("@material-ui/core/Slider"),l=e=>e&&e.__esModule?e:{default:e},i=l(t),a=o.withStyles({root:{color:r.theme.colors.secondary.blue.base,height:4},thumb:{height:20,width:20,backgroundColor:"#fff",border:"3px solid currentColor",marginTop:-8,marginLeft:-10,"&:focus, &:hover, &$active":{boxShadow:"inherit"}},valueLabel:{left:"calc(-50% - 1px)"},track:{height:4,borderRadius:4,backgroundColor:r.theme.colors.secondary.blue.light,opacity:1},rail:{height:4,borderRadius:4,backgroundColor:r.theme.colors.neutral.grey.dark,opacity:1}})(i.default);exports.MUISlider=a;
|
package/dist/index112.js
CHANGED
|
@@ -1,28 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { theme as o } from "@veeqo/ui";
|
|
2
|
+
import { withStyles as r } from "@material-ui/core/styles";
|
|
3
|
+
import e from "@material-ui/core/Slider";
|
|
4
|
+
const l = r({
|
|
5
|
+
root: {
|
|
6
|
+
color: o.colors.secondary.blue.base,
|
|
7
|
+
height: 4
|
|
6
8
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
thumb: {
|
|
10
|
+
height: 20,
|
|
11
|
+
width: 20,
|
|
12
|
+
backgroundColor: "#fff",
|
|
13
|
+
border: "3px solid currentColor",
|
|
14
|
+
marginTop: -8,
|
|
15
|
+
marginLeft: -10,
|
|
16
|
+
"&:focus, &:hover, &$active": {
|
|
17
|
+
boxShadow: "inherit"
|
|
14
18
|
}
|
|
15
19
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
valueLabel: {
|
|
21
|
+
left: "calc(-50% - 1px)"
|
|
22
|
+
},
|
|
23
|
+
track: {
|
|
24
|
+
height: 4,
|
|
25
|
+
borderRadius: 4,
|
|
26
|
+
backgroundColor: o.colors.secondary.blue.light,
|
|
27
|
+
opacity: 1
|
|
28
|
+
},
|
|
29
|
+
rail: {
|
|
30
|
+
height: 4,
|
|
31
|
+
borderRadius: 4,
|
|
32
|
+
backgroundColor: o.colors.neutral.grey.dark,
|
|
33
|
+
opacity: 1
|
|
24
34
|
}
|
|
25
|
-
};
|
|
35
|
+
})(e);
|
|
26
36
|
export {
|
|
27
|
-
|
|
37
|
+
l as MUISlider
|
|
28
38
|
};
|
package/dist/index113.cjs
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
padding: ${e.theme.sizes.sm};
|
|
3
|
-
// This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
|
|
4
|
-
// with an additional sizes.base offset at the bottom.
|
|
5
|
-
max-height: calc(100vh ${({offset:t})=>t&&`- ${t}px`} - ${e.theme.sizes.base});
|
|
6
|
-
overflow-y: auto;
|
|
7
|
-
`;exports.AdaptiveStyledContainer=s;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),p=require("mobx-react"),l=require("@veeqo/ui"),v=require("./index112.cjs"),y=p.observer(({data:m,editedValue:t,setEditedValue:c})=>{var b;if(!((b=m.options)!=null&&b.length))return null;const[u,x]=m.options,i=Number(u.value),a=Number(x.value),h=(s,n)=>{if(!Array.isArray(n)||n.length!==2||!t)return;const[e,j]=n,g=t==null?void 0:t.clone();g.setGte(e),g.setLte(j),c(g)},o={gte:(t==null?void 0:t.gte)||0,lte:(t==null?void 0:t.lte)||100},M=s=>{if(!t)return;const n=t.clone(),e=Number(s);e>n.lteMax||(e>=n.gteMin&&e<=n.lteMax&&n.setGte(e),(!n.lte||e>=n.lte)&&n.setLte(n.lteMax),c(n))},f=s=>{if(!t)return;const n=t.clone(),e=Number(s);e<n.gteMin||(e>=n.gteMin&&e<=n.lteMax&&n.setLte(e),(!n.gte||e<=n.gte)&&n.setGte(n.gteMin),c(n))},S=[o.gte,o.lte];return r.jsxs(l.Stack,{spacing:"xs",alignX:"stretch",children:[r.jsxs(l.Stack,{direction:"horizontal",children:[r.jsx(l.TextField,{label:u.label,type:"number",min:i,max:a,value:o.gte.toString(),onChange:M}),r.jsx(l.TextField,{label:x.label,type:"number",min:i,max:a,value:o.lte.toString(),onChange:f})]}),r.jsx(v.MUISlider,{value:S,onChange:h,min:i,max:a,valueLabelDisplay:"auto"})]})});exports.FilterNumberRangeFilter=y;
|
package/dist/index113.js
CHANGED
|
@@ -1,12 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as b, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { observer as N } from "mobx-react";
|
|
3
|
+
import { Stack as h, TextField as u } from "@veeqo/ui";
|
|
4
|
+
import { MUISlider as L } from "./index112.js";
|
|
5
|
+
const j = N(
|
|
6
|
+
({ data: g, editedValue: t, setEditedValue: l }) => {
|
|
7
|
+
var f;
|
|
8
|
+
if (!((f = g.options) != null && f.length)) return null;
|
|
9
|
+
const [i, x] = g.options, s = Number(i.value), c = Number(x.value), p = (e, n) => {
|
|
10
|
+
if (!Array.isArray(n) || n.length !== 2 || !t) return;
|
|
11
|
+
const [r, y] = n, m = t == null ? void 0 : t.clone();
|
|
12
|
+
m.setGte(r), m.setLte(y), l(m);
|
|
13
|
+
}, o = {
|
|
14
|
+
gte: (t == null ? void 0 : t.gte) || 0,
|
|
15
|
+
lte: (t == null ? void 0 : t.lte) || 100
|
|
16
|
+
}, M = (e) => {
|
|
17
|
+
if (!t) return;
|
|
18
|
+
const n = t.clone(), r = Number(e);
|
|
19
|
+
r > n.lteMax || (r >= n.gteMin && r <= n.lteMax && n.setGte(r), (!n.lte || r >= n.lte) && n.setLte(n.lteMax), l(n));
|
|
20
|
+
}, v = (e) => {
|
|
21
|
+
if (!t) return;
|
|
22
|
+
const n = t.clone(), r = Number(e);
|
|
23
|
+
r < n.gteMin || (r >= n.gteMin && r <= n.lteMax && n.setLte(r), (!n.gte || r <= n.gte) && n.setGte(n.gteMin), l(n));
|
|
24
|
+
}, C = [o.gte, o.lte];
|
|
25
|
+
return /* @__PURE__ */ b(h, { spacing: "xs", alignX: "stretch", children: [
|
|
26
|
+
/* @__PURE__ */ b(h, { direction: "horizontal", children: [
|
|
27
|
+
/* @__PURE__ */ a(
|
|
28
|
+
u,
|
|
29
|
+
{
|
|
30
|
+
label: i.label,
|
|
31
|
+
type: "number",
|
|
32
|
+
min: s,
|
|
33
|
+
max: c,
|
|
34
|
+
value: o.gte.toString(),
|
|
35
|
+
onChange: M
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ a(
|
|
39
|
+
u,
|
|
40
|
+
{
|
|
41
|
+
label: x.label,
|
|
42
|
+
type: "number",
|
|
43
|
+
min: s,
|
|
44
|
+
max: c,
|
|
45
|
+
value: o.lte.toString(),
|
|
46
|
+
onChange: v
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] }),
|
|
50
|
+
/* @__PURE__ */ a(
|
|
51
|
+
L,
|
|
52
|
+
{
|
|
53
|
+
value: C,
|
|
54
|
+
onChange: p,
|
|
55
|
+
min: s,
|
|
56
|
+
max: c,
|
|
57
|
+
valueLabelDisplay: "auto"
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] });
|
|
61
|
+
}
|
|
62
|
+
);
|
|
10
63
|
export {
|
|
11
|
-
|
|
64
|
+
j as FilterNumberRangeFilter
|
|
12
65
|
};
|
package/dist/index114.cjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("styled-components"),e=require("@veeqo/ui"),a=t=>t&&t.__esModule?t:{default:t},i=a(o),s=i.default(e.BaseContainer)`
|
|
2
|
+
padding: ${e.theme.sizes.sm};
|
|
3
|
+
// This calculation limits the height to a max of 100% of the viewport and uses offset as the position of the CTA button
|
|
4
|
+
// with an additional sizes.base offset at the bottom.
|
|
5
|
+
max-height: calc(100vh ${({offset:t})=>t&&`- ${t}px`} - ${e.theme.sizes.base});
|
|
6
|
+
overflow-y: auto;
|
|
7
|
+
`;exports.AdaptiveStyledContainer=s;
|