1mpacto-react-ui 2.0.25 → 2.0.27
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/_colors.scss +42 -0
- package/dist/assets/_mixins.scss +6 -1
- package/dist/assets/_typography.scss +37 -3
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.config.cjs +1 -1
- package/dist/components/Breadcrumbs/Breadcrumbs.config.mjs +4 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +33 -33
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +13 -10
- package/dist/components/Button/Button.config.cjs +1 -1
- package/dist/components/Button/Button.config.mjs +67 -56
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +63 -56
- package/dist/components/ButtonIcon/ButtonIcon.config.cjs +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.config.mjs +58 -47
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +53 -46
- package/dist/components/Calendar/Calendar.cjs +1 -1
- package/dist/components/Calendar/Calendar.config.cjs +1 -0
- package/dist/components/Calendar/Calendar.config.mjs +22 -0
- package/dist/components/Calendar/Calendar.mjs +221 -133
- package/dist/components/Calendar/CalendarCell.cjs +1 -1
- package/dist/components/Calendar/CalendarCell.mjs +9 -9
- package/dist/components/Calendar/CalendarMonth.cjs +1 -1
- package/dist/components/Calendar/CalendarMonth.mjs +23 -21
- package/dist/components/Calendar/CalendarRange.cjs +1 -1
- package/dist/components/Calendar/CalendarRange.mjs +100 -98
- package/dist/components/Calendar/CalendarYear.cjs +2 -2
- package/dist/components/Calendar/CalendarYear.mjs +25 -23
- package/dist/components/Calendar/style.module.scss.cjs +1 -1
- package/dist/components/Calendar/style.module.scss.mjs +35 -33
- package/dist/components/Chart/LineChart.cjs +1 -1
- package/dist/components/Chart/LineChart.mjs +1 -1
- package/dist/components/DatePicker/DatePicker.cjs +1 -1
- package/dist/components/DatePicker/DatePicker.mjs +78 -69
- package/dist/components/DatePicker/DateRangePicker.cjs +1 -1
- package/dist/components/DatePicker/DateRangePicker.mjs +91 -79
- package/dist/components/DatePicker/FilterDate.cjs +1 -1
- package/dist/components/DatePicker/FilterDate.mjs +181 -127
- package/dist/components/DatePicker/MonthYearPicker.cjs +1 -1
- package/dist/components/DatePicker/MonthYearPicker.mjs +58 -49
- package/dist/components/Input/InputInnerLabel.cjs +6 -6
- package/dist/components/Input/InputInnerLabel.config.cjs +1 -1
- package/dist/components/Input/InputInnerLabel.config.mjs +9 -5
- package/dist/components/Input/InputInnerLabel.mjs +36 -35
- package/dist/components/Input/InputInnerLabel.module.scss.cjs +1 -1
- package/dist/components/Input/InputInnerLabel.module.scss.mjs +19 -17
- package/dist/components/Modal/ModalDialog.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +11 -7
- package/dist/components/Modal/ModalDialog.mjs +24 -23
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +13 -11
- package/dist/components/Popover/Popover.cjs +1 -1
- package/dist/components/Popover/Popover.config.cjs +1 -0
- package/dist/components/Popover/Popover.config.mjs +10 -0
- package/dist/components/Popover/Popover.mjs +42 -40
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +7 -4
- package/dist/components/Sidebar/ItemSidebar.config.cjs +1 -1
- package/dist/components/Sidebar/ItemSidebar.config.mjs +6 -2
- package/dist/components/Sidebar/Sidebar.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.config.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.config.mjs +14 -12
- package/dist/components/Sidebar/Sidebar.mjs +78 -77
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +25 -23
- package/dist/components/Sidebar/itemSidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/itemSidebar.module.scss.mjs +25 -24
- package/dist/components/Textarea/TextareaFloatingInner.cjs +6 -5
- package/dist/components/Textarea/TextareaFloatingInner.config.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.config.mjs +6 -2
- package/dist/components/Textarea/TextareaFloatingInner.mjs +38 -36
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +14 -12
- package/dist/config/resources/index.cjs +1 -1
- package/dist/config/resources/index.mjs +1 -1
- package/dist/config/tailwind/colors.cjs +1 -1
- package/dist/config/tailwind/colors.mjs +22 -1
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +79 -4
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +1 -0
- package/dist/src/components/Button/Button.config.d.ts +11 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +11 -0
- package/dist/src/components/Calendar/Calendar.config.d.ts +19 -0
- package/dist/src/components/Calendar/Calendar.d.ts +5 -3
- package/dist/src/components/Calendar/Calendar.stories.d.ts +21 -5
- package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -1
- package/dist/src/components/Calendar/CalendarRange.d.ts +1 -1
- package/dist/src/components/Calendar/CalendarYear.d.ts +1 -1
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +28 -0
- package/dist/src/components/DatePicker/FilterDate.d.ts +1 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +29 -1
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -1
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +29 -1
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +5 -1
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +16 -0
- package/dist/src/components/Modal/ModalDialog.config.d.ts +4 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +1 -1
- package/dist/src/components/Popover/Popover.config.d.ts +7 -0
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +4 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +2 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +5 -0
- package/dist/src/config/resources/index.d.ts +2 -2
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/src/interfaces/components/Button/index.d.ts +2 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +2 -2
- package/dist/src/interfaces/components/Calendar/index.d.ts +41 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +41 -1
- package/dist/src/interfaces/components/Input/index.d.ts +10 -0
- package/dist/src/interfaces/components/Modal/index.d.ts +5 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +5 -0
- package/dist/src/interfaces/components/Sidebar/index.d.ts +6 -1
- package/dist/src/interfaces/components/Textarea/index.d.ts +5 -0
- package/dist/utils/common.cjs +1 -1
- package/dist/utils/common.mjs +7 -7
- package/package.json +1 -1
|
@@ -1,59 +1,60 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import l from "react";
|
|
3
3
|
import e from "./InputInnerLabel.module.scss.mjs";
|
|
4
|
-
import { configInputInnerLabel as
|
|
5
|
-
const
|
|
4
|
+
import { configInputInnerLabel as m } from "./InputInnerLabel.config.mjs";
|
|
5
|
+
const x = l.forwardRef((p, b) => {
|
|
6
6
|
const {
|
|
7
7
|
isRequired: f,
|
|
8
|
-
classNameContainer:
|
|
9
|
-
className:
|
|
10
|
-
classNameLabel:
|
|
11
|
-
classNameLabelError:
|
|
8
|
+
classNameContainer: $,
|
|
9
|
+
className: u,
|
|
10
|
+
classNameLabel: N,
|
|
11
|
+
classNameLabelError: h,
|
|
12
12
|
name: c,
|
|
13
13
|
id: d,
|
|
14
|
-
label:
|
|
15
|
-
type:
|
|
16
|
-
startIcon:
|
|
17
|
-
endIcon:
|
|
14
|
+
label: s,
|
|
15
|
+
type: I = "text",
|
|
16
|
+
startIcon: a,
|
|
17
|
+
endIcon: n,
|
|
18
18
|
error: t,
|
|
19
|
-
sizeInput:
|
|
19
|
+
sizeInput: y = "large",
|
|
20
|
+
variant: v = "bill-blue-800",
|
|
20
21
|
...r
|
|
21
|
-
} =
|
|
22
|
-
return /* @__PURE__ */
|
|
22
|
+
} = p, E = () => typeof a == "function" || l.isValidElement(a), L = () => typeof n == "function" || l.isValidElement(n);
|
|
23
|
+
return /* @__PURE__ */ i(
|
|
23
24
|
"div",
|
|
24
25
|
{
|
|
25
|
-
className: `${
|
|
26
|
-
|
|
26
|
+
className: `${m.size[y]} ${m.variant[v]}
|
|
27
|
+
${$ ?? ""} ${s ? "" : e["hidden-label"]}`,
|
|
27
28
|
children: [
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
typeof
|
|
31
|
-
|
|
29
|
+
/* @__PURE__ */ i("div", { className: `${e["container-input"]}`, children: [
|
|
30
|
+
/* @__PURE__ */ i("div", { className: e["start-icon"], children: [
|
|
31
|
+
typeof a == "function" && a(),
|
|
32
|
+
l.isValidElement(a) && a
|
|
32
33
|
] }),
|
|
33
34
|
/* @__PURE__ */ o(
|
|
34
35
|
"input",
|
|
35
36
|
{
|
|
36
37
|
id: d ?? c,
|
|
37
38
|
className: `${e.input} ${t ? e.error : ""}
|
|
38
|
-
${
|
|
39
|
-
${
|
|
40
|
-
${
|
|
41
|
-
ref:
|
|
42
|
-
type:
|
|
39
|
+
${E() ? e["isset-left-icon"] : ""}
|
|
40
|
+
${L() ? e["isset-right-icon"] : ""}
|
|
41
|
+
${u ?? ""}`,
|
|
42
|
+
ref: b,
|
|
43
|
+
type: I,
|
|
43
44
|
...r
|
|
44
45
|
}
|
|
45
46
|
),
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
typeof
|
|
48
|
-
|
|
47
|
+
/* @__PURE__ */ i("div", { className: e["end-icon"], children: [
|
|
48
|
+
typeof n == "function" && n(),
|
|
49
|
+
l.isValidElement(n) && n
|
|
49
50
|
] }),
|
|
50
|
-
|
|
51
|
+
s && /* @__PURE__ */ i(
|
|
51
52
|
"label",
|
|
52
53
|
{
|
|
53
54
|
htmlFor: d ?? c,
|
|
54
|
-
className: `${e.label} ${r.disabled ? e.disabled : ""} ${
|
|
55
|
+
className: `${e.label} ${r.disabled ? e.disabled : ""} ${N ?? ""}`,
|
|
55
56
|
children: [
|
|
56
|
-
|
|
57
|
+
s,
|
|
57
58
|
" ",
|
|
58
59
|
f && /* @__PURE__ */ o("span", { children: "*" })
|
|
59
60
|
]
|
|
@@ -64,7 +65,7 @@ const v = i.forwardRef((m, p) => {
|
|
|
64
65
|
"label",
|
|
65
66
|
{
|
|
66
67
|
className: `${e["label-error"]}
|
|
67
|
-
${r.disabled ? e.disabled : ""} ${
|
|
68
|
+
${r.disabled ? e.disabled : ""} ${h ?? ""}`,
|
|
68
69
|
children: t
|
|
69
70
|
}
|
|
70
71
|
)
|
|
@@ -72,7 +73,7 @@ const v = i.forwardRef((m, p) => {
|
|
|
72
73
|
}
|
|
73
74
|
);
|
|
74
75
|
});
|
|
75
|
-
|
|
76
|
+
x.displayName = "InputInnerLabel";
|
|
76
77
|
export {
|
|
77
|
-
|
|
78
|
+
x as default
|
|
78
79
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_input_zpfet_12",t="_label_zpfet_43",_="_error_zpfet_63",l={"container-large":"_container-large_zpfet_1","container-input":"_container-input_zpfet_6",input:e,label:t,error:_,"isset-right-icon":"_isset-right-icon_zpfet_89","isset-left-icon":"_isset-left-icon_zpfet_92","start-icon":"_start-icon_zpfet_95","end-icon":"_end-icon_zpfet_102","label-error":"_label-error_zpfet_109","hidden-label":"_hidden-label_zpfet_120","container-small":"_container-small_zpfet_243","bill-blue-800":"_bill-blue-800_zpfet_485","fin-black":"_fin-black_zpfet_492"};exports.default=l;exports.error=_;exports.input=e;exports.label=t;
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
const
|
|
2
|
-
"container-large": "_container-
|
|
3
|
-
"container-input": "_container-
|
|
4
|
-
input:
|
|
5
|
-
label:
|
|
6
|
-
error:
|
|
7
|
-
"isset-right-icon": "_isset-right-
|
|
8
|
-
"isset-left-icon": "_isset-left-
|
|
9
|
-
"start-icon": "_start-
|
|
10
|
-
"end-icon": "_end-
|
|
11
|
-
"label-error": "_label-
|
|
12
|
-
"hidden-label": "_hidden-
|
|
13
|
-
"container-small": "_container-
|
|
1
|
+
const e = "_input_zpfet_12", t = "_label_zpfet_43", _ = "_error_zpfet_63", n = {
|
|
2
|
+
"container-large": "_container-large_zpfet_1",
|
|
3
|
+
"container-input": "_container-input_zpfet_6",
|
|
4
|
+
input: e,
|
|
5
|
+
label: t,
|
|
6
|
+
error: _,
|
|
7
|
+
"isset-right-icon": "_isset-right-icon_zpfet_89",
|
|
8
|
+
"isset-left-icon": "_isset-left-icon_zpfet_92",
|
|
9
|
+
"start-icon": "_start-icon_zpfet_95",
|
|
10
|
+
"end-icon": "_end-icon_zpfet_102",
|
|
11
|
+
"label-error": "_label-error_zpfet_109",
|
|
12
|
+
"hidden-label": "_hidden-label_zpfet_120",
|
|
13
|
+
"container-small": "_container-small_zpfet_243",
|
|
14
|
+
"bill-blue-800": "_bill-blue-800_zpfet_485",
|
|
15
|
+
"fin-black": "_fin-black_zpfet_492"
|
|
14
16
|
};
|
|
15
17
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
n as default,
|
|
19
|
+
_ as error,
|
|
20
|
+
e as input,
|
|
21
|
+
t as label
|
|
20
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),v=require("react-dom"),t=require("./style.module.scss.cjs"),n=require("./ModalDialog.config.cjs"),M=({as:r,children:d,id:i="modal",idModal:o="iru-modal",withOverlay:c=!0,show:l,size:u="regular",className:s,classNameContainer:m,onClose:a,brand:g="",...f})=>{const $=r??"div",y=()=>{typeof a=="function"&&a()};return e.jsx(e.Fragment,{children:l&&document.getElementById(o)&&v.createPortal(e.jsx("div",{id:i,onClick:y,className:`${t.default.modal} ${n.configModal.brand[g]} ${c?t.default["with-overlay"]:""} ${l?t.default["modal-show"]:""} ${m??""}`,children:e.jsx($,{onClick:j=>j.stopPropagation(),className:`${t.default["modal-content"]} ${n.configModal.size[u]} ${s??""}`,...f,children:d})}),document.getElementById(o))})};exports.default=M;
|
|
@@ -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("./style.module.scss.cjs"),l={size:{small:e.default["modal-small"],medium:e.default["modal-medium"],regular:e.default["modal-regular"],large:e.default["modal-large"]},brand:{"":e.default["brand-general"],fin:e.default["brand-fin"]}};exports.configModal=l;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
1
|
+
import a from "./style.module.scss.mjs";
|
|
2
|
+
const r = {
|
|
3
3
|
size: {
|
|
4
|
-
small:
|
|
5
|
-
medium:
|
|
6
|
-
regular:
|
|
7
|
-
large:
|
|
4
|
+
small: a["modal-small"],
|
|
5
|
+
medium: a["modal-medium"],
|
|
6
|
+
regular: a["modal-regular"],
|
|
7
|
+
large: a["modal-large"]
|
|
8
|
+
},
|
|
9
|
+
brand: {
|
|
10
|
+
"": a["brand-general"],
|
|
11
|
+
fin: a["brand-fin"]
|
|
8
12
|
}
|
|
9
13
|
};
|
|
10
14
|
export {
|
|
11
|
-
|
|
15
|
+
r as configModal
|
|
12
16
|
};
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsx as t, Fragment as
|
|
2
|
-
import { createPortal as
|
|
1
|
+
import { jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { createPortal as v } from "react-dom";
|
|
3
3
|
import o from "./style.module.scss.mjs";
|
|
4
|
-
import { configModal as
|
|
5
|
-
const
|
|
6
|
-
as:
|
|
7
|
-
children:
|
|
8
|
-
id:
|
|
9
|
-
idModal: e = "
|
|
10
|
-
withOverlay:
|
|
4
|
+
import { configModal as l } from "./ModalDialog.config.mjs";
|
|
5
|
+
const E = ({
|
|
6
|
+
as: m,
|
|
7
|
+
children: n,
|
|
8
|
+
id: i = "modal",
|
|
9
|
+
idModal: e = "iru-modal",
|
|
10
|
+
withOverlay: d = !0,
|
|
11
11
|
show: r,
|
|
12
12
|
size: c = "regular",
|
|
13
|
-
className:
|
|
14
|
-
classNameContainer:
|
|
13
|
+
className: s,
|
|
14
|
+
classNameContainer: f,
|
|
15
15
|
onClose: a,
|
|
16
|
-
|
|
16
|
+
brand: g = "",
|
|
17
|
+
...p
|
|
17
18
|
}) => {
|
|
18
|
-
const
|
|
19
|
+
const u = m ?? "div", $ = () => {
|
|
19
20
|
typeof a == "function" && a();
|
|
20
21
|
};
|
|
21
|
-
return /* @__PURE__ */ t(
|
|
22
|
+
return /* @__PURE__ */ t(h, { children: r && document.getElementById(e) && v(
|
|
22
23
|
/* @__PURE__ */ t(
|
|
23
24
|
"div",
|
|
24
25
|
{
|
|
25
|
-
id:
|
|
26
|
-
onClick:
|
|
27
|
-
className: `${o.modal} ${
|
|
26
|
+
id: i,
|
|
27
|
+
onClick: $,
|
|
28
|
+
className: `${o.modal} ${l.brand[g]} ${d ? o["with-overlay"] : ""} ${r ? o["modal-show"] : ""} ${f ?? ""}`,
|
|
28
29
|
children: /* @__PURE__ */ t(
|
|
29
|
-
|
|
30
|
+
u,
|
|
30
31
|
{
|
|
31
|
-
onClick: (
|
|
32
|
-
className: `${o["modal-content"]} ${
|
|
33
|
-
...
|
|
34
|
-
children:
|
|
32
|
+
onClick: (y) => y.stopPropagation(),
|
|
33
|
+
className: `${o["modal-content"]} ${l.size[c]} ${s ?? ""}`,
|
|
34
|
+
...p,
|
|
35
|
+
children: n
|
|
35
36
|
}
|
|
36
37
|
)
|
|
37
38
|
}
|
|
@@ -40,5 +41,5 @@ const C = ({
|
|
|
40
41
|
) });
|
|
41
42
|
};
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
E as default
|
|
44
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d="_modal_mu7dk_1",l={"brand-fin":"_brand-fin_mu7dk_1",modal:d,"modal-content":"_modal-content_mu7dk_1","brand-general":"_brand-general_mu7dk_1","with-overlay":"_with-overlay_mu7dk_23","modal-small":"_modal-small_mu7dk_40","modal-medium":"_modal-medium_mu7dk_44","modal-regular":"_modal-regular_mu7dk_48","modal-large":"_modal-large_mu7dk_52","modal-show":"_modal-show_mu7dk_56"};exports.default=l;exports.modal=d;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"modal-
|
|
8
|
-
"modal-
|
|
9
|
-
"modal-
|
|
1
|
+
const d = "_modal_mu7dk_1", a = {
|
|
2
|
+
"brand-fin": "_brand-fin_mu7dk_1",
|
|
3
|
+
modal: d,
|
|
4
|
+
"modal-content": "_modal-content_mu7dk_1",
|
|
5
|
+
"brand-general": "_brand-general_mu7dk_1",
|
|
6
|
+
"with-overlay": "_with-overlay_mu7dk_23",
|
|
7
|
+
"modal-small": "_modal-small_mu7dk_40",
|
|
8
|
+
"modal-medium": "_modal-medium_mu7dk_44",
|
|
9
|
+
"modal-regular": "_modal-regular_mu7dk_48",
|
|
10
|
+
"modal-large": "_modal-large_mu7dk_52",
|
|
11
|
+
"modal-show": "_modal-show_mu7dk_56"
|
|
10
12
|
};
|
|
11
13
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
a as default,
|
|
15
|
+
d as modal
|
|
14
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("@floating-ui/react"),r=require("react"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("@floating-ui/react"),r=require("react"),U=require("./style.module.scss.cjs"),B=require("./Popover.config.cjs"),g=r.forwardRef((m,h)=>{const{children:w,className:P,offset:v=10,isShow:l,anchorEl:a,useAutoPlacement:y=!1,flipOptions:F,autoPlacementOptions:S,zIndex:x=10,width:c,styleInnerPopover:R={},floatingOptions:j={},onClose:u=()=>{},withArrow:M,propsArrow:q={},floatingFocusManagerProps:O,useDismissProps:A,variant:C="white",...I}=m,f=r.useRef(null),[n,i]=r.useState(!1),{refs:d,floatingStyles:T,context:s}=e.useFloating({open:n,onOpenChange:t=>{i(t),t||u()},middleware:[e.offset(v),y?e.autoPlacement(S):e.flip(F),e.shift(),e.arrow({element:f})],whileElementsMounted:e.autoUpdate,...j}),_=e.useClick(s),E=e.useDismiss(s,A),N=e.useRole(s),{getReferenceProps:$,getFloatingProps:b}=e.useInteractions([_,E,N]),{styles:k,isMounted:D}=e.useTransitionStyles(s),p=t=>{d.setReference(t.currentTarget),i(H=>!H),n&&u()};r.useEffect(()=>{l&&a?p({currentTarget:a}):l||i(!1)},[l,a]),r.useImperativeHandle(h,()=>({show:n,setShow:i,handlerShow:p,getReferenceProps:$}),[n]);const z=()=>{let t={...T,...k,...R,zIndex:x};return c&&(t={...t,width:c}),t};return o.jsx(o.Fragment,{children:D&&n&&o.jsx(e.FloatingPortal,{children:o.jsx(e.FloatingFocusManager,{context:s,modal:!1,...O,children:o.jsxs("div",{ref:d.setFloating,style:z(),...b(),className:`${U.default.popover} ${B.configPopover.variant[C]} ${P??""}`,...I,children:[w,M&&o.jsx(e.FloatingArrow,{ref:f,context:s,...q})]})})})})});g.displayName="Popover";exports.default=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./style.module.scss.cjs"),t={variant:{white:e.default.white,"blue-gray-50":e.default["blue-gray-50"]}};exports.configPopover=t;
|
|
@@ -1,78 +1,80 @@
|
|
|
1
|
-
import { jsx as r, Fragment as
|
|
2
|
-
import { useFloating as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { jsx as r, Fragment as U, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useFloating as q, autoUpdate as B, offset as G, autoPlacement as J, flip as K, shift as L, arrow as Q, useClick as V, useDismiss as W, useRole as X, useInteractions as Y, useTransitionStyles as Z, FloatingPortal as _, FloatingFocusManager as ee, FloatingArrow as te } from "@floating-ui/react";
|
|
3
|
+
import oe, { forwardRef as se, useState as re, useEffect as ne, useImperativeHandle as ie } from "react";
|
|
4
|
+
import ae from "./style.module.scss.mjs";
|
|
5
|
+
import { configPopover as le } from "./Popover.config.mjs";
|
|
6
|
+
const fe = se((u, m) => {
|
|
6
7
|
const {
|
|
7
8
|
children: d,
|
|
8
9
|
className: g,
|
|
9
10
|
offset: h = 10,
|
|
10
11
|
isShow: n,
|
|
11
|
-
anchorEl:
|
|
12
|
+
anchorEl: i,
|
|
12
13
|
useAutoPlacement: w = !1,
|
|
13
14
|
flipOptions: P,
|
|
14
|
-
autoPlacementOptions:
|
|
15
|
-
zIndex:
|
|
16
|
-
width:
|
|
17
|
-
styleInnerPopover:
|
|
15
|
+
autoPlacementOptions: v,
|
|
16
|
+
zIndex: y = 10,
|
|
17
|
+
width: a,
|
|
18
|
+
styleInnerPopover: F = {},
|
|
18
19
|
floatingOptions: R = {},
|
|
19
|
-
onClose:
|
|
20
|
+
onClose: l = () => {
|
|
20
21
|
},
|
|
21
22
|
withArrow: S,
|
|
22
23
|
propsArrow: x = {},
|
|
23
24
|
floatingFocusManagerProps: A,
|
|
24
25
|
useDismissProps: C,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
variant: I = "white",
|
|
27
|
+
...M
|
|
28
|
+
} = u, f = oe.useRef(null), [o, s] = re(!1), { refs: c, floatingStyles: O, context: t } = q({
|
|
29
|
+
open: o,
|
|
28
30
|
onOpenChange: (e) => {
|
|
29
|
-
|
|
31
|
+
s(e), e || l();
|
|
30
32
|
},
|
|
31
33
|
middleware: [
|
|
32
|
-
|
|
33
|
-
w ?
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
G(h),
|
|
35
|
+
w ? J(v) : K(P),
|
|
36
|
+
L(),
|
|
37
|
+
Q({
|
|
36
38
|
element: f
|
|
37
39
|
})
|
|
38
40
|
],
|
|
39
|
-
whileElementsMounted:
|
|
41
|
+
whileElementsMounted: B,
|
|
40
42
|
...R
|
|
41
|
-
}),
|
|
42
|
-
c.setReference(e.currentTarget),
|
|
43
|
+
}), $ = V(t), E = W(t, C), N = X(t), { getReferenceProps: T, getFloatingProps: j } = Y([$, E, N]), { styles: k, isMounted: D } = Z(t), p = (e) => {
|
|
44
|
+
c.setReference(e.currentTarget), s((H) => !H), o && l();
|
|
43
45
|
};
|
|
44
|
-
|
|
45
|
-
n &&
|
|
46
|
-
}, [n,
|
|
46
|
+
ne(() => {
|
|
47
|
+
n && i ? p({ currentTarget: i }) : n || s(!1);
|
|
48
|
+
}, [n, i]), ie(
|
|
47
49
|
m,
|
|
48
50
|
() => ({
|
|
49
|
-
show:
|
|
50
|
-
setShow:
|
|
51
|
-
handlerShow:
|
|
51
|
+
show: o,
|
|
52
|
+
setShow: s,
|
|
53
|
+
handlerShow: p,
|
|
52
54
|
getReferenceProps: T
|
|
53
55
|
}),
|
|
54
|
-
[
|
|
56
|
+
[o]
|
|
55
57
|
);
|
|
56
|
-
const
|
|
57
|
-
let e = { ...
|
|
58
|
-
return
|
|
58
|
+
const z = () => {
|
|
59
|
+
let e = { ...O, ...k, ...F, zIndex: y };
|
|
60
|
+
return a && (e = { ...e, width: a }), e;
|
|
59
61
|
};
|
|
60
|
-
return /* @__PURE__ */ r(
|
|
62
|
+
return /* @__PURE__ */ r(U, { children: D && o && /* @__PURE__ */ r(_, { children: /* @__PURE__ */ r(ee, { context: t, modal: !1, ...A, children: /* @__PURE__ */ b(
|
|
61
63
|
"div",
|
|
62
64
|
{
|
|
63
65
|
ref: c.setFloating,
|
|
64
|
-
style:
|
|
65
|
-
|
|
66
|
-
className: `${
|
|
67
|
-
...
|
|
66
|
+
style: z(),
|
|
67
|
+
...j(),
|
|
68
|
+
className: `${ae.popover} ${le.variant[I]} ${g ?? ""}`,
|
|
69
|
+
...M,
|
|
68
70
|
children: [
|
|
69
71
|
d,
|
|
70
|
-
S && /* @__PURE__ */ r(
|
|
72
|
+
S && /* @__PURE__ */ r(te, { ref: f, context: t, ...x })
|
|
71
73
|
]
|
|
72
74
|
}
|
|
73
75
|
) }) }) });
|
|
74
76
|
});
|
|
75
|
-
|
|
77
|
+
fe.displayName = "Popover";
|
|
76
78
|
export {
|
|
77
|
-
|
|
79
|
+
fe as default
|
|
78
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_white_1tg50_1",t="_popover_1tg50_1",o={white:e,popover:t,"blue-gray-50":"_blue-gray-50_1tg50_14"};exports.default=o;exports.popover=t;exports.white=e;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
1
|
+
const t = "_white_1tg50_1", e = "_popover_1tg50_1", o = {
|
|
2
|
+
white: t,
|
|
3
|
+
popover: e,
|
|
4
|
+
"blue-gray-50": "_blue-gray-50_1tg50_14"
|
|
3
5
|
};
|
|
4
6
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
o as default,
|
|
8
|
+
e as popover,
|
|
9
|
+
t as white
|
|
7
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./itemSidebar.module.scss.cjs"),a={variant:{"payhere-brand-base-white":e.default["sidebar-payhere"],"payhere-brand-base-transparent":e.default["sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["sidebar-payhere-indigo-800"],"payhere-brand-blue-gray-900-transparent":e.default["sidebar-payhere-blue-gray-800"],"laba-white":e.default["sidebar-laba"],"lpd-brand-base-white":e.default["sidebar-lpd"],"lpd-brand-base-transparent":e.default["sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["sidebar-lpd"],"bill-brand-base":e.default["sidebar-bill"],"bill-brand-base-responsive":e.default["sidebar-bill"]},parent:{1:e.default["parent-sidebar-1"],2:e.default["parent-sidebar-2"],3:e.default["parent-sidebar-3"],4:e.default["parent-sidebar-4"],5:e.default["parent-sidebar-5"],6:e.default["parent-sidebar-6"],7:e.default["parent-sidebar-7"],8:e.default["parent-sidebar-8"]},divider:{"payhere-brand-base-white":e.default["divider-item-sidebar-payhere"],"payhere-brand-base-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-blue-gray-900-transparent":e.default["divider-item-sidebar-payhere"],"laba-white":e.default["divider-item-sidebar-laba"],"lpd-brand-base-white":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["divider-item-sidebar-lpd"],"bill-brand-base":e.default["divider-item-sidebar-bill"],"bill-brand-base-responsive":e.default["divider-item-sidebar-bill"]}};exports.configItemSidebar=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./itemSidebar.module.scss.cjs"),a={variant:{"payhere-brand-base-white":e.default["sidebar-payhere"],"payhere-brand-base-transparent":e.default["sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["sidebar-payhere-indigo-800"],"payhere-brand-blue-gray-900-transparent":e.default["sidebar-payhere-blue-gray-800"],"laba-white":e.default["sidebar-laba"],"lpd-brand-base-white":e.default["sidebar-lpd"],"lpd-brand-base-transparent":e.default["sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["sidebar-lpd"],"bill-brand-base":e.default["sidebar-bill"],"bill-brand-base-responsive":e.default["sidebar-bill"],"fin-base":e.default["sidebar-fin"],"fin-base-responsive":e.default["sidebar-fin"]},parent:{1:e.default["parent-sidebar-1"],2:e.default["parent-sidebar-2"],3:e.default["parent-sidebar-3"],4:e.default["parent-sidebar-4"],5:e.default["parent-sidebar-5"],6:e.default["parent-sidebar-6"],7:e.default["parent-sidebar-7"],8:e.default["parent-sidebar-8"]},divider:{"payhere-brand-base-white":e.default["divider-item-sidebar-payhere"],"payhere-brand-base-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-blue-gray-900-transparent":e.default["divider-item-sidebar-payhere"],"laba-white":e.default["divider-item-sidebar-laba"],"lpd-brand-base-white":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["divider-item-sidebar-lpd"],"bill-brand-base":e.default["divider-item-sidebar-bill"],"bill-brand-base-responsive":e.default["divider-item-sidebar-bill"],"fin-base":e.default["divider-item-sidebar-fin"],"fin-base-responsive":e.default["divider-item-sidebar-fin"]}};exports.configItemSidebar=a;
|
|
@@ -11,7 +11,9 @@ const r = {
|
|
|
11
11
|
"lpd-brand-base-white-responsive": e["sidebar-lpd"],
|
|
12
12
|
"lpd-brand-base-transparent-responsive": e["sidebar-lpd"],
|
|
13
13
|
"bill-brand-base": e["sidebar-bill"],
|
|
14
|
-
"bill-brand-base-responsive": e["sidebar-bill"]
|
|
14
|
+
"bill-brand-base-responsive": e["sidebar-bill"],
|
|
15
|
+
"fin-base": e["sidebar-fin"],
|
|
16
|
+
"fin-base-responsive": e["sidebar-fin"]
|
|
15
17
|
},
|
|
16
18
|
parent: {
|
|
17
19
|
1: e["parent-sidebar-1"],
|
|
@@ -34,7 +36,9 @@ const r = {
|
|
|
34
36
|
"lpd-brand-base-white-responsive": e["divider-item-sidebar-lpd"],
|
|
35
37
|
"lpd-brand-base-transparent-responsive": e["divider-item-sidebar-lpd"],
|
|
36
38
|
"bill-brand-base": e["divider-item-sidebar-bill"],
|
|
37
|
-
"bill-brand-base-responsive": e["divider-item-sidebar-bill"]
|
|
39
|
+
"bill-brand-base-responsive": e["divider-item-sidebar-bill"],
|
|
40
|
+
"fin-base": e["divider-item-sidebar-fin"],
|
|
41
|
+
"fin-base-responsive": e["divider-item-sidebar-fin"]
|
|
38
42
|
}
|
|
39
43
|
};
|
|
40
44
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),e=require("react"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("react/jsx-runtime"),e=require("react"),o=require("./Sidebar.module.scss.cjs"),P=require("./ItemSidebar.cjs"),I=require("../../config/tailwind/nativeScreen.cjs"),C=require("./Sidebar.config.cjs"),R=e.forwardRef((O,W)=>{const{as:v,children:w,patch:c="/",iconCompany:r,iconSubs:k,iconCollapse:m,iconCollapseClose:g,modules:q,toleranceWidthIconCompany:$=25,onClickItems:V,variant:u="payhere-brand-base-white",footer:l,withInheritance:j,id:f="1ru-sidebar",styleSidebar:L,styleContent:M,defaultOpen:a,..._}=O,z=e.useRef(null),[n,d]=e.useState(null),[i,b]=e.useState(typeof a=="boolean"?a:null),[F,x]=e.useState(""),[E,h]=e.useState(),[N,T]=e.useState(0),y=()=>{let s=0;document.getElementById("icon-company-sidebar")?.childNodes?.forEach(B=>{s+=B.getBoundingClientRect().width??0}),h(s+$+"px")},S=()=>{T(window.innerWidth)},p=()=>{d(!i),i?h("auto"):setTimeout(()=>{y()},100)};return e.useEffect(()=>{N>=(C.configSidebar.mobileSupport.includes(u)?I.default.lg:I.default.md)?(d(typeof a=="boolean"?a:!0),setTimeout(()=>{y()},100)):(d(typeof a=="boolean"?a:!1),h("auto"))},[N]),e.useEffect(()=>{typeof n=="boolean"&&b(n)},[n]),e.useImperativeHandle(W,()=>({openSidebar:n,setOpenSidebar:d,handlerClickCollapse:p}),[n,i]),e.useEffect(()=>(c&&c.split("/").length>1&&x(c+"/"),y(),S(),window.addEventListener("resize",S),()=>window.removeEventListener("resize",S)),[]),t.jsxs("div",{className:C.configSidebar.variants[u],..._,ref:z,children:[t.jsxs("div",{id:f,className:`${o.default.sidebar} ${typeof i=="boolean"&&i?o.default["sidebar-open"]:""} ${typeof i=="boolean"&&!i?o.default["sidebar-close"]:""}`,style:L||{},children:[e.isValidElement(m)&&t.jsxs("div",{className:o.default["button-collaps-sidebar"],id:`${f}-${n?"close-collapse":"open-collapse"}`,onClick:p,children:[n&&m,n?"":e.isValidElement(g)?g:m]}),t.jsx("div",{className:o.default["container-icon-company-sidebar"],children:t.jsxs("div",{id:"icon-company-sidebar",className:o.default["icon-company-sidebar"],style:{width:E&&C.configSidebar.withCuctomWidthIconCompany.includes(u)?E:"100%"},children:[e.isValidElement(r)&&r,typeof r=="function"&&r({openSidebar:i,setOpenSidebar:d})]})}),t.jsx("div",{className:o.default["menu-sidebar"],onMouseOver:()=>{n||b(!0)},onMouseOut:()=>{n||b(!1)},children:q.map(s=>e.createElement(P.default,{...s,as:s.manualRoute||s.subs.length>0?"div":v,linkComponent:v,key:s.name,show:F,open:i,patch:c,iconSubs:k,variant:u,setShow:x,onClickItems:V}))}),l&&t.jsxs("div",{className:i?"iru-opacity-[1]":"iru-opacity-0",children:[e.isValidElement(l)&&t.jsx("div",{children:l}),typeof l=="function"&&t.jsx("div",{children:l()})]})]}),n&&t.jsx("div",{id:`${f}-splace-screen`,className:o.default["splace-screen"],onClick:p}),t.jsxs("div",{className:o.default["content-sidebar"],style:M||{},children:[j&&e.Children?.map(w,s=>t.jsx(t.Fragment,{children:e.isValidElement(s)&&t.jsx(t.Fragment,{children:e.cloneElement(s,{openSidebar:n,handlerClickCollapse:p})})})),!j&&t.jsx(t.Fragment,{children:w})]})]})});R.displayName="Sidebar";exports.default=R;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Sidebar.module.scss.cjs"),a={withCuctomWidthIconCompany:["payhere-brand-base-white","payhere-brand-base-transparent"],variants:{"payhere-brand-base-white":e.default["payhere-brand-base-white"],"payhere-brand-base-transparent":e.default["payhere-brand-base-transparent"],"payhere-brand-indigo-900-transparent":e.default["payhere-brand-indigo-900-transparent"],"payhere-brand-blue-gray-900-transparent":e.default["payhere-brand-blue-gray-900-transparent"],"laba-white":e.default["laba-white"],"lpd-brand-base-white":e.default["lpd-brand-base-white"],"lpd-brand-base-transparent":e.default["lpd-brand-base-transparent"],"lpd-brand-base-white-responsive":e.default["lpd-brand-base-white-responsive"],"lpd-brand-base-transparent-responsive":e.default["lpd-brand-base-transparent-responsive"],"bill-brand-base":e.default["bill-brand-base"],"bill-brand-base-responsive":e.default["bill-brand-base-responsive"]},mobileSupport:["lpd-brand-base-transparent-responsive","lpd-brand-base-white-responsive","bill-brand-base-responsive"]};exports.configSidebar=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Sidebar.module.scss.cjs"),a={withCuctomWidthIconCompany:["payhere-brand-base-white","payhere-brand-base-transparent"],variants:{"payhere-brand-base-white":e.default["payhere-brand-base-white"],"payhere-brand-base-transparent":e.default["payhere-brand-base-transparent"],"payhere-brand-indigo-900-transparent":e.default["payhere-brand-indigo-900-transparent"],"payhere-brand-blue-gray-900-transparent":e.default["payhere-brand-blue-gray-900-transparent"],"laba-white":e.default["laba-white"],"lpd-brand-base-white":e.default["lpd-brand-base-white"],"lpd-brand-base-transparent":e.default["lpd-brand-base-transparent"],"lpd-brand-base-white-responsive":e.default["lpd-brand-base-white-responsive"],"lpd-brand-base-transparent-responsive":e.default["lpd-brand-base-transparent-responsive"],"bill-brand-base":e.default["bill-brand-base"],"bill-brand-base-responsive":e.default["bill-brand-base-responsive"],"fin-base":e.default["fin-base"],"fin-base-responsive":e.default["fin-base-responsive"]},mobileSupport:["lpd-brand-base-transparent-responsive","lpd-brand-base-white-responsive","bill-brand-base-responsive"]};exports.configSidebar=a;
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./Sidebar.module.scss.mjs";
|
|
2
2
|
const r = {
|
|
3
3
|
withCuctomWidthIconCompany: ["payhere-brand-base-white", "payhere-brand-base-transparent"],
|
|
4
4
|
variants: {
|
|
5
|
-
"payhere-brand-base-white":
|
|
6
|
-
"payhere-brand-base-transparent":
|
|
7
|
-
"payhere-brand-indigo-900-transparent":
|
|
8
|
-
"payhere-brand-blue-gray-900-transparent":
|
|
9
|
-
"laba-white":
|
|
10
|
-
"lpd-brand-base-white":
|
|
11
|
-
"lpd-brand-base-transparent":
|
|
12
|
-
"lpd-brand-base-white-responsive":
|
|
13
|
-
"lpd-brand-base-transparent-responsive":
|
|
14
|
-
"bill-brand-base":
|
|
15
|
-
"bill-brand-base-responsive":
|
|
5
|
+
"payhere-brand-base-white": e["payhere-brand-base-white"],
|
|
6
|
+
"payhere-brand-base-transparent": e["payhere-brand-base-transparent"],
|
|
7
|
+
"payhere-brand-indigo-900-transparent": e["payhere-brand-indigo-900-transparent"],
|
|
8
|
+
"payhere-brand-blue-gray-900-transparent": e["payhere-brand-blue-gray-900-transparent"],
|
|
9
|
+
"laba-white": e["laba-white"],
|
|
10
|
+
"lpd-brand-base-white": e["lpd-brand-base-white"],
|
|
11
|
+
"lpd-brand-base-transparent": e["lpd-brand-base-transparent"],
|
|
12
|
+
"lpd-brand-base-white-responsive": e["lpd-brand-base-white-responsive"],
|
|
13
|
+
"lpd-brand-base-transparent-responsive": e["lpd-brand-base-transparent-responsive"],
|
|
14
|
+
"bill-brand-base": e["bill-brand-base"],
|
|
15
|
+
"bill-brand-base-responsive": e["bill-brand-base-responsive"],
|
|
16
|
+
"fin-base": e["fin-base"],
|
|
17
|
+
"fin-base-responsive": e["fin-base-responsive"]
|
|
16
18
|
},
|
|
17
19
|
mobileSupport: [
|
|
18
20
|
"lpd-brand-base-transparent-responsive",
|