@xaui/native 0.9.1-alpha.93 → 0.9.1-beta.95
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/{chunk-PAQZOD2L.js → chunk-2JFMCW5E.js} +1 -1
- package/dist/chunk-2TLPFGGR.cjs +251 -0
- package/dist/{chunk-TPYOQSKT.js → chunk-2UNLQRXY.js} +1 -1
- package/dist/{chunk-JKDWYNSG.js → chunk-2XEQDQAN.js} +109 -107
- package/dist/{chunk-RXEUKYM5.js → chunk-33BA4LVN.js} +1 -1
- package/dist/{chunk-ODQHAPQW.js → chunk-4AIIAF6U.js} +24 -22
- package/dist/{chunk-QCH7X7O2.cjs → chunk-4LRVB6WR.cjs} +14 -14
- package/dist/{chunk-QUSQEYLP.cjs → chunk-53E2E7GS.cjs} +26 -28
- package/dist/{chunk-2B6PUYTP.cjs → chunk-55KGHYYU.cjs} +4 -4
- package/dist/{chunk-B33OU34Z.cjs → chunk-5O7E73QP.cjs} +12 -12
- package/dist/{chunk-FVEMTBU4.js → chunk-5XTF2JDK.js} +2 -2
- package/dist/{chunk-V2CEKPJ6.js → chunk-6MVKLRLZ.js} +1 -1
- package/dist/{chunk-RSIWSVXI.js → chunk-6NAZ2IHL.js} +1 -1
- package/dist/{chunk-LPJ3UBSO.cjs → chunk-6NRWZR7T.cjs} +2 -2
- package/dist/{chunk-FXN32S75.cjs → chunk-6SRFQSPR.cjs} +3 -3
- package/dist/{chunk-7EVW6O2Q.js → chunk-6W45YHTF.js} +1 -1
- package/dist/{chunk-7NQL5DXY.js → chunk-6XY3XAEQ.js} +1 -1
- package/dist/{chunk-UEW3GAP5.cjs → chunk-6ZWQDTGQ.cjs} +5 -5
- package/dist/{chunk-VMPCXS4S.js → chunk-7OVYYZ7H.js} +22 -20
- package/dist/{chunk-CYOUOQXT.cjs → chunk-AHJLQJOE.cjs} +5 -5
- package/dist/{chunk-OPLPLFGK.cjs → chunk-AHKKEM3K.cjs} +66 -23
- package/dist/{chunk-WIX4SYZI.cjs → chunk-AIHKBSQ5.cjs} +2 -2
- package/dist/{chunk-WRZV6ORJ.js → chunk-AYOJXFHR.js} +1 -1
- package/dist/{chunk-OD6H7ANY.js → chunk-B5DBFS6M.js} +1 -1
- package/dist/{chunk-VQGNLX5C.js → chunk-BYDGJU5A.js} +1 -1
- package/dist/{chunk-NVODH2PR.js → chunk-CCTAJXZ3.js} +63 -61
- package/dist/{chunk-ORXVXYKC.cjs → chunk-CHGBWFDI.cjs} +63 -26
- package/dist/{chunk-WLJPO3AS.cjs → chunk-CZ2NUGUI.cjs} +357 -201
- package/dist/{chunk-PYQ2P3M5.cjs → chunk-CZEWWCWG.cjs} +58 -58
- package/dist/{chunk-PDSR42YC.cjs → chunk-D22K3NZU.cjs} +3 -3
- package/dist/{chunk-TRWZEOCO.js → chunk-DBP5CA5R.js} +2 -2
- package/dist/{chunk-QN2D5ZCS.cjs → chunk-DE4RSR7Q.cjs} +3 -3
- package/dist/{chunk-FOOXBVOQ.js → chunk-E5E2QA4K.js} +22 -20
- package/dist/{chunk-LECYGVIH.js → chunk-EQUD3NHO.js} +50 -48
- package/dist/chunk-ERIGD4SE.cjs +686 -0
- package/dist/{chunk-62AYYMZP.cjs → chunk-FDYPWVNP.cjs} +3 -3
- package/dist/chunk-GN7BWYXP.cjs +627 -0
- package/dist/chunk-GWTURY4S.cjs +999 -0
- package/dist/{chunk-OW4N2C3M.cjs → chunk-HBYT7B47.cjs} +88 -61
- package/dist/{chunk-XWIPLZTD.cjs → chunk-HOV25N3M.cjs} +2 -2
- package/dist/{chunk-5MMBEDZG.cjs → chunk-I3XIZWCV.cjs} +29 -29
- package/dist/{chunk-EDNCHCIN.cjs → chunk-IAJG7GYE.cjs} +2 -2
- package/dist/{chunk-P7OHZCU3.js → chunk-IAWLQN2W.js} +2 -2
- package/dist/{chunk-RCSEVEIR.js → chunk-ICVIWXK4.js} +1 -1
- package/dist/{chunk-RREJUSAS.cjs → chunk-IMIY34F4.cjs} +3 -3
- package/dist/{chunk-ZWS3FQ3J.js → chunk-IUDQG3JI.js} +57 -57
- package/dist/{chunk-O6B72H4B.js → chunk-K7VDLVLE.js} +6 -8
- package/dist/{chunk-P2CJNTAP.js → chunk-KFB24VYT.js} +22 -20
- package/dist/chunk-KHPODIQV.cjs +540 -0
- package/dist/{chunk-CBRW53GN.cjs → chunk-KMK6FUTK.cjs} +39 -23
- package/dist/{chunk-2AFA5HA2.js → chunk-KQW25RCC.js} +77 -75
- package/dist/{chunk-X4CZYJZ6.cjs → chunk-LCGJA37L.cjs} +12 -12
- package/dist/{chunk-SUJLTC2K.js → chunk-LPGY2IDX.js} +1 -1
- package/dist/{chunk-P5M5URAB.js → chunk-LSZW4G7B.js} +31 -31
- package/dist/{chunk-GYEQEF5H.js → chunk-LUPU7FJK.js} +1 -1
- package/dist/chunk-MNBEUNC5.cjs +792 -0
- package/dist/{chunk-AIND5F7P.js → chunk-MTQGFUW5.js} +29 -29
- package/dist/chunk-NGXLJ5ZF.cjs +395 -0
- package/dist/{chunk-DYQB54JA.cjs → chunk-NPAGA6SH.cjs} +2 -2
- package/dist/{chunk-QELEKXN3.cjs → chunk-OMI2FRCU.cjs} +5 -5
- package/dist/{chunk-EBCAPIBD.js → chunk-OX23MW5E.js} +70 -50
- package/dist/{chunk-MMFIMQMQ.js → chunk-OZLOYXLW.js} +2 -2
- package/dist/{chunk-JBZ7SBRV.cjs → chunk-Q3ZKZ2Y6.cjs} +3 -3
- package/dist/{chunk-TCWW7JI2.js → chunk-QT7KLGO3.js} +65 -63
- package/dist/{chunk-6RU6GUJP.js → chunk-QZF7RSVV.js} +1 -1
- package/dist/{chunk-UYQLW7OD.js → chunk-RAYO2TJL.js} +2 -2
- package/dist/{chunk-FRLWG5LM.js → chunk-RFT5MGJC.js} +25 -25
- package/dist/chunk-SIOSYITD.cjs +1039 -0
- package/dist/{chunk-USIWPESU.js → chunk-SIX5AVXG.js} +1 -1
- package/dist/{chunk-52XUGOLD.js → chunk-SX5U5UJQ.js} +3 -3
- package/dist/{chunk-GGP2ERSV.js → chunk-T5ES7FOL.js} +1 -1
- package/dist/{chunk-MSORLKO7.cjs → chunk-V3C3ATRO.cjs} +2 -2
- package/dist/{chunk-BI5ME4QP.cjs → chunk-VBS6VWW4.cjs} +5 -5
- package/dist/{chunk-2SHWOFQV.js → chunk-VQ4OTVET.js} +29 -29
- package/dist/{chunk-6GQ7UTJ7.cjs → chunk-VXAIFOXL.cjs} +2 -2
- package/dist/{chunk-BJVO7DWJ.js → chunk-W4F4NQXM.js} +1 -1
- package/dist/{chunk-ZE4IHUUO.cjs → chunk-WNEDQTH6.cjs} +2 -2
- package/dist/{chunk-CBXILKQZ.cjs → chunk-WPYJW3WM.cjs} +3 -3
- package/dist/{chunk-QHXTO525.js → chunk-WYJHDTU7.js} +1 -1
- package/dist/{chunk-PROLOLZ5.cjs → chunk-X22PLAP6.cjs} +2 -2
- package/dist/chunk-X6GT4H4I.cjs +662 -0
- package/dist/{chunk-RLC3EXMV.js → chunk-XM4IN4Q6.js} +2 -2
- package/dist/{chunk-ZKGVOXLQ.js → chunk-XOZMGNVS.js} +1 -1
- package/dist/chunk-XXXR2AD3.cjs +94 -0
- package/dist/{chunk-JC4YCKKL.js → chunk-YI5D4QZP.js} +22 -20
- package/dist/{chunk-AR7667VN.cjs → chunk-YJA7OQQZ.cjs} +4 -4
- package/dist/{chunk-PAQD6UUF.cjs → chunk-YJIVPYMG.cjs} +3 -3
- package/dist/{chunk-JJYHW4PV.js → chunk-YOPWQHNO.js} +1 -1
- package/dist/{chunk-LKRQUQZQ.cjs → chunk-YRANVNJG.cjs} +2 -2
- package/dist/chunk-ZDJQ643D.js +62 -0
- package/dist/components/accordion/index.cjs +3 -3
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/agenda-calendar/index.cjs +4 -4
- package/dist/components/agenda-calendar/index.js +3 -3
- package/dist/components/alert/index.cjs +4 -4
- package/dist/components/alert/index.js +3 -3
- package/dist/components/autocomplete/index.cjs +3 -3
- package/dist/components/autocomplete/index.js +2 -2
- package/dist/components/bottom-sheet/index.cjs +3 -3
- package/dist/components/bottom-sheet/index.js +2 -2
- package/dist/components/button/index.cjs +3 -3
- package/dist/components/button/index.js +2 -2
- package/dist/components/calendar/index.cjs +3 -3
- package/dist/components/calendar/index.js +2 -2
- package/dist/components/card/index.cjs +3 -3
- package/dist/components/card/index.js +2 -2
- package/dist/components/carousel/index.cjs +3 -3
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/checkbox/index.cjs +3 -3
- package/dist/components/checkbox/index.js +2 -2
- package/dist/components/chip/index.cjs +4 -4
- package/dist/components/chip/index.js +3 -3
- package/dist/components/close-button/index.cjs +4 -4
- package/dist/components/close-button/index.js +3 -3
- package/dist/components/color-picker/index.cjs +6 -6
- package/dist/components/color-picker/index.js +5 -5
- package/dist/components/combobox/index.cjs +4 -4
- package/dist/components/combobox/index.js +3 -3
- package/dist/components/date-picker/index.cjs +4 -4
- package/dist/components/date-picker/index.js +3 -3
- package/dist/components/date-range-picker/index.cjs +6 -6
- package/dist/components/date-range-picker/index.js +5 -5
- package/dist/components/date-time-picker/date-time-picker-indicator.d.cts +2 -2
- package/dist/components/date-time-picker/date-time-picker-indicator.d.ts +2 -2
- package/dist/components/date-time-picker/date-time-picker.type.d.cts +3 -2
- package/dist/components/date-time-picker/date-time-picker.type.d.ts +3 -2
- package/dist/components/date-time-picker/index.cjs +8 -9
- package/dist/components/date-time-picker/index.d.cts +1 -1
- package/dist/components/date-time-picker/index.d.ts +1 -1
- package/dist/components/date-time-picker/index.js +7 -8
- package/dist/components/dialog/index.cjs +4 -4
- package/dist/components/dialog/index.js +3 -3
- package/dist/components/dummy-field/index.cjs +3 -3
- package/dist/components/dummy-field/index.js +2 -2
- package/dist/components/fab/index.cjs +3 -3
- package/dist/components/fab/index.js +2 -2
- package/dist/components/flip-card/index.cjs +3 -3
- package/dist/components/flip-card/index.js +2 -2
- package/dist/components/index.d.cts +0 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/list-box/index.cjs +2 -2
- package/dist/components/list-box/index.js +1 -1
- package/dist/components/menu/index.cjs +3 -3
- package/dist/components/menu/index.js +2 -2
- package/dist/components/morph-button/index.cjs +3 -3
- package/dist/components/morph-button/index.js +2 -2
- package/dist/components/number-field/number-field-increment.d.cts +2 -2
- package/dist/components/number-field/number-field-increment.d.ts +2 -2
- package/dist/components/number-pad/index.cjs +3 -3
- package/dist/components/number-pad/index.js +2 -2
- package/dist/components/number-stepper/index.cjs +3 -3
- package/dist/components/number-stepper/index.js +2 -2
- package/dist/components/pager/index.cjs +2 -2
- package/dist/components/pager/index.js +1 -1
- package/dist/components/phone-number-field/index.cjs +14 -14
- package/dist/components/phone-number-field/index.js +3 -3
- package/dist/components/popover/index.cjs +3 -3
- package/dist/components/popover/index.js +2 -2
- package/dist/components/radio/index.cjs +3 -3
- package/dist/components/radio/index.js +2 -2
- package/dist/components/range-calendar/index.cjs +4 -4
- package/dist/components/range-calendar/index.js +3 -3
- package/dist/components/rating/index.cjs +3 -3
- package/dist/components/rating/index.js +2 -2
- package/dist/components/search-field/index.cjs +4 -4
- package/dist/components/search-field/index.js +3 -3
- package/dist/components/segment/index.cjs +4 -4
- package/dist/components/segment/index.js +2 -2
- package/dist/components/select/index.cjs +3 -3
- package/dist/components/select/index.js +2 -2
- package/dist/components/slider/index.cjs +2 -2
- package/dist/components/slider/index.js +1 -1
- package/dist/components/snackbar/index.cjs +3 -3
- package/dist/components/snackbar/index.js +2 -2
- package/dist/components/switch/index.cjs +3 -3
- package/dist/components/switch/index.js +2 -2
- package/dist/components/table/index.cjs +4 -4
- package/dist/components/table/index.js +3 -3
- package/dist/components/tabs/index.cjs +4 -4
- package/dist/components/tabs/index.js +3 -3
- package/dist/components/tag-group/index.cjs +4 -4
- package/dist/components/tag-group/index.js +3 -3
- package/dist/components/time-picker/index.cjs +4 -5
- package/dist/components/time-picker/index.d.cts +1 -1
- package/dist/components/time-picker/index.d.ts +1 -1
- package/dist/components/time-picker/index.js +3 -4
- package/dist/components/time-picker/time-picker-display.d.cts +3 -3
- package/dist/components/time-picker/time-picker-display.d.ts +3 -3
- package/dist/components/time-picker/time-picker-indicator.d.cts +2 -2
- package/dist/components/time-picker/time-picker-indicator.d.ts +2 -2
- package/dist/components/time-picker/time-picker.d.cts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/time-picker/time-picker.type.d.cts +11 -1
- package/dist/components/time-picker/time-picker.type.d.ts +11 -1
- package/dist/components/toast/index.cjs +3 -3
- package/dist/components/toast/index.js +2 -2
- package/dist/components/toggle-button/index.cjs +3 -3
- package/dist/components/toggle-button/index.js +2 -2
- package/dist/components/wheel-picker/index.cjs +2 -2
- package/dist/components/wheel-picker/index.js +1 -1
- package/dist/index.cjs +47 -60
- package/dist/index.js +50 -63
- package/dist/system/index.cjs +3 -3
- package/dist/system/index.js +2 -2
- package/dist/utils/time.d.cts +29 -0
- package/dist/utils/time.d.ts +29 -0
- package/package.json +1 -11
- package/dist/chunk-3MRCSXGT.js +0 -73
- package/dist/chunk-5E6SHYEQ.cjs +0 -631
- package/dist/chunk-6JAGPPZU.cjs +0 -788
- package/dist/chunk-CEPX7CKM.cjs +0 -365
- package/dist/chunk-CHFPFYNV.js +0 -60
- package/dist/chunk-ECR6GPJ6.js +0 -198
- package/dist/chunk-GBTNFQXN.cjs +0 -33
- package/dist/chunk-GZAGWNQM.cjs +0 -719
- package/dist/chunk-ILXKBDC6.cjs +0 -209
- package/dist/chunk-IPD3IUE2.cjs +0 -640
- package/dist/chunk-P2V6PIM7.cjs +0 -478
- package/dist/chunk-Q2BWXT55.cjs +0 -1011
- package/dist/chunk-UFKSUELU.cjs +0 -453
- package/dist/chunk-W4IPOWLY.cjs +0 -198
- package/dist/chunk-YSTLHVQV.cjs +0 -73
- package/dist/components/time-field/index.cjs +0 -27
- package/dist/components/time-field/index.d.cts +0 -52
- package/dist/components/time-field/index.d.ts +0 -52
- package/dist/components/time-field/index.js +0 -27
- package/dist/components/time-field/time-field-field.d.cts +0 -11
- package/dist/components/time-field/time-field-field.d.ts +0 -11
- package/dist/components/time-field/time-field-period.d.cts +0 -34
- package/dist/components/time-field/time-field-period.d.ts +0 -34
- package/dist/components/time-field/time-field.context.d.cts +0 -9
- package/dist/components/time-field/time-field.context.d.ts +0 -9
- package/dist/components/time-field/time-field.d.cts +0 -56
- package/dist/components/time-field/time-field.d.ts +0 -56
- package/dist/components/time-field/time-field.type.d.cts +0 -72
- package/dist/components/time-field/time-field.type.d.ts +0 -72
- package/dist/utils/time-mask.d.cts +0 -68
- package/dist/utils/time-mask.d.ts +0 -68
|
@@ -11,13 +11,13 @@ var DisableAllContext = createContext(false);
|
|
|
11
11
|
var PRESS_SCALE = 0.985;
|
|
12
12
|
var PRESS_DURATION = 300;
|
|
13
13
|
var SCALE_REFERENCE_WIDTH = 300;
|
|
14
|
-
const
|
|
15
|
-
code: "function
|
|
16
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
17
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
14
|
+
const _worklet_10127277312168_init_data = {
|
|
15
|
+
code: "function pressScaleFor_chunkKQW25RCCJs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
|
|
16
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
17
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkKQW25RCCJs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AAsBA,SAAAA,8BAA8BA,CAAAC,KAAA,QAAAC,qBAAA,CAAAC,WAAA,OAAAC,SAAA,CAE5B,KAAM,CAAAC,WAAW,CAAGJ,KAAK,CAAG,CAAC,CAAGC,qBAAqB,CAAGD,KAAK,CAAG,CAAC,CACjE,MAAO,EAAC,CAAG,CAAC,CAAC,CAAGE,WAAW,EAAIE,WAAW,CAC5C\",\"ignoreList\":[]}"
|
|
18
18
|
};
|
|
19
|
-
const pressScaleFor = function
|
|
20
|
-
|
|
19
|
+
const pressScaleFor = function pressScaleFor_chunkKQW25RCCJs1Factory({
|
|
20
|
+
_worklet_10127277312168_init_data,
|
|
21
21
|
SCALE_REFERENCE_WIDTH,
|
|
22
22
|
PRESS_SCALE
|
|
23
23
|
}) {
|
|
@@ -30,13 +30,13 @@ const pressScaleFor = function pressScaleFor_chunk2AFA5HA2Js1Factory({
|
|
|
30
30
|
SCALE_REFERENCE_WIDTH,
|
|
31
31
|
PRESS_SCALE
|
|
32
32
|
};
|
|
33
|
-
pressScaleFor.__workletHash =
|
|
33
|
+
pressScaleFor.__workletHash = 10127277312168;
|
|
34
34
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
35
|
-
pressScaleFor.__initData =
|
|
35
|
+
pressScaleFor.__initData = _worklet_10127277312168_init_data;
|
|
36
36
|
pressScaleFor.__stackDetails = _e;
|
|
37
37
|
return pressScaleFor;
|
|
38
38
|
}({
|
|
39
|
-
|
|
39
|
+
_worklet_10127277312168_init_data,
|
|
40
40
|
SCALE_REFERENCE_WIDTH,
|
|
41
41
|
PRESS_SCALE
|
|
42
42
|
});
|
|
@@ -49,26 +49,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
|
|
|
49
49
|
var RIPPLE_FADE_IN = 75;
|
|
50
50
|
var RIPPLE_FADE_OUT_DELAY = 225;
|
|
51
51
|
var RIPPLE_FADE_OUT = 150;
|
|
52
|
-
const
|
|
53
|
-
code: "function
|
|
54
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
55
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
52
|
+
const _worklet_3281123522131_init_data = {
|
|
53
|
+
code: "function rippleRadiusFor_chunkKQW25RCCJs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
54
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
55
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkKQW25RCCJs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AAoCA,SAAAA,gCAAwCA,CAAAC,KAAA,CAAAC,MAAA,EAEtC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAGA,KAAK,CAAGC,MAAM,CAAGA,MAAM,CAAC,CAAG,CAAC,CAAG,CAAC,CAC3D\",\"ignoreList\":[]}"
|
|
56
56
|
};
|
|
57
|
-
const rippleRadiusFor = function
|
|
58
|
-
|
|
57
|
+
const rippleRadiusFor = function rippleRadiusFor_chunkKQW25RCCJs2Factory({
|
|
58
|
+
_worklet_3281123522131_init_data
|
|
59
59
|
}) {
|
|
60
60
|
const _e = [new global.Error(), 1, -27];
|
|
61
61
|
const rippleRadiusFor = function (width, height) {
|
|
62
62
|
return Math.sqrt(width * width + height * height) / 2 + 5;
|
|
63
63
|
};
|
|
64
64
|
rippleRadiusFor.__closure = {};
|
|
65
|
-
rippleRadiusFor.__workletHash =
|
|
65
|
+
rippleRadiusFor.__workletHash = 3281123522131;
|
|
66
66
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
67
|
-
rippleRadiusFor.__initData =
|
|
67
|
+
rippleRadiusFor.__initData = _worklet_3281123522131_init_data;
|
|
68
68
|
rippleRadiusFor.__stackDetails = _e;
|
|
69
69
|
return rippleRadiusFor;
|
|
70
70
|
}({
|
|
71
|
-
|
|
71
|
+
_worklet_3281123522131_init_data
|
|
72
72
|
});
|
|
73
73
|
var ALL_OFF = {
|
|
74
74
|
scale: false,
|
|
@@ -246,15 +246,15 @@ var StaticFeedback = forwardRef(function StaticFeedback2({
|
|
|
246
246
|
})
|
|
247
247
|
});
|
|
248
248
|
});
|
|
249
|
-
const
|
|
250
|
-
code: "function
|
|
251
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
252
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
249
|
+
const _worklet_4835076772006_init_data = {
|
|
250
|
+
code: "function chunkKQW25RCCJs3(){const{pressScaleFor,size}=this.__closure;return pressScaleFor(size.value.width);}",
|
|
251
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
252
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkKQW25RCCJs3\",\"pressScaleFor\",\"size\",\"__closure\",\"value\",\"width\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AAsNuC,SAAAA,gBAAMA,CAAA,QAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,CAEzC,MAAO,CAAAF,aAAa,CAACC,IAAI,CAACE,KAAK,CAACC,KAAK,CAAC,CACxC\",\"ignoreList\":[]}"
|
|
253
253
|
};
|
|
254
|
-
const
|
|
255
|
-
code: "function
|
|
256
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
257
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
254
|
+
const _worklet_11030370850166_init_data = {
|
|
255
|
+
code: "function chunkKQW25RCCJs4(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
|
|
256
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
257
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkKQW25RCCJs4\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AA0NyC,SAAAA,gBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE3C,GAAI,CAACH,SAAS,CAACI,KAAK,CAAE,MAAO,CAAC,CAAC,CAC/B,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAED,KAAK,CAAE,CAAC,CAAG,CAAC,CAAC,CAAGH,YAAY,CAACK,KAAK,EAAIJ,QAAQ,CAACI,KAAM,CAAC,CAAE,CAAC,CAClF\",\"ignoreList\":[]}"
|
|
258
258
|
};
|
|
259
259
|
var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
260
260
|
isPressed = false,
|
|
@@ -282,35 +282,37 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
282
282
|
easing: Easing.out(Easing.ease)
|
|
283
283
|
});
|
|
284
284
|
}, [isPressed, progress]);
|
|
285
|
-
const pressedScale = useDerivedValue(function
|
|
286
|
-
|
|
285
|
+
const pressedScale = useDerivedValue(function chunkKQW25RCCJs3Factory({
|
|
286
|
+
_worklet_4835076772006_init_data,
|
|
287
287
|
pressScaleFor,
|
|
288
288
|
size
|
|
289
289
|
}) {
|
|
290
290
|
const _e = [new global.Error(), -3, -27];
|
|
291
|
-
const
|
|
292
|
-
|
|
291
|
+
const chunkKQW25RCCJs3 = function () {
|
|
292
|
+
return pressScaleFor(size.value.width);
|
|
293
|
+
};
|
|
294
|
+
chunkKQW25RCCJs3.__closure = {
|
|
293
295
|
pressScaleFor,
|
|
294
296
|
size
|
|
295
297
|
};
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
return
|
|
298
|
+
chunkKQW25RCCJs3.__workletHash = 4835076772006;
|
|
299
|
+
chunkKQW25RCCJs3.__pluginVersion = "0.7.4";
|
|
300
|
+
chunkKQW25RCCJs3.__initData = _worklet_4835076772006_init_data;
|
|
301
|
+
chunkKQW25RCCJs3.__stackDetails = _e;
|
|
302
|
+
return chunkKQW25RCCJs3;
|
|
301
303
|
}({
|
|
302
|
-
|
|
304
|
+
_worklet_4835076772006_init_data,
|
|
303
305
|
pressScaleFor,
|
|
304
306
|
size
|
|
305
|
-
}));
|
|
306
|
-
const animatedStyle = useAnimatedStyle(function
|
|
307
|
-
|
|
307
|
+
}), [size]);
|
|
308
|
+
const animatedStyle = useAnimatedStyle(function chunkKQW25RCCJs4Factory({
|
|
309
|
+
_worklet_11030370850166_init_data,
|
|
308
310
|
animation,
|
|
309
311
|
pressedScale,
|
|
310
312
|
progress
|
|
311
313
|
}) {
|
|
312
314
|
const _e = [new global.Error(), -4, -27];
|
|
313
|
-
const
|
|
315
|
+
const chunkKQW25RCCJs4 = function () {
|
|
314
316
|
if (!animation.scale) return {};
|
|
315
317
|
return {
|
|
316
318
|
transform: [{
|
|
@@ -318,18 +320,18 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
318
320
|
}]
|
|
319
321
|
};
|
|
320
322
|
};
|
|
321
|
-
|
|
323
|
+
chunkKQW25RCCJs4.__closure = {
|
|
322
324
|
animation,
|
|
323
325
|
pressedScale,
|
|
324
326
|
progress
|
|
325
327
|
};
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
return
|
|
328
|
+
chunkKQW25RCCJs4.__workletHash = 11030370850166;
|
|
329
|
+
chunkKQW25RCCJs4.__pluginVersion = "0.7.4";
|
|
330
|
+
chunkKQW25RCCJs4.__initData = _worklet_11030370850166_init_data;
|
|
331
|
+
chunkKQW25RCCJs4.__stackDetails = _e;
|
|
332
|
+
return chunkKQW25RCCJs4;
|
|
331
333
|
}({
|
|
332
|
-
|
|
334
|
+
_worklet_11030370850166_init_data,
|
|
333
335
|
animation,
|
|
334
336
|
pressedScale,
|
|
335
337
|
progress
|
|
@@ -474,10 +476,10 @@ function PressableFeedbackHighlight({
|
|
|
474
476
|
}
|
|
475
477
|
PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
|
|
476
478
|
markOverlay(PressableFeedbackHighlight);
|
|
477
|
-
const
|
|
478
|
-
code: "function
|
|
479
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
480
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
479
|
+
const _worklet_10889259605894_init_data = {
|
|
480
|
+
code: "function chunkKQW25RCCJs5(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
481
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
482
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkKQW25RCCJs5\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AAwW0C,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE5C,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
|
|
481
483
|
};
|
|
482
484
|
function AnimatedHighlight({
|
|
483
485
|
base,
|
|
@@ -493,28 +495,28 @@ function AnimatedHighlight({
|
|
|
493
495
|
duration
|
|
494
496
|
});
|
|
495
497
|
}, [isPressed, shown, duration]);
|
|
496
|
-
const animatedStyle = useAnimatedStyle2(function
|
|
497
|
-
|
|
498
|
+
const animatedStyle = useAnimatedStyle2(function chunkKQW25RCCJs5Factory({
|
|
499
|
+
_worklet_10889259605894_init_data,
|
|
498
500
|
shown,
|
|
499
501
|
opacity
|
|
500
502
|
}) {
|
|
501
503
|
const _e = [new global.Error(), -3, -27];
|
|
502
|
-
const
|
|
504
|
+
const chunkKQW25RCCJs5 = function () {
|
|
503
505
|
return {
|
|
504
506
|
opacity: shown.value * opacity
|
|
505
507
|
};
|
|
506
508
|
};
|
|
507
|
-
|
|
509
|
+
chunkKQW25RCCJs5.__closure = {
|
|
508
510
|
shown,
|
|
509
511
|
opacity
|
|
510
512
|
};
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
return
|
|
513
|
+
chunkKQW25RCCJs5.__workletHash = 10889259605894;
|
|
514
|
+
chunkKQW25RCCJs5.__pluginVersion = "0.7.4";
|
|
515
|
+
chunkKQW25RCCJs5.__initData = _worklet_10889259605894_init_data;
|
|
516
|
+
chunkKQW25RCCJs5.__stackDetails = _e;
|
|
517
|
+
return chunkKQW25RCCJs5;
|
|
516
518
|
}({
|
|
517
|
-
|
|
519
|
+
_worklet_10889259605894_init_data,
|
|
518
520
|
shown,
|
|
519
521
|
opacity
|
|
520
522
|
}), [shown, opacity]);
|
|
@@ -581,10 +583,10 @@ function PressableFeedbackRipple({
|
|
|
581
583
|
}
|
|
582
584
|
PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
|
|
583
585
|
markOverlay(PressableFeedbackRipple);
|
|
584
|
-
const
|
|
585
|
-
code: "function
|
|
586
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
587
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
586
|
+
const _worklet_3822525939849_init_data = {
|
|
587
|
+
code: "function chunkKQW25RCCJs6(){const{wave,RIPPLE_START_SCALE,center,opacity,radius}=this.__closure;const t=wave.expand.value;const from=wave.origin.value;const scale=RIPPLE_START_SCALE+(1-RIPPLE_START_SCALE)*t;const x=from.x+(center.x-from.x)*t;const y=from.y+(center.y-from.y)*t;return{opacity:wave.alpha.value*opacity,transform:[{translateX:x-radius},{translateY:y-radius},{scale:scale}]};}",
|
|
588
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js",
|
|
589
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkKQW25RCCJs6\",\"wave\",\"RIPPLE_START_SCALE\",\"center\",\"opacity\",\"radius\",\"__closure\",\"t\",\"expand\",\"value\",\"from\",\"origin\",\"scale\",\"x\",\"y\",\"alpha\",\"transform\",\"translateX\",\"translateY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-KQW25RCC.js\"],\"mappings\":\"AAwa0C,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,KAAM,CAAAC,CAAC,CAAGN,IAAI,CAACO,MAAM,CAACC,KAAK,CAC3B,KAAM,CAAAC,IAAI,CAAGT,IAAI,CAACU,MAAM,CAACF,KAAK,CAC9B,KAAM,CAAAG,KAAK,CAAGV,kBAAkB,CAAG,CAAC,CAAC,CAAGA,kBAAkB,EAAIK,CAAC,CAC/D,KAAM,CAAAM,CAAC,CAAGH,IAAI,CAACG,CAAC,CAAG,CAACV,MAAM,CAACU,CAAC,CAAGH,IAAI,CAACG,CAAC,EAAIN,CAAC,CAC1C,KAAM,CAAAO,CAAC,CAAGJ,IAAI,CAACI,CAAC,CAAG,CAACX,MAAM,CAACW,CAAC,CAAGJ,IAAI,CAACI,CAAC,EAAIP,CAAC,CAC1C,MAAO,CAELH,OAAO,CAAEH,IAAI,CAACc,KAAK,CAACN,KAAK,CAAGL,OAAO,CACnCY,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEJ,CAAC,CAAGR,MAAO,CAAC,CAAE,CAAEa,UAAU,CAAEJ,CAAC,CAAGT,MAAO,CAAC,CAAE,CAAEO,KAAA,CAAAA,KAAM,CAAC,CAC/E,CAAC,CACH\",\"ignoreList\":[]}"
|
|
588
590
|
};
|
|
589
591
|
function RippleWave({
|
|
590
592
|
wave,
|
|
@@ -594,8 +596,8 @@ function RippleWave({
|
|
|
594
596
|
opacity,
|
|
595
597
|
style
|
|
596
598
|
}) {
|
|
597
|
-
const animatedStyle = useAnimatedStyle3(function
|
|
598
|
-
|
|
599
|
+
const animatedStyle = useAnimatedStyle3(function chunkKQW25RCCJs6Factory({
|
|
600
|
+
_worklet_3822525939849_init_data,
|
|
599
601
|
wave,
|
|
600
602
|
RIPPLE_START_SCALE,
|
|
601
603
|
center,
|
|
@@ -603,7 +605,7 @@ function RippleWave({
|
|
|
603
605
|
radius
|
|
604
606
|
}) {
|
|
605
607
|
const _e = [new global.Error(), -6, -27];
|
|
606
|
-
const
|
|
608
|
+
const chunkKQW25RCCJs6 = function () {
|
|
607
609
|
const t = wave.expand.value;
|
|
608
610
|
const from = wave.origin.value;
|
|
609
611
|
const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
|
|
@@ -621,20 +623,20 @@ function RippleWave({
|
|
|
621
623
|
}]
|
|
622
624
|
};
|
|
623
625
|
};
|
|
624
|
-
|
|
626
|
+
chunkKQW25RCCJs6.__closure = {
|
|
625
627
|
wave,
|
|
626
628
|
RIPPLE_START_SCALE,
|
|
627
629
|
center,
|
|
628
630
|
opacity,
|
|
629
631
|
radius
|
|
630
632
|
};
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
return
|
|
633
|
+
chunkKQW25RCCJs6.__workletHash = 3822525939849;
|
|
634
|
+
chunkKQW25RCCJs6.__pluginVersion = "0.7.4";
|
|
635
|
+
chunkKQW25RCCJs6.__initData = _worklet_3822525939849_init_data;
|
|
636
|
+
chunkKQW25RCCJs6.__stackDetails = _e;
|
|
637
|
+
return chunkKQW25RCCJs6;
|
|
636
638
|
}({
|
|
637
|
-
|
|
639
|
+
_worklet_3822525939849_init_data,
|
|
638
640
|
wave,
|
|
639
641
|
RIPPLE_START_SCALE,
|
|
640
642
|
center,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk6ZWQDTGQcjs = require('./chunk-6ZWQDTGQ.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ var _chunkISHMSP6Pcjs = require('./chunk-ISHMSP6P.cjs');
|
|
|
19
19
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkHBYT7B47cjs = require('./chunk-HBYT7B47.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -70,7 +70,7 @@ var RangeCalendarDay = _react.forwardRef.call(void 0,
|
|
|
70
70
|
month,
|
|
71
71
|
locale,
|
|
72
72
|
isDayEnabled
|
|
73
|
-
} =
|
|
73
|
+
} = _chunk6ZWQDTGQcjs.useCalendar.call(void 0, );
|
|
74
74
|
const { bandStyle, bandStartStyle, bandEndStyle, positionOf, select } = useRangeCalendar();
|
|
75
75
|
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
76
76
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
|
|
@@ -91,7 +91,7 @@ var RangeCalendarDay = _react.forwardRef.call(void 0,
|
|
|
91
91
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
92
92
|
band === null ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { pointerEvents: "none", style: band }),
|
|
93
93
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
-
|
|
94
|
+
_chunkHBYT7B47cjs.PressableFeedback,
|
|
95
95
|
{
|
|
96
96
|
ref,
|
|
97
97
|
isPressed,
|
|
@@ -155,7 +155,7 @@ function fullDate(date, locale) {
|
|
|
155
155
|
|
|
156
156
|
var RangeCalendarGrid = _react.forwardRef.call(void 0,
|
|
157
157
|
function RangeCalendarGrid2({ children, ...props }, ref) {
|
|
158
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
158
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6ZWQDTGQcjs.Calendar.Grid, { ref, ...props, children: _nullishCoalesce(children, () => ( ((date) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarDay, { date })))) });
|
|
159
159
|
}
|
|
160
160
|
);
|
|
161
161
|
RangeCalendarGrid.displayName = "XAUI.RangeCalendar.Grid";
|
|
@@ -199,7 +199,7 @@ var VARIANT_TOKENS = {
|
|
|
199
199
|
};
|
|
200
200
|
function sizeAxis(size) {
|
|
201
201
|
return () => {
|
|
202
|
-
const height =
|
|
202
|
+
const height = _chunk6ZWQDTGQcjs.SIZES[size].cell;
|
|
203
203
|
return { band: { height }, bandStart: { height }, bandEnd: { height } };
|
|
204
204
|
};
|
|
205
205
|
}
|
|
@@ -284,18 +284,18 @@ var RangeCalendarRoot = _react.forwardRef.call(void 0,
|
|
|
284
284
|
}),
|
|
285
285
|
[styles, tint, value, positionOf, select]
|
|
286
286
|
);
|
|
287
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
287
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RangeCalendarProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6ZWQDTGQcjs.Calendar, { ref, defaultMonth: _nullishCoalesce(value.start, () => ( void 0)), ...props, children }) });
|
|
288
288
|
}
|
|
289
289
|
);
|
|
290
290
|
RangeCalendarRoot.displayName = "XAUI.RangeCalendar.Root";
|
|
291
291
|
|
|
292
292
|
// src/components/range-calendar/index.ts
|
|
293
293
|
var RangeCalendar2 = Object.assign(RangeCalendarRoot, {
|
|
294
|
-
Header:
|
|
295
|
-
Title:
|
|
296
|
-
PreviousButton:
|
|
297
|
-
NextButton:
|
|
298
|
-
Weekdays:
|
|
294
|
+
Header: _chunk6ZWQDTGQcjs.CalendarHeader,
|
|
295
|
+
Title: _chunk6ZWQDTGQcjs.CalendarTitle,
|
|
296
|
+
PreviousButton: _chunk6ZWQDTGQcjs.CalendarPreviousButton,
|
|
297
|
+
NextButton: _chunk6ZWQDTGQcjs.CalendarNextButton,
|
|
298
|
+
Weekdays: _chunk6ZWQDTGQcjs.CalendarWeekdays,
|
|
299
299
|
Grid: RangeCalendarGrid,
|
|
300
300
|
Day: RangeCalendarDay
|
|
301
301
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { carouselMetrics, indexFromOffset, progressFromOffset, stepIndex } from "./chunk-3A5RK2R7.js";
|
|
2
2
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
3
3
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
4
|
-
import { PressableFeedback } from "./chunk-
|
|
4
|
+
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
5
5
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
6
6
|
import { createRecipe, radiusAxis } from "./chunk-DKVXTMIJ.js";
|
|
7
7
|
import { Slot, createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
@@ -18,10 +18,10 @@ var [CarouselProvider, useCarousel] = createSlotContext("Carousel");
|
|
|
18
18
|
|
|
19
19
|
// src/components/carousel/carousel-content.tsx
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
21
|
-
const
|
|
22
|
-
code: "function
|
|
23
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
24
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
21
|
+
const _worklet_15428350825639_init_data = {
|
|
22
|
+
code: "function chunkLSZW4G7BJs1(event){const{offset,indexFromOffset,step,count,settled,runOnJS,onSettle}=this.__closure;offset.set(event.contentOffset.x);const next=indexFromOffset(event.contentOffset.x,step,count);if(next!==settled.get()){settled.set(next);runOnJS(onSettle)(next);}}",
|
|
23
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LSZW4G7B.js",
|
|
24
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLSZW4G7BJs1\",\"event\",\"offset\",\"indexFromOffset\",\"step\",\"count\",\"settled\",\"runOnJS\",\"onSettle\",\"__closure\",\"set\",\"contentOffset\",\"x\",\"next\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LSZW4G7B.js\"],\"mappings\":\"AA6EO,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,MAAA,CAAAC,eAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,OAAA,CAAAC,OAAA,CAAAC,QAAA,OAAAC,SAAA,CAETP,MAAM,CAACQ,GAAG,CAACT,KAAK,CAACU,aAAa,CAACC,CAAC,CAAC,CACjC,KAAM,CAAAC,IAAI,CAAGV,eAAe,CAACF,KAAK,CAACU,aAAa,CAACC,CAAC,CAAER,IAAI,CAAEC,KAAK,CAAC,CAChE,GAAIQ,IAAI,GAAKP,OAAO,CAACQ,GAAG,CAAC,CAAC,CAAE,CAC1BR,OAAO,CAACI,GAAG,CAACG,IAAI,CAAC,CACjBN,OAAO,CAACC,QAAQ,CAAC,CAACK,IAAI,CAAC,CACzB,CACF\",\"ignoreList\":[]}"
|
|
25
25
|
};
|
|
26
26
|
var CarouselContent = forwardRef(function CarouselContent2({
|
|
27
27
|
children,
|
|
@@ -56,8 +56,8 @@ var CarouselContent = forwardRef(function CarouselContent2({
|
|
|
56
56
|
const {
|
|
57
57
|
step
|
|
58
58
|
} = metrics;
|
|
59
|
-
const scroll = useAnimatedScrollHandler(function
|
|
60
|
-
|
|
59
|
+
const scroll = useAnimatedScrollHandler(function chunkLSZW4G7BJs1Factory({
|
|
60
|
+
_worklet_15428350825639_init_data,
|
|
61
61
|
offset,
|
|
62
62
|
indexFromOffset,
|
|
63
63
|
step,
|
|
@@ -67,7 +67,7 @@ var CarouselContent = forwardRef(function CarouselContent2({
|
|
|
67
67
|
onSettle
|
|
68
68
|
}) {
|
|
69
69
|
const _e = [new global.Error(), -8, -27];
|
|
70
|
-
const
|
|
70
|
+
const chunkLSZW4G7BJs1 = function (event) {
|
|
71
71
|
offset.set(event.contentOffset.x);
|
|
72
72
|
const next = indexFromOffset(event.contentOffset.x, step, count);
|
|
73
73
|
if (next !== settled.get()) {
|
|
@@ -75,7 +75,7 @@ var CarouselContent = forwardRef(function CarouselContent2({
|
|
|
75
75
|
runOnJS(onSettle)(next);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
chunkLSZW4G7BJs1.__closure = {
|
|
79
79
|
offset,
|
|
80
80
|
indexFromOffset,
|
|
81
81
|
step,
|
|
@@ -84,13 +84,13 @@ var CarouselContent = forwardRef(function CarouselContent2({
|
|
|
84
84
|
runOnJS,
|
|
85
85
|
onSettle
|
|
86
86
|
};
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
return
|
|
87
|
+
chunkLSZW4G7BJs1.__workletHash = 15428350825639;
|
|
88
|
+
chunkLSZW4G7BJs1.__pluginVersion = "0.7.4";
|
|
89
|
+
chunkLSZW4G7BJs1.__initData = _worklet_15428350825639_init_data;
|
|
90
|
+
chunkLSZW4G7BJs1.__stackDetails = _e;
|
|
91
|
+
return chunkLSZW4G7BJs1;
|
|
92
92
|
}({
|
|
93
|
-
|
|
93
|
+
_worklet_15428350825639_init_data,
|
|
94
94
|
offset,
|
|
95
95
|
indexFromOffset,
|
|
96
96
|
step,
|
|
@@ -98,7 +98,7 @@ var CarouselContent = forwardRef(function CarouselContent2({
|
|
|
98
98
|
settled,
|
|
99
99
|
runOnJS,
|
|
100
100
|
onSettle
|
|
101
|
-
}));
|
|
101
|
+
}), [offset, settled, step, count, onSettle]);
|
|
102
102
|
return /* @__PURE__ */jsx(Animated.ScrollView, {
|
|
103
103
|
ref: track,
|
|
104
104
|
horizontal: true,
|
|
@@ -179,10 +179,10 @@ var CarouselIndicator = forwardRef3(function CarouselIndicator2({
|
|
|
179
179
|
});
|
|
180
180
|
});
|
|
181
181
|
CarouselIndicator.displayName = "XAUI.Carousel.Indicator";
|
|
182
|
-
const
|
|
183
|
-
code: "function
|
|
184
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
185
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
182
|
+
const _worklet_9768085004625_init_data = {
|
|
183
|
+
code: "function chunkLSZW4G7BJs2(){const{progressFromOffset,offset,step,count,index,width,pill,interpolateColor,restColor,active}=this.__closure;const distance=Math.abs(progressFromOffset(offset.get(),step,count)-index);const nearness=Math.max(0,1-distance);return{width:width+(pill-width)*nearness,backgroundColor:interpolateColor(nearness,[0,1],[restColor,active])};}",
|
|
184
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LSZW4G7B.js",
|
|
185
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLSZW4G7BJs2\",\"progressFromOffset\",\"offset\",\"step\",\"count\",\"index\",\"width\",\"pill\",\"interpolateColor\",\"restColor\",\"active\",\"__closure\",\"distance\",\"Math\",\"abs\",\"get\",\"nearness\",\"max\",\"backgroundColor\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LSZW4G7B.js\"],\"mappings\":\"AAmKgC,SAAAA,gBAAMA,CAAA,QAAAC,kBAAA,CAAAC,MAAA,CAAAC,IAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,KAAA,CAAAC,IAAA,CAAAC,gBAAA,CAAAC,SAAA,CAAAC,MAAA,OAAAC,SAAA,CAElC,KAAM,CAAAC,QAAQ,CAAGC,IAAI,CAACC,GAAG,CAACb,kBAAkB,CAACC,MAAM,CAACa,GAAG,CAAC,CAAC,CAAEZ,IAAI,CAAEC,KAAK,CAAC,CAAGC,KAAK,CAAC,CAChF,KAAM,CAAAW,QAAQ,CAAGH,IAAI,CAACI,GAAG,CAAC,CAAC,CAAE,CAAC,CAAGL,QAAQ,CAAC,CAC1C,MAAO,CACLN,KAAK,CAAEA,KAAK,CAAG,CAACC,IAAI,CAAGD,KAAK,EAAIU,QAAQ,CACxCE,eAAe,CAAEV,gBAAgB,CAACQ,QAAQ,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACP,SAAS,CAAEC,MAAM,CAAC,CACzE,CAAC,CACH\",\"ignoreList\":[]}"
|
|
186
186
|
};
|
|
187
187
|
var CarouselDot = forwardRef3(function CarouselDot2({
|
|
188
188
|
index,
|
|
@@ -211,8 +211,8 @@ var CarouselDot = forwardRef3(function CarouselDot2({
|
|
|
211
211
|
width,
|
|
212
212
|
pill
|
|
213
213
|
} = dotInk;
|
|
214
|
-
const grow = useAnimatedStyle(function
|
|
215
|
-
|
|
214
|
+
const grow = useAnimatedStyle(function chunkLSZW4G7BJs2Factory({
|
|
215
|
+
_worklet_9768085004625_init_data,
|
|
216
216
|
progressFromOffset,
|
|
217
217
|
offset,
|
|
218
218
|
step,
|
|
@@ -225,7 +225,7 @@ var CarouselDot = forwardRef3(function CarouselDot2({
|
|
|
225
225
|
active
|
|
226
226
|
}) {
|
|
227
227
|
const _e = [new global.Error(), -11, -27];
|
|
228
|
-
const
|
|
228
|
+
const chunkLSZW4G7BJs2 = function () {
|
|
229
229
|
const distance = Math.abs(progressFromOffset(offset.get(), step, count) - index);
|
|
230
230
|
const nearness = Math.max(0, 1 - distance);
|
|
231
231
|
return {
|
|
@@ -233,7 +233,7 @@ var CarouselDot = forwardRef3(function CarouselDot2({
|
|
|
233
233
|
backgroundColor: interpolateColor(nearness, [0, 1], [restColor, active])
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
|
-
|
|
236
|
+
chunkLSZW4G7BJs2.__closure = {
|
|
237
237
|
progressFromOffset,
|
|
238
238
|
offset,
|
|
239
239
|
step,
|
|
@@ -245,13 +245,13 @@ var CarouselDot = forwardRef3(function CarouselDot2({
|
|
|
245
245
|
restColor,
|
|
246
246
|
active
|
|
247
247
|
};
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return
|
|
248
|
+
chunkLSZW4G7BJs2.__workletHash = 9768085004625;
|
|
249
|
+
chunkLSZW4G7BJs2.__pluginVersion = "0.7.4";
|
|
250
|
+
chunkLSZW4G7BJs2.__initData = _worklet_9768085004625_init_data;
|
|
251
|
+
chunkLSZW4G7BJs2.__stackDetails = _e;
|
|
252
|
+
return chunkLSZW4G7BJs2;
|
|
253
253
|
}({
|
|
254
|
-
|
|
254
|
+
_worklet_9768085004625_init_data,
|
|
255
255
|
progressFromOffset,
|
|
256
256
|
offset,
|
|
257
257
|
step,
|
|
@@ -262,7 +262,7 @@ var CarouselDot = forwardRef3(function CarouselDot2({
|
|
|
262
262
|
interpolateColor,
|
|
263
263
|
restColor,
|
|
264
264
|
active
|
|
265
|
-
}));
|
|
265
|
+
}), [offset, step, count, index, width, pill, restColor, active]);
|
|
266
266
|
return /* @__PURE__ */jsx3(AnimatedPressable, {
|
|
267
267
|
ref,
|
|
268
268
|
accessibilityRole: "button",
|