qaema-ui 0.0.59 → 0.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +4 -4
- package/dist/_virtual/index4.js +4 -4
- package/dist/_virtual/index7.js +2 -3
- package/dist/_virtual/index8.js +3 -2
- package/dist/components/PriceCard.d.ts +13 -0
- package/dist/components/PriceCard.js +170 -91
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/recharts/es6/util/ReactUtils.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
2
|
+
import { __require as 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/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/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/index7.js
CHANGED
package/dist/_virtual/index8.js
CHANGED
|
@@ -20,6 +20,12 @@ export type PriceCardPrice = {
|
|
|
20
20
|
color?: string;
|
|
21
21
|
periodColor?: string;
|
|
22
22
|
};
|
|
23
|
+
export type PriceCardAddon = {
|
|
24
|
+
id: string;
|
|
25
|
+
titleEn: string;
|
|
26
|
+
baseFare: number;
|
|
27
|
+
color?: string;
|
|
28
|
+
};
|
|
23
29
|
export type PriceCardProps = {
|
|
24
30
|
title: string;
|
|
25
31
|
price: PriceCardPrice;
|
|
@@ -43,6 +49,13 @@ export type PriceCardProps = {
|
|
|
43
49
|
showFeatures?: boolean;
|
|
44
50
|
featuresTitle?: string;
|
|
45
51
|
featuresDescription?: string;
|
|
52
|
+
showAddons?: boolean;
|
|
53
|
+
selectedAddon?: string;
|
|
54
|
+
setSelectedAddon?: (addonId: string) => void;
|
|
55
|
+
addOnsData?: PriceCardAddon[];
|
|
56
|
+
addonsTitle?: string;
|
|
57
|
+
addonsOptionalLabel?: string;
|
|
58
|
+
addonsMonthlyLabel?: string;
|
|
46
59
|
};
|
|
47
60
|
declare const PriceCard: React.FC<PriceCardProps>;
|
|
48
61
|
export default PriceCard;
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as i } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import { FiCheck as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { CurrencyContainer as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
3
|
+
import { FiCheck as B, FiX as T } from "../node_modules/react-icons/fi/index.js";
|
|
4
|
+
import o, { css as p } from "styled-components";
|
|
5
|
+
import m from "../assets/icons/RiyalIcon.js";
|
|
6
|
+
import { CurrencyContainer as H } from "../styles/Currency.styles.js";
|
|
7
|
+
import I from "../assets/svg/Riyal.svg.js";
|
|
8
|
+
import P from "./Badge.js";
|
|
9
9
|
import d from "./Button.js";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
transparent:
|
|
10
|
+
import a from "./Typography.js";
|
|
11
|
+
const W = {
|
|
12
|
+
transparent: p`
|
|
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: p`
|
|
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
|
+
}, E = o.div`
|
|
25
25
|
width: 100%;
|
|
26
26
|
max-width: 28.458rem;
|
|
27
27
|
border-radius: ${({ theme: e }) => e.borderRadius.xl};
|
|
28
28
|
overflow: hidden;
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
|
-
${({ $variant: e }) =>
|
|
32
|
-
`,
|
|
31
|
+
${({ $variant: e }) => W[e]};
|
|
32
|
+
`, L = o.div`
|
|
33
33
|
padding: 2rem;
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
gap: ${({ theme: e }) => e.spacing.sm};
|
|
37
37
|
border-bottom: 1px solid ${({ theme: e }) => e.colors.grey.n200};
|
|
38
|
-
`,
|
|
38
|
+
`, D = o.div`
|
|
39
39
|
display: flex;
|
|
40
40
|
align-items: center;
|
|
41
41
|
justify-content: space-between;
|
|
42
42
|
gap: ${({ theme: e }) => e.spacing.m};
|
|
43
43
|
flex-wrap: wrap;
|
|
44
|
-
`,
|
|
44
|
+
`, V = o(a)`
|
|
45
45
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
46
46
|
font-weight: 600;
|
|
47
47
|
font-size: ${({ theme: e }) => {
|
|
48
|
-
var
|
|
49
|
-
return (
|
|
48
|
+
var r;
|
|
49
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s5;
|
|
50
50
|
}};
|
|
51
51
|
line-height: 1.75rem;
|
|
52
52
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
53
|
-
`,
|
|
53
|
+
`, M = o.div`
|
|
54
54
|
display: flex;
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
gap: 0.85rem;
|
|
57
|
-
`,
|
|
57
|
+
`, N = o.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
align-items: center;
|
|
60
60
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
61
61
|
flex-wrap: wrap;
|
|
62
|
-
`,
|
|
62
|
+
`, U = o.div`
|
|
63
63
|
display: flex;
|
|
64
64
|
align-items: baseline;
|
|
65
65
|
gap: ${({ theme: e }) => e.spacing.xxs};
|
|
66
|
-
`,
|
|
66
|
+
`, X = o(m).attrs(({ theme: e }) => ({
|
|
67
67
|
color: e.colors.grey.n350,
|
|
68
68
|
width: "18",
|
|
69
69
|
height: "20"
|
|
70
|
-
}))``,
|
|
70
|
+
}))``, q = o.span`
|
|
71
71
|
font-family: ${({ theme: e }) => e.fonts.english};
|
|
72
72
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
73
73
|
font-size: 2.706rem;
|
|
74
74
|
line-height: 3.158rem;
|
|
75
|
-
color: ${({ $color: e, theme:
|
|
76
|
-
`,
|
|
75
|
+
color: ${({ $color: e, theme: r }) => e ?? r.colors.grey.n800};
|
|
76
|
+
`, G = o.span`
|
|
77
77
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
78
78
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
79
79
|
font-size: ${({ theme: e }) => {
|
|
80
|
-
var
|
|
81
|
-
return (
|
|
80
|
+
var r;
|
|
81
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s5;
|
|
82
82
|
}};
|
|
83
83
|
line-height: 1.804rem;
|
|
84
|
-
color: ${({ $color: e, theme:
|
|
85
|
-
`,
|
|
84
|
+
color: ${({ $color: e, theme: r }) => e ?? r.colors.grey.n800};
|
|
85
|
+
`, J = o(a)`
|
|
86
86
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
87
87
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
88
88
|
font-size: ${({ theme: e }) => {
|
|
89
|
-
var
|
|
90
|
-
return (
|
|
89
|
+
var r;
|
|
90
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s4;
|
|
91
91
|
}};
|
|
92
92
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
93
93
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
94
|
-
`,
|
|
94
|
+
`, K = o.div`
|
|
95
95
|
padding: 2rem 2rem 2.5rem 2rem;
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
gap: ${({ theme: e }) => e.spacing.m};
|
|
99
|
-
`,
|
|
99
|
+
`, Q = o(a)`
|
|
100
100
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
101
101
|
font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
|
|
102
102
|
font-size: ${({ theme: e }) => {
|
|
103
|
-
var
|
|
104
|
-
return (
|
|
103
|
+
var r;
|
|
104
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s4;
|
|
105
105
|
}};
|
|
106
106
|
line-height: 0.7rem;
|
|
107
107
|
color: ${({ theme: e }) => e.colors.grey.n650};
|
|
108
108
|
text-transform: uppercase;
|
|
109
|
-
`,
|
|
109
|
+
`, Y = o(a)`
|
|
110
110
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
111
111
|
font-weight: 500;
|
|
112
112
|
font-size: ${({ theme: e }) => {
|
|
113
|
-
var
|
|
114
|
-
return (
|
|
113
|
+
var r;
|
|
114
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s4;
|
|
115
115
|
}};
|
|
116
116
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
117
117
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
118
|
-
`,
|
|
118
|
+
`, Z = o.div`
|
|
119
119
|
display: flex;
|
|
120
120
|
align-items: center;
|
|
121
121
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
122
|
-
`,
|
|
122
|
+
`, _ = o.span`
|
|
123
123
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
124
124
|
font-weight: ${({ theme: e }) => e.typography.weights.bold};
|
|
125
125
|
font-size: ${({ theme: e }) => e.typography.sizes.s9};
|
|
126
126
|
line-height: ${({ theme: e }) => e.typography.lineHeights.xl};
|
|
127
127
|
letter-spacing: ${({ theme: e }) => e.typography.letterSpacings.balancedNarrow};
|
|
128
128
|
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
129
|
-
`,
|
|
129
|
+
`, O = o.span`
|
|
130
130
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
131
131
|
font-weight: ${({ theme: e }) => e.typography.weights.regular};
|
|
132
132
|
font-size: ${({ theme: e }) => e.typography.sizes.s4};
|
|
133
133
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
134
134
|
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
135
|
-
`,
|
|
135
|
+
`, A = o.ul`
|
|
136
136
|
list-style: none;
|
|
137
137
|
margin: 0;
|
|
138
138
|
padding: 0;
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: column;
|
|
141
141
|
gap: ${({ theme: e }) => e.spacing.s};
|
|
142
|
-
`,
|
|
142
|
+
`, ee = o.li`
|
|
143
143
|
display: flex;
|
|
144
144
|
align-items: center;
|
|
145
145
|
gap: ${({ theme: e }) => e.spacing.xs};
|
|
146
|
-
`,
|
|
146
|
+
`, ie = o.span`
|
|
147
147
|
width: 1rem;
|
|
148
148
|
height: 1rem;
|
|
149
149
|
border-radius: 50%;
|
|
@@ -157,23 +157,23 @@ const F = {
|
|
|
157
157
|
height: 0.7rem;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
${({ theme: e, $variant:
|
|
160
|
+
${({ theme: e, $variant: r }) => r === "included" ? p`
|
|
161
161
|
border: 1px solid ${e.colors.secondary.green.n450};
|
|
162
162
|
color: ${e.colors.secondary.green.n450};
|
|
163
|
-
` :
|
|
163
|
+
` : p`
|
|
164
164
|
border: 1px solid ${e.colors.secondary.pink.n450};
|
|
165
165
|
color: ${e.colors.secondary.pink.n450};
|
|
166
166
|
`}
|
|
167
|
-
`,
|
|
167
|
+
`, re = o(a)`
|
|
168
168
|
font-family: ${({ theme: e }) => e.fonts.arabic};
|
|
169
169
|
font-weight: 400;
|
|
170
170
|
font-size: ${({ theme: e }) => {
|
|
171
|
-
var
|
|
172
|
-
return (
|
|
171
|
+
var r;
|
|
172
|
+
return (r = e.typography.sizes) == null ? void 0 : r.s3;
|
|
173
173
|
}};
|
|
174
174
|
line-height: ${({ theme: e }) => e.typography.lineHeights.m};
|
|
175
175
|
color: ${({ theme: e }) => e.colors.grey.n400};
|
|
176
|
-
`,
|
|
176
|
+
`, oe = o.div`
|
|
177
177
|
width: 100%;
|
|
178
178
|
margin-top: 1rem;
|
|
179
179
|
display: flex;
|
|
@@ -183,57 +183,136 @@ const F = {
|
|
|
183
183
|
button {
|
|
184
184
|
width: 100%;
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`, xe = ({
|
|
187
187
|
title: e,
|
|
188
|
-
price:
|
|
189
|
-
description:
|
|
190
|
-
secondaryPrice:
|
|
191
|
-
features:
|
|
192
|
-
variant:
|
|
193
|
-
badges:
|
|
194
|
-
showPrimaryAction:
|
|
188
|
+
price: r,
|
|
189
|
+
description: y,
|
|
190
|
+
secondaryPrice: c,
|
|
191
|
+
features: $,
|
|
192
|
+
variant: u = "transparent",
|
|
193
|
+
badges: h = [],
|
|
194
|
+
showPrimaryAction: b = !1,
|
|
195
195
|
primaryAction: s,
|
|
196
|
-
showSecondaryAction:
|
|
197
|
-
secondaryAction:
|
|
198
|
-
showFeatures:
|
|
199
|
-
featuresTitle:
|
|
200
|
-
featuresDescription:
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
196
|
+
showSecondaryAction: j = !1,
|
|
197
|
+
secondaryAction: l,
|
|
198
|
+
showFeatures: w = !0,
|
|
199
|
+
featuresTitle: v = "FEATURES",
|
|
200
|
+
featuresDescription: z = "Everything in our free plan plus.....",
|
|
201
|
+
showAddons: C = !1,
|
|
202
|
+
selectedAddon: k = "Without",
|
|
203
|
+
setSelectedAddon: g,
|
|
204
|
+
addOnsData: f = [],
|
|
205
|
+
addonsTitle: F = "Personal Accountant",
|
|
206
|
+
addonsOptionalLabel: R = "optional",
|
|
207
|
+
addonsMonthlyLabel: S = "monthly"
|
|
208
|
+
}) => /* @__PURE__ */ i.jsxs(E, { $variant: u, children: [
|
|
209
|
+
/* @__PURE__ */ i.jsxs(L, { children: [
|
|
210
|
+
/* @__PURE__ */ i.jsxs(D, { children: [
|
|
211
|
+
/* @__PURE__ */ i.jsx(V, { children: e }),
|
|
212
|
+
h.length > 0 && /* @__PURE__ */ i.jsx(N, { children: h.map((t, n) => /* @__PURE__ */ i.jsx(P, { label: t.label, bgColor: t.bgColor, color: t.color }, `${t.label}-${n}`)) })
|
|
206
213
|
] }),
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
214
|
+
/* @__PURE__ */ i.jsxs(U, { children: [
|
|
215
|
+
/* @__PURE__ */ i.jsx(H, { src: I, alt: "Riyal" }),
|
|
216
|
+
/* @__PURE__ */ i.jsx(q, { $color: r.color, children: r.amount }),
|
|
217
|
+
/* @__PURE__ */ i.jsx(G, { $color: r.periodColor, children: r.period ?? "/ Month" })
|
|
211
218
|
] }),
|
|
212
|
-
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
219
|
+
c && /* @__PURE__ */ i.jsxs(Z, { children: [
|
|
220
|
+
/* @__PURE__ */ i.jsx(X, {}),
|
|
221
|
+
/* @__PURE__ */ i.jsx(_, { children: c.amount }),
|
|
222
|
+
/* @__PURE__ */ i.jsx(O, { children: c.label })
|
|
216
223
|
] }),
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
|
|
220
|
-
|
|
224
|
+
/* @__PURE__ */ i.jsx(J, { children: y }),
|
|
225
|
+
/* @__PURE__ */ i.jsxs(oe, { children: [
|
|
226
|
+
b && /* @__PURE__ */ i.jsx(d, { variant: (s == null ? void 0 : s.variant) ?? "primary", onClick: s == null ? void 0 : s.onPrimaryActionClick, children: s == null ? void 0 : s.label }),
|
|
227
|
+
j && /* @__PURE__ */ i.jsx(d, { variant: (l == null ? void 0 : l.variant) ?? "light-primary", onClick: l == null ? void 0 : l.onSecondaryActionClick, children: l == null ? void 0 : l.label })
|
|
228
|
+
] }),
|
|
229
|
+
C && f.length > 0 && /* @__PURE__ */ i.jsxs("div", { children: [
|
|
230
|
+
/* @__PURE__ */ i.jsx("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: "10px" }, children: /* @__PURE__ */ i.jsxs("div", { children: [
|
|
231
|
+
/* @__PURE__ */ i.jsx("span", { style: { fontSize: "13px", fontWeight: 600, color: "#111827" }, children: F }),
|
|
232
|
+
/* @__PURE__ */ i.jsx("span", { style: { fontSize: "11px", color: "#9ca3af", marginLeft: "6px" }, children: R })
|
|
233
|
+
] }) }),
|
|
234
|
+
/* @__PURE__ */ i.jsx(
|
|
235
|
+
"div",
|
|
236
|
+
{
|
|
237
|
+
style: {
|
|
238
|
+
backgroundColor: "#f2f4f7",
|
|
239
|
+
borderRadius: "9px",
|
|
240
|
+
padding: "4px",
|
|
241
|
+
display: "grid",
|
|
242
|
+
gridTemplateColumns: "repeat(3, minmax(0, 1fr))",
|
|
243
|
+
gap: "4px"
|
|
244
|
+
},
|
|
245
|
+
children: f.map((t) => {
|
|
246
|
+
const n = k === t.id;
|
|
247
|
+
return /* @__PURE__ */ i.jsxs(
|
|
248
|
+
"button",
|
|
249
|
+
{
|
|
250
|
+
type: "button",
|
|
251
|
+
onClick: () => g == null ? void 0 : g(t.id),
|
|
252
|
+
style: {
|
|
253
|
+
padding: "8px 6px 7px",
|
|
254
|
+
border: n ? "1px solid #d0d5dd" : "1px solid transparent",
|
|
255
|
+
backgroundColor: n ? "#ffffff" : "transparent",
|
|
256
|
+
color: n ? "#1d2939" : "#98a2b3",
|
|
257
|
+
borderRadius: "6px",
|
|
258
|
+
cursor: "pointer",
|
|
259
|
+
fontWeight: n ? 700 : 600,
|
|
260
|
+
fontSize: "12px",
|
|
261
|
+
lineHeight: 1.1,
|
|
262
|
+
transition: "all 0.18s ease",
|
|
263
|
+
display: "flex",
|
|
264
|
+
flexDirection: "column",
|
|
265
|
+
alignItems: "center",
|
|
266
|
+
justifyContent: "center",
|
|
267
|
+
gap: t.baseFare > 0 ? "2px" : "0",
|
|
268
|
+
minHeight: "42px",
|
|
269
|
+
boxShadow: n ? "0 1px 2px rgba(16, 24, 40, 0.08)" : "none"
|
|
270
|
+
},
|
|
271
|
+
children: [
|
|
272
|
+
/* @__PURE__ */ i.jsx("span", { children: t.titleEn }),
|
|
273
|
+
t.baseFare > 0 && /* @__PURE__ */ i.jsxs(
|
|
274
|
+
"span",
|
|
275
|
+
{
|
|
276
|
+
style: {
|
|
277
|
+
fontSize: "10px",
|
|
278
|
+
marginTop: "2px",
|
|
279
|
+
color: n ? "#101828" : "#667085",
|
|
280
|
+
fontWeight: 700,
|
|
281
|
+
display: "inline-flex",
|
|
282
|
+
alignItems: "center",
|
|
283
|
+
gap: "2px"
|
|
284
|
+
},
|
|
285
|
+
children: [
|
|
286
|
+
/* @__PURE__ */ i.jsx(m, { width: "9", height: "9", color: n ? "#101828" : "#667085" }),
|
|
287
|
+
t.baseFare,
|
|
288
|
+
" ",
|
|
289
|
+
S
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
)
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
t.id
|
|
296
|
+
);
|
|
297
|
+
})
|
|
298
|
+
}
|
|
299
|
+
)
|
|
221
300
|
] })
|
|
222
301
|
] }),
|
|
223
|
-
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
302
|
+
w && /* @__PURE__ */ i.jsxs(K, { children: [
|
|
303
|
+
/* @__PURE__ */ i.jsxs(M, { children: [
|
|
304
|
+
/* @__PURE__ */ i.jsx(Q, { children: v }),
|
|
305
|
+
/* @__PURE__ */ i.jsx(Y, { children: z })
|
|
227
306
|
] }),
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
const
|
|
230
|
-
return /* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
233
|
-
] }, `${
|
|
307
|
+
/* @__PURE__ */ i.jsx(A, { children: $.map((t, n) => {
|
|
308
|
+
const x = t.variant ?? "included";
|
|
309
|
+
return /* @__PURE__ */ i.jsxs(ee, { children: [
|
|
310
|
+
/* @__PURE__ */ i.jsx(ie, { $variant: x, children: x === "included" ? /* @__PURE__ */ i.jsx(B, {}) : /* @__PURE__ */ i.jsx(T, {}) }),
|
|
311
|
+
/* @__PURE__ */ i.jsx(re, { children: t.label })
|
|
312
|
+
] }, `${t.label}-${n}`);
|
|
234
313
|
}) })
|
|
235
314
|
] })
|
|
236
315
|
] });
|
|
237
316
|
export {
|
|
238
|
-
|
|
317
|
+
xe as default
|
|
239
318
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import f from "../../../_virtual/index.js";
|
|
2
2
|
import * as d from "react";
|
|
3
|
-
import o from "../../../_virtual/
|
|
3
|
+
import o from "../../../_virtual/index2.js";
|
|
4
4
|
import { useBootstrapPrefix as u } from "./ThemeProvider.js";
|
|
5
5
|
import { j as p } from "../../../_virtual/jsx-runtime.js";
|
|
6
6
|
o.string, o.bool, o.bool, o.bool, o.bool;
|
|
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
|
|
|
2
2
|
var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import y, { Component as R } from "react";
|
|
5
|
-
import ee from "../../../_virtual/
|
|
5
|
+
import ee from "../../../_virtual/index3.js";
|
|
6
6
|
import F from "../../../_virtual/browser.js";
|
|
7
|
-
import te from "../../../_virtual/
|
|
7
|
+
import te from "../../../_virtual/index4.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/index2.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/index2.js";
|
|
4
4
|
import v from "react";
|
|
5
5
|
import b from "react-dom";
|
|
6
6
|
import T from "./config.js";
|
|
@@ -4,7 +4,7 @@ import P from "../../../../_virtual/isString.js";
|
|
|
4
4
|
import D from "../../../../_virtual/isFunction.js";
|
|
5
5
|
import j from "../../../../_virtual/isObject.js";
|
|
6
6
|
import { Children as p, isValidElement as w } from "react";
|
|
7
|
-
import { r as B } from "../../../../_virtual/
|
|
7
|
+
import { r as B } from "../../../../_virtual/index8.js";
|
|
8
8
|
import { isNumber as b } from "./DataUtils.js";
|
|
9
9
|
import { shallowEqual as d } from "./ShallowEqual.js";
|
|
10
10
|
import { SVGElementPropKeys as G, EventKeys as F, FilteredElementKeyMap as s } from "./types.js";
|