@draftbit/core 46.4.4-6da88d.2 → 46.4.4-7001c8.2
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/lib/commonjs/index.js +13 -219
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mappings/Touchable.js +1 -1
- package/lib/commonjs/mappings/View.js.map +1 -1
- package/lib/commonjs/mappings/WebView.js.map +1 -1
- package/lib/module/index.js +29 -42
- package/lib/module/index.js.map +1 -1
- package/lib/module/mappings/Touchable.js +1 -1
- package/lib/typescript/src/index.d.ts +13 -40
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +4 -6
- package/src/index.js +22 -42
- package/src/index.tsx +36 -52
- package/src/mappings/Touchable.js +1 -1
- package/src/mappings/Touchable.ts +1 -1
- package/lib/commonjs/components/AnimatedCircularProgress.js +0 -67
- package/lib/commonjs/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/commonjs/components/AspectRatio.js +0 -51
- package/lib/commonjs/components/AspectRatio.js.map +0 -1
- package/lib/commonjs/components/AvatarEdit.js +0 -60
- package/lib/commonjs/components/AvatarEdit.js.map +0 -1
- package/lib/commonjs/components/Banner.js +0 -168
- package/lib/commonjs/components/Banner.js.map +0 -1
- package/lib/commonjs/components/Card.js +0 -138
- package/lib/commonjs/components/Card.js.map +0 -1
- package/lib/commonjs/components/CardBlock.js +0 -107
- package/lib/commonjs/components/CardBlock.js.map +0 -1
- package/lib/commonjs/components/CardContainer.js +0 -130
- package/lib/commonjs/components/CardContainer.js.map +0 -1
- package/lib/commonjs/components/CardContainerRating.js +0 -134
- package/lib/commonjs/components/CardContainerRating.js.map +0 -1
- package/lib/commonjs/components/CardContainerShortImage.js +0 -85
- package/lib/commonjs/components/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/components/CardInline.js +0 -92
- package/lib/commonjs/components/CardInline.js.map +0 -1
- package/lib/commonjs/components/Carousel.js +0 -130
- package/lib/commonjs/components/Carousel.js.map +0 -1
- package/lib/commonjs/components/CircleImage.js +0 -36
- package/lib/commonjs/components/CircleImage.js.map +0 -1
- package/lib/commonjs/components/CircularProgress.js +0 -113
- package/lib/commonjs/components/CircularProgress.js.map +0 -1
- package/lib/commonjs/components/Container.js +0 -105
- package/lib/commonjs/components/Container.js.map +0 -1
- package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -41
- package/lib/commonjs/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/commonjs/components/DeprecatedFAB.js +0 -159
- package/lib/commonjs/components/DeprecatedFAB.js.map +0 -1
- package/lib/commonjs/components/Divider.js +0 -31
- package/lib/commonjs/components/Divider.js.map +0 -1
- package/lib/commonjs/components/FAB.js +0 -83
- package/lib/commonjs/components/FAB.js.map +0 -1
- package/lib/commonjs/components/FieldSearchBarFull.js +0 -98
- package/lib/commonjs/components/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/components/Header.js +0 -83
- package/lib/commonjs/components/Header.js.map +0 -1
- package/lib/commonjs/components/HeaderLarge.js +0 -39
- package/lib/commonjs/components/HeaderLarge.js.map +0 -1
- package/lib/commonjs/components/HeaderMedium.js +0 -39
- package/lib/commonjs/components/HeaderMedium.js.map +0 -1
- package/lib/commonjs/components/HeaderOverline.js +0 -40
- package/lib/commonjs/components/HeaderOverline.js.map +0 -1
- package/lib/commonjs/components/Image.js +0 -82
- package/lib/commonjs/components/Image.js.map +0 -1
- package/lib/commonjs/components/Justification.js +0 -5
- package/lib/commonjs/components/Justification.js.map +0 -1
- package/lib/commonjs/components/ProgressBar.js +0 -159
- package/lib/commonjs/components/ProgressBar.js.map +0 -1
- package/lib/commonjs/components/ProgressCircle.js +0 -49
- package/lib/commonjs/components/ProgressCircle.js.map +0 -1
- package/lib/commonjs/components/ProgressIndicator.js +0 -56
- package/lib/commonjs/components/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/components/ResizeMode.js +0 -5
- package/lib/commonjs/components/ResizeMode.js.map +0 -1
- package/lib/commonjs/components/Row.js +0 -74
- package/lib/commonjs/components/Row.js.map +0 -1
- package/lib/commonjs/components/RowBodyIcon.js +0 -46
- package/lib/commonjs/components/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -46
- package/lib/commonjs/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -52
- package/lib/commonjs/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/components/StepIndicator.js +0 -386
- package/lib/commonjs/components/StepIndicator.js.map +0 -1
- package/lib/commonjs/components/TabView/TabView.js +0 -88
- package/lib/commonjs/components/TabView/TabView.js.map +0 -1
- package/lib/commonjs/components/TabView/TabViewItem.js +0 -25
- package/lib/commonjs/components/TabView/TabViewItem.js.map +0 -1
- package/lib/commonjs/components/TabView/index.js +0 -21
- package/lib/commonjs/components/TabView/index.js.map +0 -1
- package/lib/commonjs/components/ToggleButton.js +0 -72
- package/lib/commonjs/components/ToggleButton.js.map +0 -1
- package/lib/commonjs/components/Typography.js +0 -59
- package/lib/commonjs/components/Typography.js.map +0 -1
- package/lib/commonjs/components/useAuthState.js +0 -29
- package/lib/commonjs/components/useAuthState.js.map +0 -1
- package/lib/commonjs/mappings/AvatarEdit.js +0 -46
- package/lib/commonjs/mappings/AvatarEdit.js.map +0 -1
- package/lib/commonjs/mappings/Banner.js +0 -40
- package/lib/commonjs/mappings/Banner.js.map +0 -1
- package/lib/commonjs/mappings/Card.js +0 -61
- package/lib/commonjs/mappings/Card.js.map +0 -1
- package/lib/commonjs/mappings/CardBlock.js +0 -127
- package/lib/commonjs/mappings/CardBlock.js.map +0 -1
- package/lib/commonjs/mappings/CardContainer.js +0 -109
- package/lib/commonjs/mappings/CardContainer.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerRating.js +0 -131
- package/lib/commonjs/mappings/CardContainerRating.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerShortImage.js +0 -125
- package/lib/commonjs/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/mappings/CardInline.js +0 -60
- package/lib/commonjs/mappings/CardInline.js.map +0 -1
- package/lib/commonjs/mappings/Carousel.js +0 -25
- package/lib/commonjs/mappings/Carousel.js.map +0 -1
- package/lib/commonjs/mappings/CircleImage.js +0 -33
- package/lib/commonjs/mappings/CircleImage.js.map +0 -1
- package/lib/commonjs/mappings/Container.js +0 -38
- package/lib/commonjs/mappings/Container.js.map +0 -1
- package/lib/commonjs/mappings/Divider.js +0 -33
- package/lib/commonjs/mappings/Divider.js.map +0 -1
- package/lib/commonjs/mappings/FAB.js +0 -45
- package/lib/commonjs/mappings/FAB.js.map +0 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -57
- package/lib/commonjs/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/mappings/HeaderLarge.js +0 -35
- package/lib/commonjs/mappings/HeaderLarge.js.map +0 -1
- package/lib/commonjs/mappings/HeaderMedium.js +0 -61
- package/lib/commonjs/mappings/HeaderMedium.js.map +0 -1
- package/lib/commonjs/mappings/HeaderOverline.js +0 -61
- package/lib/commonjs/mappings/HeaderOverline.js.map +0 -1
- package/lib/commonjs/mappings/ProgressBar.js +0 -107
- package/lib/commonjs/mappings/ProgressBar.js.map +0 -1
- package/lib/commonjs/mappings/ProgressCircle.js +0 -117
- package/lib/commonjs/mappings/ProgressCircle.js.map +0 -1
- package/lib/commonjs/mappings/ProgressIndicator.js +0 -189
- package/lib/commonjs/mappings/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/mappings/RowBodyIcon.js +0 -80
- package/lib/commonjs/mappings/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -170
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -100
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/mappings/TabView.js +0 -78
- package/lib/commonjs/mappings/TabView.js.map +0 -1
- package/lib/commonjs/mappings/ToggleButton.js +0 -54
- package/lib/commonjs/mappings/ToggleButton.js.map +0 -1
- package/lib/module/components/AnimatedCircularProgress.js +0 -57
- package/lib/module/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/module/components/AspectRatio.js +0 -43
- package/lib/module/components/AspectRatio.js.map +0 -1
- package/lib/module/components/AvatarEdit.js +0 -50
- package/lib/module/components/AvatarEdit.js.map +0 -1
- package/lib/module/components/Banner.js +0 -158
- package/lib/module/components/Banner.js.map +0 -1
- package/lib/module/components/Card.js +0 -129
- package/lib/module/components/Card.js.map +0 -1
- package/lib/module/components/CardBlock.js +0 -99
- package/lib/module/components/CardBlock.js.map +0 -1
- package/lib/module/components/CardContainer.js +0 -122
- package/lib/module/components/CardContainer.js.map +0 -1
- package/lib/module/components/CardContainerRating.js +0 -126
- package/lib/module/components/CardContainerRating.js.map +0 -1
- package/lib/module/components/CardContainerShortImage.js +0 -77
- package/lib/module/components/CardContainerShortImage.js.map +0 -1
- package/lib/module/components/CardInline.js +0 -83
- package/lib/module/components/CardInline.js.map +0 -1
- package/lib/module/components/Carousel.js +0 -120
- package/lib/module/components/Carousel.js.map +0 -1
- package/lib/module/components/CircleImage.js +0 -26
- package/lib/module/components/CircleImage.js.map +0 -1
- package/lib/module/components/CircularProgress.js +0 -105
- package/lib/module/components/CircularProgress.js.map +0 -1
- package/lib/module/components/Container.js +0 -84
- package/lib/module/components/Container.js.map +0 -1
- package/lib/module/components/DeprecatedCardWrapper.js +0 -33
- package/lib/module/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/module/components/DeprecatedFAB.js +0 -149
- package/lib/module/components/DeprecatedFAB.js.map +0 -1
- package/lib/module/components/Divider.js +0 -22
- package/lib/module/components/Divider.js.map +0 -1
- package/lib/module/components/FAB.js +0 -74
- package/lib/module/components/FAB.js.map +0 -1
- package/lib/module/components/FieldSearchBarFull.js +0 -88
- package/lib/module/components/FieldSearchBarFull.js.map +0 -1
- package/lib/module/components/Header.js +0 -73
- package/lib/module/components/Header.js.map +0 -1
- package/lib/module/components/HeaderLarge.js +0 -29
- package/lib/module/components/HeaderLarge.js.map +0 -1
- package/lib/module/components/HeaderMedium.js +0 -29
- package/lib/module/components/HeaderMedium.js.map +0 -1
- package/lib/module/components/HeaderOverline.js +0 -30
- package/lib/module/components/HeaderOverline.js.map +0 -1
- package/lib/module/components/Image.js +0 -75
- package/lib/module/components/Image.js.map +0 -1
- package/lib/module/components/Justification.js +0 -2
- package/lib/module/components/Justification.js.map +0 -1
- package/lib/module/components/ProgressBar.js +0 -150
- package/lib/module/components/ProgressBar.js.map +0 -1
- package/lib/module/components/ProgressCircle.js +0 -39
- package/lib/module/components/ProgressCircle.js.map +0 -1
- package/lib/module/components/ProgressIndicator.js +0 -46
- package/lib/module/components/ProgressIndicator.js.map +0 -1
- package/lib/module/components/ResizeMode.js +0 -2
- package/lib/module/components/ResizeMode.js.map +0 -1
- package/lib/module/components/Row.js +0 -64
- package/lib/module/components/Row.js.map +0 -1
- package/lib/module/components/RowBodyIcon.js +0 -36
- package/lib/module/components/RowBodyIcon.js.map +0 -1
- package/lib/module/components/RowHeadlineImageCaption.js +0 -36
- package/lib/module/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/components/RowHeadlineImageIcon.js +0 -42
- package/lib/module/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/components/StepIndicator.js +0 -378
- package/lib/module/components/StepIndicator.js.map +0 -1
- package/lib/module/components/TabView/TabView.js +0 -80
- package/lib/module/components/TabView/TabView.js.map +0 -1
- package/lib/module/components/TabView/TabViewItem.js +0 -18
- package/lib/module/components/TabView/TabViewItem.js.map +0 -1
- package/lib/module/components/TabView/index.js +0 -3
- package/lib/module/components/TabView/index.js.map +0 -1
- package/lib/module/components/ToggleButton.js +0 -62
- package/lib/module/components/ToggleButton.js.map +0 -1
- package/lib/module/components/Typography.js +0 -49
- package/lib/module/components/Typography.js.map +0 -1
- package/lib/module/components/useAuthState.js +0 -20
- package/lib/module/components/useAuthState.js.map +0 -1
- package/lib/module/mappings/AvatarEdit.js +0 -39
- package/lib/module/mappings/AvatarEdit.js.map +0 -1
- package/lib/module/mappings/Banner.js +0 -33
- package/lib/module/mappings/Banner.js.map +0 -1
- package/lib/module/mappings/Card.js +0 -54
- package/lib/module/mappings/Card.js.map +0 -1
- package/lib/module/mappings/CardBlock.js +0 -120
- package/lib/module/mappings/CardBlock.js.map +0 -1
- package/lib/module/mappings/CardContainer.js +0 -102
- package/lib/module/mappings/CardContainer.js.map +0 -1
- package/lib/module/mappings/CardContainerRating.js +0 -124
- package/lib/module/mappings/CardContainerRating.js.map +0 -1
- package/lib/module/mappings/CardContainerShortImage.js +0 -118
- package/lib/module/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/module/mappings/CardInline.js +0 -53
- package/lib/module/mappings/CardInline.js.map +0 -1
- package/lib/module/mappings/Carousel.js +0 -18
- package/lib/module/mappings/Carousel.js.map +0 -1
- package/lib/module/mappings/CircleImage.js +0 -26
- package/lib/module/mappings/CircleImage.js.map +0 -1
- package/lib/module/mappings/Container.js +0 -31
- package/lib/module/mappings/Container.js.map +0 -1
- package/lib/module/mappings/Divider.js +0 -26
- package/lib/module/mappings/Divider.js.map +0 -1
- package/lib/module/mappings/FAB.js +0 -38
- package/lib/module/mappings/FAB.js.map +0 -1
- package/lib/module/mappings/FieldSearchBarFull.js +0 -50
- package/lib/module/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/module/mappings/HeaderLarge.js +0 -28
- package/lib/module/mappings/HeaderLarge.js.map +0 -1
- package/lib/module/mappings/HeaderMedium.js +0 -54
- package/lib/module/mappings/HeaderMedium.js.map +0 -1
- package/lib/module/mappings/HeaderOverline.js +0 -54
- package/lib/module/mappings/HeaderOverline.js.map +0 -1
- package/lib/module/mappings/ProgressBar.js +0 -100
- package/lib/module/mappings/ProgressBar.js.map +0 -1
- package/lib/module/mappings/ProgressCircle.js +0 -110
- package/lib/module/mappings/ProgressCircle.js.map +0 -1
- package/lib/module/mappings/ProgressIndicator.js +0 -182
- package/lib/module/mappings/ProgressIndicator.js.map +0 -1
- package/lib/module/mappings/RowBodyIcon.js +0 -73
- package/lib/module/mappings/RowBodyIcon.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageCaption.js +0 -163
- package/lib/module/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageIcon.js +0 -93
- package/lib/module/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/mappings/TabView.js +0 -71
- package/lib/module/mappings/TabView.js.map +0 -1
- package/lib/module/mappings/ToggleButton.js +0 -47
- package/lib/module/mappings/ToggleButton.js.map +0 -1
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -14
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/AspectRatio.d.ts +0 -9
- package/lib/typescript/src/components/AspectRatio.d.ts.map +0 -1
- package/lib/typescript/src/components/AvatarEdit.d.ts +0 -16
- package/lib/typescript/src/components/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/components/Banner.d.ts +0 -23
- package/lib/typescript/src/components/Banner.d.ts.map +0 -1
- package/lib/typescript/src/components/Card.d.ts +0 -43
- package/lib/typescript/src/components/Card.d.ts.map +0 -1
- package/lib/typescript/src/components/CardBlock.d.ts +0 -21
- package/lib/typescript/src/components/CardBlock.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainer.d.ts +0 -23
- package/lib/typescript/src/components/CardContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainerRating.d.ts +0 -24
- package/lib/typescript/src/components/CardContainerRating.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -19
- package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +0 -1
- package/lib/typescript/src/components/CardInline.d.ts +0 -20
- package/lib/typescript/src/components/CardInline.d.ts.map +0 -1
- package/lib/typescript/src/components/Carousel.d.ts +0 -15
- package/lib/typescript/src/components/Carousel.d.ts.map +0 -1
- package/lib/typescript/src/components/CircleImage.d.ts +0 -10
- package/lib/typescript/src/components/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/components/CircularProgress.d.ts +0 -43
- package/lib/typescript/src/components/CircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/Container.d.ts +0 -21
- package/lib/typescript/src/components/Container.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
- package/lib/typescript/src/components/Divider.d.ts +0 -13
- package/lib/typescript/src/components/Divider.d.ts.map +0 -1
- package/lib/typescript/src/components/FAB.d.ts +0 -20
- package/lib/typescript/src/components/FAB.d.ts.map +0 -1
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -20
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/components/Header.d.ts +0 -20
- package/lib/typescript/src/components/Header.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderLarge.d.ts +0 -17
- package/lib/typescript/src/components/HeaderLarge.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderMedium.d.ts +0 -17
- package/lib/typescript/src/components/HeaderMedium.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderOverline.d.ts +0 -17
- package/lib/typescript/src/components/HeaderOverline.d.ts.map +0 -1
- package/lib/typescript/src/components/Image.d.ts +0 -5
- package/lib/typescript/src/components/Image.d.ts.map +0 -1
- package/lib/typescript/src/components/Justification.d.ts +0 -2
- package/lib/typescript/src/components/Justification.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressBar.d.ts +0 -35
- package/lib/typescript/src/components/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressCircle.d.ts +0 -21
- package/lib/typescript/src/components/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
- package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
- package/lib/typescript/src/components/Row.d.ts +0 -21
- package/lib/typescript/src/components/Row.d.ts.map +0 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/StepIndicator.d.ts +0 -54
- package/lib/typescript/src/components/StepIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabView.d.ts +0 -20
- package/lib/typescript/src/components/TabView/TabView.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -11
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/index.d.ts +0 -3
- package/lib/typescript/src/components/TabView/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ToggleButton.d.ts +0 -25
- package/lib/typescript/src/components/ToggleButton.d.ts.map +0 -1
- package/lib/typescript/src/components/Typography.d.ts +0 -22
- package/lib/typescript/src/components/Typography.d.ts.map +0 -1
- package/lib/typescript/src/components/useAuthState.d.ts +0 -2
- package/lib/typescript/src/components/useAuthState.d.ts.map +0 -1
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -38
- package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Banner.d.ts +0 -49
- package/lib/typescript/src/mappings/Banner.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Card.d.ts +0 -114
- package/lib/typescript/src/mappings/Card.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
- package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
- package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
- package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
- package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Carousel.d.ts +0 -34
- package/lib/typescript/src/mappings/Carousel.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CircleImage.d.ts +0 -34
- package/lib/typescript/src/mappings/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Container.d.ts +0 -55
- package/lib/typescript/src/mappings/Container.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Divider.d.ts +0 -25
- package/lib/typescript/src/mappings/Divider.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FAB.d.ts +0 -83
- package/lib/typescript/src/mappings/FAB.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -56
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -34
- package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -99
- package/lib/typescript/src/mappings/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -109
- package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -73
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -166
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -170
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TabView.d.ts +0 -112
- package/lib/typescript/src/mappings/TabView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -116
- package/lib/typescript/src/mappings/ToggleButton.d.ts.map +0 -1
- package/src/components/AnimatedCircularProgress.js +0 -43
- package/src/components/AnimatedCircularProgress.tsx +0 -101
- package/src/components/AspectRatio.js +0 -18
- package/src/components/AspectRatio.tsx +0 -40
- package/src/components/AvatarEdit.js +0 -30
- package/src/components/AvatarEdit.tsx +0 -64
- package/src/components/Banner.js +0 -109
- package/src/components/Banner.tsx +0 -204
- package/src/components/Card.js +0 -57
- package/src/components/Card.tsx +0 -161
- package/src/components/CardBlock.js +0 -54
- package/src/components/CardBlock.tsx +0 -127
- package/src/components/CardContainer.js +0 -69
- package/src/components/CardContainer.tsx +0 -165
- package/src/components/CardContainerRating.js +0 -79
- package/src/components/CardContainerRating.tsx +0 -175
- package/src/components/CardContainerShortImage.js +0 -33
- package/src/components/CardContainerShortImage.tsx +0 -101
- package/src/components/CardInline.js +0 -36
- package/src/components/CardInline.tsx +0 -93
- package/src/components/Carousel.js +0 -68
- package/src/components/Carousel.tsx +0 -134
- package/src/components/CircleImage.js +0 -8
- package/src/components/CircleImage.tsx +0 -33
- package/src/components/CircularProgress.js +0 -81
- package/src/components/CircularProgress.tsx +0 -188
- package/src/components/Container.js +0 -43
- package/src/components/Container.tsx +0 -116
- package/src/components/DeprecatedCardWrapper.js +0 -18
- package/src/components/DeprecatedCardWrapper.tsx +0 -46
- package/src/components/DeprecatedFAB.js +0 -115
- package/src/components/DeprecatedFAB.tsx +0 -231
- package/src/components/Divider.js +0 -13
- package/src/components/Divider.tsx +0 -32
- package/src/components/FAB.js +0 -46
- package/src/components/FAB.tsx +0 -108
- package/src/components/FieldSearchBarFull.js +0 -53
- package/src/components/FieldSearchBarFull.tsx +0 -126
- package/src/components/Header.js +0 -44
- package/src/components/Header.tsx +0 -105
- package/src/components/HeaderLarge.js +0 -7
- package/src/components/HeaderLarge.tsx +0 -40
- package/src/components/HeaderMedium.js +0 -7
- package/src/components/HeaderMedium.tsx +0 -41
- package/src/components/HeaderOverline.js +0 -7
- package/src/components/HeaderOverline.tsx +0 -42
- package/src/components/Image.js +0 -47
- package/src/components/Image.tsx +0 -91
- package/src/components/Justification.js +0 -1
- package/src/components/Justification.ts +0 -8
- package/src/components/ProgressBar.js +0 -118
- package/src/components/ProgressBar.tsx +0 -191
- package/src/components/ProgressCircle.js +0 -13
- package/src/components/ProgressCircle.tsx +0 -64
- package/src/components/ProgressIndicator.js +0 -27
- package/src/components/ProgressIndicator.tsx +0 -71
- package/src/components/ResizeMode.js +0 -1
- package/src/components/ResizeMode.ts +0 -7
- package/src/components/Row.js +0 -48
- package/src/components/Row.tsx +0 -108
- package/src/components/RowBodyIcon.js +0 -8
- package/src/components/RowBodyIcon.tsx +0 -47
- package/src/components/RowHeadlineImageCaption.js +0 -12
- package/src/components/RowHeadlineImageCaption.tsx +0 -49
- package/src/components/RowHeadlineImageIcon.js +0 -14
- package/src/components/RowHeadlineImageIcon.tsx +0 -61
- package/src/components/StepIndicator.js +0 -346
- package/src/components/StepIndicator.tsx +0 -494
- package/src/components/TabView/TabView.js +0 -34
- package/src/components/TabView/TabView.tsx +0 -97
- package/src/components/TabView/TabViewItem.js +0 -5
- package/src/components/TabView/TabViewItem.tsx +0 -21
- package/src/components/TabView/index.js +0 -2
- package/src/components/TabView/index.tsx +0 -2
- package/src/components/ToggleButton.js +0 -39
- package/src/components/ToggleButton.tsx +0 -94
- package/src/components/Typography.js +0 -36
- package/src/components/Typography.tsx +0 -67
- package/src/components/useAuthState.js +0 -31
- package/src/components/useAuthState.tsx +0 -38
- package/src/mappings/AvatarEdit.js +0 -38
- package/src/mappings/AvatarEdit.ts +0 -45
- package/src/mappings/Banner.js +0 -32
- package/src/mappings/Banner.ts +0 -40
- package/src/mappings/Card.js +0 -52
- package/src/mappings/Card.ts +0 -64
- package/src/mappings/CardBlock.js +0 -123
- package/src/mappings/CardBlock.ts +0 -136
- package/src/mappings/CardContainer.js +0 -104
- package/src/mappings/CardContainer.ts +0 -116
- package/src/mappings/CardContainerRating.js +0 -126
- package/src/mappings/CardContainerRating.ts +0 -137
- package/src/mappings/CardContainerShortImage.js +0 -120
- package/src/mappings/CardContainerShortImage.ts +0 -130
- package/src/mappings/CardInline.js +0 -52
- package/src/mappings/CardInline.ts +0 -61
- package/src/mappings/Carousel.js +0 -19
- package/src/mappings/Carousel.ts +0 -25
- package/src/mappings/CircleImage.js +0 -25
- package/src/mappings/CircleImage.ts +0 -33
- package/src/mappings/Container.js +0 -30
- package/src/mappings/Container.ts +0 -41
- package/src/mappings/Divider.js +0 -27
- package/src/mappings/Divider.ts +0 -34
- package/src/mappings/FAB.js +0 -37
- package/src/mappings/FAB.ts +0 -48
- package/src/mappings/FieldSearchBarFull.js +0 -50
- package/src/mappings/FieldSearchBarFull.ts +0 -59
- package/src/mappings/HeaderLarge.js +0 -29
- package/src/mappings/HeaderLarge.ts +0 -38
- package/src/mappings/HeaderMedium.js +0 -55
- package/src/mappings/HeaderMedium.ts +0 -63
- package/src/mappings/HeaderOverline.js +0 -55
- package/src/mappings/HeaderOverline.ts +0 -63
- package/src/mappings/ProgressBar.js +0 -101
- package/src/mappings/ProgressBar.ts +0 -110
- package/src/mappings/ProgressCircle.js +0 -109
- package/src/mappings/ProgressCircle.ts +0 -117
- package/src/mappings/ProgressIndicator.js +0 -181
- package/src/mappings/ProgressIndicator.ts +0 -190
- package/src/mappings/RowBodyIcon.js +0 -75
- package/src/mappings/RowBodyIcon.ts +0 -82
- package/src/mappings/RowHeadlineImageCaption.js +0 -167
- package/src/mappings/RowHeadlineImageCaption.ts +0 -178
- package/src/mappings/RowHeadlineImageIcon.js +0 -99
- package/src/mappings/RowHeadlineImageIcon.ts +0 -116
- package/src/mappings/TabView.js +0 -73
- package/src/mappings/TabView.ts +0 -80
- package/src/mappings/ToggleButton.js +0 -50
- package/src/mappings/ToggleButton.ts +0 -63
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
3
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
5
|
-
import React, { Component } from "react";
|
|
6
|
-
import { Animated, Easing, View, I18nManager } from "react-native";
|
|
7
|
-
const INDETERMINATE_WIDTH_FACTOR = 0.3;
|
|
8
|
-
const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_WIDTH_FACTOR);
|
|
9
|
-
export default class ProgressBar extends Component {
|
|
10
|
-
constructor(props) {
|
|
11
|
-
super(props);
|
|
12
|
-
_defineProperty(this, "handleLayout", event => {
|
|
13
|
-
const {
|
|
14
|
-
width = 150,
|
|
15
|
-
onLayout
|
|
16
|
-
} = this.props;
|
|
17
|
-
if (!width) {
|
|
18
|
-
this.setState({
|
|
19
|
-
width: event.nativeEvent.layout.width
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
if (onLayout) {
|
|
23
|
-
onLayout(event);
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
const {
|
|
27
|
-
progress: progressP = 0,
|
|
28
|
-
indeterminate = false
|
|
29
|
-
} = props;
|
|
30
|
-
const progress = Math.min(Math.max(progressP, 0), 1);
|
|
31
|
-
this.state = {
|
|
32
|
-
width: 0,
|
|
33
|
-
progress: new Animated.Value(indeterminate ? INDETERMINATE_WIDTH_FACTOR : progress),
|
|
34
|
-
animationValue: new Animated.Value(BAR_WIDTH_ZERO_POSITION)
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
componentDidMount() {
|
|
38
|
-
const {
|
|
39
|
-
indeterminate = false
|
|
40
|
-
} = this.props;
|
|
41
|
-
if (indeterminate) {
|
|
42
|
-
this.animate();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
componentDidUpdate(prevProps) {
|
|
46
|
-
const {
|
|
47
|
-
indeterminate = false,
|
|
48
|
-
useNativeDriver = false,
|
|
49
|
-
progress: progressP = 0,
|
|
50
|
-
animationType = "spring",
|
|
51
|
-
animationConfig = {
|
|
52
|
-
bounciness: 0
|
|
53
|
-
},
|
|
54
|
-
animated = true
|
|
55
|
-
} = this.props;
|
|
56
|
-
if (prevProps.indeterminate !== indeterminate) {
|
|
57
|
-
if (indeterminate) {
|
|
58
|
-
this.animate();
|
|
59
|
-
} else {
|
|
60
|
-
Animated.spring(this.state.animationValue, {
|
|
61
|
-
toValue: BAR_WIDTH_ZERO_POSITION,
|
|
62
|
-
useNativeDriver
|
|
63
|
-
}).start();
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
if (prevProps.indeterminate !== indeterminate || prevProps.progress !== progressP) {
|
|
67
|
-
const progress = this.props.indeterminate ? INDETERMINATE_WIDTH_FACTOR : Math.min(Math.max(progressP, 0), 1);
|
|
68
|
-
if (animated) {
|
|
69
|
-
Animated[animationType](this.state.progress, {
|
|
70
|
-
...animationConfig,
|
|
71
|
-
toValue: progress,
|
|
72
|
-
velocity: 0,
|
|
73
|
-
//adjust this value if animation fails - velocity is required
|
|
74
|
-
useNativeDriver
|
|
75
|
-
}).start();
|
|
76
|
-
} else {
|
|
77
|
-
this.state.progress.setValue(progress);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
animate() {
|
|
82
|
-
const {
|
|
83
|
-
useNativeDriver = false,
|
|
84
|
-
indeterminateAnimationDuration = 1000
|
|
85
|
-
} = this.props;
|
|
86
|
-
this.state.animationValue.setValue(0);
|
|
87
|
-
Animated.timing(this.state.animationValue, {
|
|
88
|
-
toValue: 1,
|
|
89
|
-
duration: indeterminateAnimationDuration,
|
|
90
|
-
easing: Easing.linear,
|
|
91
|
-
isInteraction: false,
|
|
92
|
-
useNativeDriver
|
|
93
|
-
}).start(endState => {
|
|
94
|
-
if (endState.finished) {
|
|
95
|
-
this.animate();
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
render() {
|
|
100
|
-
const {
|
|
101
|
-
borderColor,
|
|
102
|
-
borderRadius = 4,
|
|
103
|
-
borderWidth = 1,
|
|
104
|
-
children,
|
|
105
|
-
color = "rgba(0, 122, 255, 1)",
|
|
106
|
-
style,
|
|
107
|
-
unfilledColor,
|
|
108
|
-
width = 150,
|
|
109
|
-
...restProps
|
|
110
|
-
} = this.props;
|
|
111
|
-
const innerWidth = Math.max(0, width || this.state.width) - borderWidth * 2;
|
|
112
|
-
const containerStyle = {
|
|
113
|
-
width,
|
|
114
|
-
borderWidth,
|
|
115
|
-
borderColor: borderColor || color,
|
|
116
|
-
borderRadius,
|
|
117
|
-
overflow: "hidden",
|
|
118
|
-
backgroundColor: unfilledColor
|
|
119
|
-
};
|
|
120
|
-
const progressStyle = {
|
|
121
|
-
backgroundColor: color,
|
|
122
|
-
// Always take up full height of container.
|
|
123
|
-
height: "100%",
|
|
124
|
-
transform: [{
|
|
125
|
-
translateX: this.state.animationValue.interpolate({
|
|
126
|
-
inputRange: [0, 1],
|
|
127
|
-
outputRange: [innerWidth * -INDETERMINATE_WIDTH_FACTOR, innerWidth]
|
|
128
|
-
})
|
|
129
|
-
}, {
|
|
130
|
-
translateX: this.state.progress.interpolate({
|
|
131
|
-
inputRange: [0, 1],
|
|
132
|
-
outputRange: [innerWidth / (I18nManager.isRTL ? 2 : -2), 0]
|
|
133
|
-
})
|
|
134
|
-
}, {
|
|
135
|
-
// Interpolation a temp workaround for https://github.com/facebook/react-native/issues/6278
|
|
136
|
-
scaleX: this.state.progress.interpolate({
|
|
137
|
-
inputRange: [0, 1],
|
|
138
|
-
outputRange: [0.0001, 1]
|
|
139
|
-
})
|
|
140
|
-
}]
|
|
141
|
-
};
|
|
142
|
-
return /*#__PURE__*/React.createElement(View, _extends({
|
|
143
|
-
style: [containerStyle, style],
|
|
144
|
-
onLayout: this.handleLayout
|
|
145
|
-
}, restProps), /*#__PURE__*/React.createElement(Animated.View, {
|
|
146
|
-
style: progressStyle
|
|
147
|
-
}), children);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Component","Animated","Easing","View","I18nManager","INDETERMINATE_WIDTH_FACTOR","BAR_WIDTH_ZERO_POSITION","ProgressBar","constructor","props","event","width","onLayout","setState","nativeEvent","layout","progress","progressP","indeterminate","Math","min","max","state","Value","animationValue","componentDidMount","animate","componentDidUpdate","prevProps","useNativeDriver","animationType","animationConfig","bounciness","animated","spring","toValue","start","velocity","setValue","indeterminateAnimationDuration","timing","duration","easing","linear","isInteraction","endState","finished","render","borderColor","borderRadius","borderWidth","children","color","style","unfilledColor","restProps","innerWidth","containerStyle","overflow","backgroundColor","progressStyle","height","transform","translateX","interpolate","inputRange","outputRange","isRTL","scaleX","handleLayout"],"sourceRoot":"../../src","sources":["ProgressBar.tsx"],"mappings":"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"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Text } from "react-native";
|
|
3
|
-
import AnimatedCircularProgress from "./AnimatedCircularProgress";
|
|
4
|
-
import { withTheme } from "../theming";
|
|
5
|
-
const ProgressCircle = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
progress = 0.5,
|
|
8
|
-
style,
|
|
9
|
-
color = "primary",
|
|
10
|
-
size = 100,
|
|
11
|
-
showsText = true,
|
|
12
|
-
unfilledColor,
|
|
13
|
-
strokeCap = "butt",
|
|
14
|
-
textStyle,
|
|
15
|
-
thickness = 1,
|
|
16
|
-
theme
|
|
17
|
-
} = _ref;
|
|
18
|
-
const progressNum = Math.round(progress * 100);
|
|
19
|
-
const tintColor = color || theme.colors.primary;
|
|
20
|
-
const backgroundColor = unfilledColor || theme.colors.secondary;
|
|
21
|
-
return /*#__PURE__*/React.createElement(AnimatedCircularProgress, {
|
|
22
|
-
size: size,
|
|
23
|
-
width: thickness,
|
|
24
|
-
backgroundWidth: thickness,
|
|
25
|
-
fill: progressNum,
|
|
26
|
-
tintColor: tintColor,
|
|
27
|
-
backgroundColor: backgroundColor,
|
|
28
|
-
rotation: 0,
|
|
29
|
-
lineCap: strokeCap,
|
|
30
|
-
style: style
|
|
31
|
-
}, fill => showsText ? /*#__PURE__*/React.createElement(Text, {
|
|
32
|
-
style: [{
|
|
33
|
-
fontSize: size * 0.275,
|
|
34
|
-
color: tintColor
|
|
35
|
-
}, textStyle]
|
|
36
|
-
}, Math.round(fill), "%") : null);
|
|
37
|
-
};
|
|
38
|
-
export default withTheme(ProgressCircle);
|
|
39
|
-
//# sourceMappingURL=ProgressCircle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","AnimatedCircularProgress","withTheme","ProgressCircle","progress","style","color","size","showsText","unfilledColor","strokeCap","textStyle","thickness","theme","progressNum","Math","round","tintColor","colors","primary","backgroundColor","secondary","fill","fontSize"],"sourceRoot":"../../src","sources":["ProgressCircle.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAyC,cAAc;AACpE,OAAOC,wBAAwB,MAAM,4BAA4B;AACjE,SAASC,SAAS,QAAQ,YAAY;AAiBtC,MAAMC,cAAwD,GAAG,QAW3D;EAAA,IAX4D;IAChEC,QAAQ,GAAG,GAAG;IACdC,KAAK;IACLC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,GAAG;IACVC,SAAS,GAAG,IAAI;IAChBC,aAAa;IACbC,SAAS,GAAG,MAAM;IAClBC,SAAS;IACTC,SAAS,GAAG,CAAC;IACbC;EACF,CAAC;EACC,MAAMC,WAAW,GAAGC,IAAI,CAACC,KAAK,CAACZ,QAAQ,GAAG,GAAG,CAAC;EAE9C,MAAMa,SAAS,GAAGX,KAAK,IAAIO,KAAK,CAACK,MAAM,CAACC,OAAO;EAC/C,MAAMC,eAAe,GAAGX,aAAa,IAAII,KAAK,CAACK,MAAM,CAACG,SAAS;EAE/D,oBACE,oBAAC,wBAAwB;IACvB,IAAI,EAAEd,IAAK;IACX,KAAK,EAAEK,SAAU;IACjB,eAAe,EAAEA,SAAU;IAC3B,IAAI,EAAEE,WAAY;IAClB,SAAS,EAAEG,SAAU;IACrB,eAAe,EAAEG,eAAgB;IACjC,QAAQ,EAAE,CAAE;IACZ,OAAO,EAAEV,SAAU;IACnB,KAAK,EAAEL;EAAM,GAGXiB,IAAI,IACJd,SAAS,gBACP,oBAAC,IAAI;IACH,KAAK,EAAE,CAAC;MAAEe,QAAQ,EAAEhB,IAAI,GAAG,KAAK;MAAED,KAAK,EAAEW;IAAU,CAAC,EAAEN,SAAS;EAAE,GAEhEI,IAAI,CAACC,KAAK,CAACM,IAAI,CAAC,MACZ,GACL,IAAI,CAEe;AAE/B,CAAC;AAED,eAAepB,SAAS,CAACC,cAAc,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import StepIndicator from "./StepIndicator";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
const ProgressIndicator = _ref => {
|
|
5
|
-
let {
|
|
6
|
-
numberOfSteps,
|
|
7
|
-
currentStep,
|
|
8
|
-
currentStepStrokeWidth = 3,
|
|
9
|
-
stepStrokeCurrentColor = "primary",
|
|
10
|
-
stepIndicatorSize,
|
|
11
|
-
currentStepIndicatorSize,
|
|
12
|
-
stepIndicatorCurrentColor,
|
|
13
|
-
stepIndicatorLabelCurrentColor,
|
|
14
|
-
stepIndicatorLabelFontSize = 12,
|
|
15
|
-
stepNumberFinishedColor = "strongInverse",
|
|
16
|
-
stepNumberUnfinishedColor = "primary",
|
|
17
|
-
unfinishedColor = "light",
|
|
18
|
-
finishedColor = "primary",
|
|
19
|
-
theme
|
|
20
|
-
} = _ref;
|
|
21
|
-
const currentPosition = currentStep - 1;
|
|
22
|
-
return /*#__PURE__*/React.createElement(StepIndicator, {
|
|
23
|
-
stepCount: numberOfSteps,
|
|
24
|
-
currentPosition: currentPosition,
|
|
25
|
-
customStyles: {
|
|
26
|
-
stepIndicatorSize,
|
|
27
|
-
currentStepIndicatorSize: currentStepIndicatorSize ? currentStepIndicatorSize : stepIndicatorSize,
|
|
28
|
-
stepStrokeFinishedColor: finishedColor,
|
|
29
|
-
stepStrokeUnFinishedColor: unfinishedColor,
|
|
30
|
-
separatorFinishedColor: finishedColor,
|
|
31
|
-
separatorUnFinishedColor: unfinishedColor,
|
|
32
|
-
stepIndicatorFinishedColor: finishedColor,
|
|
33
|
-
stepIndicatorUnFinishedColor: unfinishedColor,
|
|
34
|
-
currentStepStrokeWidth,
|
|
35
|
-
stepStrokeCurrentColor: stepStrokeCurrentColor || stepIndicatorCurrentColor,
|
|
36
|
-
stepIndicatorLabelUnFinishedColor: stepNumberUnfinishedColor,
|
|
37
|
-
stepIndicatorLabelFinishedColor: stepNumberFinishedColor,
|
|
38
|
-
stepIndicatorCurrentColor: stepIndicatorCurrentColor || unfinishedColor,
|
|
39
|
-
stepIndicatorLabelCurrentColor: stepIndicatorLabelCurrentColor || stepNumberUnfinishedColor,
|
|
40
|
-
stepIndicatorLabelFontSize,
|
|
41
|
-
labelFontFamily: theme.typography.body1.fontFamily
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
export default withTheme(ProgressIndicator);
|
|
46
|
-
//# sourceMappingURL=ProgressIndicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","StepIndicator","withTheme","ProgressIndicator","numberOfSteps","currentStep","currentStepStrokeWidth","stepStrokeCurrentColor","stepIndicatorSize","currentStepIndicatorSize","stepIndicatorCurrentColor","stepIndicatorLabelCurrentColor","stepIndicatorLabelFontSize","stepNumberFinishedColor","stepNumberUnfinishedColor","unfinishedColor","finishedColor","theme","currentPosition","stepStrokeFinishedColor","stepStrokeUnFinishedColor","separatorFinishedColor","separatorUnFinishedColor","stepIndicatorFinishedColor","stepIndicatorUnFinishedColor","stepIndicatorLabelUnFinishedColor","stepIndicatorLabelFinishedColor","labelFontFamily","typography","body1","fontFamily"],"sourceRoot":"../../src","sources":["ProgressIndicator.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,SAASC,SAAS,QAAQ,YAAY;AAqBtC,MAAMC,iBAA2D,GAAG,QAe9D;EAAA,IAf+D;IACnEC,aAAa;IACbC,WAAW;IACXC,sBAAsB,GAAG,CAAC;IAC1BC,sBAAsB,GAAG,SAAS;IAClCC,iBAAiB;IACjBC,wBAAwB;IACxBC,yBAAyB;IACzBC,8BAA8B;IAC9BC,0BAA0B,GAAG,EAAE;IAC/BC,uBAAuB,GAAG,eAAe;IACzCC,yBAAyB,GAAG,SAAS;IACrCC,eAAe,GAAG,OAAO;IACzBC,aAAa,GAAG,SAAS;IACzBC;EACF,CAAC;EACC,MAAMC,eAAe,GAAGb,WAAW,GAAG,CAAC;EACvC,oBACE,oBAAC,aAAa;IACZ,SAAS,EAAED,aAAc;IACzB,eAAe,EAAEc,eAAgB;IACjC,YAAY,EAAE;MACZV,iBAAiB;MACjBC,wBAAwB,EAAEA,wBAAwB,GAC9CA,wBAAwB,GACxBD,iBAAiB;MACrBW,uBAAuB,EAAEH,aAAa;MACtCI,yBAAyB,EAAEL,eAAe;MAC1CM,sBAAsB,EAAEL,aAAa;MACrCM,wBAAwB,EAAEP,eAAe;MACzCQ,0BAA0B,EAAEP,aAAa;MACzCQ,4BAA4B,EAAET,eAAe;MAC7CT,sBAAsB;MACtBC,sBAAsB,EACpBA,sBAAsB,IAAIG,yBAAyB;MACrDe,iCAAiC,EAAEX,yBAAyB;MAC5DY,+BAA+B,EAAEb,uBAAuB;MACxDH,yBAAyB,EAAEA,yBAAyB,IAAIK,eAAe;MACvEJ,8BAA8B,EAC5BA,8BAA8B,IAAIG,yBAAyB;MAC7DF,0BAA0B;MAC1Be,eAAe,EAAEV,KAAK,CAACW,UAAU,CAACC,KAAK,CAACC;IAC1C;EAAE,EACF;AAEN,CAAC;AAED,eAAe5B,SAAS,CAACC,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["ResizeMode.ts"],"mappings":""}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { View, Text, Image, StyleSheet } from "react-native";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
import Config from "./Config";
|
|
5
|
-
const Row = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
titleTypeStyle,
|
|
8
|
-
titleColor,
|
|
9
|
-
subtitleTypeStyle,
|
|
10
|
-
subtitleColor,
|
|
11
|
-
title,
|
|
12
|
-
subtitle,
|
|
13
|
-
multilineSubtitle,
|
|
14
|
-
image,
|
|
15
|
-
right,
|
|
16
|
-
style
|
|
17
|
-
} = _ref;
|
|
18
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
19
|
-
style: [styles.container, {
|
|
20
|
-
padding: 16
|
|
21
|
-
}, style]
|
|
22
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
23
|
-
style: styles.leftContainer
|
|
24
|
-
}, image && /*#__PURE__*/React.createElement(Image, {
|
|
25
|
-
source: typeof image === "string" ? {
|
|
26
|
-
uri: image
|
|
27
|
-
} : image,
|
|
28
|
-
style: {
|
|
29
|
-
marginRight: 12,
|
|
30
|
-
width: subtitle ? Config.rowMultiLineImageSize : Config.rowSingleLineImageSize,
|
|
31
|
-
height: subtitle ? Config.rowMultiLineImageSize : Config.rowSingleLineImageSize
|
|
32
|
-
}
|
|
33
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
34
|
-
style: styles.textContainer
|
|
35
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
36
|
-
style: [titleTypeStyle, {
|
|
37
|
-
color: titleColor
|
|
38
|
-
}],
|
|
39
|
-
numberOfLines: 1
|
|
40
|
-
}, title), subtitle ? /*#__PURE__*/React.createElement(Text, {
|
|
41
|
-
style: [subtitleTypeStyle, {
|
|
42
|
-
color: subtitleColor,
|
|
43
|
-
marginTop: 4
|
|
44
|
-
}],
|
|
45
|
-
numberOfLines: multilineSubtitle ? undefined : 1
|
|
46
|
-
}, subtitle) : null)), right && right());
|
|
47
|
-
};
|
|
48
|
-
const styles = StyleSheet.create({
|
|
49
|
-
leftContainer: {
|
|
50
|
-
flexDirection: "row",
|
|
51
|
-
flex: 1
|
|
52
|
-
},
|
|
53
|
-
container: {
|
|
54
|
-
flexDirection: "row",
|
|
55
|
-
justifyContent: "space-between",
|
|
56
|
-
alignItems: "center"
|
|
57
|
-
},
|
|
58
|
-
textContainer: {
|
|
59
|
-
flex: 1,
|
|
60
|
-
justifyContent: "center"
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
export default withTheme(Row);
|
|
64
|
-
//# sourceMappingURL=Row.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","Image","StyleSheet","withTheme","Config","Row","titleTypeStyle","titleColor","subtitleTypeStyle","subtitleColor","title","subtitle","multilineSubtitle","image","right","style","styles","container","padding","leftContainer","uri","marginRight","width","rowMultiLineImageSize","rowSingleLineImageSize","height","textContainer","color","marginTop","undefined","create","flexDirection","flex","justifyContent","alignItems"],"sourceRoot":"../../src","sources":["Row.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,IAAI,EACJC,KAAK,EAELC,UAAU,QAIL,cAAc;AACrB,SAASC,SAAS,QAAQ,YAAY;AACtC,OAAOC,MAAM,MAAM,UAAU;AAiB7B,MAAMC,GAA6C,GAAG,QAWhD;EAAA,IAXiD;IACrDC,cAAc;IACdC,UAAU;IACVC,iBAAiB;IACjBC,aAAa;IACbC,KAAK;IACLC,QAAQ;IACRC,iBAAiB;IACjBC,KAAK;IACLC,KAAK;IACLC;EACF,CAAC;EACC,oBACE,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAE;MAAEC,OAAO,EAAE;IAAG,CAAC,EAAEH,KAAK;EAAE,gBACtD,oBAAC,IAAI;IAAC,KAAK,EAAEC,MAAM,CAACG;EAAc,GAC/BN,KAAK,iBACJ,oBAAC,KAAK;IACJ,MAAM,EAAE,OAAOA,KAAK,KAAK,QAAQ,GAAG;MAAEO,GAAG,EAAEP;IAAM,CAAC,GAAGA,KAAM;IAC3D,KAAK,EAAE;MACLQ,WAAW,EAAE,EAAE;MACfC,KAAK,EAAEX,QAAQ,GACXP,MAAM,CAACmB,qBAAqB,GAC5BnB,MAAM,CAACoB,sBAAsB;MACjCC,MAAM,EAAEd,QAAQ,GACZP,MAAM,CAACmB,qBAAqB,GAC5BnB,MAAM,CAACoB;IACb;EAAE,EAEL,eACD,oBAAC,IAAI;IAAC,KAAK,EAAER,MAAM,CAACU;EAAc,gBAChC,oBAAC,IAAI;IACH,KAAK,EAAE,CACLpB,cAAc,EACd;MACEqB,KAAK,EAAEpB;IACT,CAAC,CACD;IACF,aAAa,EAAE;EAAE,GAEhBG,KAAK,CACD,EACNC,QAAQ,gBACP,oBAAC,IAAI;IACH,KAAK,EAAE,CACLH,iBAAiB,EACjB;MACEmB,KAAK,EAAElB,aAAa;MACpBmB,SAAS,EAAE;IACb,CAAC,CACD;IACF,aAAa,EAAEhB,iBAAiB,GAAGiB,SAAS,GAAG;EAAE,GAEhDlB,QAAQ,CACJ,GACL,IAAI,CACH,CACF,EACNG,KAAK,IAAIA,KAAK,EAAE,CACZ;AAEX,CAAC;AAED,MAAME,MAAM,GAAGd,UAAU,CAAC4B,MAAM,CAAC;EAC/BX,aAAa,EAAE;IACbY,aAAa,EAAE,KAAK;IACpBC,IAAI,EAAE;EACR,CAAC;EACDf,SAAS,EAAE;IACTc,aAAa,EAAE,KAAK;IACpBE,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE;EACd,CAAC;EACDR,aAAa,EAAE;IACbM,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC;AAEF,eAAe9B,SAAS,CAACE,GAAG,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { withTheme } from "../theming";
|
|
3
|
-
import Row from "./Row";
|
|
4
|
-
import Config from "./Config";
|
|
5
|
-
const RowBodyIcon = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
Icon,
|
|
8
|
-
title,
|
|
9
|
-
subtitle,
|
|
10
|
-
icon,
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
}
|
|
16
|
-
} = _ref;
|
|
17
|
-
return /*#__PURE__*/React.createElement(Row, {
|
|
18
|
-
titleTypeStyle: typography.body1,
|
|
19
|
-
titleColor: colors.medium,
|
|
20
|
-
subtitleTypeStyle: typography.subtitle2,
|
|
21
|
-
subtitleColor: colors.light,
|
|
22
|
-
title: title,
|
|
23
|
-
subtitle: subtitle,
|
|
24
|
-
right: () => /*#__PURE__*/React.createElement(Icon, {
|
|
25
|
-
name: icon,
|
|
26
|
-
size: Config.rowSingleLineIconSize,
|
|
27
|
-
color: colors.light,
|
|
28
|
-
style: {
|
|
29
|
-
marginLeft: 16
|
|
30
|
-
}
|
|
31
|
-
}),
|
|
32
|
-
style: style
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
export default withTheme(RowBodyIcon);
|
|
36
|
-
//# sourceMappingURL=RowBodyIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","withTheme","Row","Config","RowBodyIcon","Icon","title","subtitle","icon","style","theme","colors","typography","body1","medium","subtitle2","light","rowSingleLineIconSize","marginLeft"],"sourceRoot":"../../src","sources":["RowBodyIcon.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,QAAQ,YAAY;AAItC,OAAOC,GAAG,MAAM,OAAO;AACvB,OAAOC,MAAM,MAAM,UAAU;AAW7B,MAAMC,WAAqD,GAAG,QAOxD;EAAA,IAPyD;IAC7DC,IAAI;IACJC,KAAK;IACLC,QAAQ;IACRC,IAAI;IACJC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,GAAG;IACF,cAAc,EAAEA,UAAU,CAACC,KAAM;IACjC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,SAAU;IACxC,aAAa,EAAEJ,MAAM,CAACK,KAAM;IAC5B,KAAK,EAAEV,KAAM;IACb,QAAQ,EAAEC,QAAS;IACnB,KAAK,EAAE,mBACL,oBAAC,IAAI;MACH,IAAI,EAAEC,IAAK;MACX,IAAI,EAAEL,MAAM,CAACc,qBAAsB;MACnC,KAAK,EAAEN,MAAM,CAACK,KAAM;MACpB,KAAK,EAAE;QAAEE,UAAU,EAAE;MAAG;IAAE,EAE5B;IACF,KAAK,EAAET;EAAM,EACb;AAEN,CAAC;AAED,eAAeR,SAAS,CAACG,WAAW,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Text } from "react-native";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
import Row from "./Row";
|
|
5
|
-
const RowHeadlineImageCaption = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
title,
|
|
8
|
-
subtitle,
|
|
9
|
-
caption,
|
|
10
|
-
image,
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
}
|
|
16
|
-
} = _ref;
|
|
17
|
-
return /*#__PURE__*/React.createElement(Row, {
|
|
18
|
-
titleTypeStyle: typography.headline6,
|
|
19
|
-
titleColor: colors.strong,
|
|
20
|
-
subtitleTypeStyle: typography.body2,
|
|
21
|
-
subtitleColor: colors.medium,
|
|
22
|
-
title: title,
|
|
23
|
-
subtitle: subtitle,
|
|
24
|
-
image: image,
|
|
25
|
-
right: () => /*#__PURE__*/React.createElement(Text, {
|
|
26
|
-
style: {
|
|
27
|
-
...typography.caption,
|
|
28
|
-
color: colors.strong,
|
|
29
|
-
marginLeft: 16
|
|
30
|
-
}
|
|
31
|
-
}, caption),
|
|
32
|
-
style: style
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
export default withTheme(RowHeadlineImageCaption);
|
|
36
|
-
//# sourceMappingURL=RowHeadlineImageCaption.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","withTheme","Row","RowHeadlineImageCaption","title","subtitle","caption","image","style","theme","colors","typography","headline6","strong","body2","medium","color","marginLeft"],"sourceRoot":"../../src","sources":["RowHeadlineImageCaption.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAmD,cAAc;AAC9E,SAASC,SAAS,QAAQ,YAAY;AACtC,OAAOC,GAAG,MAAM,OAAO;AAYvB,MAAMC,uBAAiE,GAAG,QAOpE;EAAA,IAPqE;IACzEC,KAAK;IACLC,QAAQ;IACRC,OAAO;IACPC,KAAK;IACLC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,GAAG;IACF,cAAc,EAAEA,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,KAAM;IACpC,aAAa,EAAEJ,MAAM,CAACK,MAAO;IAC7B,KAAK,EAAEX,KAAM;IACb,QAAQ,EAAEC,QAAS;IACnB,KAAK,EAAEE,KAAM;IACb,KAAK,EAAE,mBACL,oBAAC,IAAI;MACH,KAAK,EAAE;QACL,GAAGI,UAAU,CAACL,OAAO;QACrBU,KAAK,EAAEN,MAAM,CAACG,MAAM;QACpBI,UAAU,EAAE;MACd;IAAE,GAEDX,OAAO,CAEV;IACF,KAAK,EAAEE;EAAM,EACb;AAEN,CAAC;AAED,eAAeP,SAAS,CAACE,uBAAuB,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { withTheme } from "../theming";
|
|
3
|
-
import Row from "./Row";
|
|
4
|
-
import Config from "./Config";
|
|
5
|
-
const RowHeadlineImageIcon = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
Icon,
|
|
8
|
-
icon,
|
|
9
|
-
title,
|
|
10
|
-
image,
|
|
11
|
-
subtitle,
|
|
12
|
-
multilineSubtitle = false,
|
|
13
|
-
style,
|
|
14
|
-
theme: {
|
|
15
|
-
colors,
|
|
16
|
-
typography
|
|
17
|
-
}
|
|
18
|
-
} = _ref;
|
|
19
|
-
return /*#__PURE__*/React.createElement(Row, {
|
|
20
|
-
titleTypeStyle: typography.headline6,
|
|
21
|
-
titleColor: colors.strong,
|
|
22
|
-
subtitleTypeStyle: typography.body2,
|
|
23
|
-
subtitleColor: colors.medium,
|
|
24
|
-
title: title,
|
|
25
|
-
subtitle: subtitle,
|
|
26
|
-
multilineSubtitle: multilineSubtitle,
|
|
27
|
-
image: image,
|
|
28
|
-
right: () => /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
-
name: icon,
|
|
30
|
-
size: multilineSubtitle ? Config.rowMultiLineIconSize : Config.rowSingleLineIconSize,
|
|
31
|
-
color: colors.light,
|
|
32
|
-
style: {
|
|
33
|
-
marginLeft: 16,
|
|
34
|
-
alignSelf: multilineSubtitle ? "flex-start" : "center",
|
|
35
|
-
marginTop: multilineSubtitle ? 4 : 0
|
|
36
|
-
}
|
|
37
|
-
}),
|
|
38
|
-
style: style
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
export default withTheme(RowHeadlineImageIcon);
|
|
42
|
-
//# sourceMappingURL=RowHeadlineImageIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","withTheme","Row","Config","RowHeadlineImageIcon","Icon","icon","title","image","subtitle","multilineSubtitle","style","theme","colors","typography","headline6","strong","body2","medium","rowMultiLineIconSize","rowSingleLineIconSize","light","marginLeft","alignSelf","marginTop"],"sourceRoot":"../../src","sources":["RowHeadlineImageIcon.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,QAAQ,YAAY;AAItC,OAAOC,GAAG,MAAM,OAAO;AACvB,OAAOC,MAAM,MAAM,UAAU;AAa7B,MAAMC,oBAA8D,GAAG,QASjE;EAAA,IATkE;IACtEC,IAAI;IACJC,IAAI;IACJC,KAAK;IACLC,KAAK;IACLC,QAAQ;IACRC,iBAAiB,GAAG,KAAK;IACzBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,GAAG;IACF,cAAc,EAAEA,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,KAAM;IACpC,aAAa,EAAEJ,MAAM,CAACK,MAAO;IAC7B,KAAK,EAAEX,KAAM;IACb,QAAQ,EAAEE,QAAS;IACnB,iBAAiB,EAAEC,iBAAkB;IACrC,KAAK,EAAEF,KAAM;IACb,KAAK,EAAE,mBACL,oBAAC,IAAI;MACH,IAAI,EAAEF,IAAK;MACX,IAAI,EACFI,iBAAiB,GACbP,MAAM,CAACgB,oBAAoB,GAC3BhB,MAAM,CAACiB,qBACZ;MACD,KAAK,EAAEP,MAAM,CAACQ,KAAM;MACpB,KAAK,EAAE;QACLC,UAAU,EAAE,EAAE;QACdC,SAAS,EAAEb,iBAAiB,GAAG,YAAY,GAAG,QAAQ;QACtDc,SAAS,EAAEd,iBAAiB,GAAG,CAAC,GAAG;MACrC;IAAE,EAEJ;IACF,KAAK,EAAEC;EAAM,EACb;AAEN,CAAC;AAED,eAAeV,SAAS,CAACG,oBAAoB,CAAC"}
|