@okam/stack-ui 1.35.4 → 1.35.5

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.
Files changed (111) hide show
  1. package/index107.js +1 -1
  2. package/index107.mjs +1 -1
  3. package/index108.js +1 -1
  4. package/index108.mjs +2 -2
  5. package/index117.js +1 -1
  6. package/index117.mjs +1 -1
  7. package/index120.js +1 -1
  8. package/index120.mjs +239 -37
  9. package/index122.js +2 -1
  10. package/index122.mjs +39 -9
  11. package/index123.js +1 -2
  12. package/index123.mjs +10 -38
  13. package/index124.js +1 -1
  14. package/index124.mjs +37 -21
  15. package/index125.js +1 -1
  16. package/index125.mjs +8 -42
  17. package/index126.js +1 -1
  18. package/index126.mjs +22 -25
  19. package/index127.js +1 -1
  20. package/index127.mjs +42 -40
  21. package/index128.js +1 -2
  22. package/index128.mjs +25 -57
  23. package/index129.js +1 -1
  24. package/index129.mjs +41 -39
  25. package/index130.js +2 -1
  26. package/index130.mjs +57 -30
  27. package/index131.js +1 -1
  28. package/index131.mjs +38 -19
  29. package/index132.js +1 -1
  30. package/index132.mjs +30 -8
  31. package/index133.js +1 -1
  32. package/index133.mjs +20 -30
  33. package/index134.js +1 -1
  34. package/index134.mjs +8 -14
  35. package/index135.js +1 -1
  36. package/index135.mjs +29 -16
  37. package/index136.js +1 -1
  38. package/index136.mjs +15 -21
  39. package/index137.js +1 -1
  40. package/index137.mjs +17 -11
  41. package/index138.js +1 -2
  42. package/index138.mjs +17 -44
  43. package/index139.js +1 -1
  44. package/index139.mjs +47 -21
  45. package/index140.js +2 -1
  46. package/index140.mjs +19 -18
  47. package/index141.js +1 -1
  48. package/index141.mjs +21 -6
  49. package/index142.js +1 -1
  50. package/index142.mjs +6 -57
  51. package/index144.js +1 -1
  52. package/index144.mjs +57 -46
  53. package/index145.js +1 -1
  54. package/index145.mjs +46 -241
  55. package/index146.js +1 -1
  56. package/index146.mjs +1 -1
  57. package/index149.js +1 -1
  58. package/index149.mjs +5 -21
  59. package/index150.js +2 -1
  60. package/index150.mjs +49 -5
  61. package/index151.js +1 -2
  62. package/index151.mjs +20 -48
  63. package/index171.js +1 -1
  64. package/index171.mjs +1 -1
  65. package/index18.js +1 -1
  66. package/index18.mjs +90 -27
  67. package/index19.js +1 -1
  68. package/index19.mjs +1 -1
  69. package/index23.js +1 -1
  70. package/index23.mjs +2 -2
  71. package/index24.js +1 -1
  72. package/index24.mjs +3 -3
  73. package/index25.js +1 -1
  74. package/index25.mjs +1 -1
  75. package/index26.js +1 -1
  76. package/index26.mjs +2 -2
  77. package/index28.js +1 -1
  78. package/index28.mjs +3 -3
  79. package/index29.js +1 -1
  80. package/index29.mjs +3 -3
  81. package/index30.js +1 -1
  82. package/index30.mjs +3 -3
  83. package/index32.js +1 -1
  84. package/index32.mjs +1 -1
  85. package/index34.js +1 -1
  86. package/index34.mjs +2 -2
  87. package/index35.js +1 -1
  88. package/index35.mjs +1 -1
  89. package/index37.js +1 -1
  90. package/index37.mjs +1 -1
  91. package/index38.js +1 -1
  92. package/index38.mjs +2 -2
  93. package/index42.js +1 -1
  94. package/index42.mjs +1 -1
  95. package/index70.js +1 -1
  96. package/index70.mjs +1 -1
  97. package/index71.js +1 -1
  98. package/index71.mjs +1 -1
  99. package/index72.js +1 -1
  100. package/index72.mjs +1 -1
  101. package/index74.js +1 -1
  102. package/index74.mjs +1 -1
  103. package/index75.js +1 -1
  104. package/index75.mjs +1 -1
  105. package/index76.js +1 -1
  106. package/index76.mjs +1 -1
  107. package/index77.js +1 -1
  108. package/index77.mjs +1 -1
  109. package/index84.js +1 -1
  110. package/index84.mjs +2 -2
  111. package/package.json +1 -1
