@xaui/native 0.9.1-beta.97 → 0.9.1-beta.99
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-XCEDD7PE.cjs → chunk-GEWYOB25.cjs} +34 -25
- package/dist/{chunk-EXONAJUX.js → chunk-IYUT2IKZ.js} +26 -17
- package/dist/{chunk-WH7MFY3H.cjs → chunk-JMHB7K53.cjs} +140 -29
- package/dist/{chunk-QT7KLGO3.js → chunk-V5FYHQKQ.js} +102 -87
- package/dist/{chunk-VQG7K5QE.js → chunk-XJEG4Q2R.js} +175 -61
- package/dist/{chunk-SIOSYITD.cjs → chunk-ZBFBF7S4.cjs} +60 -45
- package/dist/components/agenda-calendar/agenda-calendar-today-button.d.cts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar-today-button.d.ts +4 -0
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.cts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.recipe.d.ts +1 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.cts +4 -1
- package/dist/components/agenda-calendar/agenda-calendar.type.d.ts +4 -1
- package/dist/components/agenda-calendar/index.cjs +2 -2
- package/dist/components/agenda-calendar/index.js +1 -1
- package/dist/components/autocomplete/autocomplete-description.d.cts +14 -0
- package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
- package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
- package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
- package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
- package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
- package/dist/components/autocomplete/autocomplete.d.cts +50 -7
- package/dist/components/autocomplete/autocomplete.d.ts +50 -7
- package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
- package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
- package/dist/components/autocomplete/index.cjs +9 -2
- package/dist/components/autocomplete/index.d.cts +50 -3
- package/dist/components/autocomplete/index.d.ts +50 -3
- package/dist/components/autocomplete/index.js +8 -1
- package/dist/components/color-picker/index.cjs +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.type.d.cts +5 -1
- package/dist/components/combobox/combobox.type.d.ts +5 -1
- package/dist/components/combobox/index.cjs +4 -3
- package/dist/components/combobox/index.d.cts +15 -1
- package/dist/components/combobox/index.d.ts +15 -1
- package/dist/components/combobox/index.js +3 -2
- package/dist/components/date-picker/index.cjs +3 -3
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/mask-field/index.cjs +1 -1
- package/dist/components/mask-field/index.js +1 -1
- package/dist/components/phone-number-field/index.cjs +1 -1
- package/dist/components/phone-number-field/index.js +1 -1
- package/dist/components/search-field/index.cjs +3 -3
- package/dist/components/search-field/index.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/dist/{chunk-L6EWRWTE.js → chunk-ESP2X6PN.js} +3 -3
- package/dist/{chunk-3CI4JGY4.cjs → chunk-FLKTJ46K.cjs} +2 -2
- package/dist/{chunk-ES7RME6G.js → chunk-M352N6PQ.js} +3 -3
- package/dist/{chunk-7CGF3Z5S.cjs → chunk-VQIQ3ERR.cjs} +3 -3
|
@@ -295,14 +295,30 @@ import { StyleSheet as StyleSheet2, View as View5 } from "react-native";
|
|
|
295
295
|
// src/components/agenda-calendar/agenda-calendar.recipe.ts
|
|
296
296
|
var SLOTS = ["root", "header", "nav", "navButton", "today", "todayDisabled", "todayLabel", "week", "picker", "pickerItem"];
|
|
297
297
|
var VARIANT_TOKENS = {
|
|
298
|
-
//
|
|
299
|
-
//
|
|
300
|
-
//
|
|
301
|
-
//
|
|
302
|
-
//
|
|
303
|
-
|
|
304
|
-
|
|
298
|
+
// The four the `Calendar` declares, answered on the pill rather than on a disc. The
|
|
299
|
+
// variant is a level of emphasis, and the two controls it reaches are the chosen day and
|
|
300
|
+
// this button — a strip whose chosen day is a soft wash under a pill that kept a hard
|
|
301
|
+
// accent border is two variants on one card.
|
|
302
|
+
//
|
|
303
|
+
// The emphasis runs the other way round from a `Button`'s, and on purpose: `primary`
|
|
304
|
+
// outlines rather than fills. The pill sits between two bare chevrons, so the filled
|
|
305
|
+
// accent that makes a `Button` primary would read here as the primary action of the whole
|
|
306
|
+
// card — the accent goes on the word instead, which is where the strip's own accent is.
|
|
307
|
+
primary: {
|
|
308
|
+
border: "border",
|
|
305
309
|
fg: "accent"
|
|
310
|
+
},
|
|
311
|
+
secondary: {
|
|
312
|
+
bg: "accentSoft",
|
|
313
|
+
fg: "accentSoftForeground"
|
|
314
|
+
},
|
|
315
|
+
tertiary: {
|
|
316
|
+
bg: "default",
|
|
317
|
+
fg: "defaultForeground"
|
|
318
|
+
},
|
|
319
|
+
// No fill and no border: the word alone, as `ghost` means everywhere else.
|
|
320
|
+
ghost: {
|
|
321
|
+
fg: "foreground"
|
|
306
322
|
}
|
|
307
323
|
};
|
|
308
324
|
var SIZES = {
|
|
@@ -381,18 +397,14 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
381
397
|
alignItems: "center",
|
|
382
398
|
justifyContent: "center"
|
|
383
399
|
},
|
|
384
|
-
//
|
|
385
|
-
// filled button there would read as the primary action of the whole card.
|
|
400
|
+
// The box only. Whether it is outlined, washed or bare is the variant's, below.
|
|
386
401
|
today: {
|
|
387
402
|
alignItems: "center",
|
|
388
|
-
justifyContent: "center"
|
|
389
|
-
borderWidth: theme.borderWidth.default,
|
|
390
|
-
borderColor: theme.colors.border
|
|
403
|
+
justifyContent: "center"
|
|
391
404
|
},
|
|
392
405
|
todayLabel: {
|
|
393
406
|
fontFamily: theme.fontFamilies.body,
|
|
394
|
-
fontWeight: theme.fontWeights.medium
|
|
395
|
-
color: theme.colors.accent
|
|
407
|
+
fontWeight: theme.fontWeights.medium
|
|
396
408
|
},
|
|
397
409
|
week: {
|
|
398
410
|
flexDirection: "row"
|
|
@@ -416,14 +428,20 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
416
428
|
}
|
|
417
429
|
}),
|
|
418
430
|
variantTokens: VARIANT_TOKENS,
|
|
419
|
-
// The
|
|
420
|
-
//
|
|
421
|
-
//
|
|
422
|
-
|
|
431
|
+
// The `Button`'s own paint, one slot down: the border's *width* follows the presence of
|
|
432
|
+
// the border role rather than a per-variant flag, because which variant outlines is
|
|
433
|
+
// already stated in the table above. `undefined` where a variant names no `bg` is the
|
|
434
|
+
// transparent the outlined and the bare pill both want.
|
|
435
|
+
paint: (theme, colors) => ({
|
|
436
|
+
today: {
|
|
437
|
+
backgroundColor: colors.bg,
|
|
438
|
+
borderColor: colors.border,
|
|
439
|
+
borderWidth: colors.border ? theme.borderWidth.default : 0
|
|
440
|
+
},
|
|
423
441
|
todayLabel: {
|
|
424
442
|
color: colors.fg
|
|
425
443
|
}
|
|
426
|
-
}
|
|
444
|
+
}),
|
|
427
445
|
variants: {
|
|
428
446
|
size: {
|
|
429
447
|
sm: sizeAxis(SIZES.sm),
|
|
@@ -440,11 +458,12 @@ var agendaCalendarRecipe = createRecipe({
|
|
|
440
458
|
}
|
|
441
459
|
})
|
|
442
460
|
},
|
|
443
|
-
// `
|
|
444
|
-
//
|
|
445
|
-
//
|
|
461
|
+
// The `Calendar`'s default, because the two resolve from the same `variant` prop and a
|
|
462
|
+
// card whose strip defaulted to one and whose pill to another is not one component.
|
|
463
|
+
// Naming it is also what makes `paint` and `tint` run at all — without a variant both are
|
|
464
|
+
// handed no colours, and the pill loses its word to RN's black.
|
|
446
465
|
defaultVariants: {
|
|
447
|
-
variant: "
|
|
466
|
+
variant: "primary",
|
|
448
467
|
size: "md"
|
|
449
468
|
}
|
|
450
469
|
});
|
|
@@ -499,14 +518,14 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
499
518
|
});
|
|
500
519
|
const resolvedLocale = locale ?? deviceLocale();
|
|
501
520
|
const weekStart = firstDayOfWeek ?? firstDayOfWeekFor(resolvedLocale);
|
|
502
|
-
const
|
|
521
|
+
const selection = {
|
|
503
522
|
variant,
|
|
504
523
|
size,
|
|
505
524
|
radius
|
|
506
525
|
};
|
|
507
526
|
const cells = calendarRecipe.resolve({
|
|
508
527
|
theme,
|
|
509
|
-
selection
|
|
528
|
+
selection,
|
|
510
529
|
states: {
|
|
511
530
|
disabled: isDisabled
|
|
512
531
|
}
|
|
@@ -514,12 +533,8 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
514
533
|
const cellTint = color ? calendarRecipe.tint({
|
|
515
534
|
theme,
|
|
516
535
|
color,
|
|
517
|
-
selection
|
|
536
|
+
selection
|
|
518
537
|
}) : void 0;
|
|
519
|
-
const selection = {
|
|
520
|
-
size,
|
|
521
|
-
radius
|
|
522
|
-
};
|
|
523
538
|
const styles = agendaCalendarRecipe.resolve({
|
|
524
539
|
theme,
|
|
525
540
|
selection,
|
|
@@ -617,7 +632,7 @@ var AgendaCalendarRoot = forwardRef6(function AgendaCalendar({
|
|
|
617
632
|
},
|
|
618
633
|
pickerItemLabelStyle: cells.dayLabel,
|
|
619
634
|
pickerItemLabelSelectedStyle: cellTint ? [cells.dayLabelSelected, cellTint.dayLabelSelected] : cells.dayLabelSelected,
|
|
620
|
-
todayStyle: styles.today,
|
|
635
|
+
todayStyle: tint ? [styles.today, tint.today] : styles.today,
|
|
621
636
|
todayDisabledStyle: styles.todayDisabled,
|
|
622
637
|
todayLabelStyle: tint ? [styles.todayLabel, tint.todayLabel] : styles.todayLabel,
|
|
623
638
|
weekStyle: styles.week,
|
|
@@ -784,25 +799,25 @@ var SPRING = {
|
|
|
784
799
|
stiffness: 220,
|
|
785
800
|
mass: 0.6
|
|
786
801
|
};
|
|
787
|
-
const
|
|
788
|
-
code: "function
|
|
789
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
790
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
802
|
+
const _worklet_6865118524057_init_data = {
|
|
803
|
+
code: "function chunkV5FYHQKQJs1(){const{drag,withSpring,SPRING}=this.__closure;drag.set(withSpring(0,SPRING));}",
|
|
804
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
805
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs1\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA40BkB,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClBH,IAAI,CAACI,GAAG,CAACH,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
|
|
791
806
|
};
|
|
792
|
-
const
|
|
793
|
-
code: "function
|
|
794
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
795
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
807
|
+
const _worklet_7938979035346_init_data = {
|
|
808
|
+
code: "function chunkV5FYHQKQJs2(event){const{SWIPE_DISTANCE,SWIPE_VELOCITY,runOnJS,page,drag,withSpring,SPRING}=this.__closure;const forward=event.translationX<=-SWIPE_DISTANCE||event.velocityX<=-SWIPE_VELOCITY;const backward=event.translationX>=SWIPE_DISTANCE||event.velocityX>=SWIPE_VELOCITY;if(forward)runOnJS(page)(1);else if(backward)runOnJS(page)(-1);drag.set(withSpring(0,SPRING));}",
|
|
809
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
810
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs2\",\"event\",\"SWIPE_DISTANCE\",\"SWIPE_VELOCITY\",\"runOnJS\",\"page\",\"drag\",\"withSpring\",\"SPRING\",\"__closure\",\"forward\",\"translationX\",\"velocityX\",\"backward\",\"set\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAs0Bc,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,cAAA,CAAAC,cAAA,CAAAC,OAAA,CAAAC,IAAA,CAAAC,IAAA,CAAAC,UAAA,CAAAC,MAAA,OAAAC,SAAA,CAClB,KAAM,CAAAC,OAAO,CAAGT,KAAK,CAACU,YAAY,EAAI,CAACT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAI,CAACT,cAAc,CAC3F,KAAM,CAAAU,QAAQ,CAAGZ,KAAK,CAACU,YAAY,EAAIT,cAAc,EAAID,KAAK,CAACW,SAAS,EAAIT,cAAc,CAC1F,GAAIO,OAAO,CAAEN,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IACzB,IAAIQ,QAAQ,CAAET,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CACpCC,IAAI,CAACQ,GAAG,CAACP,UAAU,CAAC,CAAC,CAAEC,MAAM,CAAC,CAAC,CACjC\",\"ignoreList\":[]}"
|
|
796
811
|
};
|
|
797
|
-
const
|
|
798
|
-
code: "function
|
|
799
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
800
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
812
|
+
const _worklet_9375623676669_init_data = {
|
|
813
|
+
code: "function chunkV5FYHQKQJs3(event){const{drag,DRAG_FOLLOW}=this.__closure;drag.set(event.translationX*DRAG_FOLLOW);}",
|
|
814
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
815
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs3\",\"event\",\"drag\",\"DRAG_FOLLOW\",\"__closure\",\"set\",\"translationX\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AAo0B0H,SAAAA,gBAAUA,CAAAC,KAAA,QAAAC,IAAA,CAAAC,WAAA,OAAAC,SAAA,CAC9HF,IAAI,CAACG,GAAG,CAACJ,KAAK,CAACK,YAAY,CAAGH,WAAW,CAAC,CAC5C\",\"ignoreList\":[]}"
|
|
801
816
|
};
|
|
802
|
-
const
|
|
803
|
-
code: "function
|
|
804
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
805
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
817
|
+
const _worklet_5818255412875_init_data = {
|
|
818
|
+
code: "function chunkV5FYHQKQJs4(){const{drag}=this.__closure;return{transform:[{translateX:drag.get()}]};}",
|
|
819
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js",
|
|
820
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkV5FYHQKQJs4\",\"drag\",\"__closure\",\"transform\",\"translateX\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-V5FYHQKQ.js\"],\"mappings\":\"AA+0BmC,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,OAAAC,SAAA,CAEnC,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEH,IAAI,CAACI,GAAG,CAAC,CAAE,CAAC,CAAE,CAAC,CACpD\",\"ignoreList\":[]}"
|
|
806
821
|
};
|
|
807
822
|
var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
808
823
|
children,
|
|
@@ -822,30 +837,30 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
822
837
|
const page = useCallback3(direction => {
|
|
823
838
|
if (canGoByWeeks(direction)) goByWeeks(direction);
|
|
824
839
|
}, [canGoByWeeks, goByWeeks]);
|
|
825
|
-
const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function
|
|
826
|
-
|
|
840
|
+
const pan = Gesture.Pan().enabled(swipeable && !isDisabled).activeOffsetX([-12, 12]).failOffsetY([-16, 16]).onUpdate(function chunkV5FYHQKQJs3Factory({
|
|
841
|
+
_worklet_9375623676669_init_data,
|
|
827
842
|
drag,
|
|
828
843
|
DRAG_FOLLOW
|
|
829
844
|
}) {
|
|
830
845
|
const _e = [new global.Error(), -3, -27];
|
|
831
|
-
const
|
|
846
|
+
const chunkV5FYHQKQJs3 = function (event) {
|
|
832
847
|
drag.set(event.translationX * DRAG_FOLLOW);
|
|
833
848
|
};
|
|
834
|
-
|
|
849
|
+
chunkV5FYHQKQJs3.__closure = {
|
|
835
850
|
drag,
|
|
836
851
|
DRAG_FOLLOW
|
|
837
852
|
};
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
return
|
|
853
|
+
chunkV5FYHQKQJs3.__workletHash = 9375623676669;
|
|
854
|
+
chunkV5FYHQKQJs3.__pluginVersion = "0.7.4";
|
|
855
|
+
chunkV5FYHQKQJs3.__initData = _worklet_9375623676669_init_data;
|
|
856
|
+
chunkV5FYHQKQJs3.__stackDetails = _e;
|
|
857
|
+
return chunkV5FYHQKQJs3;
|
|
843
858
|
}({
|
|
844
|
-
|
|
859
|
+
_worklet_9375623676669_init_data,
|
|
845
860
|
drag,
|
|
846
861
|
DRAG_FOLLOW
|
|
847
|
-
})).onEnd(function
|
|
848
|
-
|
|
862
|
+
})).onEnd(function chunkV5FYHQKQJs2Factory({
|
|
863
|
+
_worklet_7938979035346_init_data,
|
|
849
864
|
SWIPE_DISTANCE,
|
|
850
865
|
SWIPE_VELOCITY,
|
|
851
866
|
runOnJS,
|
|
@@ -855,13 +870,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
855
870
|
SPRING
|
|
856
871
|
}) {
|
|
857
872
|
const _e = [new global.Error(), -8, -27];
|
|
858
|
-
const
|
|
873
|
+
const chunkV5FYHQKQJs2 = function (event) {
|
|
859
874
|
const forward = event.translationX <= -SWIPE_DISTANCE || event.velocityX <= -SWIPE_VELOCITY;
|
|
860
875
|
const backward = event.translationX >= SWIPE_DISTANCE || event.velocityX >= SWIPE_VELOCITY;
|
|
861
876
|
if (forward) runOnJS(page)(1);else if (backward) runOnJS(page)(-1);
|
|
862
877
|
drag.set(withSpring(0, SPRING));
|
|
863
878
|
};
|
|
864
|
-
|
|
879
|
+
chunkV5FYHQKQJs2.__closure = {
|
|
865
880
|
SWIPE_DISTANCE,
|
|
866
881
|
SWIPE_VELOCITY,
|
|
867
882
|
runOnJS,
|
|
@@ -870,13 +885,13 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
870
885
|
withSpring,
|
|
871
886
|
SPRING
|
|
872
887
|
};
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
return
|
|
888
|
+
chunkV5FYHQKQJs2.__workletHash = 7938979035346;
|
|
889
|
+
chunkV5FYHQKQJs2.__pluginVersion = "0.7.4";
|
|
890
|
+
chunkV5FYHQKQJs2.__initData = _worklet_7938979035346_init_data;
|
|
891
|
+
chunkV5FYHQKQJs2.__stackDetails = _e;
|
|
892
|
+
return chunkV5FYHQKQJs2;
|
|
878
893
|
}({
|
|
879
|
-
|
|
894
|
+
_worklet_7938979035346_init_data,
|
|
880
895
|
SWIPE_DISTANCE,
|
|
881
896
|
SWIPE_VELOCITY,
|
|
882
897
|
runOnJS,
|
|
@@ -884,54 +899,54 @@ var AgendaCalendarWeek = forwardRef9(function AgendaCalendarWeek2({
|
|
|
884
899
|
drag,
|
|
885
900
|
withSpring,
|
|
886
901
|
SPRING
|
|
887
|
-
})).onFinalize(function
|
|
888
|
-
|
|
902
|
+
})).onFinalize(function chunkV5FYHQKQJs1Factory({
|
|
903
|
+
_worklet_6865118524057_init_data,
|
|
889
904
|
drag,
|
|
890
905
|
withSpring,
|
|
891
906
|
SPRING
|
|
892
907
|
}) {
|
|
893
908
|
const _e = [new global.Error(), -4, -27];
|
|
894
|
-
const
|
|
909
|
+
const chunkV5FYHQKQJs1 = function () {
|
|
895
910
|
drag.set(withSpring(0, SPRING));
|
|
896
911
|
};
|
|
897
|
-
|
|
912
|
+
chunkV5FYHQKQJs1.__closure = {
|
|
898
913
|
drag,
|
|
899
914
|
withSpring,
|
|
900
915
|
SPRING
|
|
901
916
|
};
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
return
|
|
917
|
+
chunkV5FYHQKQJs1.__workletHash = 6865118524057;
|
|
918
|
+
chunkV5FYHQKQJs1.__pluginVersion = "0.7.4";
|
|
919
|
+
chunkV5FYHQKQJs1.__initData = _worklet_6865118524057_init_data;
|
|
920
|
+
chunkV5FYHQKQJs1.__stackDetails = _e;
|
|
921
|
+
return chunkV5FYHQKQJs1;
|
|
907
922
|
}({
|
|
908
|
-
|
|
923
|
+
_worklet_6865118524057_init_data,
|
|
909
924
|
drag,
|
|
910
925
|
withSpring,
|
|
911
926
|
SPRING
|
|
912
927
|
}));
|
|
913
|
-
const slide = useAnimatedStyle(function
|
|
914
|
-
|
|
928
|
+
const slide = useAnimatedStyle(function chunkV5FYHQKQJs4Factory({
|
|
929
|
+
_worklet_5818255412875_init_data,
|
|
915
930
|
drag
|
|
916
931
|
}) {
|
|
917
932
|
const _e = [new global.Error(), -2, -27];
|
|
918
|
-
const
|
|
933
|
+
const chunkV5FYHQKQJs4 = function () {
|
|
919
934
|
return {
|
|
920
935
|
transform: [{
|
|
921
936
|
translateX: drag.get()
|
|
922
937
|
}]
|
|
923
938
|
};
|
|
924
939
|
};
|
|
925
|
-
|
|
940
|
+
chunkV5FYHQKQJs4.__closure = {
|
|
926
941
|
drag
|
|
927
942
|
};
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
return
|
|
943
|
+
chunkV5FYHQKQJs4.__workletHash = 5818255412875;
|
|
944
|
+
chunkV5FYHQKQJs4.__pluginVersion = "0.7.4";
|
|
945
|
+
chunkV5FYHQKQJs4.__initData = _worklet_5818255412875_init_data;
|
|
946
|
+
chunkV5FYHQKQJs4.__stackDetails = _e;
|
|
947
|
+
return chunkV5FYHQKQJs4;
|
|
933
948
|
}({
|
|
934
|
-
|
|
949
|
+
_worklet_5818255412875_init_data,
|
|
935
950
|
drag
|
|
936
951
|
}), [drag]);
|
|
937
952
|
const cells = days.map(date => /* @__PURE__ */jsx9(View7, {
|