@amateescu/portal-ui-components 0.0.42 → 0.0.43
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/assets/PassportNotification.css +1 -0
- package/dist/components/PassportNotification/PassportNotification.d.ts +4 -0
- package/dist/components/PassportNotification/PassportNotification.d.ts.map +1 -0
- package/dist/components/PassportNotification/PassportNotification.js +67 -0
- package/dist/components/PassportNotification/PassportNotification.stories.d.ts +13 -0
- package/dist/components/PassportNotification/PassportNotification.stories.d.ts.map +1 -0
- package/dist/components/PassportNotification/PassportNotification.types.d.ts +10 -0
- package/dist/components/PassportNotification/PassportNotification.types.d.ts.map +1 -0
- package/dist/components/PassportNotification/PassportNotification.types.js +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +10 -8
- package/dist/main.js +29 -27
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._notificationWrapper_1gti4_1{position:fixed;top:24px;right:24px;z-index:1000;pointer-events:none}._notification_1gti4_1{display:flex;align-items:flex-start;gap:12px;min-width:320px;max-width:448px;padding:16px 20px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001f,0 2px 8px #00000014;pointer-events:auto;animation:_slideIn_1gti4_1 .3s cubic-bezier(.34,1.56,.64,1)}._iconContainer_1gti4_23{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:50%}._success_1gti4_33 ._iconContainer_1gti4_23{color:#16a34a;background-color:#16a34a1a}._info_1gti4_38 ._iconContainer_1gti4_23{color:var(--color-primary);background-color:#3b82f61a}._warning_1gti4_43 ._iconContainer_1gti4_23{color:#f59e0b;background-color:#f59e0b1a}._error_1gti4_48 ._iconContainer_1gti4_23{color:#ef4444;background-color:#ef44441a}._content_1gti4_53{flex:1;min-width:0}._title_1gti4_58{margin:0 0 4px;font-size:15px;font-weight:600;color:var(--color-text);line-height:1.3}._message_1gti4_66{margin:0;font-size:13px;color:var(--color-text);opacity:.7;line-height:1.5}._closeButton_1gti4_74{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;padding:0;background:none;border:none;border-radius:6px;color:var(--color-text);opacity:.4;cursor:pointer;transition:opacity .15s,background-color .15s}._closeButton_1gti4_74:hover{opacity:.8;background-color:#0000000d}@keyframes _slideIn_1gti4_1{0%{opacity:0;transform:translate(20px) scale(.96)}to{opacity:1;transform:translate(0) scale(1)}}@media(max-width:480px){._notificationWrapper_1gti4_1{top:16px;right:16px;left:16px}._notification_1gti4_1{min-width:0;min-width:initial;max-width:100%}}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PassportNotificationProps } from './PassportNotification.types';
|
|
2
|
+
export declare function PassportNotification({ isOpen, onClose, title, message, duration, type, }: PassportNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export default PassportNotification;
|
|
4
|
+
//# sourceMappingURL=PassportNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PassportNotification.d.ts","sourceRoot":"","sources":["../../../src/components/PassportNotification/PassportNotification.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAgCzE,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAe,EACf,IAAgB,GACjB,EAAE,yBAAyB,kDA+B3B;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as i, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as d } from "react";
|
|
3
|
+
import '../../assets/PassportNotification.css';const h = "_notificationWrapper_1gti4_1", _ = "_notification_1gti4_1", u = "_slideIn_1gti4_1", g = "_iconContainer_1gti4_23", f = "_success_1gti4_33", x = "_info_1gti4_38", k = "_warning_1gti4_43", p = "_error_1gti4_48", y = "_content_1gti4_53", m = "_title_1gti4_58", v = "_message_1gti4_66", w = "_closeButton_1gti4_74", n = {
|
|
4
|
+
notificationWrapper: h,
|
|
5
|
+
notification: _,
|
|
6
|
+
slideIn: u,
|
|
7
|
+
iconContainer: g,
|
|
8
|
+
success: f,
|
|
9
|
+
info: x,
|
|
10
|
+
warning: k,
|
|
11
|
+
error: p,
|
|
12
|
+
content: y,
|
|
13
|
+
title: m,
|
|
14
|
+
message: v,
|
|
15
|
+
closeButton: w
|
|
16
|
+
}, L = {
|
|
17
|
+
success: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
18
|
+
/* @__PURE__ */ i("path", { d: "M22 11.08V12a10 10 0 1 1-5.93-9.14" }),
|
|
19
|
+
/* @__PURE__ */ i("polyline", { points: "22 4 12 14.01 9 11.01" })
|
|
20
|
+
] }),
|
|
21
|
+
info: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
22
|
+
/* @__PURE__ */ i("circle", { cx: "12", cy: "12", r: "10" }),
|
|
23
|
+
/* @__PURE__ */ i("line", { x1: "12", y1: "16", x2: "12", y2: "12" }),
|
|
24
|
+
/* @__PURE__ */ i("line", { x1: "12", y1: "8", x2: "12.01", y2: "8" })
|
|
25
|
+
] }),
|
|
26
|
+
warning: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
27
|
+
/* @__PURE__ */ i("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }),
|
|
28
|
+
/* @__PURE__ */ i("line", { x1: "12", y1: "9", x2: "12", y2: "13" }),
|
|
29
|
+
/* @__PURE__ */ i("line", { x1: "12", y1: "17", x2: "12.01", y2: "17" })
|
|
30
|
+
] }),
|
|
31
|
+
error: /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
32
|
+
/* @__PURE__ */ i("circle", { cx: "12", cy: "12", r: "10" }),
|
|
33
|
+
/* @__PURE__ */ i("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
|
|
34
|
+
/* @__PURE__ */ i("line", { x1: "9", y1: "9", x2: "15", y2: "15" })
|
|
35
|
+
] })
|
|
36
|
+
};
|
|
37
|
+
function W({
|
|
38
|
+
isOpen: e,
|
|
39
|
+
onClose: o,
|
|
40
|
+
title: c,
|
|
41
|
+
message: l,
|
|
42
|
+
duration: r = 5e3,
|
|
43
|
+
type: s = "success"
|
|
44
|
+
}) {
|
|
45
|
+
return d(() => {
|
|
46
|
+
if (e && r > 0) {
|
|
47
|
+
const a = setTimeout(o, r);
|
|
48
|
+
return () => clearTimeout(a);
|
|
49
|
+
}
|
|
50
|
+
return () => {
|
|
51
|
+
};
|
|
52
|
+
}, [e, r, o]), e ? /* @__PURE__ */ i("div", { className: n.notificationWrapper, children: /* @__PURE__ */ t("div", { className: `${n.notification} ${n[s]}`, children: [
|
|
53
|
+
/* @__PURE__ */ i("div", { className: n.iconContainer, children: L[s] }),
|
|
54
|
+
/* @__PURE__ */ t("div", { className: n.content, children: [
|
|
55
|
+
/* @__PURE__ */ i("h4", { className: n.title, children: c }),
|
|
56
|
+
/* @__PURE__ */ i("p", { className: n.message, children: l })
|
|
57
|
+
] }),
|
|
58
|
+
/* @__PURE__ */ i("button", { className: n.closeButton, onClick: o, "aria-label": "Close notification", children: /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
59
|
+
/* @__PURE__ */ i("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
60
|
+
/* @__PURE__ */ i("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
61
|
+
] }) })
|
|
62
|
+
] }) }) : null;
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
W as PassportNotification,
|
|
66
|
+
W as default
|
|
67
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as PassportNotification } from './PassportNotification';
|
|
3
|
+
declare const meta: Meta<typeof PassportNotification>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PassportNotification>;
|
|
6
|
+
export declare const Success: Story;
|
|
7
|
+
export declare const Info: Story;
|
|
8
|
+
export declare const Warning: Story;
|
|
9
|
+
export declare const Error: Story;
|
|
10
|
+
export declare const NoAutoDismiss: Story;
|
|
11
|
+
export declare const CustomDuration: Story;
|
|
12
|
+
export declare const LongMessage: Story;
|
|
13
|
+
//# sourceMappingURL=PassportNotification.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PassportNotification.stories.d.ts","sourceRoot":"","sources":["../../../src/components/PassportNotification/PassportNotification.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAE1D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAO3C,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AA8BnD,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAU3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface PassportNotificationProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
title: string;
|
|
5
|
+
message: string;
|
|
6
|
+
/** Auto-dismiss duration in milliseconds. Set to 0 to disable. Default: 5000 */
|
|
7
|
+
duration?: number;
|
|
8
|
+
type?: 'success' | 'info' | 'warning' | 'error';
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=PassportNotification.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PassportNotification.types.d.ts","sourceRoot":"","sources":["../../../src/components/PassportNotification/PassportNotification.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -25,4 +25,5 @@ export { PassportTabHeader } from './PassportTabHeader/PassportTabHeader';
|
|
|
25
25
|
export { PassportTextField } from './PassportTextField/PassportTextField';
|
|
26
26
|
export { DebouncedPassportInput } from './DebouncedPassportInput/DebouncedPassportInput';
|
|
27
27
|
export { PassportMenuButton } from './PassportMenuButton/PassportMenuButton';
|
|
28
|
+
export { PassportNotification } from './PassportNotification/PassportNotification';
|
|
28
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AACzH,OAAO,EAAE,qCAAqC,EAAE,MAAM,0FAA0F,CAAC;AACjJ,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,0EAA0E,CAAC;AACzH,OAAO,EAAE,qCAAqC,EAAE,MAAM,0FAA0F,CAAC;AACjJ,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,OAAO,EAAE,sBAAsB,EAAE,MAAM,4DAA4D,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -16,15 +16,16 @@ import { PassportInfoModal as K } from "./PassportInfoModal/PassportInfoModal.js
|
|
|
16
16
|
import { PassportInput as v } from "./PassportInput/PassportInput.js";
|
|
17
17
|
import { PassportKpiCard as y } from "./PassportKpiCard/PassportKpiCard.js";
|
|
18
18
|
import { PassportKpiWrapper as G } from "./PassportKpiWrapper/PassportKpiWrapper.js";
|
|
19
|
-
import { PassportMultiSelect as
|
|
20
|
-
import { PassportSearchableMultiSelect as
|
|
21
|
-
import { PassportSearchableMultiSelectDetailed as
|
|
22
|
-
import { PassportTreeSelect as
|
|
19
|
+
import { PassportMultiSelect as N } from "./PassportMultiSelect/PassportMultiSelect.js";
|
|
20
|
+
import { PassportSearchableMultiSelect as W } from "./PassportSearchableMultiSelect/PassportSearchableMultiSelect.js";
|
|
21
|
+
import { PassportSearchableMultiSelectDetailed as q } from "./PassportSearchableMultiSelectDetailed/PassportSearchableMultiSelectDetailed.js";
|
|
22
|
+
import { PassportTreeSelect as J } from "./PassportTreeSelect/PassportTreeSelect.js";
|
|
23
23
|
import { PassportPagination as Q } from "./PassportPagination/PassportPagination.js";
|
|
24
24
|
import { PassportTabHeader as V } from "./PassportTabHeader/PassportTabHeader.js";
|
|
25
25
|
import { PassportTextField as Y } from "./PassportTextField/PassportTextField.js";
|
|
26
26
|
import { DebouncedPassportInput as _ } from "./DebouncedPassportInput/DebouncedPassportInput.js";
|
|
27
27
|
import { PassportMenuButton as oo } from "./PassportMenuButton/PassportMenuButton.js";
|
|
28
|
+
import { PassportNotification as to } from "./PassportNotification/PassportNotification.js";
|
|
28
29
|
import '../assets/index.css';export {
|
|
29
30
|
_ as DebouncedPassportInput,
|
|
30
31
|
t as LoadingAnimation,
|
|
@@ -43,14 +44,15 @@ import '../assets/index.css';export {
|
|
|
43
44
|
y as PassportKpiCard,
|
|
44
45
|
G as PassportKpiWrapper,
|
|
45
46
|
oo as PassportMenuButton,
|
|
46
|
-
|
|
47
|
+
N as PassportMultiSelect,
|
|
48
|
+
to as PassportNotification,
|
|
47
49
|
Q as PassportPagination,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
W as PassportSearchableMultiSelect,
|
|
51
|
+
q as PassportSearchableMultiSelectDetailed,
|
|
50
52
|
a as PassportSideMenu,
|
|
51
53
|
V as PassportTabHeader,
|
|
52
54
|
Y as PassportTextField,
|
|
53
55
|
f as PassportTotalDataGrid,
|
|
54
|
-
|
|
56
|
+
J as PassportTreeSelect,
|
|
55
57
|
x as PassportUserInformation
|
|
56
58
|
};
|
package/dist/main.js
CHANGED
|
@@ -4,7 +4,7 @@ import { PassportSideMenu as s } from "./components/PassportSideMenu/PassportSid
|
|
|
4
4
|
import { PassportTotalDataGrid as f } from "./components/PassportTotalDataGrid/PassportTotalDataGrid.js";
|
|
5
5
|
import { P } from "./PassportUserInformation-CNpBGKl3.js";
|
|
6
6
|
import { PassportAutocomplete as n } from "./components/PassportAutocomplete/PassportAutocomplete.js";
|
|
7
|
-
import { PassportButton as
|
|
7
|
+
import { PassportButton as c } from "./components/PassportButton/PassportButton.js";
|
|
8
8
|
import { PassportConfirmationModal as d } from "./components/PassportConfirmationModal/PassportConfirmationModal.js";
|
|
9
9
|
import { PassportDatePicker as g } from "./components/PassportDatePicker/PassportDatePicker.js";
|
|
10
10
|
import { PassportDateTimePicker as D } from "./components/PassportDateTimePicker/PassportDateTimePicker.js";
|
|
@@ -17,26 +17,27 @@ import { PassportInput as F } from "./components/PassportInput/PassportInput.js"
|
|
|
17
17
|
import { PassportKpiCard as U } from "./components/PassportKpiCard/PassportKpiCard.js";
|
|
18
18
|
import { PassportKpiWrapper as E } from "./components/PassportKpiWrapper/PassportKpiWrapper.js";
|
|
19
19
|
import { PassportMultiSelect as H } from "./components/PassportMultiSelect/PassportMultiSelect.js";
|
|
20
|
-
import { PassportSearchableMultiSelect as
|
|
21
|
-
import { PassportSearchableMultiSelectDetailed as
|
|
22
|
-
import { PassportTreeSelect as
|
|
20
|
+
import { PassportSearchableMultiSelect as V } from "./components/PassportSearchableMultiSelect/PassportSearchableMultiSelect.js";
|
|
21
|
+
import { PassportSearchableMultiSelectDetailed as j } from "./components/PassportSearchableMultiSelectDetailed/PassportSearchableMultiSelectDetailed.js";
|
|
22
|
+
import { PassportTreeSelect as z } from "./components/PassportTreeSelect/PassportTreeSelect.js";
|
|
23
23
|
import { PassportPagination as O } from "./components/PassportPagination/PassportPagination.js";
|
|
24
24
|
import { PassportTabHeader as R } from "./components/PassportTabHeader/PassportTabHeader.js";
|
|
25
25
|
import { PassportTextField as Y } from "./components/PassportTextField/PassportTextField.js";
|
|
26
26
|
import { DebouncedPassportInput as _ } from "./components/DebouncedPassportInput/DebouncedPassportInput.js";
|
|
27
27
|
import { PassportMenuButton as oo } from "./components/PassportMenuButton/PassportMenuButton.js";
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
28
|
+
import { PassportNotification as to } from "./components/PassportNotification/PassportNotification.js";
|
|
29
|
+
import { chunkArray as po } from "./portal-utils/chunkArray.js";
|
|
30
|
+
import { cn as so } from "./portal-utils/cn.js";
|
|
31
|
+
import { currency as fo, date as xo, datetime as Po, decimal as io, fuelUnitPrice as no, fuelVolume as lo, hours as co, number as uo, time as Mo } from "./portal-utils/formatters.js";
|
|
32
|
+
import { LogLevel as So, createLogger as Do } from "./portal-utils/loggerService.js";
|
|
33
|
+
import { getPageCount as Io } from "./portal-utils/pageCount.js";
|
|
33
34
|
export {
|
|
34
35
|
_ as DebouncedPassportInput,
|
|
35
36
|
t as LoadingAnimation,
|
|
36
|
-
|
|
37
|
+
So as LogLevel,
|
|
37
38
|
p as Login,
|
|
38
39
|
n as PassportAutocomplete,
|
|
39
|
-
|
|
40
|
+
c as PassportButton,
|
|
40
41
|
d as PassportConfirmationModal,
|
|
41
42
|
g as PassportDatePicker,
|
|
42
43
|
D as PassportDateTimePicker,
|
|
@@ -50,26 +51,27 @@ export {
|
|
|
50
51
|
E as PassportKpiWrapper,
|
|
51
52
|
oo as PassportMenuButton,
|
|
52
53
|
H as PassportMultiSelect,
|
|
54
|
+
to as PassportNotification,
|
|
53
55
|
O as PassportPagination,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
V as PassportSearchableMultiSelect,
|
|
57
|
+
j as PassportSearchableMultiSelectDetailed,
|
|
56
58
|
s as PassportSideMenu,
|
|
57
59
|
R as PassportTabHeader,
|
|
58
60
|
Y as PassportTextField,
|
|
59
61
|
f as PassportTotalDataGrid,
|
|
60
|
-
|
|
62
|
+
z as PassportTreeSelect,
|
|
61
63
|
P as PassportUserInformation,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
po as chunkArray,
|
|
65
|
+
so as cn,
|
|
66
|
+
Do as createLogger,
|
|
67
|
+
fo as currency,
|
|
68
|
+
xo as date,
|
|
69
|
+
Po as datetime,
|
|
70
|
+
io as decimal,
|
|
71
|
+
no as fuelUnitPrice,
|
|
72
|
+
lo as fuelVolume,
|
|
73
|
+
Io as getPageCount,
|
|
74
|
+
co as hours,
|
|
75
|
+
uo as number,
|
|
76
|
+
Mo as time
|
|
75
77
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export type { CustomSvg } from './CustomSvg';
|
|
|
5
5
|
export type { LoginRequest } from './LoginRequest';
|
|
6
6
|
export type { PassportTreeSelectOption } from '../components/PassportTreeSelect/PassportTreeSelect.types';
|
|
7
7
|
export type { PassportSearchableMultiSelectDetailedOption } from '../components/PassportSearchableMultiSelectDetailed/PassportSearchableMultiSelectDetailed.types';
|
|
8
|
+
export type { PassportNotificationProps } from '../components/PassportNotification/PassportNotification.types';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC1E,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AACzG,YAAY,EAAE,2CAA2C,EAAE,MAAM,gGAAgG,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AACjE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC1E,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EAAE,wBAAwB,EAAE,MAAM,0DAA0D,CAAC;AACzG,YAAY,EAAE,2CAA2C,EAAE,MAAM,gGAAgG,CAAC;AAClK,YAAY,EAAE,yBAAyB,EAAE,MAAM,8DAA8D,CAAC"}
|