package/index145.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),G=require("./index231.js"),I=require("./index232.js"),d=require("./index233.js");function T(){return T=Object.assign?Object.assign.bind():function(s){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(s[n]=a[n])}return s},T.apply(this,arguments)}function A(s){return s.type&&s.type.displayName&&s.type.displayName.includes("SwiperSlide")}function V(s){const t=[];return e.Children.toArray(s).forEach(a=>{A(a)?t.push(a):a.props&&a.props.children&&V(a.props.children).forEach(n=>t.push(n))}),t}function J(s){const t=[],a={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return e.Children.toArray(s).forEach(n=>{if(A(n))t.push(n);else if(n.props&&n.props.slot&&a[n.props.slot])a[n.props.slot].push(n);else if(n.props&&n.props.children){const c=V(n.props.children);c.length>0?c.forEach(l=>t.push(l)):a["container-end"].push(n)}else a["container-end"].push(n)}),{slides:t,slots:a}}function K(s,t,a){if(!a)return null;const n=o=>{let i=o;return o<0?i=t.length+o:i>=t.length&&(i=i-t.length),i},c=s.isHorizontal()?{[s.rtlTranslate?"right":"left"]:`${a.offset}px`}:{top:`${a.offset}px`},{from:l,to:p}=a,y=s.params.loop?-t.length:0,h=s.params.loop?t.length*2:t.length,S=[];for(let o=y;o<h;o+=1)o>=l&&o<=p&&S.push(t[n(o)]);return S.map((o,i)=>e.cloneElement(o,{swiper:s,style:c,key:o.props.virtualIndex||o.key||`slide-${i}`}))}function N(s,t){return typeof window>"u"?e.useEffect(s,t):e.useLayoutEffect(s,t)}const B=e.createContext(null),Q=()=>e.useContext(B),X=e.createContext(null),F=e.forwardRef(function(s,t){let{className:a,tag:n="div",wrapperTag:c="div",children:l,onSwiper:p,...y}=s===void 0?{}:s,h=!1;const[S,o]=e.useState("swiper"),[i,m]=e.useState(null),[C,O]=e.useState(!1),P=e.useRef(!1),w=e.useRef(null),r=e.useRef(null),x=e.useRef(null),z=e.useRef(null),$=e.useRef(null),b=e.useRef(null),R=e.useRef(null),k=e.useRef(null),{params:f,passedParams:L,rest:D,events:v}=I.g(y),{slides:g,slots:j}=J(l),_=()=>{O(!C)};Object.assign(f.on,{_containerClasses(u,E){o(E)}});const q=()=>{Object.assign(f.on,v),h=!0;const u={...f};if(delete u.wrapperClass,r.current=new G.S(u),r.current.virtual&&r.current.params.virtual.enabled){r.current.virtual.slides=g;const E={cache:!1,slides:g,renderExternal:m,renderExternalUpdate:!1};d.e(r.current.params.virtual,E),d.e(r.current.originalParams.virtual,E)}};w.current||q(),r.current&&r.current.on("_beforeBreakpoint",_);const H=()=>{h||!v||!r.current||Object.keys(v).forEach(u=>{r.current.on(u,v[u])})},M=()=>{!v||!r.current||Object.keys(v).forEach(u=>{r.current.off(u,v[u])})};e.useEffect(()=>()=>{r.current&&r.current.off("_beforeBreakpoint",_)}),e.useEffect(()=>{!P.current&&r.current&&(r.current.emitSlidesClasses(),P.current=!0)}),N(()=>{if(t&&(t.current=w.current),!!w.current)return r.current.destroyed&&q(),I.m({el:w.current,nextEl:$.current,prevEl:b.current,paginationEl:R.current,scrollbarEl:k.current,swiper:r.current},f),p&&!r.current.destroyed&&p(r.current),()=>{r.current&&!r.current.destroyed&&r.current.destroy(!0,!1)}},[]),N(()=>{H();const u=I.a(L,x.current,g,z.current,E=>E.key);return x.current=L,z.current=g,u.length&&r.current&&!r.current.destroyed&&d.u({swiper:r.current,slides:g,passedParams:L,changedParams:u,nextEl:$.current,prevEl:b.current,scrollbarEl:k.current,paginationEl:R.current}),()=>{M()}}),N(()=>{I.u(r.current)},[i]);function U(){return f.virtual?K(r.current,g,i):g.map((u,E)=>e.cloneElement(u,{swiper:r.current,swiperSlideIndex:E}))}return e.createElement(n,T({ref:w,className:d.d(`${S}${a?` ${a}`:""}`)},D),e.createElement(X.Provider,{value:r.current},j["container-start"],e.createElement(c,{className:d.w(f.wrapperClass)},j["wrapper-start"],U(),j["wrapper-end"]),d.n(f)&&e.createElement(e.Fragment,null,e.createElement("div",{ref:b,className:"swiper-button-prev"}),e.createElement("div",{ref:$,className:"swiper-button-next"})),d.b(f)&&e.createElement("div",{ref:k,className:"swiper-scrollbar"}),d.a(f)&&e.createElement("div",{ref:R,className:"swiper-pagination"}),j["container-end"]))});F.displayName="Swiper";const W=e.forwardRef(function(s,t){let{tag:a="div",children:n,className:c="",swiper:l,zoom:p,lazy:y,virtualIndex:h,swiperSlideIndex:S,...o}=s===void 0?{}:s;const i=e.useRef(null),[m,C]=e.useState("swiper-slide"),[O,P]=e.useState(!1);function w($,b,R){b===i.current&&C(R)}N(()=>{if(typeof S<"u"&&(i.current.swiperSlideIndex=S),t&&(t.current=i.current),!(!i.current||!l)){if(l.destroyed){m!=="swiper-slide"&&C("swiper-slide");return}return l.on("_slideClass",w),()=>{l&&l.off("_slideClass",w)}}}),N(()=>{l&&i.current&&!l.destroyed&&C(l.getSlideClasses(i.current))},[l]);const r={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},x=()=>typeof n=="function"?n(r):n,z=()=>{P(!0)};return e.createElement(a,T({ref:i,className:d.d(`${m}${c?` ${c}`:""}`),"data-swiper-slide-index":h,onLoad:z},o),p&&e.createElement(B.Provider,{value:r},e.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof p=="number"?p:void 0},x(),y&&!O&&e.createElement("div",{className:"swiper-lazy-preloader"}))),!p&&e.createElement(B.Provider,{value:r},x(),y&&!O&&e.createElement("div",{className:"swiper-lazy-preloader"})))});W.displayName="SwiperSlide";exports.Swiper=F;exports.SwiperSlide=W;exports.useSwiperSlide=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index208.js"),r=require("./index209.js"),t=require("./index210.js"),o=require("./index211.js"),i=require("./index212.js"),a=require("./index213.js"),c=require("./index214.js"),n=require("./index215.js"),u=require("./index216.js"),s=require("./index217.js"),f=require("./index218.js"),l=require("./index219.js"),q=require("./index220.js"),d=require("./index221.js"),b=require("./index222.js"),v=require("./index223.js"),y=require("./index224.js"),g=require("./index225.js"),p=require("./index226.js"),C=require("./index227.js"),h=require("./index228.js"),m=require("./index229.js"),E=require("./index230.js");exports.Virtual=e;exports.Keyboard=r;exports.Mousewheel=t;exports.Navigation=o;exports.Pagination=i;exports.Scrollbar=a;exports.Parallax=c;exports.Zoom=n;exports.Controller=u;exports.A11y=s;exports.History=f;exports.HashNavigation=l;exports.Autoplay=q;exports.Thumbs=d;exports.FreeMode=b;exports.Grid=v;exports.Manipulation=y;exports.EffectFade=g;exports.EffectCube=p;exports.EffectFlip=C;exports.EffectCoverflow=h;exports.EffectCreative=m;exports.EffectCards=E;
package/index145.mjs CHANGED
@@ -1,243 +1,48 @@
1
- import a, { forwardRef as W, useState as P, useRef as u, useEffect as _, useLayoutEffect as Q, createContext as q, useContext as X } from "react";
2
- import { S as Y } from "./index231.mjs";
3
- import { g as Z, m as ee, a as re, u as te } from "./index232.mjs";
4
- import { d as D, w as ne, n as se, b as ae, a as ie, e as F, u as oe } from "./index233.mjs";
5
- function k() {
6
- return k = Object.assign ? Object.assign.bind() : function(n) {
7
- for (var r = 1; r < arguments.length; r++) {
8
- var s = arguments[r];
9
- for (var t in s)
10
- Object.prototype.hasOwnProperty.call(s, t) && (n[t] = s[t]);
11
- }
12
- return n;
13
- }, k.apply(this, arguments);
14
- }
15
- function H(n) {
16
- return n.type && n.type.displayName && n.type.displayName.includes("SwiperSlide");
17
- }
18
- function U(n) {
19
- const r = [];
20
- return a.Children.toArray(n).forEach((s) => {
21
- H(s) ? r.push(s) : s.props && s.props.children && U(s.props.children).forEach((t) => r.push(t));
22
- }), r;
23
- }
24
- function le(n) {
25
- const r = [], s = {
26
- "container-start": [],
27
- "container-end": [],
28
- "wrapper-start": [],
29
- "wrapper-end": []
30
- };
31
- return a.Children.toArray(n).forEach((t) => {
32
- if (H(t))
33
- r.push(t);
34
- else if (t.props && t.props.slot && s[t.props.slot])
35
- s[t.props.slot].push(t);
36
- else if (t.props && t.props.children) {
37
- const p = U(t.props.children);
38
- p.length > 0 ? p.forEach((l) => r.push(l)) : s["container-end"].push(t);
39
- } else
40
- s["container-end"].push(t);
41
- }), {
42
- slides: r,
43
- slots: s
44
- };
45
- }
46
- function ce(n, r, s) {
47
- if (!s) return null;
48
- const t = (o) => {
49
- let i = o;
50
- return o < 0 ? i = r.length + o : i >= r.length && (i = i - r.length), i;
51
- }, p = n.isHorizontal() ? {
52
- [n.rtlTranslate ? "right" : "left"]: `${s.offset}px`
53
- } : {
54
- top: `${s.offset}px`
55
- }, {
56
- from: l,
57
- to: d
58
- } = s, S = n.params.loop ? -r.length : 0, h = n.params.loop ? r.length * 2 : r.length, g = [];
59
- for (let o = S; o < h; o += 1)
60
- o >= l && o <= d && g.push(r[t(o)]);
61
- return g.map((o, i) => /* @__PURE__ */ a.cloneElement(o, {
62
- swiper: n,
63
- style: p,
64
- key: o.props.virtualIndex || o.key || `slide-${i}`
65
- }));
66
- }
67
- function O(n, r) {
68
- return typeof window > "u" ? _(n, r) : Q(n, r);
69
- }
70
- const B = /* @__PURE__ */ q(null), ge = () => X(B), ue = /* @__PURE__ */ q(null), pe = /* @__PURE__ */ W(function(n, r) {
71
- let {
72
- className: s,
73
- tag: t = "div",
74
- wrapperTag: p = "div",
75
- children: l,
76
- onSwiper: d,
77
- ...S
78
- } = n === void 0 ? {} : n, h = !1;
79
- const [g, o] = P("swiper"), [i, m] = P(null), [C, R] = P(!1), z = u(!1), w = u(null), e = u(null), x = u(null), $ = u(null), I = u(null), b = u(null), N = u(null), L = u(null), {
80
- params: f,
81
- passedParams: T,
82
- rest: G,
83
- events: v
84
- } = Z(S), {
85
- slides: y,
86
- slots: j
87
- } = le(l), A = () => {
88
- R(!C);
89
- };
90
- Object.assign(f.on, {
91
- _containerClasses(c, E) {
92
- o(E);
93
- }
94
- });
95
- const V = () => {
96
- Object.assign(f.on, v), h = !0;
97
- const c = {
98
- ...f
99
- };
100
- if (delete c.wrapperClass, e.current = new Y(c), e.current.virtual && e.current.params.virtual.enabled) {
101
- e.current.virtual.slides = y;
102
- const E = {
103
- cache: !1,
104
- slides: y,
105
- renderExternal: m,
106
- renderExternalUpdate: !1
107
- };
108
- F(e.current.params.virtual, E), F(e.current.originalParams.virtual, E);
109
- }
110
- };
111
- w.current || V(), e.current && e.current.on("_beforeBreakpoint", A);
112
- const J = () => {
113
- h || !v || !e.current || Object.keys(v).forEach((c) => {
114
- e.current.on(c, v[c]);
115
- });
116
- }, K = () => {
117
- !v || !e.current || Object.keys(v).forEach((c) => {
118
- e.current.off(c, v[c]);
119
- });
120
- };
121
- _(() => () => {
122
- e.current && e.current.off("_beforeBreakpoint", A);
123
- }), _(() => {
124
- !z.current && e.current && (e.current.emitSlidesClasses(), z.current = !0);
125
- }), O(() => {
126
- if (r && (r.current = w.current), !!w.current)
127
- return e.current.destroyed && V(), ee({
128
- el: w.current,
129
- nextEl: I.current,
130
- prevEl: b.current,
131
- paginationEl: N.current,
132
- scrollbarEl: L.current,
133
- swiper: e.current
134
- }, f), d && !e.current.destroyed && d(e.current), () => {
135
- e.current && !e.current.destroyed && e.current.destroy(!0, !1);
136
- };
137
- }, []), O(() => {
138
- J();
139
- const c = re(T, x.current, y, $.current, (E) => E.key);
140
- return x.current = T, $.current = y, c.length && e.current && !e.current.destroyed && oe({
141
- swiper: e.current,
142
- slides: y,
143
- passedParams: T,
144
- changedParams: c,
145
- nextEl: I.current,
146
- prevEl: b.current,
147
- scrollbarEl: L.current,
148
- paginationEl: N.current
149
- }), () => {
150
- K();
151
- };
152
- }), O(() => {
153
- te(e.current);
154
- }, [i]);
155
- function M() {
156
- return f.virtual ? ce(e.current, y, i) : y.map((c, E) => /* @__PURE__ */ a.cloneElement(c, {
157
- swiper: e.current,
158
- swiperSlideIndex: E
159
- }));
160
- }
161
- return /* @__PURE__ */ a.createElement(t, k({
162
- ref: w,
163
- className: D(`${g}${s ? ` ${s}` : ""}`)
164
- }, G), /* @__PURE__ */ a.createElement(ue.Provider, {
165
- value: e.current
166
- }, j["container-start"], /* @__PURE__ */ a.createElement(p, {
167
- className: ne(f.wrapperClass)
168
- }, j["wrapper-start"], M(), j["wrapper-end"]), se(f) && /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("div", {
169
- ref: b,
170
- className: "swiper-button-prev"
171
- }), /* @__PURE__ */ a.createElement("div", {
172
- ref: I,
173
- className: "swiper-button-next"
174
- })), ae(f) && /* @__PURE__ */ a.createElement("div", {
175
- ref: L,
176
- className: "swiper-scrollbar"
177
- }), ie(f) && /* @__PURE__ */ a.createElement("div", {
178
- ref: N,
179
- className: "swiper-pagination"
180
- }), j["container-end"]));
181
- });
182
- pe.displayName = "Swiper";
183
- const de = /* @__PURE__ */ W(function(n, r) {
184
- let {
185
- tag: s = "div",
186
- children: t,
187
- className: p = "",
188
- swiper: l,
189
- zoom: d,
190
- lazy: S,
191
- virtualIndex: h,
192
- swiperSlideIndex: g,
193
- ...o
194
- } = n === void 0 ? {} : n;
195
- const i = u(null), [m, C] = P("swiper-slide"), [R, z] = P(!1);
196
- function w(I, b, N) {
197
- b === i.current && C(N);
198
- }
199
- O(() => {
200
- if (typeof g < "u" && (i.current.swiperSlideIndex = g), r && (r.current = i.current), !(!i.current || !l)) {
201
- if (l.destroyed) {
202
- m !== "swiper-slide" && C("swiper-slide");
203
- return;
204
- }
205
- return l.on("_slideClass", w), () => {
206
- l && l.off("_slideClass", w);
207
- };
208
- }
209
- }), O(() => {
210
- l && i.current && !l.destroyed && C(l.getSlideClasses(i.current));
211
- }, [l]);
212
- const e = {
213
- isActive: m.indexOf("swiper-slide-active") >= 0,
214
- isVisible: m.indexOf("swiper-slide-visible") >= 0,
215
- isPrev: m.indexOf("swiper-slide-prev") >= 0,
216
- isNext: m.indexOf("swiper-slide-next") >= 0
217
- }, x = () => typeof t == "function" ? t(e) : t, $ = () => {
218
- z(!0);
219
- };
220
- return /* @__PURE__ */ a.createElement(s, k({
221
- ref: i,
222
- className: D(`${m}${p ? ` ${p}` : ""}`),
223
- "data-swiper-slide-index": h,
224
- onLoad: $
225
- }, o), d && /* @__PURE__ */ a.createElement(B.Provider, {
226
- value: e
227
- }, /* @__PURE__ */ a.createElement("div", {
228
- className: "swiper-zoom-container",
229
- "data-swiper-zoom": typeof d == "number" ? d : void 0
230
- }, x(), S && !R && /* @__PURE__ */ a.createElement("div", {
231
- className: "swiper-lazy-preloader"
232
- }))), !d && /* @__PURE__ */ a.createElement(B.Provider, {
233
- value: e
234
- }, x(), S && !R && /* @__PURE__ */ a.createElement("div", {
235
- className: "swiper-lazy-preloader"
236
- })));
237
- });
238
- de.displayName = "SwiperSlide";
1
+ import { default as o } from "./index208.mjs";
2
+ import { default as f } from "./index209.mjs";
3
+ import { default as l } from "./index210.mjs";
4
+ import { default as d } from "./index211.mjs";
5
+ import { default as p } from "./index212.mjs";
6
+ import { default as x } from "./index213.mjs";
7
+ import { default as c } from "./index214.mjs";
8
+ import { default as E } from "./index215.mjs";
9
+ import { default as b } from "./index216.mjs";
10
+ import { default as y } from "./index217.mjs";
11
+ import { default as h } from "./index218.mjs";
12
+ import { default as M } from "./index219.mjs";
13
+ import { default as A } from "./index220.mjs";
14
+ import { default as N } from "./index221.mjs";
15
+ import { default as G } from "./index222.mjs";
16
+ import { default as S } from "./index223.mjs";
17
+ import { default as V } from "./index224.mjs";
18
+ import { default as j } from "./index225.mjs";
19
+ import { default as q } from "./index226.mjs";
20
+ import { default as B } from "./index227.mjs";
21
+ import { default as I } from "./index228.mjs";
22
+ import { default as L } from "./index229.mjs";
23
+ import { default as Q } from "./index230.mjs";
239
24
  export {
240
- pe as Swiper,
241
- de as SwiperSlide,
242
- ge as useSwiperSlide
25
+ y as A11y,
26
+ A as Autoplay,
27
+ b as Controller,
28
+ Q as EffectCards,
29
+ I as EffectCoverflow,
30
+ L as EffectCreative,
31
+ q as EffectCube,
32
+ j as EffectFade,
33
+ B as EffectFlip,
34
+ G as FreeMode,
35
+ S as Grid,
36
+ M as HashNavigation,
37
+ h as History,
38
+ f as Keyboard,
39
+ V as Manipulation,
40
+ l as Mousewheel,
41
+ d as Navigation,
42
+ p as Pagination,
43
+ c as Parallax,
44
+ x as Scrollbar,
45
+ N as Thumbs,
46
+ o as Virtual,
47
+ E as Zoom
243
48
  };
