@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
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
function _interopRequireDefault(obj) {
|
|
7
|
+
return obj && obj.__esModule ? obj : {
|
|
8
|
+
default: obj
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function _optionalChain(ops) {
|
|
12
|
+
let lastAccessLHS = undefined;
|
|
13
|
+
let value = ops[0];
|
|
14
|
+
let i = 1;
|
|
15
|
+
while (i < ops.length) {
|
|
16
|
+
const op = ops[i];
|
|
17
|
+
const fn = ops[i + 1];
|
|
18
|
+
i += 2;
|
|
19
|
+
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (op === 'access' || op === 'optionalAccess') {
|
|
23
|
+
lastAccessLHS = value;
|
|
24
|
+
value = fn(value);
|
|
25
|
+
} else if (op === 'call' || op === 'optionalCall') {
|
|
26
|
+
value = fn((...args) => value.call(lastAccessLHS, ...args));
|
|
27
|
+
lastAccessLHS = undefined;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
var _chunkMNBEUNC5cjs = require('./chunk-MNBEUNC5.cjs');
|
|
33
|
+
var _chunkEKS3W46Mcjs = require('./chunk-EKS3W46M.cjs');
|
|
34
|
+
var _chunkWFEMJCXOcjs = require('./chunk-WFEMJCXO.cjs');
|
|
35
|
+
var _chunkGSZDN6EZcjs = require('./chunk-GSZDN6EZ.cjs');
|
|
36
|
+
var _chunkCDRGTUYFcjs = require('./chunk-CDRGTUYF.cjs');
|
|
37
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
38
|
+
|
|
39
|
+
// src/components/combobox/combobox-indicator.tsx
|
|
40
|
+
var _react = require('react');
|
|
41
|
+
var _reactnative = require('react-native');
|
|
42
|
+
var _reactnativereanimated = require('react-native-reanimated');
|
|
43
|
+
var _reactnativereanimated2 = _interopRequireDefault(_reactnativereanimated);
|
|
44
|
+
var _jsxruntime = require('react/jsx-runtime');
|
|
45
|
+
var HIT_SLOP = 8;
|
|
46
|
+
const _worklet_4915822089874_init_data = {
|
|
47
|
+
code: "function chunk2TLPFGGRCjs1(){const{_reactnativereanimated,progress,_chunkEKS3W46Mcjs}=this.__closure;return{transform:[{rotate:_reactnativereanimated.interpolate.call(void 0,progress.get(),[0,1],[_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0],_chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
48
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2TLPFGGR.cjs",
|
|
49
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2TLPFGGRCjs1\",\"_reactnativereanimated\",\"progress\",\"_chunkEKS3W46Mcjs\",\"__closure\",\"transform\",\"rotate\",\"interpolate\",\"call\",\"get\",\"INDICATOR_ROTATION\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2TLPFGGR.cjs\"],\"mappings\":\"AA8CwE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,iBAAA,OAAAC,SAAA,CAE1E,MAAO,CACLC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,sBAAsB,CAACM,WAAW,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEN,QAAQ,CAACO,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACN,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAEP,iBAAiB,CAACO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MACxK,CAAC,CAEL,CAAC,CACH\",\"ignoreList\":[]}"
|
|
50
|
+
};
|
|
51
|
+
function ComboboxIndicator(props) {
|
|
52
|
+
const {
|
|
53
|
+
as = _chunkGSZDN6EZcjs.ChevronDownIcon,
|
|
54
|
+
accessibilityLabel
|
|
55
|
+
} = props;
|
|
56
|
+
const {
|
|
57
|
+
indicatorStyle,
|
|
58
|
+
isOpen,
|
|
59
|
+
isDisabled,
|
|
60
|
+
toggle
|
|
61
|
+
} = _chunkMNBEUNC5cjs.useAutocomplete.call(void 0);
|
|
62
|
+
const progress = _reactnativereanimated.useSharedValue.call(void 0, isOpen ? 1 : 0);
|
|
63
|
+
_react.useEffect.call(void 0, () => {
|
|
64
|
+
progress.set(_reactnativereanimated.withSpring.call(void 0, isOpen ? 1 : 0, _chunkEKS3W46Mcjs.INDICATOR_SPRING));
|
|
65
|
+
}, [isOpen, progress]);
|
|
66
|
+
const rotation = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2TLPFGGRCjs1Factory({
|
|
67
|
+
_worklet_4915822089874_init_data,
|
|
68
|
+
_reactnativereanimated,
|
|
69
|
+
progress,
|
|
70
|
+
_chunkEKS3W46Mcjs
|
|
71
|
+
}) {
|
|
72
|
+
const _e = [new global.Error(), -4, -27];
|
|
73
|
+
const chunk2TLPFGGRCjs1 = function () {
|
|
74
|
+
return {
|
|
75
|
+
transform: [{
|
|
76
|
+
rotate: `${_reactnativereanimated.interpolate.call(void 0, progress.get(), [0, 1], [_chunkEKS3W46Mcjs.INDICATOR_ROTATION[0], _chunkEKS3W46Mcjs.INDICATOR_ROTATION[1]])}deg`
|
|
77
|
+
}]
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
chunk2TLPFGGRCjs1.__closure = {
|
|
81
|
+
_reactnativereanimated,
|
|
82
|
+
progress,
|
|
83
|
+
_chunkEKS3W46Mcjs
|
|
84
|
+
};
|
|
85
|
+
chunk2TLPFGGRCjs1.__workletHash = 4915822089874;
|
|
86
|
+
chunk2TLPFGGRCjs1.__pluginVersion = "0.7.4";
|
|
87
|
+
chunk2TLPFGGRCjs1.__initData = _worklet_4915822089874_init_data;
|
|
88
|
+
chunk2TLPFGGRCjs1.__stackDetails = _e;
|
|
89
|
+
return chunk2TLPFGGRCjs1;
|
|
90
|
+
}({
|
|
91
|
+
_worklet_4915822089874_init_data,
|
|
92
|
+
_reactnativereanimated,
|
|
93
|
+
progress,
|
|
94
|
+
_chunkEKS3W46Mcjs
|
|
95
|
+
}), [progress]);
|
|
96
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Pressable, {
|
|
97
|
+
accessibilityRole: "button",
|
|
98
|
+
accessibilityLabel,
|
|
99
|
+
accessibilityState: {
|
|
100
|
+
disabled: isDisabled,
|
|
101
|
+
expanded: isOpen
|
|
102
|
+
},
|
|
103
|
+
disabled: isDisabled,
|
|
104
|
+
hitSlop: HIT_SLOP,
|
|
105
|
+
onPress: toggle,
|
|
106
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
|
|
107
|
+
style: [indicatorStyle, rotation],
|
|
108
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.Icon, {
|
|
109
|
+
as
|
|
110
|
+
})
|
|
111
|
+
})
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
ComboboxIndicator.displayName = "XAUI.Combobox.Indicator";
|
|
115
|
+
|
|
116
|
+
// src/components/combobox/combobox-input.tsx
|
|
117
|
+
|
|
118
|
+
var sheet = _reactnative.StyleSheet.create({
|
|
119
|
+
input: {
|
|
120
|
+
flex: 1
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
var ComboboxInput = _react.forwardRef.call(void 0, function ComboboxInput2({
|
|
124
|
+
opensOnChange = true,
|
|
125
|
+
opensOnFocus = true,
|
|
126
|
+
style,
|
|
127
|
+
onFocus,
|
|
128
|
+
onChangeText,
|
|
129
|
+
...props
|
|
130
|
+
}, ref) {
|
|
131
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
132
|
+
const {
|
|
133
|
+
valueStyle,
|
|
134
|
+
placeholderColor,
|
|
135
|
+
value,
|
|
136
|
+
query,
|
|
137
|
+
setQuery,
|
|
138
|
+
isOpen,
|
|
139
|
+
isDisabled,
|
|
140
|
+
open,
|
|
141
|
+
labelFor
|
|
142
|
+
} = _chunkMNBEUNC5cjs.useAutocomplete.call(void 0);
|
|
143
|
+
const handleChangeText = _react.useCallback.call(void 0, next => {
|
|
144
|
+
setQuery(next);
|
|
145
|
+
_optionalChain([onChangeText, 'optionalCall', _ => _(next)]);
|
|
146
|
+
if (opensOnChange && !isOpen) open();
|
|
147
|
+
}, [isOpen, onChangeText, open, opensOnChange, setQuery]);
|
|
148
|
+
const handleFocus = _react.useCallback.call(void 0, event => {
|
|
149
|
+
_optionalChain([onFocus, 'optionalCall', _2 => _2(event)]);
|
|
150
|
+
if (opensOnFocus) open();
|
|
151
|
+
}, [onFocus, open, opensOnFocus]);
|
|
152
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.TextInput, {
|
|
153
|
+
ref,
|
|
154
|
+
value: isOpen ? query : value !== void 0 && labelFor(value) || "",
|
|
155
|
+
onChangeText: handleChangeText,
|
|
156
|
+
onFocus: handleFocus,
|
|
157
|
+
editable: !isDisabled,
|
|
158
|
+
autoCorrect: false,
|
|
159
|
+
autoCapitalize: "none",
|
|
160
|
+
placeholderTextColor: placeholderColor,
|
|
161
|
+
...rest,
|
|
162
|
+
style: [valueStyle, sheet.input, styleProps, style]
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
ComboboxInput.displayName = "XAUI.Combobox.Input";
|
|
166
|
+
|
|
167
|
+
// src/components/combobox/combobox.tsx
|
|
168
|
+
|
|
169
|
+
function ComboboxRoot(props) {
|
|
170
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkMNBEUNC5cjs.Autocomplete, {
|
|
171
|
+
...props
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
ComboboxRoot.displayName = "XAUI.Combobox.Root";
|
|
175
|
+
|
|
176
|
+
// src/components/combobox/combobox-trigger.tsx
|
|
177
|
+
|
|
178
|
+
var ComboboxTrigger = _react.forwardRef.call(void 0, function ComboboxTrigger2({
|
|
179
|
+
children,
|
|
180
|
+
asChild = false,
|
|
181
|
+
accessibilityRole = "combobox",
|
|
182
|
+
accessibilityState,
|
|
183
|
+
style,
|
|
184
|
+
onLayout,
|
|
185
|
+
...props
|
|
186
|
+
}, ref) {
|
|
187
|
+
const {
|
|
188
|
+
triggerStyle,
|
|
189
|
+
glyph,
|
|
190
|
+
isOpen,
|
|
191
|
+
isDisabled,
|
|
192
|
+
isInvalid,
|
|
193
|
+
setAnchor
|
|
194
|
+
} = _chunkMNBEUNC5cjs.useAutocomplete.call(void 0);
|
|
195
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
196
|
+
const node = _react.useRef.call(void 0, null);
|
|
197
|
+
const refs = _chunkWFEMJCXOcjs.useMergedRef.call(void 0, node, ref);
|
|
198
|
+
const measure = _react.useCallback.call(void 0, () => {
|
|
199
|
+
_optionalChain([node, 'access', _3 => _3.current, 'optionalAccess', _4 => _4.measureInWindow, 'call', _5 => _5((x, y, width, height) => {
|
|
200
|
+
setAnchor({
|
|
201
|
+
x,
|
|
202
|
+
y,
|
|
203
|
+
width,
|
|
204
|
+
height
|
|
205
|
+
});
|
|
206
|
+
})]);
|
|
207
|
+
}, [setAnchor]);
|
|
208
|
+
const handleLayout = _react.useCallback.call(void 0, event => {
|
|
209
|
+
_optionalChain([onLayout, 'optionalCall', _6 => _6(event)]);
|
|
210
|
+
measure();
|
|
211
|
+
}, [measure, onLayout]);
|
|
212
|
+
_react.useEffect.call(void 0, () => {
|
|
213
|
+
if (isOpen) measure();
|
|
214
|
+
}, [isOpen, measure]);
|
|
215
|
+
const Root = asChild ? _chunkCDRGTUYFcjs.Slot : _reactnative.View;
|
|
216
|
+
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkGSZDN6EZcjs.IconContext.Provider, {
|
|
217
|
+
value: glyph,
|
|
218
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
|
|
219
|
+
ref: refs,
|
|
220
|
+
accessibilityRole,
|
|
221
|
+
accessibilityState: {
|
|
222
|
+
disabled: isDisabled,
|
|
223
|
+
expanded: isOpen,
|
|
224
|
+
...accessibilityState
|
|
225
|
+
},
|
|
226
|
+
"aria-invalid": isInvalid || void 0,
|
|
227
|
+
...rest,
|
|
228
|
+
onLayout: handleLayout,
|
|
229
|
+
style: [triggerStyle, styleProps, style],
|
|
230
|
+
children
|
|
231
|
+
})
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
ComboboxTrigger.displayName = "XAUI.Combobox.Trigger";
|
|
235
|
+
|
|
236
|
+
// src/components/combobox/index.ts
|
|
237
|
+
var Combobox = Object.assign(ComboboxRoot, {
|
|
238
|
+
Trigger: ComboboxTrigger,
|
|
239
|
+
Input: ComboboxInput,
|
|
240
|
+
Indicator: ComboboxIndicator,
|
|
241
|
+
Overlay: _chunkMNBEUNC5cjs.AutocompleteOverlay,
|
|
242
|
+
Content: _chunkMNBEUNC5cjs.AutocompleteContent,
|
|
243
|
+
Item: _chunkMNBEUNC5cjs.AutocompleteItem,
|
|
244
|
+
ItemLabel: _chunkMNBEUNC5cjs.AutocompleteItemLabel,
|
|
245
|
+
Empty: _chunkMNBEUNC5cjs.AutocompleteEmpty
|
|
246
|
+
});
|
|
247
|
+
exports.ComboboxIndicator = ComboboxIndicator;
|
|
248
|
+
exports.ComboboxInput = ComboboxInput;
|
|
249
|
+
exports.ComboboxRoot = ComboboxRoot;
|
|
250
|
+
exports.ComboboxTrigger = ComboboxTrigger;
|
|
251
|
+
exports.Combobox = Combobox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Portal } from "./chunk-2PMXMKS5.js";
|
|
2
|
-
import { PressableFeedback } from "./chunk-
|
|
2
|
+
import { PressableFeedback } from "./chunk-KQW25RCC.js";
|
|
3
3
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
4
4
|
import { createRecipe, radiusAxis } from "./chunk-DKVXTMIJ.js";
|
|
5
5
|
import { createSlotContext } from "./chunk-TTZOIXKE.js";
|
|
@@ -373,40 +373,40 @@ function ToastHost({
|
|
|
373
373
|
}) : null]
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
-
const
|
|
377
|
-
code: "function
|
|
378
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
379
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
376
|
+
const _worklet_4008079985109_init_data = {
|
|
377
|
+
code: "function chunk2XEQDQANJs1(){const{withTiming,translateY,STACK_TIMING}=this.__closure;return withTiming(translateY,STACK_TIMING);}",
|
|
378
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
379
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs1\",\"withTiming\",\"translateY\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AA0WI,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,UAAU,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
380
380
|
};
|
|
381
|
-
const
|
|
382
|
-
code: "function
|
|
383
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
384
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
381
|
+
const _worklet_11014424598966_init_data = {
|
|
382
|
+
code: "function chunk2XEQDQANJs2(){const{withTiming,scale,STACK_TIMING}=this.__closure;return withTiming(scale,STACK_TIMING);}",
|
|
383
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
384
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs2\",\"withTiming\",\"scale\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AA6WqC,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,KAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,KAAK,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
385
385
|
};
|
|
386
|
-
const
|
|
387
|
-
code: "function
|
|
388
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
389
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
386
|
+
const _worklet_5764349552727_init_data = {
|
|
387
|
+
code: "function chunk2XEQDQANJs3(){const{withTiming,opacity,STACK_TIMING}=this.__closure;return withTiming(opacity,STACK_TIMING);}",
|
|
388
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
389
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs3\",\"withTiming\",\"opacity\",\"STACK_TIMING\",\"__closure\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AA8W+B,SAAAA,iBAAA,QAAAC,UAAA,CAAAC,OAAA,CAAAC,YAAA,OAAAC,SAAA,OAAM,CAAAH,UAAW,CAAAC,OAAO,CAAEC,YAAY\",\"ignoreList\":[]}"
|
|
390
390
|
};
|
|
391
|
-
const
|
|
392
|
-
code: "function
|
|
393
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
394
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
391
|
+
const _worklet_10572629304360_init_data = {
|
|
392
|
+
code: "function chunk2XEQDQANJs4(event){const{press,away,SWIPE_DISTANCE,SWIPE_VELOCITY,drag,withSpring,withDecay,SWIPE_DECAY,runOnJS,hideAfterThrow}=this.__closure;press.set(1);const towardExit=event.translationY*away>0;const farEnough=Math.abs(event.translationY)>SWIPE_DISTANCE;const fastEnough=Math.abs(event.velocityY)>SWIPE_VELOCITY;if(!towardExit||!(farEnough||fastEnough)){drag.set(withSpring(0));return;}drag.set(withDecay({velocity:event.velocityY*SWIPE_DECAY,clamp:away===1?[0,Number.POSITIVE_INFINITY]:[Number.NEGATIVE_INFINITY,0]}));runOnJS(hideAfterThrow)(event.velocityY);}",
|
|
393
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
394
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs4\",\"event\",\"press\",\"away\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"drag\",\"withSpring\",\"withDecay\",\"SWIPE_DECAY\",\"runOnJS\",\"hideAfterThrow\",\"__closure\",\"set\",\"towardExit\",\"translationY\",\"farEnough\",\"Math\",\"abs\",\"fastEnough\",\"velocityY\",\"velocity\",\"clamp\",\"Number\",\"POSITIVE_INFINITY\",\"NEGATIVE_INFINITY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AAwYiB,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,KAAA,CAAAC,IAAA,CAAAC,cAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,SAAA,CAAAC,WAAA,CAAAC,OAAA,CAAAC,cAAA,OAAAC,SAAA,CACvBV,KAAK,CAACW,GAAG,CAAC,CAAC,CAAC,CACZ,KAAM,CAAAC,UAAU,CAAGb,KAAK,CAACc,YAAY,CAAGZ,IAAI,CAAG,CAAC,CAChD,KAAM,CAAAa,SAAS,CAAGC,IAAI,CAACC,GAAG,CAACjB,KAAK,CAACc,YAAY,CAAC,CAAGX,cAAc,CAC/D,KAAM,CAAAe,UAAU,CAAGF,IAAI,CAACC,GAAG,CAACjB,KAAK,CAACmB,SAAS,CAAC,CAAGf,cAAc,CAC7D,GAAI,CAACS,UAAU,EAAI,EAAEE,SAAS,EAAIG,UAAU,CAAC,CAAE,CAC7Cb,IAAI,CAACO,GAAG,CAACN,UAAU,CAAC,CAAC,CAAC,CAAC,CACvB,OACF,CACAD,IAAI,CAACO,GAAG,CACNL,SAAS,CAAC,CACRa,QAAQ,CAAEpB,KAAK,CAACmB,SAAS,CAAGX,WAAW,CACvCa,KAAK,CAAEnB,IAAI,GAAK,CAAC,CAAG,CAAC,CAAC,CAAEoB,MAAM,CAACC,iBAAiB,CAAC,CAAG,CAACD,MAAM,CAACE,iBAAiB,CAAE,CAAC,CAClF,CAAC,CACH,CAAC,CACDf,OAAO,CAACC,cAAc,CAAC,CAACV,KAAK,CAACmB,SAAS,CAAC,CAC1C\",\"ignoreList\":[]}"
|
|
395
395
|
};
|
|
396
|
-
const
|
|
397
|
-
code: "function
|
|
398
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
399
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
396
|
+
const _worklet_16963753616582_init_data = {
|
|
397
|
+
code: "function chunk2XEQDQANJs5(event){const{away,drag,interpolate,screenHeight,DRAG_RUBBER,Extrapolation}=this.__closure;const towardExit=event.translationY*away;if(towardExit>0){drag.set(event.translationY);return;}const give=interpolate(Math.abs(event.translationY),[0,screenHeight],[0,DRAG_RUBBER],Extrapolation.CLAMP);drag.set(-give*away);}",
|
|
398
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
399
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs5\",\"event\",\"away\",\"drag\",\"interpolate\",\"screenHeight\",\"DRAG_RUBBER\",\"Extrapolation\",\"__closure\",\"towardExit\",\"translationY\",\"set\",\"give\",\"Math\",\"abs\",\"CLAMP\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AA2Xe,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,IAAA,CAAAC,WAAA,CAAAC,YAAA,CAAAC,WAAA,CAAAC,aAAA,OAAAC,SAAA,CACrB,KAAM,CAAAC,UAAU,CAAGR,KAAK,CAACS,YAAY,CAAGR,IAAI,CAC5C,GAAIO,UAAU,CAAG,CAAC,CAAE,CAClBN,IAAI,CAACQ,GAAG,CAACV,KAAK,CAACS,YAAY,CAAC,CAC5B,OACF,CACA,KAAM,CAAAE,IAAI,CAAGR,WAAW,CACtBS,IAAI,CAACC,GAAG,CAACb,KAAK,CAACS,YAAY,CAAC,CAC5B,CAAC,CAAC,CAAEL,YAAY,CAAC,CACjB,CAAC,CAAC,CAAEC,WAAW,CAAC,CAChBC,aAAa,CAACQ,KAChB,CAAC,CACDZ,IAAI,CAACQ,GAAG,CAAC,CAACC,IAAI,CAAGV,IAAI,CAAC,CACxB\",\"ignoreList\":[]}"
|
|
400
400
|
};
|
|
401
|
-
const
|
|
402
|
-
code: "function
|
|
403
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
404
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
401
|
+
const _worklet_16299337189268_init_data = {
|
|
402
|
+
code: "function chunk2XEQDQANJs6(){const{press,PRESS_SCALE}=this.__closure;press.set(PRESS_SCALE);}",
|
|
403
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
404
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs6\",\"press\",\"PRESS_SCALE\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AAyXwE,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,WAAA,OAAAC,SAAA,CAC1EF,KAAK,CAACG,GAAG,CAACF,WAAW,CAAC,CACxB\",\"ignoreList\":[]}"
|
|
405
405
|
};
|
|
406
|
-
const
|
|
407
|
-
code: "function
|
|
408
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
409
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
406
|
+
const _worklet_6560026856500_init_data = {
|
|
407
|
+
code: "function chunk2XEQDQANJs7(){const{fade,stackY,drag,stackScale,press}=this.__closure;return{opacity:fade.get(),transform:[{translateY:stackY.get()+drag.get()},{scale:stackScale.get()*press.get()}]};}",
|
|
408
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js",
|
|
409
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunk2XEQDQANJs7\",\"fade\",\"stackY\",\"drag\",\"stackScale\",\"press\",\"__closure\",\"opacity\",\"get\",\"transform\",\"translateY\",\"scale\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2XEQDQAN.js\"],\"mappings\":\"AAyZoC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,MAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,KAAA,OAAAC,SAAA,CAEtC,MAAO,CACLC,OAAO,CAAEN,IAAI,CAACO,GAAG,CAAC,CAAC,CACnBC,SAAS,CAAE,CACT,CAAEC,UAAU,CAAER,MAAM,CAACM,GAAG,CAAC,CAAC,CAAGL,IAAI,CAACK,GAAG,CAAC,CAAE,CAAC,CACzC,CAAEG,KAAK,CAAEP,UAAU,CAACI,GAAG,CAAC,CAAC,CAAGH,KAAK,CAACG,GAAG,CAAC,CAAE,CAAC,CAE7C,CAAC,CACH\",\"ignoreList\":[]}"
|
|
410
410
|
};
|
|
411
411
|
function ToastStackEntry({
|
|
412
412
|
children,
|
|
@@ -422,74 +422,74 @@ function ToastStackEntry({
|
|
|
422
422
|
scale,
|
|
423
423
|
opacity
|
|
424
424
|
} = toastStackStyle(depth, placement, maxVisible);
|
|
425
|
-
const stackY = useDerivedValue(function
|
|
426
|
-
|
|
425
|
+
const stackY = useDerivedValue(function chunk2XEQDQANJs1Factory({
|
|
426
|
+
_worklet_4008079985109_init_data,
|
|
427
427
|
withTiming,
|
|
428
428
|
translateY,
|
|
429
429
|
STACK_TIMING
|
|
430
430
|
}) {
|
|
431
431
|
const _e = [new global.Error(), -4, -27];
|
|
432
|
-
const
|
|
433
|
-
|
|
432
|
+
const chunk2XEQDQANJs1 = () => withTiming(translateY, STACK_TIMING);
|
|
433
|
+
chunk2XEQDQANJs1.__closure = {
|
|
434
434
|
withTiming,
|
|
435
435
|
translateY,
|
|
436
436
|
STACK_TIMING
|
|
437
437
|
};
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
return
|
|
438
|
+
chunk2XEQDQANJs1.__workletHash = 4008079985109;
|
|
439
|
+
chunk2XEQDQANJs1.__pluginVersion = "0.7.4";
|
|
440
|
+
chunk2XEQDQANJs1.__initData = _worklet_4008079985109_init_data;
|
|
441
|
+
chunk2XEQDQANJs1.__stackDetails = _e;
|
|
442
|
+
return chunk2XEQDQANJs1;
|
|
443
443
|
}({
|
|
444
|
-
|
|
444
|
+
_worklet_4008079985109_init_data,
|
|
445
445
|
withTiming,
|
|
446
446
|
translateY,
|
|
447
447
|
STACK_TIMING
|
|
448
448
|
}), [translateY]);
|
|
449
|
-
const stackScale = useDerivedValue(function
|
|
450
|
-
|
|
449
|
+
const stackScale = useDerivedValue(function chunk2XEQDQANJs2Factory({
|
|
450
|
+
_worklet_11014424598966_init_data,
|
|
451
451
|
withTiming,
|
|
452
452
|
scale,
|
|
453
453
|
STACK_TIMING
|
|
454
454
|
}) {
|
|
455
455
|
const _e = [new global.Error(), -4, -27];
|
|
456
|
-
const
|
|
457
|
-
|
|
456
|
+
const chunk2XEQDQANJs2 = () => withTiming(scale, STACK_TIMING);
|
|
457
|
+
chunk2XEQDQANJs2.__closure = {
|
|
458
458
|
withTiming,
|
|
459
459
|
scale,
|
|
460
460
|
STACK_TIMING
|
|
461
461
|
};
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
return
|
|
462
|
+
chunk2XEQDQANJs2.__workletHash = 11014424598966;
|
|
463
|
+
chunk2XEQDQANJs2.__pluginVersion = "0.7.4";
|
|
464
|
+
chunk2XEQDQANJs2.__initData = _worklet_11014424598966_init_data;
|
|
465
|
+
chunk2XEQDQANJs2.__stackDetails = _e;
|
|
466
|
+
return chunk2XEQDQANJs2;
|
|
467
467
|
}({
|
|
468
|
-
|
|
468
|
+
_worklet_11014424598966_init_data,
|
|
469
469
|
withTiming,
|
|
470
470
|
scale,
|
|
471
471
|
STACK_TIMING
|
|
472
472
|
}), [scale]);
|
|
473
|
-
const fade = useDerivedValue(function
|
|
474
|
-
|
|
473
|
+
const fade = useDerivedValue(function chunk2XEQDQANJs3Factory({
|
|
474
|
+
_worklet_5764349552727_init_data,
|
|
475
475
|
withTiming,
|
|
476
476
|
opacity,
|
|
477
477
|
STACK_TIMING
|
|
478
478
|
}) {
|
|
479
479
|
const _e = [new global.Error(), -4, -27];
|
|
480
|
-
const
|
|
481
|
-
|
|
480
|
+
const chunk2XEQDQANJs3 = () => withTiming(opacity, STACK_TIMING);
|
|
481
|
+
chunk2XEQDQANJs3.__closure = {
|
|
482
482
|
withTiming,
|
|
483
483
|
opacity,
|
|
484
484
|
STACK_TIMING
|
|
485
485
|
};
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
return
|
|
486
|
+
chunk2XEQDQANJs3.__workletHash = 5764349552727;
|
|
487
|
+
chunk2XEQDQANJs3.__pluginVersion = "0.7.4";
|
|
488
|
+
chunk2XEQDQANJs3.__initData = _worklet_5764349552727_init_data;
|
|
489
|
+
chunk2XEQDQANJs3.__stackDetails = _e;
|
|
490
|
+
return chunk2XEQDQANJs3;
|
|
491
491
|
}({
|
|
492
|
-
|
|
492
|
+
_worklet_5764349552727_init_data,
|
|
493
493
|
withTiming,
|
|
494
494
|
opacity,
|
|
495
495
|
STACK_TIMING
|
|
@@ -501,30 +501,30 @@ function ToastStackEntry({
|
|
|
501
501
|
const hideAfterThrow = useCallback2(velocity => {
|
|
502
502
|
setTimeout(onSwipe, Math.min(SWIPE_HIDE_MS, Math.abs(velocity)));
|
|
503
503
|
}, [onSwipe]);
|
|
504
|
-
const pan = Gesture.Pan().enabled(isSwipeable && depth === 0).onBegin(function
|
|
505
|
-
|
|
504
|
+
const pan = Gesture.Pan().enabled(isSwipeable && depth === 0).onBegin(function chunk2XEQDQANJs6Factory({
|
|
505
|
+
_worklet_16299337189268_init_data,
|
|
506
506
|
press,
|
|
507
507
|
PRESS_SCALE
|
|
508
508
|
}) {
|
|
509
509
|
const _e = [new global.Error(), -3, -27];
|
|
510
|
-
const
|
|
510
|
+
const chunk2XEQDQANJs6 = function () {
|
|
511
511
|
press.set(PRESS_SCALE);
|
|
512
512
|
};
|
|
513
|
-
|
|
513
|
+
chunk2XEQDQANJs6.__closure = {
|
|
514
514
|
press,
|
|
515
515
|
PRESS_SCALE
|
|
516
516
|
};
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
return
|
|
517
|
+
chunk2XEQDQANJs6.__workletHash = 16299337189268;
|
|
518
|
+
chunk2XEQDQANJs6.__pluginVersion = "0.7.4";
|
|
519
|
+
chunk2XEQDQANJs6.__initData = _worklet_16299337189268_init_data;
|
|
520
|
+
chunk2XEQDQANJs6.__stackDetails = _e;
|
|
521
|
+
return chunk2XEQDQANJs6;
|
|
522
522
|
}({
|
|
523
|
-
|
|
523
|
+
_worklet_16299337189268_init_data,
|
|
524
524
|
press,
|
|
525
525
|
PRESS_SCALE
|
|
526
|
-
})).onChange(function
|
|
527
|
-
|
|
526
|
+
})).onChange(function chunk2XEQDQANJs5Factory({
|
|
527
|
+
_worklet_16963753616582_init_data,
|
|
528
528
|
away,
|
|
529
529
|
drag,
|
|
530
530
|
interpolate,
|
|
@@ -533,7 +533,7 @@ function ToastStackEntry({
|
|
|
533
533
|
Extrapolation
|
|
534
534
|
}) {
|
|
535
535
|
const _e = [new global.Error(), -7, -27];
|
|
536
|
-
const
|
|
536
|
+
const chunk2XEQDQANJs5 = function (event) {
|
|
537
537
|
const towardExit = event.translationY * away;
|
|
538
538
|
if (towardExit > 0) {
|
|
539
539
|
drag.set(event.translationY);
|
|
@@ -542,7 +542,7 @@ function ToastStackEntry({
|
|
|
542
542
|
const give = interpolate(Math.abs(event.translationY), [0, screenHeight], [0, DRAG_RUBBER], Extrapolation.CLAMP);
|
|
543
543
|
drag.set(-give * away);
|
|
544
544
|
};
|
|
545
|
-
|
|
545
|
+
chunk2XEQDQANJs5.__closure = {
|
|
546
546
|
away,
|
|
547
547
|
drag,
|
|
548
548
|
interpolate,
|
|
@@ -550,21 +550,21 @@ function ToastStackEntry({
|
|
|
550
550
|
DRAG_RUBBER,
|
|
551
551
|
Extrapolation
|
|
552
552
|
};
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
return
|
|
553
|
+
chunk2XEQDQANJs5.__workletHash = 16963753616582;
|
|
554
|
+
chunk2XEQDQANJs5.__pluginVersion = "0.7.4";
|
|
555
|
+
chunk2XEQDQANJs5.__initData = _worklet_16963753616582_init_data;
|
|
556
|
+
chunk2XEQDQANJs5.__stackDetails = _e;
|
|
557
|
+
return chunk2XEQDQANJs5;
|
|
558
558
|
}({
|
|
559
|
-
|
|
559
|
+
_worklet_16963753616582_init_data,
|
|
560
560
|
away,
|
|
561
561
|
drag,
|
|
562
562
|
interpolate,
|
|
563
563
|
screenHeight,
|
|
564
564
|
DRAG_RUBBER,
|
|
565
565
|
Extrapolation
|
|
566
|
-
})).onFinalize(function
|
|
567
|
-
|
|
566
|
+
})).onFinalize(function chunk2XEQDQANJs4Factory({
|
|
567
|
+
_worklet_10572629304360_init_data,
|
|
568
568
|
press,
|
|
569
569
|
away,
|
|
570
570
|
SWIPE_DISTANCE,
|
|
@@ -577,7 +577,7 @@ function ToastStackEntry({
|
|
|
577
577
|
hideAfterThrow
|
|
578
578
|
}) {
|
|
579
579
|
const _e = [new global.Error(), -11, -27];
|
|
580
|
-
const
|
|
580
|
+
const chunk2XEQDQANJs4 = function (event) {
|
|
581
581
|
press.set(1);
|
|
582
582
|
const towardExit = event.translationY * away > 0;
|
|
583
583
|
const farEnough = Math.abs(event.translationY) > SWIPE_DISTANCE;
|
|
@@ -592,7 +592,7 @@ function ToastStackEntry({
|
|
|
592
592
|
}));
|
|
593
593
|
runOnJS(hideAfterThrow)(event.velocityY);
|
|
594
594
|
};
|
|
595
|
-
|
|
595
|
+
chunk2XEQDQANJs4.__closure = {
|
|
596
596
|
press,
|
|
597
597
|
away,
|
|
598
598
|
SWIPE_DISTANCE,
|
|
@@ -604,13 +604,13 @@ function ToastStackEntry({
|
|
|
604
604
|
runOnJS,
|
|
605
605
|
hideAfterThrow
|
|
606
606
|
};
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
return
|
|
607
|
+
chunk2XEQDQANJs4.__workletHash = 10572629304360;
|
|
608
|
+
chunk2XEQDQANJs4.__pluginVersion = "0.7.4";
|
|
609
|
+
chunk2XEQDQANJs4.__initData = _worklet_10572629304360_init_data;
|
|
610
|
+
chunk2XEQDQANJs4.__stackDetails = _e;
|
|
611
|
+
return chunk2XEQDQANJs4;
|
|
612
612
|
}({
|
|
613
|
-
|
|
613
|
+
_worklet_10572629304360_init_data,
|
|
614
614
|
press,
|
|
615
615
|
away,
|
|
616
616
|
SWIPE_DISTANCE,
|
|
@@ -622,8 +622,8 @@ function ToastStackEntry({
|
|
|
622
622
|
runOnJS,
|
|
623
623
|
hideAfterThrow
|
|
624
624
|
}));
|
|
625
|
-
const stacking = useAnimatedStyle(function
|
|
626
|
-
|
|
625
|
+
const stacking = useAnimatedStyle(function chunk2XEQDQANJs7Factory({
|
|
626
|
+
_worklet_6560026856500_init_data,
|
|
627
627
|
fade,
|
|
628
628
|
stackY,
|
|
629
629
|
drag,
|
|
@@ -631,34 +631,36 @@ function ToastStackEntry({
|
|
|
631
631
|
press
|
|
632
632
|
}) {
|
|
633
633
|
const _e = [new global.Error(), -6, -27];
|
|
634
|
-
const
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
634
|
+
const chunk2XEQDQANJs7 = function () {
|
|
635
|
+
return {
|
|
636
|
+
opacity: fade.get(),
|
|
637
|
+
transform: [{
|
|
638
|
+
translateY: stackY.get() + drag.get()
|
|
639
|
+
}, {
|
|
640
|
+
scale: stackScale.get() * press.get()
|
|
641
|
+
}]
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
chunk2XEQDQANJs7.__closure = {
|
|
643
645
|
fade,
|
|
644
646
|
stackY,
|
|
645
647
|
drag,
|
|
646
648
|
stackScale,
|
|
647
649
|
press
|
|
648
650
|
};
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
return
|
|
651
|
+
chunk2XEQDQANJs7.__workletHash = 6560026856500;
|
|
652
|
+
chunk2XEQDQANJs7.__pluginVersion = "0.7.4";
|
|
653
|
+
chunk2XEQDQANJs7.__initData = _worklet_6560026856500_init_data;
|
|
654
|
+
chunk2XEQDQANJs7.__stackDetails = _e;
|
|
655
|
+
return chunk2XEQDQANJs7;
|
|
654
656
|
}({
|
|
655
|
-
|
|
657
|
+
_worklet_6560026856500_init_data,
|
|
656
658
|
fade,
|
|
657
659
|
stackY,
|
|
658
660
|
drag,
|
|
659
661
|
stackScale,
|
|
660
662
|
press
|
|
661
|
-
}));
|
|
663
|
+
}), [fade, stackY, drag, stackScale, press]);
|
|
662
664
|
return /* @__PURE__ */jsx6(GestureDetector, {
|
|
663
665
|
gesture: pan,
|
|
664
666
|
children: /* @__PURE__ */jsx6(Animated.View, {
|