@embedreach/components 0.1.32 → 0.1.33
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/chunks/index.js +217 -7
- package/dist/index.d.ts +3 -1
- package/dist/index.umd.js +217 -7
- package/dist/styles.css +166 -8
- package/package.json +2 -3
package/dist/chunks/index.js
CHANGED
|
@@ -24719,6 +24719,102 @@ function isDate$2(val) {
|
|
|
24719
24719
|
*
|
|
24720
24720
|
* @license MIT
|
|
24721
24721
|
*/
|
|
24722
|
+
function createMemoryHistory(options = {}) {
|
|
24723
|
+
let { initialEntries = ["/"], initialIndex, v5Compat = false } = options;
|
|
24724
|
+
let entries;
|
|
24725
|
+
entries = initialEntries.map(
|
|
24726
|
+
(entry, index22) => createMemoryLocation(
|
|
24727
|
+
entry,
|
|
24728
|
+
typeof entry === "string" ? null : entry.state,
|
|
24729
|
+
index22 === 0 ? "default" : void 0
|
|
24730
|
+
)
|
|
24731
|
+
);
|
|
24732
|
+
let index2 = clampIndex(
|
|
24733
|
+
initialIndex == null ? entries.length - 1 : initialIndex
|
|
24734
|
+
);
|
|
24735
|
+
let action = "POP";
|
|
24736
|
+
let listener = null;
|
|
24737
|
+
function clampIndex(n2) {
|
|
24738
|
+
return Math.min(Math.max(n2, 0), entries.length - 1);
|
|
24739
|
+
}
|
|
24740
|
+
function getCurrentLocation() {
|
|
24741
|
+
return entries[index2];
|
|
24742
|
+
}
|
|
24743
|
+
function createMemoryLocation(to, state = null, key) {
|
|
24744
|
+
let location = createLocation(
|
|
24745
|
+
entries ? getCurrentLocation().pathname : "/",
|
|
24746
|
+
to,
|
|
24747
|
+
state,
|
|
24748
|
+
key
|
|
24749
|
+
);
|
|
24750
|
+
warning(
|
|
24751
|
+
location.pathname.charAt(0) === "/",
|
|
24752
|
+
`relative pathnames are not supported in memory history: ${JSON.stringify(
|
|
24753
|
+
to
|
|
24754
|
+
)}`
|
|
24755
|
+
);
|
|
24756
|
+
return location;
|
|
24757
|
+
}
|
|
24758
|
+
function createHref2(to) {
|
|
24759
|
+
return typeof to === "string" ? to : createPath(to);
|
|
24760
|
+
}
|
|
24761
|
+
let history = {
|
|
24762
|
+
get index() {
|
|
24763
|
+
return index2;
|
|
24764
|
+
},
|
|
24765
|
+
get action() {
|
|
24766
|
+
return action;
|
|
24767
|
+
},
|
|
24768
|
+
get location() {
|
|
24769
|
+
return getCurrentLocation();
|
|
24770
|
+
},
|
|
24771
|
+
createHref: createHref2,
|
|
24772
|
+
createURL(to) {
|
|
24773
|
+
return new URL(createHref2(to), "http://localhost");
|
|
24774
|
+
},
|
|
24775
|
+
encodeLocation(to) {
|
|
24776
|
+
let path2 = typeof to === "string" ? parsePath(to) : to;
|
|
24777
|
+
return {
|
|
24778
|
+
pathname: path2.pathname || "",
|
|
24779
|
+
search: path2.search || "",
|
|
24780
|
+
hash: path2.hash || ""
|
|
24781
|
+
};
|
|
24782
|
+
},
|
|
24783
|
+
push(to, state) {
|
|
24784
|
+
action = "PUSH";
|
|
24785
|
+
let nextLocation = createMemoryLocation(to, state);
|
|
24786
|
+
index2 += 1;
|
|
24787
|
+
entries.splice(index2, entries.length, nextLocation);
|
|
24788
|
+
if (v5Compat && listener) {
|
|
24789
|
+
listener({ action, location: nextLocation, delta: 1 });
|
|
24790
|
+
}
|
|
24791
|
+
},
|
|
24792
|
+
replace(to, state) {
|
|
24793
|
+
action = "REPLACE";
|
|
24794
|
+
let nextLocation = createMemoryLocation(to, state);
|
|
24795
|
+
entries[index2] = nextLocation;
|
|
24796
|
+
if (v5Compat && listener) {
|
|
24797
|
+
listener({ action, location: nextLocation, delta: 0 });
|
|
24798
|
+
}
|
|
24799
|
+
},
|
|
24800
|
+
go(delta) {
|
|
24801
|
+
action = "POP";
|
|
24802
|
+
let nextIndex = clampIndex(index2 + delta);
|
|
24803
|
+
let nextLocation = entries[nextIndex];
|
|
24804
|
+
index2 = nextIndex;
|
|
24805
|
+
if (listener) {
|
|
24806
|
+
listener({ action, location: nextLocation, delta });
|
|
24807
|
+
}
|
|
24808
|
+
},
|
|
24809
|
+
listen(fn) {
|
|
24810
|
+
listener = fn;
|
|
24811
|
+
return () => {
|
|
24812
|
+
listener = null;
|
|
24813
|
+
};
|
|
24814
|
+
}
|
|
24815
|
+
};
|
|
24816
|
+
return history;
|
|
24817
|
+
}
|
|
24722
24818
|
function invariant(value, message2) {
|
|
24723
24819
|
if (value === false || value === null || typeof value === "undefined") {
|
|
24724
24820
|
throw new Error(message2);
|
|
@@ -24733,6 +24829,24 @@ function warning(cond, message2) {
|
|
|
24733
24829
|
}
|
|
24734
24830
|
}
|
|
24735
24831
|
}
|
|
24832
|
+
function createKey() {
|
|
24833
|
+
return Math.random().toString(36).substring(2, 10);
|
|
24834
|
+
}
|
|
24835
|
+
function createLocation(current, to, state = null, key) {
|
|
24836
|
+
let location = {
|
|
24837
|
+
pathname: typeof current === "string" ? current : current.pathname,
|
|
24838
|
+
search: "",
|
|
24839
|
+
hash: "",
|
|
24840
|
+
...typeof to === "string" ? parsePath(to) : to,
|
|
24841
|
+
state,
|
|
24842
|
+
// TODO: This could be cleaned up. push/replace should probably just take
|
|
24843
|
+
// full Locations now and avoid the need to run through this flow at all
|
|
24844
|
+
// But that's a pretty big refactor to the current test suite so going to
|
|
24845
|
+
// keep as is for the time being and just let any incoming keys take precedence
|
|
24846
|
+
key: to && to.key || key || createKey()
|
|
24847
|
+
};
|
|
24848
|
+
return location;
|
|
24849
|
+
}
|
|
24736
24850
|
function createPath({
|
|
24737
24851
|
pathname = "/",
|
|
24738
24852
|
search = "",
|
|
@@ -25610,6 +25724,100 @@ function DataRoutes({
|
|
|
25610
25724
|
}) {
|
|
25611
25725
|
return useRoutesImpl(routes, void 0, state, future);
|
|
25612
25726
|
}
|
|
25727
|
+
function MemoryRouter({
|
|
25728
|
+
basename,
|
|
25729
|
+
children: children2,
|
|
25730
|
+
initialEntries,
|
|
25731
|
+
initialIndex
|
|
25732
|
+
}) {
|
|
25733
|
+
let historyRef = React.useRef();
|
|
25734
|
+
if (historyRef.current == null) {
|
|
25735
|
+
historyRef.current = createMemoryHistory({
|
|
25736
|
+
initialEntries,
|
|
25737
|
+
initialIndex,
|
|
25738
|
+
v5Compat: true
|
|
25739
|
+
});
|
|
25740
|
+
}
|
|
25741
|
+
let history = historyRef.current;
|
|
25742
|
+
let [state, setStateImpl] = React.useState({
|
|
25743
|
+
action: history.action,
|
|
25744
|
+
location: history.location
|
|
25745
|
+
});
|
|
25746
|
+
let setState = React.useCallback(
|
|
25747
|
+
(newState) => {
|
|
25748
|
+
React.startTransition(() => setStateImpl(newState));
|
|
25749
|
+
},
|
|
25750
|
+
[setStateImpl]
|
|
25751
|
+
);
|
|
25752
|
+
React.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
25753
|
+
return /* @__PURE__ */ React.createElement(
|
|
25754
|
+
Router,
|
|
25755
|
+
{
|
|
25756
|
+
basename,
|
|
25757
|
+
children: children2,
|
|
25758
|
+
location: state.location,
|
|
25759
|
+
navigationType: state.action,
|
|
25760
|
+
navigator: history
|
|
25761
|
+
}
|
|
25762
|
+
);
|
|
25763
|
+
}
|
|
25764
|
+
function Router({
|
|
25765
|
+
basename: basenameProp = "/",
|
|
25766
|
+
children: children2 = null,
|
|
25767
|
+
location: locationProp,
|
|
25768
|
+
navigationType = "POP",
|
|
25769
|
+
navigator: navigator2,
|
|
25770
|
+
static: staticProp = false
|
|
25771
|
+
}) {
|
|
25772
|
+
invariant(
|
|
25773
|
+
!useInRouterContext(),
|
|
25774
|
+
`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`
|
|
25775
|
+
);
|
|
25776
|
+
let basename = basenameProp.replace(/^\/*/, "/");
|
|
25777
|
+
let navigationContext = React.useMemo(
|
|
25778
|
+
() => ({
|
|
25779
|
+
basename,
|
|
25780
|
+
navigator: navigator2,
|
|
25781
|
+
static: staticProp,
|
|
25782
|
+
future: {}
|
|
25783
|
+
}),
|
|
25784
|
+
[basename, navigator2, staticProp]
|
|
25785
|
+
);
|
|
25786
|
+
if (typeof locationProp === "string") {
|
|
25787
|
+
locationProp = parsePath(locationProp);
|
|
25788
|
+
}
|
|
25789
|
+
let {
|
|
25790
|
+
pathname = "/",
|
|
25791
|
+
search = "",
|
|
25792
|
+
hash = "",
|
|
25793
|
+
state = null,
|
|
25794
|
+
key = "default"
|
|
25795
|
+
} = locationProp;
|
|
25796
|
+
let locationContext = React.useMemo(() => {
|
|
25797
|
+
let trailingPathname = stripBasename(pathname, basename);
|
|
25798
|
+
if (trailingPathname == null) {
|
|
25799
|
+
return null;
|
|
25800
|
+
}
|
|
25801
|
+
return {
|
|
25802
|
+
location: {
|
|
25803
|
+
pathname: trailingPathname,
|
|
25804
|
+
search,
|
|
25805
|
+
hash,
|
|
25806
|
+
state,
|
|
25807
|
+
key
|
|
25808
|
+
},
|
|
25809
|
+
navigationType
|
|
25810
|
+
};
|
|
25811
|
+
}, [basename, pathname, search, hash, state, key, navigationType]);
|
|
25812
|
+
warning(
|
|
25813
|
+
locationContext != null,
|
|
25814
|
+
`<Router basename="${basename}"> is not able to match the URL "${pathname}${search}${hash}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
25815
|
+
);
|
|
25816
|
+
if (locationContext == null) {
|
|
25817
|
+
return null;
|
|
25818
|
+
}
|
|
25819
|
+
return /* @__PURE__ */ React.createElement(NavigationContext$1.Provider, { value: navigationContext }, /* @__PURE__ */ React.createElement(LocationContext.Provider, { children: children2, value: locationContext }));
|
|
25820
|
+
}
|
|
25613
25821
|
var defaultMethod = "get";
|
|
25614
25822
|
var defaultEncType = "application/x-www-form-urlencoded";
|
|
25615
25823
|
function isHtmlElement(object) {
|
|
@@ -46724,19 +46932,15 @@ const ViewAutomationHeader = ({
|
|
|
46724
46932
|
] })
|
|
46725
46933
|
] });
|
|
46726
46934
|
};
|
|
46727
|
-
const
|
|
46728
|
-
const params = useParams();
|
|
46729
|
-
const [searchParams] = useSearchParams();
|
|
46730
|
-
return { params, searchParams };
|
|
46731
|
-
};
|
|
46732
|
-
const ViewAutomationModal = ({
|
|
46935
|
+
const ViewAutomationModalContent = ({
|
|
46733
46936
|
iconDefinitions,
|
|
46734
46937
|
autoOpenEditPopup,
|
|
46735
46938
|
automationId,
|
|
46736
46939
|
showBackButton = false,
|
|
46737
46940
|
logoUrl
|
|
46738
46941
|
}) => {
|
|
46739
|
-
const
|
|
46942
|
+
const params = useParams();
|
|
46943
|
+
const [searchParams] = useSearchParams();
|
|
46740
46944
|
const FINAL_AUTOMATION_ID = automationId || params?.automationId || searchParams.get("automationId");
|
|
46741
46945
|
const AUTO_OPEN_EDIT_POPUP = autoOpenEditPopup || searchParams.get("autoOpenEditPopup");
|
|
46742
46946
|
const FINAL_SHOW_BACK_BUTTON = searchParams.get("showBackButton") === "true" || showBackButton;
|
|
@@ -46790,6 +46994,12 @@ const ViewAutomationModal = ({
|
|
|
46790
46994
|
] }) })
|
|
46791
46995
|
] });
|
|
46792
46996
|
};
|
|
46997
|
+
const ViewAutomationModal = ({ inRouter = false, ...props }) => {
|
|
46998
|
+
if (inRouter) {
|
|
46999
|
+
return /* @__PURE__ */ jsx(ViewAutomationModalContent, { ...props });
|
|
47000
|
+
}
|
|
47001
|
+
return /* @__PURE__ */ jsx(MemoryRouter, { children: /* @__PURE__ */ jsx(ViewAutomationModalContent, { ...props }) });
|
|
47002
|
+
};
|
|
46793
47003
|
export {
|
|
46794
47004
|
$TRACK as $,
|
|
46795
47005
|
getQueryStatusColorByLabel as A,
|
package/dist/index.d.ts
CHANGED
|
@@ -171,7 +171,9 @@ declare interface ThemeStyles {
|
|
|
171
171
|
'font-heading'?: string;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
export declare const ViewAutomationModal: default_2.FC<ViewAutomationModalProps
|
|
174
|
+
export declare const ViewAutomationModal: default_2.FC<ViewAutomationModalProps & {
|
|
175
|
+
inRouter?: boolean;
|
|
176
|
+
}>;
|
|
175
177
|
|
|
176
178
|
declare type ViewAutomationModalProps = {
|
|
177
179
|
/**
|
package/dist/index.umd.js
CHANGED
|
@@ -24736,6 +24736,102 @@
|
|
|
24736
24736
|
*
|
|
24737
24737
|
* @license MIT
|
|
24738
24738
|
*/
|
|
24739
|
+
function createMemoryHistory(options2 = {}) {
|
|
24740
|
+
let { initialEntries = ["/"], initialIndex, v5Compat = false } = options2;
|
|
24741
|
+
let entries;
|
|
24742
|
+
entries = initialEntries.map(
|
|
24743
|
+
(entry, index22) => createMemoryLocation(
|
|
24744
|
+
entry,
|
|
24745
|
+
typeof entry === "string" ? null : entry.state,
|
|
24746
|
+
index22 === 0 ? "default" : void 0
|
|
24747
|
+
)
|
|
24748
|
+
);
|
|
24749
|
+
let index2 = clampIndex(
|
|
24750
|
+
initialIndex == null ? entries.length - 1 : initialIndex
|
|
24751
|
+
);
|
|
24752
|
+
let action = "POP";
|
|
24753
|
+
let listener = null;
|
|
24754
|
+
function clampIndex(n2) {
|
|
24755
|
+
return Math.min(Math.max(n2, 0), entries.length - 1);
|
|
24756
|
+
}
|
|
24757
|
+
function getCurrentLocation() {
|
|
24758
|
+
return entries[index2];
|
|
24759
|
+
}
|
|
24760
|
+
function createMemoryLocation(to, state = null, key) {
|
|
24761
|
+
let location = createLocation(
|
|
24762
|
+
entries ? getCurrentLocation().pathname : "/",
|
|
24763
|
+
to,
|
|
24764
|
+
state,
|
|
24765
|
+
key
|
|
24766
|
+
);
|
|
24767
|
+
warning(
|
|
24768
|
+
location.pathname.charAt(0) === "/",
|
|
24769
|
+
`relative pathnames are not supported in memory history: ${JSON.stringify(
|
|
24770
|
+
to
|
|
24771
|
+
)}`
|
|
24772
|
+
);
|
|
24773
|
+
return location;
|
|
24774
|
+
}
|
|
24775
|
+
function createHref2(to) {
|
|
24776
|
+
return typeof to === "string" ? to : createPath(to);
|
|
24777
|
+
}
|
|
24778
|
+
let history = {
|
|
24779
|
+
get index() {
|
|
24780
|
+
return index2;
|
|
24781
|
+
},
|
|
24782
|
+
get action() {
|
|
24783
|
+
return action;
|
|
24784
|
+
},
|
|
24785
|
+
get location() {
|
|
24786
|
+
return getCurrentLocation();
|
|
24787
|
+
},
|
|
24788
|
+
createHref: createHref2,
|
|
24789
|
+
createURL(to) {
|
|
24790
|
+
return new URL(createHref2(to), "http://localhost");
|
|
24791
|
+
},
|
|
24792
|
+
encodeLocation(to) {
|
|
24793
|
+
let path2 = typeof to === "string" ? parsePath(to) : to;
|
|
24794
|
+
return {
|
|
24795
|
+
pathname: path2.pathname || "",
|
|
24796
|
+
search: path2.search || "",
|
|
24797
|
+
hash: path2.hash || ""
|
|
24798
|
+
};
|
|
24799
|
+
},
|
|
24800
|
+
push(to, state) {
|
|
24801
|
+
action = "PUSH";
|
|
24802
|
+
let nextLocation = createMemoryLocation(to, state);
|
|
24803
|
+
index2 += 1;
|
|
24804
|
+
entries.splice(index2, entries.length, nextLocation);
|
|
24805
|
+
if (v5Compat && listener) {
|
|
24806
|
+
listener({ action, location: nextLocation, delta: 1 });
|
|
24807
|
+
}
|
|
24808
|
+
},
|
|
24809
|
+
replace(to, state) {
|
|
24810
|
+
action = "REPLACE";
|
|
24811
|
+
let nextLocation = createMemoryLocation(to, state);
|
|
24812
|
+
entries[index2] = nextLocation;
|
|
24813
|
+
if (v5Compat && listener) {
|
|
24814
|
+
listener({ action, location: nextLocation, delta: 0 });
|
|
24815
|
+
}
|
|
24816
|
+
},
|
|
24817
|
+
go(delta) {
|
|
24818
|
+
action = "POP";
|
|
24819
|
+
let nextIndex = clampIndex(index2 + delta);
|
|
24820
|
+
let nextLocation = entries[nextIndex];
|
|
24821
|
+
index2 = nextIndex;
|
|
24822
|
+
if (listener) {
|
|
24823
|
+
listener({ action, location: nextLocation, delta });
|
|
24824
|
+
}
|
|
24825
|
+
},
|
|
24826
|
+
listen(fn) {
|
|
24827
|
+
listener = fn;
|
|
24828
|
+
return () => {
|
|
24829
|
+
listener = null;
|
|
24830
|
+
};
|
|
24831
|
+
}
|
|
24832
|
+
};
|
|
24833
|
+
return history;
|
|
24834
|
+
}
|
|
24739
24835
|
function invariant(value, message2) {
|
|
24740
24836
|
if (value === false || value === null || typeof value === "undefined") {
|
|
24741
24837
|
throw new Error(message2);
|
|
@@ -24750,6 +24846,24 @@
|
|
|
24750
24846
|
}
|
|
24751
24847
|
}
|
|
24752
24848
|
}
|
|
24849
|
+
function createKey() {
|
|
24850
|
+
return Math.random().toString(36).substring(2, 10);
|
|
24851
|
+
}
|
|
24852
|
+
function createLocation(current, to, state = null, key) {
|
|
24853
|
+
let location = {
|
|
24854
|
+
pathname: typeof current === "string" ? current : current.pathname,
|
|
24855
|
+
search: "",
|
|
24856
|
+
hash: "",
|
|
24857
|
+
...typeof to === "string" ? parsePath(to) : to,
|
|
24858
|
+
state,
|
|
24859
|
+
// TODO: This could be cleaned up. push/replace should probably just take
|
|
24860
|
+
// full Locations now and avoid the need to run through this flow at all
|
|
24861
|
+
// But that's a pretty big refactor to the current test suite so going to
|
|
24862
|
+
// keep as is for the time being and just let any incoming keys take precedence
|
|
24863
|
+
key: to && to.key || key || createKey()
|
|
24864
|
+
};
|
|
24865
|
+
return location;
|
|
24866
|
+
}
|
|
24753
24867
|
function createPath({
|
|
24754
24868
|
pathname = "/",
|
|
24755
24869
|
search = "",
|
|
@@ -25627,6 +25741,100 @@ Please change the parent <Route path="${parentPath}"> to <Route path="${parentPa
|
|
|
25627
25741
|
}) {
|
|
25628
25742
|
return useRoutesImpl(routes, void 0, state, future);
|
|
25629
25743
|
}
|
|
25744
|
+
function MemoryRouter({
|
|
25745
|
+
basename,
|
|
25746
|
+
children: children2,
|
|
25747
|
+
initialEntries,
|
|
25748
|
+
initialIndex
|
|
25749
|
+
}) {
|
|
25750
|
+
let historyRef = React__namespace.useRef();
|
|
25751
|
+
if (historyRef.current == null) {
|
|
25752
|
+
historyRef.current = createMemoryHistory({
|
|
25753
|
+
initialEntries,
|
|
25754
|
+
initialIndex,
|
|
25755
|
+
v5Compat: true
|
|
25756
|
+
});
|
|
25757
|
+
}
|
|
25758
|
+
let history = historyRef.current;
|
|
25759
|
+
let [state, setStateImpl] = React__namespace.useState({
|
|
25760
|
+
action: history.action,
|
|
25761
|
+
location: history.location
|
|
25762
|
+
});
|
|
25763
|
+
let setState = React__namespace.useCallback(
|
|
25764
|
+
(newState) => {
|
|
25765
|
+
React__namespace.startTransition(() => setStateImpl(newState));
|
|
25766
|
+
},
|
|
25767
|
+
[setStateImpl]
|
|
25768
|
+
);
|
|
25769
|
+
React__namespace.useLayoutEffect(() => history.listen(setState), [history, setState]);
|
|
25770
|
+
return /* @__PURE__ */ React__namespace.createElement(
|
|
25771
|
+
Router,
|
|
25772
|
+
{
|
|
25773
|
+
basename,
|
|
25774
|
+
children: children2,
|
|
25775
|
+
location: state.location,
|
|
25776
|
+
navigationType: state.action,
|
|
25777
|
+
navigator: history
|
|
25778
|
+
}
|
|
25779
|
+
);
|
|
25780
|
+
}
|
|
25781
|
+
function Router({
|
|
25782
|
+
basename: basenameProp = "/",
|
|
25783
|
+
children: children2 = null,
|
|
25784
|
+
location: locationProp,
|
|
25785
|
+
navigationType = "POP",
|
|
25786
|
+
navigator: navigator2,
|
|
25787
|
+
static: staticProp = false
|
|
25788
|
+
}) {
|
|
25789
|
+
invariant(
|
|
25790
|
+
!useInRouterContext(),
|
|
25791
|
+
`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`
|
|
25792
|
+
);
|
|
25793
|
+
let basename = basenameProp.replace(/^\/*/, "/");
|
|
25794
|
+
let navigationContext = React__namespace.useMemo(
|
|
25795
|
+
() => ({
|
|
25796
|
+
basename,
|
|
25797
|
+
navigator: navigator2,
|
|
25798
|
+
static: staticProp,
|
|
25799
|
+
future: {}
|
|
25800
|
+
}),
|
|
25801
|
+
[basename, navigator2, staticProp]
|
|
25802
|
+
);
|
|
25803
|
+
if (typeof locationProp === "string") {
|
|
25804
|
+
locationProp = parsePath(locationProp);
|
|
25805
|
+
}
|
|
25806
|
+
let {
|
|
25807
|
+
pathname = "/",
|
|
25808
|
+
search = "",
|
|
25809
|
+
hash = "",
|
|
25810
|
+
state = null,
|
|
25811
|
+
key = "default"
|
|
25812
|
+
} = locationProp;
|
|
25813
|
+
let locationContext = React__namespace.useMemo(() => {
|
|
25814
|
+
let trailingPathname = stripBasename(pathname, basename);
|
|
25815
|
+
if (trailingPathname == null) {
|
|
25816
|
+
return null;
|
|
25817
|
+
}
|
|
25818
|
+
return {
|
|
25819
|
+
location: {
|
|
25820
|
+
pathname: trailingPathname,
|
|
25821
|
+
search,
|
|
25822
|
+
hash,
|
|
25823
|
+
state,
|
|
25824
|
+
key
|
|
25825
|
+
},
|
|
25826
|
+
navigationType
|
|
25827
|
+
};
|
|
25828
|
+
}, [basename, pathname, search, hash, state, key, navigationType]);
|
|
25829
|
+
warning(
|
|
25830
|
+
locationContext != null,
|
|
25831
|
+
`<Router basename="${basename}"> is not able to match the URL "${pathname}${search}${hash}" because it does not start with the basename, so the <Router> won't render anything.`
|
|
25832
|
+
);
|
|
25833
|
+
if (locationContext == null) {
|
|
25834
|
+
return null;
|
|
25835
|
+
}
|
|
25836
|
+
return /* @__PURE__ */ React__namespace.createElement(NavigationContext$1.Provider, { value: navigationContext }, /* @__PURE__ */ React__namespace.createElement(LocationContext.Provider, { children: children2, value: locationContext }));
|
|
25837
|
+
}
|
|
25630
25838
|
var defaultMethod = "get";
|
|
25631
25839
|
var defaultEncType = "application/x-www-form-urlencoded";
|
|
25632
25840
|
function isHtmlElement(object) {
|
|
@@ -46741,19 +46949,15 @@ ${message2 ?? ""}`);
|
|
|
46741
46949
|
] })
|
|
46742
46950
|
] });
|
|
46743
46951
|
};
|
|
46744
|
-
const
|
|
46745
|
-
const params = useParams();
|
|
46746
|
-
const [searchParams] = useSearchParams();
|
|
46747
|
-
return { params, searchParams };
|
|
46748
|
-
};
|
|
46749
|
-
const ViewAutomationModal = ({
|
|
46952
|
+
const ViewAutomationModalContent = ({
|
|
46750
46953
|
iconDefinitions,
|
|
46751
46954
|
autoOpenEditPopup,
|
|
46752
46955
|
automationId,
|
|
46753
46956
|
showBackButton = false,
|
|
46754
46957
|
logoUrl
|
|
46755
46958
|
}) => {
|
|
46756
|
-
const
|
|
46959
|
+
const params = useParams();
|
|
46960
|
+
const [searchParams] = useSearchParams();
|
|
46757
46961
|
const FINAL_AUTOMATION_ID = automationId || params?.automationId || searchParams.get("automationId");
|
|
46758
46962
|
const AUTO_OPEN_EDIT_POPUP = autoOpenEditPopup || searchParams.get("autoOpenEditPopup");
|
|
46759
46963
|
const FINAL_SHOW_BACK_BUTTON = searchParams.get("showBackButton") === "true" || showBackButton;
|
|
@@ -46807,6 +47011,12 @@ ${message2 ?? ""}`);
|
|
|
46807
47011
|
] }) })
|
|
46808
47012
|
] });
|
|
46809
47013
|
};
|
|
47014
|
+
const ViewAutomationModal = ({ inRouter = false, ...props }) => {
|
|
47015
|
+
if (inRouter) {
|
|
47016
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ViewAutomationModalContent, { ...props });
|
|
47017
|
+
}
|
|
47018
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MemoryRouter, { children: /* @__PURE__ */ jsxRuntime.jsx(ViewAutomationModalContent, { ...props }) });
|
|
47019
|
+
};
|
|
46810
47020
|
var isNonNullable = (i2) => i2 != null;
|
|
46811
47021
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
46812
47022
|
function chain(callbacks) {
|
package/dist/styles.css
CHANGED
|
@@ -3719,6 +3719,12 @@ video {
|
|
|
3719
3719
|
.\[\&_tr\]\:border-t tr {
|
|
3720
3720
|
border-top-width: 1px;
|
|
3721
3721
|
}
|
|
3722
|
+
/**
|
|
3723
|
+
* This is needed to render shadcn components correctly with the right styles
|
|
3724
|
+
* This is similarly needed in the iframe parent @see App.css
|
|
3725
|
+
*/
|
|
3726
|
+
|
|
3727
|
+
|
|
3722
3728
|
*, ::before, ::after {
|
|
3723
3729
|
--tw-border-spacing-x: 0;
|
|
3724
3730
|
--tw-border-spacing-y: 0;
|
|
@@ -3773,6 +3779,7 @@ video {
|
|
|
3773
3779
|
--tw-contain-style: ;
|
|
3774
3780
|
}
|
|
3775
3781
|
|
|
3782
|
+
|
|
3776
3783
|
::backdrop {
|
|
3777
3784
|
--tw-border-spacing-x: 0;
|
|
3778
3785
|
--tw-border-spacing-y: 0;
|
|
@@ -3825,13 +3832,19 @@ video {
|
|
|
3825
3832
|
--tw-contain-layout: ;
|
|
3826
3833
|
--tw-contain-paint: ;
|
|
3827
3834
|
--tw-contain-style: ;
|
|
3828
|
-
}
|
|
3829
|
-
|
|
3830
|
-
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
|
|
3839
|
+
*/
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
/*
|
|
3831
3843
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
3832
3844
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
3833
3845
|
*/
|
|
3834
3846
|
|
|
3847
|
+
|
|
3835
3848
|
*,
|
|
3836
3849
|
::before,
|
|
3837
3850
|
::after {
|
|
@@ -3841,11 +3854,13 @@ video {
|
|
|
3841
3854
|
border-color: #e5e7eb; /* 2 */
|
|
3842
3855
|
}
|
|
3843
3856
|
|
|
3857
|
+
|
|
3844
3858
|
::before,
|
|
3845
3859
|
::after {
|
|
3846
3860
|
--tw-content: '';
|
|
3847
3861
|
}
|
|
3848
3862
|
|
|
3863
|
+
|
|
3849
3864
|
/*
|
|
3850
3865
|
1. Use a consistent sensible line-height in all browsers.
|
|
3851
3866
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
@@ -3856,6 +3871,7 @@ video {
|
|
|
3856
3871
|
7. Disable tap highlights on iOS
|
|
3857
3872
|
*/
|
|
3858
3873
|
|
|
3874
|
+
|
|
3859
3875
|
html,
|
|
3860
3876
|
:host {
|
|
3861
3877
|
line-height: 1.5; /* 1 */
|
|
@@ -3869,41 +3885,49 @@ html,
|
|
|
3869
3885
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
3870
3886
|
}
|
|
3871
3887
|
|
|
3888
|
+
|
|
3872
3889
|
/*
|
|
3873
3890
|
1. Remove the margin in all browsers.
|
|
3874
3891
|
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
|
3875
3892
|
*/
|
|
3876
3893
|
|
|
3894
|
+
|
|
3877
3895
|
body {
|
|
3878
3896
|
margin: 0; /* 1 */
|
|
3879
3897
|
line-height: inherit; /* 2 */
|
|
3880
3898
|
}
|
|
3881
3899
|
|
|
3900
|
+
|
|
3882
3901
|
/*
|
|
3883
3902
|
1. Add the correct height in Firefox.
|
|
3884
3903
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3885
3904
|
3. Ensure horizontal rules are visible by default.
|
|
3886
3905
|
*/
|
|
3887
3906
|
|
|
3907
|
+
|
|
3888
3908
|
hr {
|
|
3889
3909
|
height: 0; /* 1 */
|
|
3890
3910
|
color: inherit; /* 2 */
|
|
3891
3911
|
border-top-width: 1px; /* 3 */
|
|
3892
3912
|
}
|
|
3893
3913
|
|
|
3914
|
+
|
|
3894
3915
|
/*
|
|
3895
3916
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
3896
3917
|
*/
|
|
3897
3918
|
|
|
3919
|
+
|
|
3898
3920
|
abbr:where([title]) {
|
|
3899
3921
|
-webkit-text-decoration: underline dotted;
|
|
3900
3922
|
text-decoration: underline dotted;
|
|
3901
3923
|
}
|
|
3902
3924
|
|
|
3925
|
+
|
|
3903
3926
|
/*
|
|
3904
3927
|
Remove the default font size and weight for headings.
|
|
3905
3928
|
*/
|
|
3906
3929
|
|
|
3930
|
+
|
|
3907
3931
|
h1,
|
|
3908
3932
|
h2,
|
|
3909
3933
|
h3,
|
|
@@ -3914,24 +3938,29 @@ h6 {
|
|
|
3914
3938
|
font-weight: inherit;
|
|
3915
3939
|
}
|
|
3916
3940
|
|
|
3941
|
+
|
|
3917
3942
|
/*
|
|
3918
3943
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
3919
3944
|
*/
|
|
3920
3945
|
|
|
3946
|
+
|
|
3921
3947
|
a {
|
|
3922
3948
|
color: inherit;
|
|
3923
3949
|
text-decoration: inherit;
|
|
3924
3950
|
}
|
|
3925
3951
|
|
|
3952
|
+
|
|
3926
3953
|
/*
|
|
3927
3954
|
Add the correct font weight in Edge and Safari.
|
|
3928
3955
|
*/
|
|
3929
3956
|
|
|
3957
|
+
|
|
3930
3958
|
b,
|
|
3931
3959
|
strong {
|
|
3932
3960
|
font-weight: bolder;
|
|
3933
3961
|
}
|
|
3934
3962
|
|
|
3963
|
+
|
|
3935
3964
|
/*
|
|
3936
3965
|
1. Use the user's configured `mono` font-family by default.
|
|
3937
3966
|
2. Use the user's configured `mono` font-feature-settings by default.
|
|
@@ -3939,6 +3968,7 @@ strong {
|
|
|
3939
3968
|
4. Correct the odd `em` font sizing in all browsers.
|
|
3940
3969
|
*/
|
|
3941
3970
|
|
|
3971
|
+
|
|
3942
3972
|
code,
|
|
3943
3973
|
kbd,
|
|
3944
3974
|
samp,
|
|
@@ -3949,18 +3979,22 @@ pre {
|
|
|
3949
3979
|
font-size: 1em; /* 4 */
|
|
3950
3980
|
}
|
|
3951
3981
|
|
|
3982
|
+
|
|
3952
3983
|
/*
|
|
3953
3984
|
Add the correct font size in all browsers.
|
|
3954
3985
|
*/
|
|
3955
3986
|
|
|
3987
|
+
|
|
3956
3988
|
small {
|
|
3957
3989
|
font-size: 80%;
|
|
3958
3990
|
}
|
|
3959
3991
|
|
|
3992
|
+
|
|
3960
3993
|
/*
|
|
3961
3994
|
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
3962
3995
|
*/
|
|
3963
3996
|
|
|
3997
|
+
|
|
3964
3998
|
sub,
|
|
3965
3999
|
sup {
|
|
3966
4000
|
font-size: 75%;
|
|
@@ -3969,32 +4003,38 @@ sup {
|
|
|
3969
4003
|
vertical-align: baseline;
|
|
3970
4004
|
}
|
|
3971
4005
|
|
|
4006
|
+
|
|
3972
4007
|
sub {
|
|
3973
4008
|
bottom: -0.25em;
|
|
3974
4009
|
}
|
|
3975
4010
|
|
|
4011
|
+
|
|
3976
4012
|
sup {
|
|
3977
4013
|
top: -0.5em;
|
|
3978
4014
|
}
|
|
3979
4015
|
|
|
4016
|
+
|
|
3980
4017
|
/*
|
|
3981
4018
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
3982
4019
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3983
4020
|
3. Remove gaps between table borders by default.
|
|
3984
4021
|
*/
|
|
3985
4022
|
|
|
4023
|
+
|
|
3986
4024
|
table {
|
|
3987
4025
|
text-indent: 0; /* 1 */
|
|
3988
4026
|
border-color: inherit; /* 2 */
|
|
3989
4027
|
border-collapse: collapse; /* 3 */
|
|
3990
4028
|
}
|
|
3991
4029
|
|
|
4030
|
+
|
|
3992
4031
|
/*
|
|
3993
4032
|
1. Change the font styles in all browsers.
|
|
3994
4033
|
2. Remove the margin in Firefox and Safari.
|
|
3995
4034
|
3. Remove default padding in all browsers.
|
|
3996
4035
|
*/
|
|
3997
4036
|
|
|
4037
|
+
|
|
3998
4038
|
button,
|
|
3999
4039
|
input,
|
|
4000
4040
|
optgroup,
|
|
@@ -4012,20 +4052,24 @@ textarea {
|
|
|
4012
4052
|
padding: 0; /* 3 */
|
|
4013
4053
|
}
|
|
4014
4054
|
|
|
4055
|
+
|
|
4015
4056
|
/*
|
|
4016
4057
|
Remove the inheritance of text transform in Edge and Firefox.
|
|
4017
4058
|
*/
|
|
4018
4059
|
|
|
4060
|
+
|
|
4019
4061
|
button,
|
|
4020
4062
|
select {
|
|
4021
4063
|
text-transform: none;
|
|
4022
4064
|
}
|
|
4023
4065
|
|
|
4066
|
+
|
|
4024
4067
|
/*
|
|
4025
4068
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
4026
4069
|
2. Remove default button styles.
|
|
4027
4070
|
*/
|
|
4028
4071
|
|
|
4072
|
+
|
|
4029
4073
|
button,
|
|
4030
4074
|
input:where([type='button']),
|
|
4031
4075
|
input:where([type='reset']),
|
|
@@ -4035,79 +4079,97 @@ input:where([type='submit']) {
|
|
|
4035
4079
|
background-image: none; /* 2 */
|
|
4036
4080
|
}
|
|
4037
4081
|
|
|
4082
|
+
|
|
4038
4083
|
/*
|
|
4039
4084
|
Use the modern Firefox focus style for all focusable elements.
|
|
4040
4085
|
*/
|
|
4041
4086
|
|
|
4087
|
+
|
|
4042
4088
|
:-moz-focusring {
|
|
4043
4089
|
outline: auto;
|
|
4044
4090
|
}
|
|
4045
4091
|
|
|
4092
|
+
|
|
4046
4093
|
/*
|
|
4047
4094
|
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
4048
4095
|
*/
|
|
4049
4096
|
|
|
4097
|
+
|
|
4050
4098
|
:-moz-ui-invalid {
|
|
4051
4099
|
box-shadow: none;
|
|
4052
4100
|
}
|
|
4053
4101
|
|
|
4102
|
+
|
|
4054
4103
|
/*
|
|
4055
4104
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
4056
4105
|
*/
|
|
4057
4106
|
|
|
4107
|
+
|
|
4058
4108
|
progress {
|
|
4059
4109
|
vertical-align: baseline;
|
|
4060
4110
|
}
|
|
4061
4111
|
|
|
4112
|
+
|
|
4062
4113
|
/*
|
|
4063
4114
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
4064
4115
|
*/
|
|
4065
4116
|
|
|
4117
|
+
|
|
4066
4118
|
::-webkit-inner-spin-button,
|
|
4067
4119
|
::-webkit-outer-spin-button {
|
|
4068
4120
|
height: auto;
|
|
4069
4121
|
}
|
|
4070
4122
|
|
|
4123
|
+
|
|
4071
4124
|
/*
|
|
4072
4125
|
1. Correct the odd appearance in Chrome and Safari.
|
|
4073
4126
|
2. Correct the outline style in Safari.
|
|
4074
4127
|
*/
|
|
4075
4128
|
|
|
4129
|
+
|
|
4076
4130
|
[type='search'] {
|
|
4077
4131
|
-webkit-appearance: textfield; /* 1 */
|
|
4078
4132
|
outline-offset: -2px; /* 2 */
|
|
4079
4133
|
}
|
|
4080
4134
|
|
|
4135
|
+
|
|
4081
4136
|
/*
|
|
4082
4137
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
4083
4138
|
*/
|
|
4084
4139
|
|
|
4140
|
+
|
|
4085
4141
|
::-webkit-search-decoration {
|
|
4086
4142
|
-webkit-appearance: none;
|
|
4087
4143
|
}
|
|
4088
4144
|
|
|
4145
|
+
|
|
4089
4146
|
/*
|
|
4090
4147
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
4091
4148
|
2. Change font properties to `inherit` in Safari.
|
|
4092
4149
|
*/
|
|
4093
4150
|
|
|
4151
|
+
|
|
4094
4152
|
::-webkit-file-upload-button {
|
|
4095
4153
|
-webkit-appearance: button; /* 1 */
|
|
4096
4154
|
font: inherit; /* 2 */
|
|
4097
4155
|
}
|
|
4098
4156
|
|
|
4157
|
+
|
|
4099
4158
|
/*
|
|
4100
4159
|
Add the correct display in Chrome and Safari.
|
|
4101
4160
|
*/
|
|
4102
4161
|
|
|
4162
|
+
|
|
4103
4163
|
summary {
|
|
4104
4164
|
display: list-item;
|
|
4105
4165
|
}
|
|
4106
4166
|
|
|
4167
|
+
|
|
4107
4168
|
/*
|
|
4108
4169
|
Removes the default spacing and border for appropriate elements.
|
|
4109
4170
|
*/
|
|
4110
4171
|
|
|
4172
|
+
|
|
4111
4173
|
blockquote,
|
|
4112
4174
|
dl,
|
|
4113
4175
|
dd,
|
|
@@ -4124,15 +4186,18 @@ pre {
|
|
|
4124
4186
|
margin: 0;
|
|
4125
4187
|
}
|
|
4126
4188
|
|
|
4189
|
+
|
|
4127
4190
|
fieldset {
|
|
4128
4191
|
margin: 0;
|
|
4129
4192
|
padding: 0;
|
|
4130
4193
|
}
|
|
4131
4194
|
|
|
4195
|
+
|
|
4132
4196
|
legend {
|
|
4133
4197
|
padding: 0;
|
|
4134
4198
|
}
|
|
4135
4199
|
|
|
4200
|
+
|
|
4136
4201
|
ol,
|
|
4137
4202
|
ul,
|
|
4138
4203
|
menu {
|
|
@@ -4141,59 +4206,74 @@ menu {
|
|
|
4141
4206
|
padding: 0;
|
|
4142
4207
|
}
|
|
4143
4208
|
|
|
4209
|
+
|
|
4144
4210
|
/*
|
|
4145
4211
|
Reset default styling for dialogs.
|
|
4146
4212
|
*/
|
|
4213
|
+
|
|
4214
|
+
|
|
4147
4215
|
dialog {
|
|
4148
4216
|
padding: 0;
|
|
4149
4217
|
}
|
|
4150
4218
|
|
|
4219
|
+
|
|
4151
4220
|
/*
|
|
4152
4221
|
Prevent resizing textareas horizontally by default.
|
|
4153
4222
|
*/
|
|
4154
4223
|
|
|
4224
|
+
|
|
4155
4225
|
textarea {
|
|
4156
4226
|
resize: vertical;
|
|
4157
4227
|
}
|
|
4158
4228
|
|
|
4229
|
+
|
|
4159
4230
|
/*
|
|
4160
4231
|
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
4161
4232
|
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
4162
4233
|
*/
|
|
4163
4234
|
|
|
4235
|
+
|
|
4164
4236
|
input::-moz-placeholder, textarea::-moz-placeholder {
|
|
4165
4237
|
opacity: 1; /* 1 */
|
|
4166
4238
|
color: #9ca3af; /* 2 */
|
|
4167
4239
|
}
|
|
4168
4240
|
|
|
4241
|
+
|
|
4169
4242
|
input::placeholder,
|
|
4170
4243
|
textarea::placeholder {
|
|
4171
4244
|
opacity: 1; /* 1 */
|
|
4172
4245
|
color: #9ca3af; /* 2 */
|
|
4173
4246
|
}
|
|
4174
4247
|
|
|
4248
|
+
|
|
4175
4249
|
/*
|
|
4176
4250
|
Set the default cursor for buttons.
|
|
4177
4251
|
*/
|
|
4178
4252
|
|
|
4253
|
+
|
|
4179
4254
|
button,
|
|
4180
4255
|
[role="button"] {
|
|
4181
4256
|
cursor: pointer;
|
|
4182
4257
|
}
|
|
4183
4258
|
|
|
4259
|
+
|
|
4184
4260
|
/*
|
|
4185
4261
|
Make sure disabled buttons don't get the pointer cursor.
|
|
4186
4262
|
*/
|
|
4263
|
+
|
|
4264
|
+
|
|
4187
4265
|
:disabled {
|
|
4188
4266
|
cursor: default;
|
|
4189
4267
|
}
|
|
4190
4268
|
|
|
4269
|
+
|
|
4191
4270
|
/*
|
|
4192
4271
|
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
4193
4272
|
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
4194
4273
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
4195
4274
|
*/
|
|
4196
4275
|
|
|
4276
|
+
|
|
4197
4277
|
img,
|
|
4198
4278
|
svg,
|
|
4199
4279
|
video,
|
|
@@ -4206,21 +4286,28 @@ object {
|
|
|
4206
4286
|
vertical-align: middle; /* 2 */
|
|
4207
4287
|
}
|
|
4208
4288
|
|
|
4289
|
+
|
|
4209
4290
|
/*
|
|
4210
4291
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
4211
4292
|
*/
|
|
4212
4293
|
|
|
4294
|
+
|
|
4213
4295
|
img,
|
|
4214
4296
|
video {
|
|
4215
4297
|
max-width: 100%;
|
|
4216
4298
|
height: auto;
|
|
4217
4299
|
}
|
|
4218
4300
|
|
|
4301
|
+
|
|
4219
4302
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
4303
|
+
|
|
4304
|
+
|
|
4220
4305
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
4221
4306
|
display: none;
|
|
4222
4307
|
}
|
|
4223
|
-
|
|
4308
|
+
|
|
4309
|
+
|
|
4310
|
+
:root {
|
|
4224
4311
|
--background: 0 0% 100%;
|
|
4225
4312
|
--foreground: 222.2 84% 4.9%;
|
|
4226
4313
|
|
|
@@ -4251,8 +4338,9 @@ video {
|
|
|
4251
4338
|
|
|
4252
4339
|
--radius: 0.5rem;
|
|
4253
4340
|
}
|
|
4254
|
-
|
|
4255
|
-
|
|
4341
|
+
|
|
4342
|
+
|
|
4343
|
+
.dark {
|
|
4256
4344
|
--background: 222.2 84% 4.9%;
|
|
4257
4345
|
--foreground: 210 40% 98%;
|
|
4258
4346
|
|
|
@@ -4281,10 +4369,14 @@ video {
|
|
|
4281
4369
|
--input: 217.2 32.6% 17.5%;
|
|
4282
4370
|
--ring: 212.7 26.8% 83.9%;
|
|
4283
4371
|
}
|
|
4284
|
-
|
|
4372
|
+
|
|
4373
|
+
|
|
4374
|
+
* {
|
|
4285
4375
|
border-color: hsl(var(--border));
|
|
4286
4376
|
}
|
|
4287
|
-
|
|
4377
|
+
|
|
4378
|
+
|
|
4379
|
+
body {
|
|
4288
4380
|
background-color: hsl(var(--background));
|
|
4289
4381
|
color: hsl(var(--foreground));
|
|
4290
4382
|
}
|
|
@@ -4297,6 +4389,7 @@ video {
|
|
|
4297
4389
|
}
|
|
4298
4390
|
@media (min-width: 1400px) {
|
|
4299
4391
|
|
|
4392
|
+
|
|
4300
4393
|
.container {
|
|
4301
4394
|
max-width: 1400px;
|
|
4302
4395
|
}
|
|
@@ -5019,6 +5112,7 @@ video {
|
|
|
5019
5112
|
}
|
|
5020
5113
|
@keyframes ping {
|
|
5021
5114
|
|
|
5115
|
+
|
|
5022
5116
|
75%, 100% {
|
|
5023
5117
|
transform: scale(2);
|
|
5024
5118
|
opacity: 0;
|
|
@@ -5029,11 +5123,13 @@ video {
|
|
|
5029
5123
|
}
|
|
5030
5124
|
@keyframes bounce {
|
|
5031
5125
|
|
|
5126
|
+
|
|
5032
5127
|
0%, 100% {
|
|
5033
5128
|
transform: translateY(-25%);
|
|
5034
5129
|
animation-timing-function: cubic-bezier(0.8,0,1,1);
|
|
5035
5130
|
}
|
|
5036
5131
|
|
|
5132
|
+
|
|
5037
5133
|
50% {
|
|
5038
5134
|
transform: none;
|
|
5039
5135
|
animation-timing-function: cubic-bezier(0,0,0.2,1);
|
|
@@ -5044,6 +5140,7 @@ video {
|
|
|
5044
5140
|
}
|
|
5045
5141
|
@keyframes pulse {
|
|
5046
5142
|
|
|
5143
|
+
|
|
5047
5144
|
50% {
|
|
5048
5145
|
opacity: .5;
|
|
5049
5146
|
}
|
|
@@ -5053,6 +5150,7 @@ video {
|
|
|
5053
5150
|
}
|
|
5054
5151
|
@keyframes spin {
|
|
5055
5152
|
|
|
5153
|
+
|
|
5056
5154
|
to {
|
|
5057
5155
|
transform: rotate(360deg);
|
|
5058
5156
|
}
|
|
@@ -6331,6 +6429,7 @@ video {
|
|
|
6331
6429
|
}
|
|
6332
6430
|
@keyframes enter {
|
|
6333
6431
|
|
|
6432
|
+
|
|
6334
6433
|
from {
|
|
6335
6434
|
opacity: var(--tw-enter-opacity, 1);
|
|
6336
6435
|
transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
|
|
@@ -6338,6 +6437,7 @@ video {
|
|
|
6338
6437
|
}
|
|
6339
6438
|
@keyframes exit {
|
|
6340
6439
|
|
|
6440
|
+
|
|
6341
6441
|
to {
|
|
6342
6442
|
opacity: var(--tw-exit-opacity, 1);
|
|
6343
6443
|
transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
|
|
@@ -7012,233 +7112,286 @@ video {
|
|
|
7012
7112
|
}
|
|
7013
7113
|
@media not all and (min-width: 640px) {
|
|
7014
7114
|
|
|
7115
|
+
|
|
7015
7116
|
.max-sm\:hidden {
|
|
7016
7117
|
display: none;
|
|
7017
7118
|
}
|
|
7018
7119
|
}
|
|
7019
7120
|
@media (min-width: 640px) {
|
|
7020
7121
|
|
|
7122
|
+
|
|
7021
7123
|
.sm\:bottom-auto {
|
|
7022
7124
|
bottom: auto;
|
|
7023
7125
|
}
|
|
7024
7126
|
|
|
7127
|
+
|
|
7025
7128
|
.sm\:right-0 {
|
|
7026
7129
|
right: 0px;
|
|
7027
7130
|
}
|
|
7028
7131
|
|
|
7132
|
+
|
|
7029
7133
|
.sm\:top-0 {
|
|
7030
7134
|
top: 0px;
|
|
7031
7135
|
}
|
|
7032
7136
|
|
|
7137
|
+
|
|
7033
7138
|
.sm\:col-span-2 {
|
|
7034
7139
|
grid-column: span 2 / span 2;
|
|
7035
7140
|
}
|
|
7036
7141
|
|
|
7142
|
+
|
|
7037
7143
|
.sm\:inline {
|
|
7038
7144
|
display: inline;
|
|
7039
7145
|
}
|
|
7040
7146
|
|
|
7147
|
+
|
|
7041
7148
|
.sm\:h-8 {
|
|
7042
7149
|
height: 2rem;
|
|
7043
7150
|
}
|
|
7044
7151
|
|
|
7152
|
+
|
|
7045
7153
|
.sm\:w-8 {
|
|
7046
7154
|
width: 2rem;
|
|
7047
7155
|
}
|
|
7048
7156
|
|
|
7157
|
+
|
|
7049
7158
|
.sm\:w-80 {
|
|
7050
7159
|
width: 20rem;
|
|
7051
7160
|
}
|
|
7052
7161
|
|
|
7162
|
+
|
|
7053
7163
|
.sm\:w-\[150px\] {
|
|
7054
7164
|
width: 150px;
|
|
7055
7165
|
}
|
|
7056
7166
|
|
|
7167
|
+
|
|
7057
7168
|
.sm\:w-\[280px\] {
|
|
7058
7169
|
width: 280px;
|
|
7059
7170
|
}
|
|
7060
7171
|
|
|
7172
|
+
|
|
7061
7173
|
.sm\:w-\[56px\] {
|
|
7062
7174
|
width: 56px;
|
|
7063
7175
|
}
|
|
7064
7176
|
|
|
7177
|
+
|
|
7065
7178
|
.sm\:w-auto {
|
|
7066
7179
|
width: auto;
|
|
7067
7180
|
}
|
|
7068
7181
|
|
|
7182
|
+
|
|
7069
7183
|
.sm\:max-w-none {
|
|
7070
7184
|
max-width: none;
|
|
7071
7185
|
}
|
|
7072
7186
|
|
|
7187
|
+
|
|
7073
7188
|
.sm\:max-w-sm {
|
|
7074
7189
|
max-width: 24rem;
|
|
7075
7190
|
}
|
|
7076
7191
|
|
|
7192
|
+
|
|
7077
7193
|
.sm\:flex-row {
|
|
7078
7194
|
flex-direction: row;
|
|
7079
7195
|
}
|
|
7080
7196
|
|
|
7197
|
+
|
|
7081
7198
|
.sm\:flex-col {
|
|
7082
7199
|
flex-direction: column;
|
|
7083
7200
|
}
|
|
7084
7201
|
|
|
7202
|
+
|
|
7085
7203
|
.sm\:items-start {
|
|
7086
7204
|
align-items: flex-start;
|
|
7087
7205
|
}
|
|
7088
7206
|
|
|
7207
|
+
|
|
7089
7208
|
.sm\:items-center {
|
|
7090
7209
|
align-items: center;
|
|
7091
7210
|
}
|
|
7092
7211
|
|
|
7212
|
+
|
|
7093
7213
|
.sm\:justify-end {
|
|
7094
7214
|
justify-content: flex-end;
|
|
7095
7215
|
}
|
|
7096
7216
|
|
|
7217
|
+
|
|
7097
7218
|
.sm\:justify-between {
|
|
7098
7219
|
justify-content: space-between;
|
|
7099
7220
|
}
|
|
7100
7221
|
|
|
7222
|
+
|
|
7101
7223
|
.sm\:gap-2 {
|
|
7102
7224
|
gap: 0.5rem;
|
|
7103
7225
|
}
|
|
7104
7226
|
|
|
7227
|
+
|
|
7105
7228
|
.sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
|
|
7106
7229
|
--tw-space-x-reverse: 0;
|
|
7107
7230
|
margin-right: calc(0.5rem * var(--tw-space-x-reverse));
|
|
7108
7231
|
margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
|
|
7109
7232
|
}
|
|
7110
7233
|
|
|
7234
|
+
|
|
7111
7235
|
.sm\:space-x-4 > :not([hidden]) ~ :not([hidden]) {
|
|
7112
7236
|
--tw-space-x-reverse: 0;
|
|
7113
7237
|
margin-right: calc(1rem * var(--tw-space-x-reverse));
|
|
7114
7238
|
margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
|
|
7115
7239
|
}
|
|
7116
7240
|
|
|
7241
|
+
|
|
7117
7242
|
.sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) {
|
|
7118
7243
|
--tw-space-y-reverse: 0;
|
|
7119
7244
|
margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
|
|
7120
7245
|
margin-bottom: calc(0px * var(--tw-space-y-reverse));
|
|
7121
7246
|
}
|
|
7122
7247
|
|
|
7248
|
+
|
|
7123
7249
|
.sm\:rounded-lg {
|
|
7124
7250
|
border-radius: 0.5rem;
|
|
7125
7251
|
}
|
|
7126
7252
|
|
|
7253
|
+
|
|
7127
7254
|
.sm\:rounded-none {
|
|
7128
7255
|
border-radius: 0px;
|
|
7129
7256
|
}
|
|
7130
7257
|
|
|
7258
|
+
|
|
7131
7259
|
.sm\:p-6 {
|
|
7132
7260
|
padding: 1.5rem;
|
|
7133
7261
|
}
|
|
7134
7262
|
|
|
7263
|
+
|
|
7135
7264
|
.sm\:px-10 {
|
|
7136
7265
|
padding-left: 2.5rem;
|
|
7137
7266
|
padding-right: 2.5rem;
|
|
7138
7267
|
}
|
|
7139
7268
|
|
|
7269
|
+
|
|
7140
7270
|
.sm\:px-2\.5 {
|
|
7141
7271
|
padding-left: 0.625rem;
|
|
7142
7272
|
padding-right: 0.625rem;
|
|
7143
7273
|
}
|
|
7144
7274
|
|
|
7275
|
+
|
|
7145
7276
|
.sm\:px-3 {
|
|
7146
7277
|
padding-left: 0.75rem;
|
|
7147
7278
|
padding-right: 0.75rem;
|
|
7148
7279
|
}
|
|
7149
7280
|
|
|
7281
|
+
|
|
7150
7282
|
.sm\:px-4 {
|
|
7151
7283
|
padding-left: 1rem;
|
|
7152
7284
|
padding-right: 1rem;
|
|
7153
7285
|
}
|
|
7154
7286
|
|
|
7287
|
+
|
|
7155
7288
|
.sm\:py-1\.5 {
|
|
7156
7289
|
padding-top: 0.375rem;
|
|
7157
7290
|
padding-bottom: 0.375rem;
|
|
7158
7291
|
}
|
|
7159
7292
|
|
|
7293
|
+
|
|
7160
7294
|
.sm\:text-left {
|
|
7161
7295
|
text-align: left;
|
|
7162
7296
|
}
|
|
7163
7297
|
|
|
7298
|
+
|
|
7164
7299
|
.sm\:text-sm {
|
|
7165
7300
|
font-size: 0.875rem;
|
|
7166
7301
|
line-height: 1.25rem;
|
|
7167
7302
|
}
|
|
7168
7303
|
|
|
7304
|
+
|
|
7169
7305
|
.sm\:text-xl {
|
|
7170
7306
|
font-size: 1.25rem;
|
|
7171
7307
|
line-height: 1.75rem;
|
|
7172
7308
|
}
|
|
7173
7309
|
|
|
7310
|
+
|
|
7174
7311
|
.data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state="open"] {
|
|
7175
7312
|
--tw-enter-translate-y: 100%;
|
|
7176
7313
|
}
|
|
7177
7314
|
}
|
|
7178
7315
|
@media (min-width: 768px) {
|
|
7179
7316
|
|
|
7317
|
+
|
|
7180
7318
|
.md\:absolute {
|
|
7181
7319
|
position: absolute;
|
|
7182
7320
|
}
|
|
7183
7321
|
|
|
7322
|
+
|
|
7184
7323
|
.md\:col-span-1 {
|
|
7185
7324
|
grid-column: span 1 / span 1;
|
|
7186
7325
|
}
|
|
7187
7326
|
|
|
7327
|
+
|
|
7188
7328
|
.md\:col-span-2 {
|
|
7189
7329
|
grid-column: span 2 / span 2;
|
|
7190
7330
|
}
|
|
7191
7331
|
|
|
7332
|
+
|
|
7192
7333
|
.md\:mb-6 {
|
|
7193
7334
|
margin-bottom: 1.5rem;
|
|
7194
7335
|
}
|
|
7195
7336
|
|
|
7337
|
+
|
|
7196
7338
|
.md\:block {
|
|
7197
7339
|
display: block;
|
|
7198
7340
|
}
|
|
7199
7341
|
|
|
7342
|
+
|
|
7200
7343
|
.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\] {
|
|
7201
7344
|
width: var(--radix-navigation-menu-viewport-width);
|
|
7202
7345
|
}
|
|
7203
7346
|
|
|
7347
|
+
|
|
7204
7348
|
.md\:w-auto {
|
|
7205
7349
|
width: auto;
|
|
7206
7350
|
}
|
|
7207
7351
|
|
|
7352
|
+
|
|
7208
7353
|
.md\:max-w-\[420px\] {
|
|
7209
7354
|
max-width: 420px;
|
|
7210
7355
|
}
|
|
7211
7356
|
|
|
7357
|
+
|
|
7212
7358
|
.md\:grid-cols-2 {
|
|
7213
7359
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
7214
7360
|
}
|
|
7215
7361
|
|
|
7362
|
+
|
|
7216
7363
|
.md\:grid-cols-3 {
|
|
7217
7364
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
7218
7365
|
}
|
|
7219
7366
|
|
|
7367
|
+
|
|
7220
7368
|
.md\:flex-row {
|
|
7221
7369
|
flex-direction: row;
|
|
7222
7370
|
}
|
|
7223
7371
|
|
|
7372
|
+
|
|
7224
7373
|
.md\:items-center {
|
|
7225
7374
|
align-items: center;
|
|
7226
7375
|
}
|
|
7227
7376
|
|
|
7377
|
+
|
|
7228
7378
|
.md\:gap-3 {
|
|
7229
7379
|
gap: 0.75rem;
|
|
7230
7380
|
}
|
|
7231
7381
|
|
|
7382
|
+
|
|
7232
7383
|
.md\:px-0 {
|
|
7233
7384
|
padding-left: 0px;
|
|
7234
7385
|
padding-right: 0px;
|
|
7235
7386
|
}
|
|
7236
7387
|
|
|
7388
|
+
|
|
7237
7389
|
.md\:text-3xl {
|
|
7238
7390
|
font-size: 1.875rem;
|
|
7239
7391
|
line-height: 2.25rem;
|
|
7240
7392
|
}
|
|
7241
7393
|
|
|
7394
|
+
|
|
7242
7395
|
.md\:text-sm {
|
|
7243
7396
|
font-size: 0.875rem;
|
|
7244
7397
|
line-height: 1.25rem;
|
|
@@ -7246,22 +7399,27 @@ video {
|
|
|
7246
7399
|
}
|
|
7247
7400
|
@media (min-width: 1024px) {
|
|
7248
7401
|
|
|
7402
|
+
|
|
7249
7403
|
.lg\:col-span-1 {
|
|
7250
7404
|
grid-column: span 1 / span 1;
|
|
7251
7405
|
}
|
|
7252
7406
|
|
|
7407
|
+
|
|
7253
7408
|
.lg\:block {
|
|
7254
7409
|
display: block;
|
|
7255
7410
|
}
|
|
7256
7411
|
|
|
7412
|
+
|
|
7257
7413
|
.lg\:max-w-4xl {
|
|
7258
7414
|
max-width: 56rem;
|
|
7259
7415
|
}
|
|
7260
7416
|
|
|
7417
|
+
|
|
7261
7418
|
.lg\:max-w-xl {
|
|
7262
7419
|
max-width: 36rem;
|
|
7263
7420
|
}
|
|
7264
7421
|
|
|
7422
|
+
|
|
7265
7423
|
.lg\:text-5xl {
|
|
7266
7424
|
font-size: 3rem;
|
|
7267
7425
|
line-height: 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedreach/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -32,8 +32,7 @@
|
|
|
32
32
|
"require": "./dist/index.umd.js",
|
|
33
33
|
"types": "./dist/index.d.ts"
|
|
34
34
|
},
|
|
35
|
-
"./styles.css": "./dist/styles.css"
|
|
36
|
-
"./base.css": "./dist/base.css"
|
|
35
|
+
"./styles.css": "./dist/styles.css"
|
|
37
36
|
},
|
|
38
37
|
"publishConfig": {
|
|
39
38
|
"access": "public"
|