myshell-react-lib 0.2.30 → 0.2.31
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/index.cjs +93 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +98 -95
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1279,6 +1279,7 @@ type TItems = {
|
|
|
1279
1279
|
hasUnRead?: boolean;
|
|
1280
1280
|
children?: string | React$1.ReactNode;
|
|
1281
1281
|
className?: string;
|
|
1282
|
+
forceMount?: boolean;
|
|
1282
1283
|
onClickCallback?: (value: string) => void;
|
|
1283
1284
|
};
|
|
1284
1285
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -1294,7 +1295,10 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1294
1295
|
contentClassName?: string;
|
|
1295
1296
|
contentBoxClassName?: string;
|
|
1296
1297
|
items?: TItems[];
|
|
1297
|
-
|
|
1298
|
+
tabBarExtraContent?: {
|
|
1299
|
+
left?: React$1.ReactNode;
|
|
1300
|
+
right?: React$1.ReactNode;
|
|
1301
|
+
};
|
|
1298
1302
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1299
1303
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1300
1304
|
variant?: "button" | "underline" | "icon";
|
package/dist/index.d.ts
CHANGED
|
@@ -1279,6 +1279,7 @@ type TItems = {
|
|
|
1279
1279
|
hasUnRead?: boolean;
|
|
1280
1280
|
children?: string | React$1.ReactNode;
|
|
1281
1281
|
className?: string;
|
|
1282
|
+
forceMount?: boolean;
|
|
1282
1283
|
onClickCallback?: (value: string) => void;
|
|
1283
1284
|
};
|
|
1284
1285
|
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
@@ -1294,7 +1295,10 @@ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsPro
|
|
|
1294
1295
|
contentClassName?: string;
|
|
1295
1296
|
contentBoxClassName?: string;
|
|
1296
1297
|
items?: TItems[];
|
|
1297
|
-
|
|
1298
|
+
tabBarExtraContent?: {
|
|
1299
|
+
left?: React$1.ReactNode;
|
|
1300
|
+
right?: React$1.ReactNode;
|
|
1301
|
+
};
|
|
1298
1302
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1299
1303
|
declare const Tab: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
1300
1304
|
variant?: "button" | "underline" | "icon";
|
package/dist/index.js
CHANGED
|
@@ -214,7 +214,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
214
214
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
215
215
|
}
|
|
216
216
|
function _ts_generator(thisArg, body) {
|
|
217
|
-
var f, y, t,
|
|
217
|
+
var f, y, t, _ = {
|
|
218
218
|
label: 0,
|
|
219
219
|
sent: function() {
|
|
220
220
|
if (t[0] & 1) throw t[1];
|
|
@@ -222,12 +222,8 @@ function _ts_generator(thisArg, body) {
|
|
|
222
222
|
},
|
|
223
223
|
trys: [],
|
|
224
224
|
ops: []
|
|
225
|
-
};
|
|
226
|
-
return g = {
|
|
227
|
-
next: verb(0),
|
|
228
|
-
"throw": verb(1),
|
|
229
|
-
"return": verb(2)
|
|
230
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
225
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
226
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
231
227
|
return this;
|
|
232
228
|
}), g;
|
|
233
229
|
function verb(n) {
|
|
@@ -240,7 +236,7 @@ function _ts_generator(thisArg, body) {
|
|
|
240
236
|
}
|
|
241
237
|
function step(op) {
|
|
242
238
|
if (f) throw new TypeError("Generator is already executing.");
|
|
243
|
-
while(_)try {
|
|
239
|
+
while(g && (g = 0, op[0] && (_ = 0)), _)try {
|
|
244
240
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
245
241
|
if (y = 0, t) op = [
|
|
246
242
|
op[0] & 2,
|
|
@@ -9609,58 +9605,62 @@ var IosAudioPlayer = forwardRef15(function(props, ref) {
|
|
|
9609
9605
|
}
|
|
9610
9606
|
};
|
|
9611
9607
|
}, []);
|
|
9612
|
-
var handlePlay = useCallback(
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
|
|
9608
|
+
var handlePlay = useCallback(function() {
|
|
9609
|
+
return _async_to_generator(function() {
|
|
9610
|
+
var _audioRef_current, arrayBuffer;
|
|
9611
|
+
return _ts_generator(this, function(_state) {
|
|
9612
|
+
switch(_state.label){
|
|
9613
|
+
case 0:
|
|
9614
|
+
if (!((_audioRef_current = audioRef.current) === null || _audioRef_current === void 0 ? void 0 : _audioRef_current.paused)) return [
|
|
9615
|
+
2,
|
|
9616
|
+
Promise.reject()
|
|
9617
|
+
];
|
|
9618
|
+
if (!(props.src && loadTask.current)) return [
|
|
9619
|
+
3,
|
|
9620
|
+
2
|
|
9621
|
+
];
|
|
9622
|
+
return [
|
|
9623
|
+
4,
|
|
9624
|
+
loadTask.current
|
|
9625
|
+
];
|
|
9626
|
+
case 1:
|
|
9627
|
+
arrayBuffer = _state.sent();
|
|
9628
|
+
if (arrayBuffer) {
|
|
9629
|
+
return [
|
|
9630
|
+
2,
|
|
9631
|
+
audioApi.play(arrayBuffer, audioRef.current.currentTime)
|
|
9632
|
+
];
|
|
9633
|
+
}
|
|
9634
|
+
_state.label = 2;
|
|
9635
|
+
case 2:
|
|
9632
9636
|
return [
|
|
9633
9637
|
2,
|
|
9634
|
-
|
|
9638
|
+
Promise.resolve()
|
|
9635
9639
|
];
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
return response.arrayBuffer();
|
|
9652
|
-
}).catch(function(error) {
|
|
9640
|
+
}
|
|
9641
|
+
});
|
|
9642
|
+
})();
|
|
9643
|
+
}, []);
|
|
9644
|
+
var handleLoad = useCallback(function() {
|
|
9645
|
+
return _async_to_generator(function() {
|
|
9646
|
+
return _ts_generator(this, function(_state) {
|
|
9647
|
+
if (props.src) {
|
|
9648
|
+
try {
|
|
9649
|
+
loadTask.current = window.fetch(props.src).then(function(response) {
|
|
9650
|
+
return response.arrayBuffer();
|
|
9651
|
+
}).catch(function(error) {
|
|
9652
|
+
console.error(error);
|
|
9653
|
+
});
|
|
9654
|
+
} catch (error) {
|
|
9653
9655
|
console.error(error);
|
|
9654
|
-
}
|
|
9655
|
-
} catch (error) {
|
|
9656
|
-
console.error(error);
|
|
9656
|
+
}
|
|
9657
9657
|
}
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
});
|
|
9663
|
-
}
|
|
9658
|
+
return [
|
|
9659
|
+
2
|
|
9660
|
+
];
|
|
9661
|
+
});
|
|
9662
|
+
})();
|
|
9663
|
+
}, []);
|
|
9664
9664
|
useImperativeHandle(ref, function() {
|
|
9665
9665
|
return {
|
|
9666
9666
|
play: function() {
|
|
@@ -10182,7 +10182,7 @@ function AudioPlayer(param) {
|
|
|
10182
10182
|
// node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
10183
10183
|
import * as React18 from "react";
|
|
10184
10184
|
import * as ReactDOM from "react-dom";
|
|
10185
|
-
import {
|
|
10185
|
+
import { createSlot } from "@radix-ui/react-slot";
|
|
10186
10186
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
10187
10187
|
var NODES = [
|
|
10188
10188
|
"a",
|
|
@@ -10198,16 +10198,18 @@ var NODES = [
|
|
|
10198
10198
|
"nav",
|
|
10199
10199
|
"ol",
|
|
10200
10200
|
"p",
|
|
10201
|
+
"select",
|
|
10201
10202
|
"span",
|
|
10202
10203
|
"svg",
|
|
10203
10204
|
"ul"
|
|
10204
10205
|
];
|
|
10205
10206
|
var Primitive = NODES.reduce(function(primitive, node) {
|
|
10207
|
+
var Slot5 = createSlot("Primitive.".concat(node));
|
|
10206
10208
|
var Node = React18.forwardRef(function(props, forwardedRef) {
|
|
10207
10209
|
var asChild = props.asChild, primitiveProps = _object_without_properties(props, [
|
|
10208
10210
|
"asChild"
|
|
10209
10211
|
]);
|
|
10210
|
-
var Comp = asChild ?
|
|
10212
|
+
var Comp = asChild ? Slot5 : node;
|
|
10211
10213
|
if (typeof window !== "undefined") {
|
|
10212
10214
|
window[Symbol.for("radix-ui")] = true;
|
|
10213
10215
|
}
|
|
@@ -10353,7 +10355,7 @@ function Badge(props) {
|
|
|
10353
10355
|
});
|
|
10354
10356
|
}
|
|
10355
10357
|
// src/components/button/link-button.tsx
|
|
10356
|
-
import { Slot as
|
|
10358
|
+
import { Slot as Slot3 } from "@radix-ui/react-slot";
|
|
10357
10359
|
import { Loader2 as Loader23 } from "lucide-react";
|
|
10358
10360
|
import * as React20 from "react";
|
|
10359
10361
|
import { Fragment as Fragment4, jsx as jsx26, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
@@ -10376,7 +10378,7 @@ var LinkButton = React20.forwardRef(function(_param, ref) {
|
|
|
10376
10378
|
"asset",
|
|
10377
10379
|
"assetNumber"
|
|
10378
10380
|
]);
|
|
10379
|
-
var Comp = asChild ?
|
|
10381
|
+
var Comp = asChild ? Slot3 : "button";
|
|
10380
10382
|
var disable = disabled || loading;
|
|
10381
10383
|
return /* @__PURE__ */ jsxs15(Comp, _object_spread_props(_object_spread({
|
|
10382
10384
|
className: noStyle ? className : cn(buttonVariants({
|
|
@@ -11457,7 +11459,7 @@ var DrawerDescription = React28.forwardRef(function(_param, ref) {
|
|
|
11457
11459
|
});
|
|
11458
11460
|
DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
|
|
11459
11461
|
// src/components/form.tsx
|
|
11460
|
-
import { Slot as
|
|
11462
|
+
import { Slot as Slot4 } from "@radix-ui/react-slot";
|
|
11461
11463
|
import { cva as cva11 } from "class-variance-authority";
|
|
11462
11464
|
import * as React30 from "react";
|
|
11463
11465
|
import { Controller, FormProvider, useFormContext, useForm, useWatch } from "react-hook-form";
|
|
@@ -11578,7 +11580,7 @@ var FormControl = React30.forwardRef(function(_param, ref) {
|
|
|
11578
11580
|
"children"
|
|
11579
11581
|
]);
|
|
11580
11582
|
var _useFormField = useFormField(), error = _useFormField.error, formItemId = _useFormField.formItemId, formDescriptionId = _useFormField.formDescriptionId, formMessageId = _useFormField.formMessageId;
|
|
11581
|
-
return /* @__PURE__ */ jsx37(
|
|
11583
|
+
return /* @__PURE__ */ jsx37(Slot4, _object_spread_props(_object_spread({
|
|
11582
11584
|
ref: ref,
|
|
11583
11585
|
id: formItemId,
|
|
11584
11586
|
"aria-describedby": !error ? "".concat(formDescriptionId) : "".concat(formDescriptionId, " ").concat(formMessageId),
|
|
@@ -13900,8 +13902,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
13900
13902
|
var res = onSearchSync === null || onSearchSync === void 0 ? void 0 : onSearchSync(debouncedSearchTerm);
|
|
13901
13903
|
setOptions(transToGroupOption(res || [], groupBy));
|
|
13902
13904
|
};
|
|
13903
|
-
var exec =
|
|
13904
|
-
|
|
13905
|
+
var exec = function() {
|
|
13906
|
+
return _async_to_generator(function() {
|
|
13905
13907
|
return _ts_generator(this, function(_state) {
|
|
13906
13908
|
if (!onSearchSync || !open) return [
|
|
13907
13909
|
2
|
|
@@ -13916,11 +13918,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
13916
13918
|
2
|
|
13917
13919
|
];
|
|
13918
13920
|
});
|
|
13919
|
-
});
|
|
13920
|
-
|
|
13921
|
-
return _ref.apply(this, arguments);
|
|
13922
|
-
};
|
|
13923
|
-
}();
|
|
13921
|
+
})();
|
|
13922
|
+
};
|
|
13924
13923
|
void exec();
|
|
13925
13924
|
}, [
|
|
13926
13925
|
debouncedSearchTerm,
|
|
@@ -13929,8 +13928,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
13929
13928
|
triggerSearchOnFocus
|
|
13930
13929
|
]);
|
|
13931
13930
|
useEffect11(function() {
|
|
13932
|
-
var doSearch =
|
|
13933
|
-
|
|
13931
|
+
var doSearch = function() {
|
|
13932
|
+
return _async_to_generator(function() {
|
|
13934
13933
|
var res;
|
|
13935
13934
|
return _ts_generator(this, function(_state) {
|
|
13936
13935
|
switch(_state.label){
|
|
@@ -13949,13 +13948,10 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
13949
13948
|
];
|
|
13950
13949
|
}
|
|
13951
13950
|
});
|
|
13952
|
-
});
|
|
13953
|
-
|
|
13954
|
-
|
|
13955
|
-
|
|
13956
|
-
}();
|
|
13957
|
-
var exec = /*#__PURE__*/ function() {
|
|
13958
|
-
var _ref = _async_to_generator(function() {
|
|
13951
|
+
})();
|
|
13952
|
+
};
|
|
13953
|
+
var exec = function() {
|
|
13954
|
+
return _async_to_generator(function() {
|
|
13959
13955
|
return _ts_generator(this, function(_state) {
|
|
13960
13956
|
switch(_state.label){
|
|
13961
13957
|
case 0:
|
|
@@ -13991,11 +13987,8 @@ var MultipleSelector = React43.forwardRef(function(param, ref) {
|
|
|
13991
13987
|
];
|
|
13992
13988
|
}
|
|
13993
13989
|
});
|
|
13994
|
-
});
|
|
13995
|
-
|
|
13996
|
-
return _ref.apply(this, arguments);
|
|
13997
|
-
};
|
|
13998
|
-
}();
|
|
13990
|
+
})();
|
|
13991
|
+
};
|
|
13999
13992
|
void exec();
|
|
14000
13993
|
}, [
|
|
14001
13994
|
debouncedSearchTerm,
|
|
@@ -14864,7 +14857,7 @@ var tabVariants = cva18("relative inline-flex h-full items-center whitespace-now
|
|
|
14864
14857
|
}
|
|
14865
14858
|
});
|
|
14866
14859
|
var Tabs2 = React47.forwardRef(function(_param, ref) {
|
|
14867
|
-
var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, contentBoxClassName = _param.contentBoxClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items,
|
|
14860
|
+
var className = _param.className, listClassName = _param.listClassName, listBoxClassName = _param.listBoxClassName, contentClassName = _param.contentClassName, contentBoxClassName = _param.contentBoxClassName, _param_variant = _param.variant, variant = _param_variant === void 0 ? "button" : _param_variant, _param_size = _param.size, size = _param_size === void 0 ? "lg" : _param_size, _param_isLink = _param.isLink, isLink = _param_isLink === void 0 ? false : _param_isLink, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "default" : _param_rounded, items = _param.items, tabBarExtraContent = _param.tabBarExtraContent, props = _object_without_properties(_param, [
|
|
14868
14861
|
"className",
|
|
14869
14862
|
"listClassName",
|
|
14870
14863
|
"listBoxClassName",
|
|
@@ -14875,7 +14868,7 @@ var Tabs2 = React47.forwardRef(function(_param, ref) {
|
|
|
14875
14868
|
"isLink",
|
|
14876
14869
|
"rounded",
|
|
14877
14870
|
"items",
|
|
14878
|
-
"
|
|
14871
|
+
"tabBarExtraContent"
|
|
14879
14872
|
]);
|
|
14880
14873
|
return /* @__PURE__ */ jsxs41(TabsPrimitive.Root, _object_spread_props(_object_spread({
|
|
14881
14874
|
ref: ref,
|
|
@@ -14884,7 +14877,7 @@ var Tabs2 = React47.forwardRef(function(_param, ref) {
|
|
|
14884
14877
|
children: [
|
|
14885
14878
|
/* @__PURE__ */ jsx61("div", {
|
|
14886
14879
|
className: cn("w-full flex justify-start items-center", listBoxClassName),
|
|
14887
|
-
children: /* @__PURE__ */
|
|
14880
|
+
children: /* @__PURE__ */ jsxs41(TabsPrimitive.List, _object_spread_props(_object_spread({
|
|
14888
14881
|
ref: ref,
|
|
14889
14882
|
className: cn(tabListVariants({
|
|
14890
14883
|
variant: variant,
|
|
@@ -14892,14 +14885,24 @@ var Tabs2 = React47.forwardRef(function(_param, ref) {
|
|
|
14892
14885
|
rounded: rounded
|
|
14893
14886
|
}), listClassName)
|
|
14894
14887
|
}, props), {
|
|
14895
|
-
children:
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
|
|
14888
|
+
children: [
|
|
14889
|
+
(tabBarExtraContent === null || tabBarExtraContent === void 0 ? void 0 : tabBarExtraContent.left) && /* @__PURE__ */ jsx61("div", {
|
|
14890
|
+
className: "flex justify-start items-center",
|
|
14891
|
+
children: tabBarExtraContent.left
|
|
14892
|
+
}),
|
|
14893
|
+
items === null || items === void 0 ? void 0 : items.map(function(item) {
|
|
14894
|
+
return /* @__PURE__ */ jsx61(Tab, _object_spread({
|
|
14895
|
+
isLink: isLink,
|
|
14896
|
+
variant: variant,
|
|
14897
|
+
size: size,
|
|
14898
|
+
rounded: rounded
|
|
14899
|
+
}, item), item.value);
|
|
14900
|
+
}),
|
|
14901
|
+
(tabBarExtraContent === null || tabBarExtraContent === void 0 ? void 0 : tabBarExtraContent.right) && /* @__PURE__ */ jsx61("div", {
|
|
14902
|
+
className: "flex-1 flex justify-end items-center",
|
|
14903
|
+
children: tabBarExtraContent.right
|
|
14904
|
+
})
|
|
14905
|
+
]
|
|
14903
14906
|
}))
|
|
14904
14907
|
}),
|
|
14905
14908
|
!isLink && /* @__PURE__ */ jsx61("div", {
|
|
@@ -14908,7 +14911,7 @@ var Tabs2 = React47.forwardRef(function(_param, ref) {
|
|
|
14908
14911
|
return /* @__PURE__ */ jsx61(TabsContent, {
|
|
14909
14912
|
value: item.value,
|
|
14910
14913
|
className: contentClassName,
|
|
14911
|
-
isForceMount: forceMount,
|
|
14914
|
+
isForceMount: item.forceMount,
|
|
14912
14915
|
isActive: props.value === item.value,
|
|
14913
14916
|
children: item.children
|
|
14914
14917
|
}, item.value);
|
|
@@ -25284,7 +25287,7 @@ import "swiper/css/free-mode";
|
|
|
25284
25287
|
import "swiper/css/grid";
|
|
25285
25288
|
import "swiper/css/pagination";
|
|
25286
25289
|
// src/components/swiper/index.module.scss
|
|
25287
|
-
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
25290
|
+
var index_module_default = '.swiperBox {\n @apply w-full h-fit;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTEuNzggNS4yMmEuNzUuNzUgMCAwIDEgMCAxLjA2TDguMDYgMTBsMy43MiAzLjcyYS43NS43NSAwIDEgMS0xLjA2IDEuMDZsLTQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMC0xLjA2bDQuMjUtNC4yNWEuNzUuNzUgMCAwIDEgMS4wNiAwWiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4K");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply bg-contain bg-no-repeat;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0iIzQxNDM0NSIgY2xhc3M9InNpemUtNSI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC4yMiA1LjIyYS43NS43NSAwIDAgMSAxLjA2IDBsNC4yNSA0LjI1YS43NS43NSAwIDAgMSAwIDEuMDZsLTQuMjUgNC4yNWEuNzUuNzUgMCAwIDEtMS4wNi0xLjA2TDExLjk0IDEwIDguMjIgNi4yOGEuNzUuNzUgMCAwIDEgMC0xLjA2WiIgY2xpcC1ydWxlPSJldmVub2RkIiAvPgo8L3N2Zz4KCg==");\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next::after) {\n @apply text-Colors-Foreground-Default content-none;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-prev) {\n @apply origin-right;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.banner-swiper-slide.swiper-slide-next) {\n @apply origin-left;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-slide-active) {\n @apply opacity-100;\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-next) {\n @apply -right-4 md:right-0 3xl:right-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.banner-swiper) :global(.swiper-button-prev) {\n @apply -left-4 md:left-0 3xl:left-[calc((100%-1200px)/2-16px)];\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.feature-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-next) {\n @apply right-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-prev) {\n @apply left-0;\n}\n.swiperBox :global(.swiper.patron-badge-swiper) :global(.swiper-button-disabled) {\n @apply hidden;\n}\n.swiperBox :global(.swiper.grid-swiper) :global(.swiper-wrapper) {\n @apply w-[100vw] md:w-full flex-wrap flex-col m-0;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-next)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev) {\n @apply hidden md:flex justify-center items-center absolute top-[50%] w-8 h-8 font-semibold text-Colors-Foreground-Default border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Default rounded-full cursor-pointer hover:bg-Colors-Background-Normal-Primary-Hover active:bg-Colors-Background-Normal-Primary-Active;\n}\n.swiperBox :global(.swiper) :global(.swiper-button-prev)::after {\n @apply text-Colors-Foreground-Default text-xs font-bold;\n}\n\n.animate :global(.swiper-slide) {\n transition: transform 500ms linear;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL21vbmljYS9EZXNrdG9wL215c2hlbGwvbXlzaGVsbC1yZWFjdC1saWIvc3JjL2NvbXBvbmVudHMvc3dpcGVyIiwic291cmNlcyI6WyJpbmRleC5tb2R1bGUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFOztBQUdFO0VBQ0U7RUFDQTs7QUFFRjtFQUNFO0VBQ0E7O0FBRUY7RUFDRTs7QUFFRjtFQUNFOztBQUlGO0VBRUU7O0FBRUY7RUFFRTs7QUFFRjtFQUNFOztBQUdGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUNFOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUNFOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFJRjtFQUNFOztBQUtGO0VBQ0U7O0FBQ0U7RUFDRTs7QUFHTjtFQUNFOztBQUNFO0VBQ0U7OztBQU9SO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpcGVyQm94e1xuICBAYXBwbHkgdy1mdWxsIGgtZml0O1xuICBcbiAgOmdsb2JhbCguc3dpcGVyKSB7XG4gICAgOmdsb2JhbCguc3dpcGVyLWJ1dHRvbi1wcmV2KXtcbiAgICAgIEBhcHBseSBiZy1jb250YWluIGJnLW5vLXJlcGVhdDtcbiAgICAgIGJhY2tncm91bmQtaW1hZ2U6IHVybCgnZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlCNGJXeHVjejBpYUhSMGNEb3ZMM2QzZHk1M015NXZjbWN2TWpBd01DOXpkbWNpSUhacFpY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gICAgJjo6YWZ0ZXIge1xuICAgICAgICAgIEBhcHBseSB0ZXh0LUNvbG9ycy1Gb3JlZ3JvdW5kLURlZmF1bHQgdGV4dC14cyBmb250LWJvbGQ7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG5cbi5hbmltYXRlIHtcbiAgOmdsb2JhbCguc3dpcGVyLXNsaWRlKSB7XG4gICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDUwMG1zIGxpbmVhcjtcbiAgfVxufVxuIl19 */';
|
|
25288
25291
|
// src/components/swiper/index.tsx
|
|
25289
25292
|
import { jsx as jsx71 } from "react/jsx-runtime";
|
|
25290
25293
|
var swiperVariants = cva22("", {
|