package/index146.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const n=require("react/jsx-runtime"),d=require("./index145.js"),a=require("./index27.js"),m=require("./index3.js"),h=r=>{const{themeName:e,title:t,tokens:c,id:o,children:l}=r,{isActive:u,isVisible:i}=d.useSwiperSlide(),s={...c,isActive:u,isVisible:i};return n.jsxs(a.default,{themeName:`${e}.container`,tokens:s,...i?{}:{inert:"true"},children:[t&&n.jsx(m.default,{themeName:`${e}.title`,tokens:s,id:o,children:t}),l]})};module.exports=h;
2
+ "use strict";const n=require("react/jsx-runtime"),d=require("./index120.js"),a=require("./index27.js"),m=require("./index3.js"),h=r=>{const{themeName:e,title:t,tokens:c,id:o,children:l}=r,{isActive:u,isVisible:i}=d.useSwiperSlide(),s={...c,isActive:u,isVisible:i};return n.jsxs(a.default,{themeName:`${e}.container`,tokens:s,...i?{}:{inert:"true"},children:[t&&n.jsx(m.default,{themeName:`${e}.title`,tokens:s,id:o,children:t}),l]})};module.exports=h;
package/index146.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
3
- import { useSwiperSlide as d } from "./index145.mjs";
3
+ import { useSwiperSlide as d } from "./index120.mjs";
4
4
  import p from "./index27.mjs";
