qaema-ui 0.0.58 → 0.0.59
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/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +4 -4
- package/dist/_virtual/index4.js +4 -4
- package/dist/_virtual/index7.js +3 -2
- package/dist/_virtual/index8.js +2 -3
- package/dist/components/Sidemenu.d.ts +1 -0
- package/dist/components/Sidemenu.js +14 -14
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
|
|
3
|
+
var a = t();
|
|
4
|
+
const m = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/shallowequal/index.js";
|
|
3
|
+
var a = o();
|
|
4
|
+
const t = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
package/dist/_virtual/index7.js
CHANGED
package/dist/_virtual/index8.js
CHANGED
|
@@ -129,23 +129,23 @@ const v = o.div`
|
|
|
129
129
|
}}
|
|
130
130
|
margin-bottom: ${({ theme: r }) => r.spacing.sm};
|
|
131
131
|
`, mr = (r) => {
|
|
132
|
-
const { logoSrc: C, searchPlaceHolder: k, categories: a, linkComponent: f, open: T, setOpen: E, currentPath: u, extraSideMenuItems: l, onLogoClick: D } = r, p = X(), { t: L } = M(), B = K("sidemenu"), [c, F] = m(""), [
|
|
133
|
-
const
|
|
134
|
-
a == null || a.forEach((
|
|
132
|
+
const { logoSrc: C, searchPlaceHolder: k, categories: a, linkComponent: f, open: T, setOpen: E, currentPath: u, extraSideMenuItems: l, onLogoClick: D } = r, p = X(), { t: L } = M(), B = K("sidemenu"), [c, F] = m(""), [d, N] = m(a), g = (n) => {
|
|
133
|
+
const e = [];
|
|
134
|
+
a == null || a.forEach((t) => {
|
|
135
135
|
var h;
|
|
136
|
-
const s = (h =
|
|
136
|
+
const s = (h = t == null ? void 0 : t.navItems) == null ? void 0 : h.filter((x) => {
|
|
137
137
|
var $, y;
|
|
138
138
|
return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(n == null ? void 0 : n.toLowerCase());
|
|
139
139
|
});
|
|
140
|
-
(s == null ? void 0 : s.length) > 0 &&
|
|
141
|
-
}),
|
|
142
|
-
},
|
|
140
|
+
(s == null ? void 0 : s.length) > 0 && e.push({ ...t, navItems: s });
|
|
141
|
+
}), N(e);
|
|
142
|
+
}, W = (n) => {
|
|
143
143
|
n.key === "Enter" && g(c);
|
|
144
144
|
};
|
|
145
145
|
H(() => {
|
|
146
146
|
c === "" && g(c);
|
|
147
147
|
}, [c]);
|
|
148
|
-
const z = (n,
|
|
148
|
+
const z = (n, e) => n ? e === n || (e == null ? void 0 : e.startsWith(n + "/")) : !1;
|
|
149
149
|
return /* @__PURE__ */ i.jsxs(v, { className: T ? "active" : "", $zIndex: B, children: [
|
|
150
150
|
/* @__PURE__ */ i.jsxs(A, { children: [
|
|
151
151
|
/* @__PURE__ */ i.jsx(J, { onClick: D, children: /* @__PURE__ */ i.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
|
|
@@ -169,18 +169,18 @@ const v = o.div`
|
|
|
169
169
|
onChange: (n) => {
|
|
170
170
|
F(n.target.value);
|
|
171
171
|
},
|
|
172
|
-
onKeyDown:
|
|
172
|
+
onKeyDown: W
|
|
173
173
|
}
|
|
174
174
|
)
|
|
175
175
|
] }) }),
|
|
176
176
|
/* @__PURE__ */ i.jsxs(G, { children: [
|
|
177
177
|
/* @__PURE__ */ i.jsxs("div", { children: [
|
|
178
|
-
(
|
|
179
|
-
(
|
|
180
|
-
var
|
|
181
|
-
return ((
|
|
178
|
+
(d == null ? void 0 : d.length) === 0 && /* @__PURE__ */ i.jsx(ir, { children: /* @__PURE__ */ i.jsx(w, { variant: "smText", children: L("NO_RESULTS_FOUND") }) }),
|
|
179
|
+
(d == null ? void 0 : d.length) > 0 && (d == null ? void 0 : d.map((n) => {
|
|
180
|
+
var e, t;
|
|
181
|
+
return ((e = n == null ? void 0 : n.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ i.jsxs(rr, { className: n == null ? void 0 : n.code, children: [
|
|
182
182
|
/* @__PURE__ */ i.jsx(nr, { variant: "xsText", color: p.colors.grey.n300, children: n == null ? void 0 : n.title }),
|
|
183
|
-
(
|
|
183
|
+
(t = n == null ? void 0 : n.navItems) == null ? void 0 : t.map((s) => /* @__PURE__ */ i.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ i.jsx(b, { item: { variant: "normal", active: z(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
|
|
184
184
|
] }, n == null ? void 0 : n.title);
|
|
185
185
|
}))
|
|
186
186
|
] }),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import f from "../../../_virtual/index.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index4.js";
|
|
4
4
|
import { useBootstrapPrefix as u } from "./ThemeProvider.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
6
6
|
o.string, o.bool, o.bool, o.bool, o.bool;
|
|
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
|
|
|
2
2
|
var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import y, { Component as R } from "react";
|
|
5
|
-
import ee from "../../../_virtual/
|
|
5
|
+
import ee from "../../../_virtual/index2.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
7
|
+
import te from "../../../_virtual/index3.js";
|
|
8
8
|
var Y = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Y || {}), $ = {
|
|
9
9
|
link: { rel: ["amphtml", "canonical", "alternate"] },
|
|
10
10
|
script: { type: ["application/ld+json"] },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import x, { Children as w, cloneElement as z, PureComponent as F } from "react";
|
|
2
|
-
import a from "../../../_virtual/
|
|
2
|
+
import a from "../../../_virtual/index4.js";
|
|
3
3
|
import { deepEqual as H } from "../../fast-equals/dist/esm/index.js";
|
|
4
4
|
import L from "./AnimateManager.js";
|
|
5
5
|
import { configEasing as V } from "./easing.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
|
|
2
2
|
import D from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index4.js";
|
|
4
4
|
import v from "react";
|
|
5
5
|
import b from "react-dom";
|
|
6
6
|
import T from "./config.js";
|
|
@@ -4,7 +4,7 @@ import P from "../../../../_virtual/isString.js";
|
|
|
4
4
|
import D from "../../../../_virtual/isFunction.js";
|
|
5
5
|
import j from "../../../../_virtual/isObject.js";
|
|
6
6
|
import { Children as p, isValidElement as w } from "react";
|
|
7
|
-
import { r as B } from "../../../../_virtual/
|
|
7
|
+
import { r as B } from "../../../../_virtual/index7.js";
|
|
8
8
|
import { isNumber as b } from "./DataUtils.js";
|
|
9
9
|
import { shallowEqual as d } from "./ShallowEqual.js";
|
|
10
10
|
import { SVGElementPropKeys as G, EventKeys as F, FilteredElementKeyMap as s } from "./types.js";
|