qaema-ui 0.0.66 → 0.0.68
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/index.js +5 -5
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +4 -4
- package/dist/components/PriceCard.d.ts +8 -0
- package/dist/components/PriceCard.js +227 -173
- package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- 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/package.json +1 -1
package/dist/_virtual/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
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/index2.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/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/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as r } from "../node_modules/classnames/index.js";
|
|
3
|
+
var a = r();
|
|
4
|
+
const t = /* @__PURE__ */ s(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
|
};
|
|
@@ -8,6 +8,7 @@ export type PriceCardBadge = {
|
|
|
8
8
|
label: string;
|
|
9
9
|
bgColor: string;
|
|
10
10
|
color: string;
|
|
11
|
+
ribbon?: boolean;
|
|
11
12
|
weight?: FontWeight;
|
|
12
13
|
variant?: BadgeVariant;
|
|
13
14
|
children?: ReactNode;
|
|
@@ -21,6 +22,11 @@ export type PriceCardFeature = {
|
|
|
21
22
|
export type SecondaryPrice = {
|
|
22
23
|
amount: string;
|
|
23
24
|
label: string;
|
|
25
|
+
originalAmount?: string;
|
|
26
|
+
};
|
|
27
|
+
export type PriceCardDiscount = {
|
|
28
|
+
label: string;
|
|
29
|
+
amount: string;
|
|
24
30
|
};
|
|
25
31
|
export type PriceCardPrice = {
|
|
26
32
|
amount: string;
|
|
@@ -38,6 +44,8 @@ export type PriceCardProps = {
|
|
|
38
44
|
title: string;
|
|
39
45
|
price: PriceCardPrice;
|
|
40
46
|
secondaryPrice?: SecondaryPrice;
|
|
47
|
+
discount?: PriceCardDiscount;
|
|
48
|
+
discountLabel?: string;
|
|
41
49
|
description: string;
|
|
42
50
|
hintComponent?: React.ReactNode;
|
|
43
51
|
features: PriceCardFeature[];
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { j as i } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { CurrencyContainer as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
transparent:
|
|
3
|
+
import t, { css as u } from "styled-components";
|
|
4
|
+
import x from "../assets/icons/RiyalIcon.js";
|
|
5
|
+
import { CurrencyContainer as W } from "../styles/Currency.styles.js";
|
|
6
|
+
import P from "../assets/svg/Riyal.svg.js";
|
|
7
|
+
import L from "./Badge.js";
|
|
8
|
+
import b from "./Button.js";
|
|
9
|
+
import M from "./FeaturesList.js";
|
|
10
|
+
import g from "./Typography.js";
|
|
11
|
+
const N = {
|
|
12
|
+
transparent: u`
|
|
13
13
|
background: rgba(255, 255, 255, 0.72);
|
|
14
14
|
border: 1px solid ${({ theme: e }) => e.colors.grey.n200};
|
|
15
15
|
box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
|
|
16
16
|
`,
|
|
17
|
-
purple:
|
|
17
|
+
purple: u`
|
|
18
18
|
background: linear-gradient(360deg, #ffffff 63.12%, #f1eeff 100%);
|
|
19
19
|
border: 1px solid #e3deff;
|
|
20
20
|
box-shadow:
|
|
21
21
|
0px 4px 6px -2px #10182808,
|
|
22
22
|
0px 12px 16px -4px #10182814;
|
|
23
23
|
`
|
|
24
|
-
},
|
|
24
|
+
}, O = t.div`
|
|
25
|
+
position: relative;
|
|
25
26
|
width: 100%;
|
|
26
27
|
max-width: 28.458rem;
|
|
27
28
|
|
|
@@ -29,119 +30,157 @@ const E = {
|
|
|
29
30
|
overflow: hidden;
|
|
30
31
|
display: flex;
|
|
31
32
|
flex-direction: column;
|
|
32
|
-
${({ $variant: e }) =>
|
|
33
|
-
`,
|
|
33
|
+
${({ $variant: e }) => N[e]};
|
|
34
|
+
`, U = t.div`
|
|
34
35
|
padding: 25px;
|
|
35
36
|
display: flex;
|
|
36
37
|
flex-direction: column;
|
|
37
38
|
gap: ${({ theme: e }) => e.spacing.sm};
|
|
38
39
|
border-bottom: 1px solid ${({ theme: e }) => e.colors.grey.n200};
|
|
39
|
-
`,
|
|
40
|
+
`, V = t.div`
|
|
40
41
|
display: flex;
|
|
41
42
|
align-items: center;
|
|
42
|
-
justify-content: space-between;
|
|
43
|
+
justify-content: ${({ $hasMultipleBadges: e }) => e ? "flex-start" : "space-between"};
|
|
43
44
|
gap: ${({ theme: e }) => e.spacing.s};
|
|
44
45
|
flex-wrap: wrap;
|
|
45
|
-
|
|
46
|
+
padding-right: ${({ $hasRibbon: e }) => e ? "8rem" : "0"};
|
|
47
|
+
`, q = t(g)`
|
|
46
48
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
47
49
|
font-weight: 600;
|
|
48
50
|
font-size: ${({ theme: e }) => {
|
|
49
|
-
var
|
|
50
|
-
return (
|
|
51
|
+
var o;
|
|
52
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s3;
|
|
51
53
|
}};
|
|
52
54
|
line-height: 1.75rem;
|
|
53
55
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
54
56
|
white-space: nowrap;
|
|
55
|
-
`,
|
|
57
|
+
`, G = t.div`
|
|
56
58
|
display: flex;
|
|
57
59
|
flex-direction: column;
|
|
58
60
|
gap: 0.85rem;
|
|
59
|
-
`,
|
|
61
|
+
`, J = t.div`
|
|
60
62
|
display: flex;
|
|
61
63
|
align-items: center;
|
|
62
64
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
63
65
|
flex-wrap: nowrap;
|
|
64
66
|
span {
|
|
65
67
|
font-size: ${({ theme: e }) => {
|
|
66
|
-
var
|
|
67
|
-
return (
|
|
68
|
+
var o;
|
|
69
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s2;
|
|
68
70
|
}};
|
|
69
71
|
line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
|
|
70
72
|
}
|
|
71
|
-
`,
|
|
73
|
+
`, K = t.div`
|
|
74
|
+
position: absolute;
|
|
75
|
+
top: 0;
|
|
76
|
+
right: 0;
|
|
77
|
+
min-width: 9.5rem;
|
|
78
|
+
height: 4rem;
|
|
79
|
+
padding: 0 ${({ theme: e }) => e.spacing.m};
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
border-bottom-left-radius: ${({ theme: e }) => e.borderRadius.xl};
|
|
84
|
+
background-color: ${({ $bgColor: e }) => e};
|
|
85
|
+
color: ${({ $color: e }) => e};
|
|
86
|
+
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
87
|
+
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
88
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
89
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
`, Q = t.div`
|
|
72
92
|
display: flex;
|
|
73
93
|
align-items: baseline;
|
|
74
94
|
gap: ${({ theme: e }) => e.spacing.xxs};
|
|
75
|
-
`,
|
|
95
|
+
`, w = t(x).attrs(({ theme: e }) => ({
|
|
76
96
|
color: e.colors.grey.n350,
|
|
77
97
|
width: "18",
|
|
78
98
|
height: "20"
|
|
79
|
-
}))``,
|
|
99
|
+
}))``, X = t.span`
|
|
80
100
|
font-family: ${({ theme: e }) => e.fonts.english};
|
|
81
101
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
82
102
|
font-size: 2.25rem;
|
|
83
103
|
line-height: 2.5rem;
|
|
84
|
-
color: ${({ $color: e, theme:
|
|
85
|
-
`,
|
|
104
|
+
color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
|
|
105
|
+
`, Y = t.span`
|
|
86
106
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
87
107
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
88
108
|
font-size: ${({ theme: e }) => {
|
|
89
|
-
var
|
|
90
|
-
return (
|
|
109
|
+
var o;
|
|
110
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s5;
|
|
91
111
|
}};
|
|
92
112
|
line-height: 1.804rem;
|
|
93
|
-
color: ${({ $color: e, theme:
|
|
94
|
-
`,
|
|
113
|
+
color: ${({ $color: e, theme: o }) => e ?? o.colors.grey.n800};
|
|
114
|
+
`, Z = t(g)`
|
|
95
115
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
96
116
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
97
117
|
font-size: ${({ theme: e }) => {
|
|
98
|
-
var
|
|
99
|
-
return (
|
|
118
|
+
var o;
|
|
119
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s2;
|
|
100
120
|
}};
|
|
101
121
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
102
122
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
103
|
-
`,
|
|
123
|
+
`, _ = t.div`
|
|
104
124
|
padding: 2rem 2rem 2.5rem 2rem;
|
|
105
125
|
display: flex;
|
|
106
126
|
flex-direction: column;
|
|
107
127
|
gap: ${({ theme: e }) => e.spacing.s};
|
|
108
|
-
`,
|
|
128
|
+
`, A = t(g)`
|
|
109
129
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
110
130
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
111
131
|
font-size: ${({ theme: e }) => {
|
|
112
|
-
var
|
|
113
|
-
return (
|
|
132
|
+
var o;
|
|
133
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s3;
|
|
114
134
|
}};
|
|
115
135
|
line-height: 0.7rem;
|
|
116
136
|
color: ${({ theme: e }) => e.colors.grey.n650};
|
|
117
137
|
text-transform: uppercase;
|
|
118
|
-
`,
|
|
138
|
+
`, ee = t(g)`
|
|
119
139
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
120
140
|
font-weight: 500;
|
|
121
141
|
font-size: ${({ theme: e }) => {
|
|
122
|
-
var
|
|
123
|
-
return (
|
|
142
|
+
var o;
|
|
143
|
+
return (o = e.typography.sizes) == null ? void 0 : o.s2;
|
|
124
144
|
}};
|
|
125
145
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
126
146
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
127
|
-
`,
|
|
147
|
+
`, ie = t.div`
|
|
128
148
|
display: flex;
|
|
129
149
|
align-items: center;
|
|
130
150
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
131
|
-
`,
|
|
151
|
+
`, d = t.span`
|
|
132
152
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
133
153
|
font-weight: ${({ theme: e }) => e.typography.weights.bold};
|
|
134
154
|
font-size: ${({ theme: e }) => e.typography.sizes.s9};
|
|
135
155
|
line-height: ${({ theme: e }) => e.typography.lineHeights.xl};
|
|
136
156
|
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
|
|
137
157
|
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
138
|
-
`,
|
|
158
|
+
`, oe = t(d)`
|
|
159
|
+
text-decoration: line-through;
|
|
160
|
+
`, te = t.span`
|
|
139
161
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
140
162
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
141
163
|
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
142
164
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
143
165
|
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
144
|
-
`,
|
|
166
|
+
`, j = t.span`
|
|
167
|
+
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
168
|
+
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
169
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
170
|
+
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
171
|
+
color: #17954f;
|
|
172
|
+
`, re = t.div`
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
gap: 5px;
|
|
176
|
+
font-size: 16px;
|
|
177
|
+
`, ne = t(d)`
|
|
178
|
+
color: #17954f;
|
|
179
|
+
`, se = t(x).attrs({
|
|
180
|
+
color: "#17954f",
|
|
181
|
+
width: "16",
|
|
182
|
+
height: "18"
|
|
183
|
+
})``, le = t.div`
|
|
145
184
|
width: 100%;
|
|
146
185
|
margin-top: 1rem;
|
|
147
186
|
display: flex;
|
|
@@ -151,139 +190,154 @@ const E = {
|
|
|
151
190
|
button {
|
|
152
191
|
width: 100%;
|
|
153
192
|
}
|
|
154
|
-
`,
|
|
193
|
+
`, $e = ({
|
|
155
194
|
title: e,
|
|
156
|
-
price:
|
|
157
|
-
description:
|
|
158
|
-
hintComponent:
|
|
159
|
-
secondaryPrice:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
195
|
+
price: o,
|
|
196
|
+
description: z,
|
|
197
|
+
hintComponent: v,
|
|
198
|
+
secondaryPrice: a,
|
|
199
|
+
discount: h,
|
|
200
|
+
discountLabel: m,
|
|
201
|
+
features: C,
|
|
202
|
+
variant: R = "transparent",
|
|
203
|
+
badges: f = [],
|
|
204
|
+
showPrimaryAction: B = !1,
|
|
205
|
+
primaryAction: n,
|
|
206
|
+
showSecondaryAction: k = !1,
|
|
207
|
+
secondaryAction: s,
|
|
208
|
+
showFeatures: S = !0,
|
|
209
|
+
featuresTitle: H = "FEATURES",
|
|
210
|
+
featuresDescription: T = "Everything in our free plan plus.....",
|
|
211
|
+
showAddons: F = !1,
|
|
212
|
+
selectedAddon: D = "Without",
|
|
213
|
+
setSelectedAddon: c,
|
|
214
|
+
addOnsData: y = [],
|
|
174
215
|
// addonsTitle = 'Personal Accountant',
|
|
175
216
|
// addonsOptionalLabel = 'optional',
|
|
176
|
-
addonsMonthlyLabel:
|
|
177
|
-
mobileHintComponent:
|
|
178
|
-
}) =>
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
217
|
+
addonsMonthlyLabel: E = "monthly",
|
|
218
|
+
mobileHintComponent: I
|
|
219
|
+
}) => {
|
|
220
|
+
const p = f.find((r) => r.ribbon), $ = f.filter((r) => !r.ribbon);
|
|
221
|
+
return /* @__PURE__ */ i.jsxs(O, { $variant: R, children: [
|
|
222
|
+
p && /* @__PURE__ */ i.jsx(K, { $bgColor: p.bgColor, $color: p.color, children: p.label }),
|
|
223
|
+
/* @__PURE__ */ i.jsxs(U, { children: [
|
|
224
|
+
/* @__PURE__ */ i.jsxs(V, { $hasRibbon: !!p, $hasMultipleBadges: f.length > 1, children: [
|
|
225
|
+
/* @__PURE__ */ i.jsx(q, { children: e }),
|
|
226
|
+
$.length > 0 && /* @__PURE__ */ i.jsx(J, { children: $.map((r, l) => /* @__PURE__ */ i.jsx(
|
|
227
|
+
L,
|
|
228
|
+
{
|
|
229
|
+
label: r.label,
|
|
230
|
+
bgColor: r.bgColor,
|
|
231
|
+
color: r.color,
|
|
232
|
+
image: r.image ?? "",
|
|
233
|
+
weight: r.weight,
|
|
234
|
+
variant: r.variant
|
|
235
|
+
},
|
|
236
|
+
`${r.label}-${l}`
|
|
237
|
+
)) })
|
|
238
|
+
] }),
|
|
239
|
+
/* @__PURE__ */ i.jsxs(Q, { children: [
|
|
240
|
+
/* @__PURE__ */ i.jsx(W, { src: P, alt: "Riyal" }),
|
|
241
|
+
/* @__PURE__ */ i.jsx(X, { $color: o.color, children: o.amount }),
|
|
242
|
+
/* @__PURE__ */ i.jsx(Y, { $color: o.periodColor, children: o.period ?? "/ Month" })
|
|
243
|
+
] }),
|
|
244
|
+
a && /* @__PURE__ */ i.jsxs(ie, { children: [
|
|
245
|
+
a.originalAmount && /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
246
|
+
/* @__PURE__ */ i.jsx(w, {}),
|
|
247
|
+
/* @__PURE__ */ i.jsx(oe, { children: a.originalAmount })
|
|
248
|
+
] }),
|
|
249
|
+
/* @__PURE__ */ i.jsx(w, {}),
|
|
250
|
+
/* @__PURE__ */ i.jsx(d, { children: a.amount }),
|
|
251
|
+
/* @__PURE__ */ i.jsx(te, { children: a.label })
|
|
252
|
+
] }),
|
|
253
|
+
h ? /* @__PURE__ */ i.jsxs(re, { children: [
|
|
254
|
+
/* @__PURE__ */ i.jsx(j, { children: h.label }),
|
|
255
|
+
/* @__PURE__ */ i.jsx(se, {}),
|
|
256
|
+
/* @__PURE__ */ i.jsx(ne, { children: h.amount })
|
|
257
|
+
] }) : m && /* @__PURE__ */ i.jsx(j, { children: m }),
|
|
258
|
+
/* @__PURE__ */ i.jsx(Z, { children: z }),
|
|
259
|
+
F && y.length > 0 && /* @__PURE__ */ i.jsx("div", { style: { marginTop: "0.50rem" }, children: /* @__PURE__ */ i.jsx(
|
|
260
|
+
"div",
|
|
184
261
|
{
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
262
|
+
style: {
|
|
263
|
+
backgroundColor: "#f5f7fb",
|
|
264
|
+
borderRadius: "9px",
|
|
265
|
+
padding: "4px",
|
|
266
|
+
display: "grid",
|
|
267
|
+
gridTemplateColumns: "repeat(2, minmax(0, 1fr))",
|
|
268
|
+
gap: "4px"
|
|
269
|
+
},
|
|
270
|
+
children: y.map((r) => {
|
|
271
|
+
const l = D === r.id;
|
|
272
|
+
return /* @__PURE__ */ i.jsxs(
|
|
273
|
+
"button",
|
|
274
|
+
{
|
|
275
|
+
type: "button",
|
|
276
|
+
onClick: () => c == null ? void 0 : c(r.id),
|
|
277
|
+
style: {
|
|
278
|
+
padding: "8px 6px 7px",
|
|
279
|
+
border: l ? "1px solid #e4e7ec" : "1px solid transparent",
|
|
280
|
+
backgroundColor: l ? "#ffffff" : "transparent",
|
|
281
|
+
color: l ? "#16181c" : "#72788e",
|
|
282
|
+
borderRadius: "6px",
|
|
283
|
+
cursor: "pointer",
|
|
284
|
+
fontWeight: 600,
|
|
285
|
+
fontSize: "12.78px",
|
|
286
|
+
lineHeight: 1.1,
|
|
287
|
+
transition: "all 0.18s ease",
|
|
288
|
+
display: "flex",
|
|
289
|
+
flexDirection: "column",
|
|
290
|
+
alignItems: "center",
|
|
291
|
+
justifyContent: "center",
|
|
292
|
+
gap: "2px",
|
|
293
|
+
minHeight: "42px",
|
|
294
|
+
boxShadow: l ? "0 1px 2px rgba(16, 24, 40, 0.08)" : "none"
|
|
295
|
+
},
|
|
296
|
+
children: [
|
|
297
|
+
/* @__PURE__ */ i.jsx("span", { children: r.titleEn }),
|
|
298
|
+
/* @__PURE__ */ i.jsxs(
|
|
299
|
+
"span",
|
|
300
|
+
{
|
|
301
|
+
style: {
|
|
302
|
+
fontSize: "11px",
|
|
303
|
+
marginTop: "2px",
|
|
304
|
+
color: "#16181c",
|
|
305
|
+
fontWeight: 600,
|
|
306
|
+
display: "inline-flex",
|
|
307
|
+
alignItems: "center",
|
|
308
|
+
gap: "2px"
|
|
309
|
+
},
|
|
310
|
+
children: [
|
|
311
|
+
/* @__PURE__ */ i.jsx(x, { width: "9", height: "9", color: "#16181c" }),
|
|
312
|
+
r.baseFare,
|
|
313
|
+
" ",
|
|
314
|
+
E
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
]
|
|
242
319
|
},
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
display: "inline-flex",
|
|
254
|
-
alignItems: "center",
|
|
255
|
-
gap: "2px"
|
|
256
|
-
},
|
|
257
|
-
children: [
|
|
258
|
-
/* @__PURE__ */ i.jsx(d, { width: "9", height: "9", color: "#16181c" }),
|
|
259
|
-
t.baseFare,
|
|
260
|
-
" ",
|
|
261
|
-
k
|
|
262
|
-
]
|
|
263
|
-
}
|
|
264
|
-
)
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
|
-
t.id
|
|
268
|
-
);
|
|
269
|
-
})
|
|
270
|
-
}
|
|
271
|
-
) }),
|
|
272
|
-
S,
|
|
273
|
-
/* @__PURE__ */ i.jsxs(_, { children: [
|
|
274
|
-
b && /* @__PURE__ */ i.jsx(c, { variant: (s == null ? void 0 : s.variant) ?? "primary", onClick: s == null ? void 0 : s.onPrimaryActionClick, children: s == null ? void 0 : s.label }),
|
|
275
|
-
w && /* @__PURE__ */ i.jsx(c, { variant: (l == null ? void 0 : l.variant) ?? "light-primary", onClick: l == null ? void 0 : l.onSecondaryActionClick, children: l == null ? void 0 : l.label })
|
|
276
|
-
] })
|
|
277
|
-
] }),
|
|
278
|
-
j && /* @__PURE__ */ i.jsxs(J, { children: [
|
|
279
|
-
/* @__PURE__ */ i.jsxs(L, { children: [
|
|
280
|
-
/* @__PURE__ */ i.jsx(K, { children: v }),
|
|
281
|
-
/* @__PURE__ */ i.jsx(Q, { children: z })
|
|
320
|
+
r.id
|
|
321
|
+
);
|
|
322
|
+
})
|
|
323
|
+
}
|
|
324
|
+
) }),
|
|
325
|
+
I,
|
|
326
|
+
/* @__PURE__ */ i.jsxs(le, { children: [
|
|
327
|
+
B && /* @__PURE__ */ i.jsx(b, { variant: (n == null ? void 0 : n.variant) ?? "primary", onClick: n == null ? void 0 : n.onPrimaryActionClick, children: n == null ? void 0 : n.label }),
|
|
328
|
+
k && /* @__PURE__ */ i.jsx(b, { variant: (s == null ? void 0 : s.variant) ?? "light-primary", onClick: s == null ? void 0 : s.onSecondaryActionClick, children: s == null ? void 0 : s.label })
|
|
329
|
+
] })
|
|
282
330
|
] }),
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
331
|
+
S && /* @__PURE__ */ i.jsxs(_, { children: [
|
|
332
|
+
/* @__PURE__ */ i.jsxs(G, { children: [
|
|
333
|
+
/* @__PURE__ */ i.jsx(A, { children: H }),
|
|
334
|
+
/* @__PURE__ */ i.jsx(ee, { children: T })
|
|
335
|
+
] }),
|
|
336
|
+
v,
|
|
337
|
+
/* @__PURE__ */ i.jsx(M, { features: C })
|
|
338
|
+
] })
|
|
339
|
+
] });
|
|
340
|
+
};
|
|
287
341
|
export {
|
|
288
|
-
|
|
342
|
+
$e as default
|
|
289
343
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import i from "../../../_virtual/
|
|
2
|
+
import i from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as l } from "./ThemeProvider.js";
|
|
4
4
|
import d from "./divWithClassName.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import i from "../../@restart/ui/esm/Anchor.js";
|
|
4
4
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
5
5
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import o from "../../../_virtual/
|
|
1
|
+
import o from "../../../_virtual/index4.js";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import n from "../../../_virtual/
|
|
3
|
+
import n from "../../../_virtual/index3.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const m = {
|
|
6
6
|
/** An accessible label indicating the relevant information about the Close Button. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import $ from "../../../_virtual/
|
|
1
|
+
import $ from "../../../_virtual/index3.js";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import { useBootstrapPrefix as B, useBootstrapBreakpoints as h, useBootstrapMinBreakpoint as N } from "./ThemeProvider.js";
|
|
4
4
|
import { j } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import j from "../../../_virtual/
|
|
1
|
+
import j from "../../../_virtual/index3.js";
|
|
2
2
|
import d from "../../dom-helpers/esm/css.js";
|
|
3
3
|
import h, { useMemo as r } from "react";
|
|
4
4
|
import { ENTERED as G, ENTERING as L, EXITING as B, EXITED as M } from "../../react-transition-group/esm/Transition.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import p from "../../../_virtual/
|
|
2
|
+
import p from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as d } from "./ThemeProvider.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const i = /* @__PURE__ */ d.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import s from "../../../_virtual/
|
|
2
|
+
import s from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as d } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import a from "../../@restart/hooks/esm/useMergedRefs.js";
|
|
2
2
|
import d from "../../@restart/ui/esm/DropdownContext.js";
|
|
3
3
|
import { useDropdownToggle as g } from "../../@restart/ui/esm/DropdownToggle.js";
|
|
4
|
-
import l from "../../../_virtual/
|
|
4
|
+
import l from "../../../_virtual/index3.js";
|
|
5
5
|
import * as u from "react";
|
|
6
6
|
import { useContext as w } from "react";
|
|
7
7
|
import x from "./Button.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
1
|
+
import i from "../../../_virtual/index3.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import e from "../../../_virtual/
|
|
3
|
+
import e from "../../../_virtual/index4.js";
|
|
4
4
|
import { j as l } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const c = {
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import i from "../../../_virtual/
|
|
2
|
-
import o from "../../../_virtual/
|
|
1
|
+
import i from "../../../_virtual/index3.js";
|
|
2
|
+
import o from "../../../_virtual/index4.js";
|
|
3
3
|
import * as s from "react";
|
|
4
4
|
import f from "./FormCheck.js";
|
|
5
5
|
import l from "./FormControl.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as f } from "./ThemeProvider.js";
|
|
4
4
|
import { j as i } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const p = /* @__PURE__ */ s.forwardRef(({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import f from "../../../_virtual/
|
|
1
|
+
import f from "../../../_virtual/index3.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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const i = /* @__PURE__ */ s.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as f } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const x = /* @__PURE__ */ e.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as t from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as e } from "./ThemeProvider.js";
|
|
4
4
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const c = /* @__PURE__ */ t.forwardRef(({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import m from "../../../_virtual/
|
|
2
|
+
import m from "../../../_virtual/index3.js";
|
|
3
3
|
import f from "./divWithClassName.js";
|
|
4
4
|
import { useBootstrapPrefix as i } from "./ThemeProvider.js";
|
|
5
5
|
import { j as l } from "../../../_virtual/jsx-runtime.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import c from "../../../_virtual/
|
|
1
|
+
import c from "../../../_virtual/index3.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { ENTERING as t, EXITING as g, ENTERED as d } from "../../react-transition-group/esm/Transition.js";
|
|
4
4
|
import { getChildRef as N } from "../../@restart/ui/esm/utils.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as $ from "react";
|
|
2
2
|
import { useRef as l, useEffect as x, useCallback as k, useMemo as A } from "react";
|
|
3
|
-
import M from "../../../_virtual/
|
|
3
|
+
import M from "../../../_virtual/index3.js";
|
|
4
4
|
import b from "../../@restart/hooks/esm/useTimeout.js";
|
|
5
5
|
import q from "./ToastFade.js";
|
|
6
6
|
import w from "./ToastHeader.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import e from "../../../_virtual/
|
|
2
|
+
import e from "../../../_virtual/index3.js";
|
|
3
3
|
import { useBootstrapPrefix as p } from "./ThemeProvider.js";
|
|
4
4
|
import { j as d } from "../../../_virtual/jsx-runtime.js";
|
|
5
5
|
const f = /* @__PURE__ */ m.forwardRef(({
|
|
@@ -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/index.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
7
|
+
import te from "../../../_virtual/index2.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";
|