5
5
  import h from "./index3.mjs";
6
6
  const S = (r) => {
package/index149.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index289.js"),o=require("./index117.js"),u=require("./index171.js"),s=require("@react-aria/focus");function c(a,e,d){let l=s.useHasTabbableChild(d)?void 0:0;var r;const n=i.generateId(e,(r=a.id)!==null&&r!==void 0?r:e==null?void 0:e.selectedKey,"tabpanel"),b=u.useLabels({...a,id:n,"aria-labelledby":i.generateId(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:o.mergeProps(b,{tabIndex:l,role:"tabpanel","aria-describedby":a["aria-describedby"],"aria-details":a["aria-details"]})}}exports.useTabPanel=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e,n){if(!e)return!1;const{minValue:t,maxValue:a}=n;return!!(t&&e.compare(t)<0||a&&e.compare(a)>0)}exports.getIsDateOutsideRange=r;
package/index149.mjs CHANGED
@@ -1,24 +1,8 @@
1
- import { generateId as r } from "./index289.mjs";
2
- import { mergeProps as n } from "./index117.mjs";
3
- import { useLabels as c } from "./index171.mjs";
4
- import { useHasTabbableChild as f } from "@react-aria/focus";
5
- function m(a, e, b) {
6
- let i = f(b) ? void 0 : 0;
7
- var d;
8
- const l = r(e, (d = a.id) !== null && d !== void 0 ? d : e == null ? void 0 : e.selectedKey, "tabpanel"), o = c({
9
- ...a,
10
- id: l,
11
- "aria-labelledby": r(e, e == null ? void 0 : e.selectedKey, "tab")
12
- });
13
- return {
14
- tabPanelProps: n(o, {
15
- tabIndex: i,
16
- role: "tabpanel",
17
- "aria-describedby": a["aria-describedby"],
18
- "aria-details": a["aria-details"]
19
- })
20
- };
1
+ function t(e, a) {
2
+ if (!e) return !1;
3
+ const { minValue: n, maxValue: r } = a;
4
+ return !!(n && e.compare(n) < 0 || r && e.compare(r) > 0);
21
5
  }
22
6
  export {
23
- m as useTabPanel
7
+ t as getIsDateOutsideRange
24
8
  };
package/index150.js CHANGED
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e,n){if(!e)return!1;const{minValue:t,maxValue:a}=n;return!!(t&&e.compare(t)<0||a&&e.compare(a)>0)}exports.getIsDateOutsideRange=r;
1
+ "use client";
2
+ "use strict";const o=require("react/jsx-runtime"),c=require("./index183.js"),O=require("@react-aria/focus"),W=require("./index117.js"),$=require("react"),q=require("react-aria"),r=require("./index27.js");function v(l){const{themeName:a="calendar",tokens:g,state:n,date:s}=l,d=$.useRef(null),{isUnavailable:k,cellProps:x,buttonProps:y,isSelected:t,isOutsideVisibleRange:u,isDisabled:b,formattedDate:C,isInvalid:S}=q.useCalendarCell(l,n,d),e=n==null?void 0:n.highlightedRange,h=e==null?void 0:e.start,m=e==null?void 0:e.end,f=e&&h?c.isSameDay(s,h):t,R=e&&m?c.isSameDay(s,m):t,{locale:P}=q.useLocale(),D=c.getDayOfWeek(s,P),j=t&&(f||D===0||s.day===1),p=t&&(R||D===6||s.day===s.calendar.getDaysInMonth(s)),{focusProps:N,isFocusVisible:F}=O.useFocusRing(),i={isInvalid:S,isDisabled:b,isUnavailable:k,isSelected:t,isFocusVisible:F,isOutsideVisibleRange:u,...g};return o.jsx(r.default,{as:"td",...x,"aria-disabled":!1,themeName:`${a}.cellContainer`,tokens:i,children:o.jsx(r.BoxWithForwardRef,{...W.mergeProps(y,N),ref:d,"aria-hidden":u,themeName:`${a}.cell`,tokens:{...i,isRoundedLeft:j,isRoundedRight:p},children:o.jsx(r.default,{themeName:`${a}.cellDate`,tokens:{...i,isSelectionStart:f,isSelectionEnd:R},children:C})})})}module.exports=v;
package/index150.mjs CHANGED
@@ -1,8 +1,52 @@
1
- function t(e, a) {
2
- if (!e) return !1;
3
- const { minValue: n, maxValue: r } = a;
4
- return !!(n && e.compare(n) < 0 || r && e.compare(r) > 0);
1
+ "use client";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import { isSameDay as p, getDayOfWeek as O } from "./index183.mjs";
4
+ import { useFocusRing as W } from "@react-aria/focus";
5
+ import { mergeProps as v } from "./index117.mjs";
6
+ import { useRef as B } from "react";
7
+ import { useCalendarCell as I, useLocale as L } from "react-aria";
8
+ import $, { BoxWithForwardRef as V } from "./index27.mjs";
9
+ function z(c) {
10
+ const { themeName: a = "calendar", tokens: b, state: s, date: t } = c, l = B(null), {
11
+ isUnavailable: D,
12
+ cellProps: R,
13
+ buttonProps: k,
14
+ isSelected: o,
15
+ isOutsideVisibleRange: r,
16
+ isDisabled: x,
17
+ formattedDate: g,
18
+ isInvalid: y
19
+ } = I(c, s, l), e = s == null ? void 0 : s.highlightedRange, d = e == null ? void 0 : e.start, f = e == null ? void 0 : e.end, m = e && d ? p(t, d) : o, u = e && f ? p(t, f) : o, { locale: C } = L(), h = O(t, C), S = o && (m || h === 0 || t.day === 1), N = o && (u || h === 6 || t.day === t.calendar.getDaysInMonth(t)), { focusProps: P, isFocusVisible: F } = W(), n = {
20
+ isInvalid: y,
21
+ isDisabled: x,
22
+ isUnavailable: D,
23
+ isSelected: o,
24
+ isFocusVisible: F,
25
+ isOutsideVisibleRange: r,
26
+ ...b
27
+ };
28
+ return /* @__PURE__ */ i(
29
+ $,
30
+ {
31
+ as: "td",
32
+ ...R,
33
+ "aria-disabled": !1,
34
+ themeName: `${a}.cellContainer`,
35
+ tokens: n,
36
+ children: /* @__PURE__ */ i(
37
+ V,
38
+ {
39
+ ...v(k, P),
40
+ ref: l,
41
+ "aria-hidden": r,
42
+ themeName: `${a}.cell`,
43
+ tokens: { ...n, isRoundedLeft: S, isRoundedRight: N },
44
+ children: /* @__PURE__ */ i($, { themeName: `${a}.cellDate`, tokens: { ...n, isSelectionStart: m, isSelectionEnd: u }, children: g })
45
+ }
46
+ )
47
+ }
48
+ );
5
49
  }
6
50
  export {
7
- t as getIsDateOutsideRange
51
+ z as default
8
52
  };
package/index151.js CHANGED
@@ -1,2 +1 @@
1
- "use client";
2
- "use strict";const o=require("react/jsx-runtime"),c=require("./index183.js"),O=require("@react-aria/focus"),W=require("./index117.js"),$=require("react"),q=require("react-aria"),r=require("./index27.js");function v(l){const{themeName:a="calendar",tokens:g,state:n,date:s}=l,d=$.useRef(null),{isUnavailable:k,cellProps:x,buttonProps:y,isSelected:t,isOutsideVisibleRange:u,isDisabled:b,formattedDate:C,isInvalid:S}=q.useCalendarCell(l,n,d),e=n==null?void 0:n.highlightedRange,h=e==null?void 0:e.start,m=e==null?void 0:e.end,f=e&&h?c.isSameDay(s,h):t,R=e&&m?c.isSameDay(s,m):t,{locale:P}=q.useLocale(),D=c.getDayOfWeek(s,P),j=t&&(f||D===0||s.day===1),p=t&&(R||D===6||s.day===s.calendar.getDaysInMonth(s)),{focusProps:N,isFocusVisible:F}=O.useFocusRing(),i={isInvalid:S,isDisabled:b,isUnavailable:k,isSelected:t,isFocusVisible:F,isOutsideVisibleRange:u,...g};return o.jsx(r.default,{as:"td",...x,"aria-disabled":!1,themeName:`${a}.cellContainer`,tokens:i,children:o.jsx(r.BoxWithForwardRef,{...W.mergeProps(y,N),ref:d,"aria-hidden":u,themeName:`${a}.cell`,tokens:{...i,isRoundedLeft:j,isRoundedRight:p},children:o.jsx(r.default,{themeName:`${a}.cellDate`,tokens:{...i,isSelectionStart:f,isSelectionEnd:R},children:C})})})}module.exports=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index289.js"),o=require("./index117.js"),u=require("./index171.js"),s=require("@react-aria/focus");function c(a,e,d){let l=s.useHasTabbableChild(d)?void 0:0;var r;const n=i.generateId(e,(r=a.id)!==null&&r!==void 0?r:e==null?void 0:e.selectedKey,"tabpanel"),b=u.useLabels({...a,id:n,"aria-labelledby":i.generateId(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:o.mergeProps(b,{tabIndex:l,role:"tabpanel","aria-describedby":a["aria-describedby"],"aria-details":a["aria-details"]})}}exports.useTabPanel=c;
package/index151.mjs CHANGED
@@ -1,52 +1,24 @@
1
- "use client";
2
- import { jsx as i } from "react/jsx-runtime";
3
- import { isSameDay as p, getDayOfWeek as O } from "./index183.mjs";
4
- import { useFocusRing as W } from "@react-aria/focus";
5
- import { mergeProps as v } from "./index117.mjs";
6
- import { useRef as B } from "react";
7
- import { useCalendarCell as I, useLocale as L } from "react-aria";
8
- import $, { BoxWithForwardRef as V } from "./index27.mjs";
9
- function z(c) {
10
- const { themeName: a = "calendar", tokens: b, state: s, date: t } = c, l = B(null), {
11
- isUnavailable: D,
12
- cellProps: R,
13
- buttonProps: k,
14
- isSelected: o,
15
- isOutsideVisibleRange: r,
16
- isDisabled: x,
17
- formattedDate: g,
18
- isInvalid: y
19
- } = I(c, s, l), e = s == null ? void 0 : s.highlightedRange, d = e == null ? void 0 : e.start, f = e == null ? void 0 : e.end, m = e && d ? p(t, d) : o, u = e && f ? p(t, f) : o, { locale: C } = L(), h = O(t, C), S = o && (m || h === 0 || t.day === 1), N = o && (u || h === 6 || t.day === t.calendar.getDaysInMonth(t)), { focusProps: P, isFocusVisible: F } = W(), n = {
20
- isInvalid: y,
21
- isDisabled: x,
22
- isUnavailable: D,
23
- isSelected: o,
24
- isFocusVisible: F,
25
- isOutsideVisibleRange: r,
26
- ...b
1
+ import { generateId as r } from "./index289.mjs";
2
+ import { mergeProps as n } from "./index117.mjs";
3
+ import { useLabels as c } from "./index171.mjs";
4
+ import { useHasTabbableChild as f } from "@react-aria/focus";
5
+ function m(a, e, b) {
6
+ let i = f(b) ? void 0 : 0;
7
+ var d;
8
+ const l = r(e, (d = a.id) !== null && d !== void 0 ? d : e == null ? void 0 : e.selectedKey, "tabpanel"), o = c({
9
+ ...a,
10
+ id: l,
11
+ "aria-labelledby": r(e, e == null ? void 0 : e.selectedKey, "tab")
12
+ });
13
+ return {
14
+ tabPanelProps: n(o, {
15
+ tabIndex: i,
16
+ role: "tabpanel",
17
+ "aria-describedby": a["aria-describedby"],
18
+ "aria-details": a["aria-details"]
19
+ })
27
20
  };
28
- return /* @__PURE__ */ i(
29
- $,
30
- {
31
- as: "td",
32
- ...R,
33
- "aria-disabled": !1,
34
- themeName: `${a}.cellContainer`,
35
- tokens: n,
36
- children: /* @__PURE__ */ i(
37
- V,
38
- {
39
- ...v(k, P),
40
- ref: l,
41
- "aria-hidden": r,
42
- themeName: `${a}.cell`,
43
- tokens: { ...n, isRoundedLeft: S, isRoundedRight: N },
44
- children: /* @__PURE__ */ i($, { themeName: `${a}.cellDate`, tokens: { ...n, isSelectionStart: m, isSelectionEnd: u }, children: g })
45
- }
46
- )
47
- }
48
- );
49
21
  }
50
22
  export {
51
- z as default
23
+ m as useTabPanel
52
24
  };
package/index171.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index142.js");function d(a,t){let{id:i,"aria-label":l,"aria-labelledby":e}=a;return i=r.useId(i),e&&l?e=[...new Set([i,...e.trim().split(/\s+/)])].join(" "):e&&(e=e.trim().split(/\s+/).join(" ")),!l&&!e&&t&&(l=t),{id:i,"aria-label":l,"aria-labelledby":e}}exports.useLabels=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index144.js");function d(a,t){let{id:i,"aria-label":l,"aria-labelledby":e}=a;return i=r.useId(i),e&&l?e=[...new Set([i,...e.trim().split(/\s+/)])].join(" "):e&&(e=e.trim().split(/\s+/).join(" ")),!l&&!e&&t&&(l=t),{id:i,"aria-label":l,"aria-labelledby":e}}exports.useLabels=d;
package/index171.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { useId as b } from "./index142.mjs";
1
+ import { useId as b } from "./index144.mjs";
2
2
  function t(r, a) {
3
3
  let { id: i, "aria-label": l, "aria-labelledby": e } = r;
4
4
  return i = b(i), e && l ? e = [
package/index18.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const e=require("react/jsx-runtime"),k=require("react"),h=require("react-aria"),P=require("react-stately"),n=require("./index69.js"),T=require("./index75.js"),w=require("./index6.js"),y=require("./index50.js"),R=require("./index112.js"),v=require("./index3.js"),F=a=>{const{setUserSearchQuery:d}=T.useUserQueryValHook(),{label:i,themeName:s="search",tokens:m,customTheme:t,disabled:l,errorMessage:c,placeholder:x,icon:j}=a,o=P.useSearchFieldState(a);d(o.value);const u=k.useRef(null),{labelProps:p,inputProps:q,errorMessageProps:b,clearButtonProps:g}=h.useSearchField(a,o,u),r={...m,isError:c!=null},S=n(`${s}.wrapper`,r,t),$=n(`${s}.input`,r,t),N=n(`${s}.label`,r,t),f=n(`${s}.container`,r,t);return e.jsxs("div",{className:S,"aria-disabled":l,children:[i&&e.jsx("label",{...p,className:N,children:i}),e.jsxs("div",{className:f,children:[e.jsx("input",{ref:u,...q,placeholder:x,className:$,disabled:l}),e.jsx(h.FocusRing,{focusRingClass:"has-focus-ring",children:e.jsx(w.default,{handlePress:g.onPress,tokens:{isIconOnly:!0,buttonStyle:"hollow"},themeName:`${s}.icon`,"aria-label":"clear",children:j??(o.value===""?e.jsx(R,{width:"16",height:"16"}):e.jsx(y,{width:"16",height:"16"}))})})]}),c&&e.jsx(v.default,{themeName:`${s}.errorMessage`,tokens:r,...b,children:c})]})};module.exports=F;
2
+ "use strict";const e=require("react/jsx-runtime");require("./index2.js");const N=require("./index3.js");require("@react-aria/accordion");const P=require("react");require("./index74.js");const n=require("./index27.js"),c=require("react-aria");require("react-use");require("@react-spring/web");const y=require("./index69.js"),D=require("./index6.js");require("./index111.js");const R=require("react-stately");require("./index5.js");require("react-div-100vh");require("./index71.js");require("@react-aria/focus");require("./index10.js");require("./index76.js");require("./index12.js");require("./index120.js");require("sanitize-html");require("@react-aria/i18n");require("radashi");require("react-hook-form");require("./index77.js");const w=require("./index75.js"),F=require("./index50.js"),M=require("./index112.js");require("./index121.js");require("./index122.js");require("./index73.js");require("./index72.js");require("./index123.js");require("./index43.js");require("./index44.js");require("./index45.js");require("./index46.js");require("./index47.js");require("./index48.js");require("./index49.js");require("./index51.js");require("./index52.js");require("./index53.js");require("./index54.js");require("./index55.js");require("./index56.js");require("./index57.js");require("./index58.js");require("./index59.js");require("./index60.js");require("./index61.js");require("./index62.js");require("./index63.js");require("./index64.js");require("./index65.js");require("./index66.js");require("./index67.js");require("./index68.js");require("./index70.js");require("./index84.js");const T=u=>{const{setUserSearchQuery:h}=w.useUserQueryValHook(),{label:q,themeName:r="search",tokens:d,customTheme:m,disabled:l,errorMessage:t,placeholder:x,icon:b,isDisabled:f}=u,a=R.useSearchFieldState(u);h(a.value);const o=P.useRef(null),{labelProps:j,inputProps:k,errorMessageProps:$,clearButtonProps:g}=c.useSearchField(u,a,o),s=f||l,p=t!=null,i={...d,isError:p,isDisabled:s??!1},S=y(`${r}.input`,i,m);return e.jsxs(n.default,{themeName:`${r}.wrapper`,tokens:i,"aria-disabled":s??!1,children:[q&&e.jsx(n.default,{...j,as:"label",themeName:`${r}.label`,tokens:i,children:q}),e.jsxs(n.default,{themeName:`${r}.container`,tokens:i,children:[e.jsx("input",{ref:o,...k,placeholder:x,className:S,disabled:l}),e.jsx(c.FocusRing,{focusRingClass:"has-focus-ring",children:e.jsx(D.default,{isDisabled:s,handlePress:g.onPress,tokens:{isIconOnly:!0,buttonStyle:"hollow",isDisabled:s??!1},themeName:`${r}.icon`,"aria-label":"clear",children:b??(a.value===""?e.jsx(M,{width:"16",height:"16"}):e.jsx(F,{width:"16",height:"16"}))})})]}),t&&e.jsx(N.default,{themeName:`${r}.errorMessage`,tokens:i,...$,children:t})]})};module.exports=T;