@wavemaker-ai/app-rn-runtime 1.0.0-rc.647469
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/actions/base-action.js +12 -0
- package/actions/base-action.js.map +1 -0
- package/actions/index.js +6 -0
- package/actions/index.js.map +1 -0
- package/actions/login-action.js +32 -0
- package/actions/login-action.js.map +1 -0
- package/actions/logout-action.js +22 -0
- package/actions/logout-action.js.map +1 -0
- package/actions/navigation-action.js +44 -0
- package/actions/navigation-action.js.map +1 -0
- package/actions/notification-action.js +76 -0
- package/actions/notification-action.js.map +1 -0
- package/actions/timer-action.js +57 -0
- package/actions/timer-action.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.component.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js +11 -0
- package/components/advanced/carousel/carousel-content/carousel-content.props.js.map +1 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js +17 -0
- package/components/advanced/carousel/carousel-content/carousel-content.styles.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js +20 -0
- package/components/advanced/carousel/carousel-template/carousel-template.component.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js +11 -0
- package/components/advanced/carousel/carousel-template/carousel-template.props.js.map +1 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js +16 -0
- package/components/advanced/carousel/carousel-template/carousel-template.styles.js.map +1 -0
- package/components/advanced/carousel/carousel.component.js +378 -0
- package/components/advanced/carousel/carousel.component.js.map +1 -0
- package/components/advanced/carousel/carousel.props.js +23 -0
- package/components/advanced/carousel/carousel.props.js.map +1 -0
- package/components/advanced/carousel/carousel.styles.js +179 -0
- package/components/advanced/carousel/carousel.styles.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.component.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js +11 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.props.js.map +1 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js +14 -0
- package/components/advanced/customwidgetcontainer/customwidgetcontainer.styles.js.map +1 -0
- package/components/advanced/login/login.component.js +40 -0
- package/components/advanced/login/login.component.js.map +1 -0
- package/components/advanced/login/login.props.js +13 -0
- package/components/advanced/login/login.props.js.map +1 -0
- package/components/advanced/login/login.styles.js +31 -0
- package/components/advanced/login/login.styles.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js +118 -0
- package/components/advanced/network-info-toaster/network-info-toaster.component.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js +11 -0
- package/components/advanced/network-info-toaster/network-info-toaster.props.js.map +1 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js +33 -0
- package/components/advanced/network-info-toaster/network-info-toaster.styles.js.map +1 -0
- package/components/advanced/webview/webview.component.js +160 -0
- package/components/advanced/webview/webview.component.js.map +1 -0
- package/components/advanced/webview/webview.props.js +16 -0
- package/components/advanced/webview/webview.props.js.map +1 -0
- package/components/advanced/webview/webview.styles.js +18 -0
- package/components/advanced/webview/webview.styles.js.map +1 -0
- package/components/basic/anchor/anchor.component.js +124 -0
- package/components/basic/anchor/anchor.component.js.map +1 -0
- package/components/basic/anchor/anchor.props.js +34 -0
- package/components/basic/anchor/anchor.props.js.map +1 -0
- package/components/basic/anchor/anchor.styles.js +108 -0
- package/components/basic/anchor/anchor.styles.js.map +1 -0
- package/components/basic/animatedview.component.js +226 -0
- package/components/basic/animatedview.component.js.map +1 -0
- package/components/basic/audio/audio.component.js +257 -0
- package/components/basic/audio/audio.component.js.map +1 -0
- package/components/basic/audio/audio.props.js +15 -0
- package/components/basic/audio/audio.props.js.map +1 -0
- package/components/basic/audio/audio.styles.js +68 -0
- package/components/basic/audio/audio.styles.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.component.js +772 -0
- package/components/basic/bottomsheet/bottomsheet.component.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.props.js +26 -0
- package/components/basic/bottomsheet/bottomsheet.props.js.map +1 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js +88 -0
- package/components/basic/bottomsheet/bottomsheet.styles.js.map +1 -0
- package/components/basic/button/button.component.js +124 -0
- package/components/basic/button/button.component.js.map +1 -0
- package/components/basic/button/button.props.js +28 -0
- package/components/basic/button/button.props.js.map +1 -0
- package/components/basic/button/button.styles.js +132 -0
- package/components/basic/button/button.styles.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.component.js +28 -0
- package/components/basic/buttongroup/buttongroup.component.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.props.js +14 -0
- package/components/basic/buttongroup/buttongroup.props.js.map +1 -0
- package/components/basic/buttongroup/buttongroup.styles.js +59 -0
- package/components/basic/buttongroup/buttongroup.styles.js.map +1 -0
- package/components/basic/custom/custom.component.js +26 -0
- package/components/basic/custom/custom.component.js.map +1 -0
- package/components/basic/custom/custom.props.js +16 -0
- package/components/basic/custom/custom.props.js.map +1 -0
- package/components/basic/custom/custom.styles.js +18 -0
- package/components/basic/custom/custom.styles.js.map +1 -0
- package/components/basic/icon/icon.component.js +270 -0
- package/components/basic/icon/icon.component.js.map +1 -0
- package/components/basic/icon/icon.props.js +28 -0
- package/components/basic/icon/icon.props.js.map +1 -0
- package/components/basic/icon/icon.styles.js +38 -0
- package/components/basic/icon/icon.styles.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js +245 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-light-icon/streamline-light-icon.ttf +0 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js +217 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.component.js.map +1 -0
- package/components/basic/icon/streamline-regular-icon/streamline-regular-icon.ttf +0 -0
- package/components/basic/icon/wavicon/wavicon.component.js +1161 -0
- package/components/basic/icon/wavicon/wavicon.component.js.map +1 -0
- package/components/basic/icon/wavicon/wavicon.ttf +0 -0
- package/components/basic/label/label.component.js +406 -0
- package/components/basic/label/label.component.js.map +1 -0
- package/components/basic/label/label.props.js +28 -0
- package/components/basic/label/label.props.js.map +1 -0
- package/components/basic/label/label.styles.js +146 -0
- package/components/basic/label/label.styles.js.map +1 -0
- package/components/basic/lottie/lottie.component.js +139 -0
- package/components/basic/lottie/lottie.component.js.map +1 -0
- package/components/basic/lottie/lottie.props.js +14 -0
- package/components/basic/lottie/lottie.props.js.map +1 -0
- package/components/basic/lottie/lottie.styles.js +15 -0
- package/components/basic/lottie/lottie.styles.js.map +1 -0
- package/components/basic/message/message.component.js +87 -0
- package/components/basic/message/message.component.js.map +1 -0
- package/components/basic/message/message.props.js +24 -0
- package/components/basic/message/message.props.js.map +1 -0
- package/components/basic/message/message.styles.js +116 -0
- package/components/basic/message/message.styles.js.map +1 -0
- package/components/basic/modal/modal.component.js +24 -0
- package/components/basic/modal/modal.component.js.map +1 -0
- package/components/basic/modal/modal.props.js +12 -0
- package/components/basic/modal/modal.props.js.map +1 -0
- package/components/basic/modal/modal.styles.js +29 -0
- package/components/basic/modal/modal.styles.js.map +1 -0
- package/components/basic/picture/picture.component.js +321 -0
- package/components/basic/picture/picture.component.js.map +1 -0
- package/components/basic/picture/picture.props.js +25 -0
- package/components/basic/picture/picture.props.js.map +1 -0
- package/components/basic/picture/picture.styles.js +43 -0
- package/components/basic/picture/picture.styles.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.component.js +96 -0
- package/components/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.props.js +19 -0
- package/components/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components/basic/progress-bar/progress-bar.styles.js +45 -0
- package/components/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.component.js +79 -0
- package/components/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.props.js +19 -0
- package/components/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components/basic/search/local-data-provider.js +113 -0
- package/components/basic/search/local-data-provider.js.map +1 -0
- package/components/basic/search/search.component.js +456 -0
- package/components/basic/search/search.component.js.map +1 -0
- package/components/basic/search/search.props.js +39 -0
- package/components/basic/search/search.props.js.map +1 -0
- package/components/basic/search/search.styles.js +187 -0
- package/components/basic/search/search.styles.js.map +1 -0
- package/components/basic/skeleton/skeleton.component.js +151 -0
- package/components/basic/skeleton/skeleton.component.js.map +1 -0
- package/components/basic/skeleton/skeleton.props.js +11 -0
- package/components/basic/skeleton/skeleton.props.js.map +1 -0
- package/components/basic/skeleton/skeleton.styles.js +41 -0
- package/components/basic/skeleton/skeleton.styles.js.map +1 -0
- package/components/basic/spinner/spinner.component.js +99 -0
- package/components/basic/spinner/spinner.component.js.map +1 -0
- package/components/basic/spinner/spinner.props.js +17 -0
- package/components/basic/spinner/spinner.props.js.map +1 -0
- package/components/basic/spinner/spinner.styles.js +41 -0
- package/components/basic/spinner/spinner.styles.js.map +1 -0
- package/components/basic/tooltip/tooltip.component.js +80 -0
- package/components/basic/tooltip/tooltip.component.js.map +1 -0
- package/components/basic/tooltip/tooltip.props.js +18 -0
- package/components/basic/tooltip/tooltip.props.js.map +1 -0
- package/components/basic/tooltip/tooltip.styles.js +49 -0
- package/components/basic/tooltip/tooltip.styles.js.map +1 -0
- package/components/basic/video/video.component.js +206 -0
- package/components/basic/video/video.component.js.map +1 -0
- package/components/basic/video/video.props.js +33 -0
- package/components/basic/video/video.props.js.map +1 -0
- package/components/basic/video/video.styles.js +33 -0
- package/components/basic/video/video.styles.js.map +1 -0
- package/components/chart/area-chart/area-chart.component.js +159 -0
- package/components/chart/area-chart/area-chart.component.js.map +1 -0
- package/components/chart/area-chart/area-chart.props.js +12 -0
- package/components/chart/area-chart/area-chart.props.js.map +1 -0
- package/components/chart/area-chart/area-chart.styles.js +13 -0
- package/components/chart/area-chart/area-chart.styles.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.component.js +144 -0
- package/components/chart/bar-chart/bar-chart.component.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.props.js +15 -0
- package/components/chart/bar-chart/bar-chart.props.js.map +1 -0
- package/components/chart/bar-chart/bar-chart.styles.js +13 -0
- package/components/chart/bar-chart/bar-chart.styles.js.map +1 -0
- package/components/chart/basechart.component.js +709 -0
- package/components/chart/basechart.component.js.map +1 -0
- package/components/chart/basechart.props.js +65 -0
- package/components/chart/basechart.props.js.map +1 -0
- package/components/chart/basechart.styles.js +97 -0
- package/components/chart/basechart.styles.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.component.js +113 -0
- package/components/chart/bubble-chart/bubble-chart.component.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.props.js +11 -0
- package/components/chart/bubble-chart/bubble-chart.props.js.map +1 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js +13 -0
- package/components/chart/bubble-chart/bubble-chart.styles.js.map +1 -0
- package/components/chart/column-chart/column-chart.component.js +8 -0
- package/components/chart/column-chart/column-chart.component.js.map +1 -0
- package/components/chart/column-chart/column-chart.props.js +3 -0
- package/components/chart/column-chart/column-chart.props.js.map +1 -0
- package/components/chart/column-chart/column-chart.styles.js +13 -0
- package/components/chart/column-chart/column-chart.styles.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.component.js +7 -0
- package/components/chart/donut-chart/donut-chart.component.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.props.js +11 -0
- package/components/chart/donut-chart/donut-chart.props.js.map +1 -0
- package/components/chart/donut-chart/donut-chart.styles.js +13 -0
- package/components/chart/donut-chart/donut-chart.styles.js.map +1 -0
- package/components/chart/legend/legend.component.js +36 -0
- package/components/chart/legend/legend.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.component.js +119 -0
- package/components/chart/line-chart/line-chart.component.js.map +1 -0
- package/components/chart/line-chart/line-chart.props.js +14 -0
- package/components/chart/line-chart/line-chart.props.js.map +1 -0
- package/components/chart/line-chart/line-chart.styles.js +13 -0
- package/components/chart/line-chart/line-chart.styles.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.component.js +251 -0
- package/components/chart/pie-chart/pie-chart.component.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.props.js +14 -0
- package/components/chart/pie-chart/pie-chart.props.js.map +1 -0
- package/components/chart/pie-chart/pie-chart.styles.js +13 -0
- package/components/chart/pie-chart/pie-chart.styles.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.component.js +368 -0
- package/components/chart/stack-chart/stack-chart.component.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.props.js +17 -0
- package/components/chart/stack-chart/stack-chart.props.js.map +1 -0
- package/components/chart/stack-chart/stack-chart.styles.js +7 -0
- package/components/chart/stack-chart/stack-chart.styles.js.map +1 -0
- package/components/chart/staticdata.js +215 -0
- package/components/chart/staticdata.js.map +1 -0
- package/components/chart/theme/chart.theme.js +360 -0
- package/components/chart/theme/chart.theme.js.map +1 -0
- package/components/container/accordion/accordion.component.js +202 -0
- package/components/container/accordion/accordion.component.js.map +1 -0
- package/components/container/accordion/accordion.props.js +16 -0
- package/components/container/accordion/accordion.props.js.map +1 -0
- package/components/container/accordion/accordion.styles.js +148 -0
- package/components/container/accordion/accordion.styles.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js +87 -0
- package/components/container/accordion/accordionpane/accordionpane.component.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js +17 -0
- package/components/container/accordion/accordionpane/accordionpane.props.js.map +1 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js +16 -0
- package/components/container/accordion/accordionpane/accordionpane.styles.js.map +1 -0
- package/components/container/container.component.js +194 -0
- package/components/container/container.component.js.map +1 -0
- package/components/container/container.props.js +18 -0
- package/components/container/container.props.js.map +1 -0
- package/components/container/container.styles.js +48 -0
- package/components/container/container.styles.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js +29 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.component.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js +13 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.props.js.map +1 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js +12 -0
- package/components/container/layoutgrid/gridcolumn/gridcolumn.styles.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js +22 -0
- package/components/container/layoutgrid/gridrow/gridrow.component.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js +11 -0
- package/components/container/layoutgrid/gridrow/gridrow.props.js.map +1 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js +42 -0
- package/components/container/layoutgrid/gridrow/gridrow.styles.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.component.js +44 -0
- package/components/container/layoutgrid/layoutgrid.component.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.props.js +11 -0
- package/components/container/layoutgrid/layoutgrid.props.js.map +1 -0
- package/components/container/layoutgrid/layoutgrid.styles.js +34 -0
- package/components/container/layoutgrid/layoutgrid.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayout.component.js +70 -0
- package/components/container/linearlayout/linearlayout.component.js.map +1 -0
- package/components/container/linearlayout/linearlayout.props.js +15 -0
- package/components/container/linearlayout/linearlayout.props.js.map +1 -0
- package/components/container/linearlayout/linearlayout.styles.js +14 -0
- package/components/container/linearlayout/linearlayout.styles.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js +25 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.component.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js +13 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.props.js.map +1 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js +11 -0
- package/components/container/linearlayout/linearlayoutitem/linearlayoutitem.styles.js.map +1 -0
- package/components/container/panel/collapsible-pane.component.js +26 -0
- package/components/container/panel/collapsible-pane.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.component.js +17 -0
- package/components/container/panel/panel-content/panel-content.component.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.props.js +11 -0
- package/components/container/panel/panel-content/panel-content.props.js.map +1 -0
- package/components/container/panel/panel-content/panel-content.styles.js +16 -0
- package/components/container/panel/panel-content/panel-content.styles.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.component.js +17 -0
- package/components/container/panel/panel-footer/panel-footer.component.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.props.js +11 -0
- package/components/container/panel/panel-footer/panel-footer.props.js.map +1 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js +19 -0
- package/components/container/panel/panel-footer/panel-footer.styles.js.map +1 -0
- package/components/container/panel/panel.component.js +163 -0
- package/components/container/panel/panel.component.js.map +1 -0
- package/components/container/panel/panel.props.js +26 -0
- package/components/container/panel/panel.props.js.map +1 -0
- package/components/container/panel/panel.styles.js +108 -0
- package/components/container/panel/panel.styles.js.map +1 -0
- package/components/container/partial-host.component.js +42 -0
- package/components/container/partial-host.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.component.js +240 -0
- package/components/container/tabs/tabheader/tabheader.component.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.props.js +18 -0
- package/components/container/tabs/tabheader/tabheader.props.js.map +1 -0
- package/components/container/tabs/tabheader/tabheader.styles.js +111 -0
- package/components/container/tabs/tabheader/tabheader.styles.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.component.js +82 -0
- package/components/container/tabs/tabpane/tabpane.component.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.props.js +19 -0
- package/components/container/tabs/tabpane/tabpane.props.js.map +1 -0
- package/components/container/tabs/tabpane/tabpane.styles.js +13 -0
- package/components/container/tabs/tabpane/tabpane.styles.js.map +1 -0
- package/components/container/tabs/tabs.component.js +299 -0
- package/components/container/tabs/tabs.component.js.map +1 -0
- package/components/container/tabs/tabs.props.js +16 -0
- package/components/container/tabs/tabs.props.js.map +1 -0
- package/components/container/tabs/tabs.styles.js +65 -0
- package/components/container/tabs/tabs.styles.js.map +1 -0
- package/components/container/tile/tile.component.js +54 -0
- package/components/container/tile/tile.component.js.map +1 -0
- package/components/container/tile/tile.props.js +13 -0
- package/components/container/tile/tile.props.js.map +1 -0
- package/components/container/tile/tile.styles.js +38 -0
- package/components/container/tile/tile.styles.js.map +1 -0
- package/components/container/wizard/wizard.component.js +550 -0
- package/components/container/wizard/wizard.component.js.map +1 -0
- package/components/container/wizard/wizard.props.js +31 -0
- package/components/container/wizard/wizard.props.js.map +1 -0
- package/components/container/wizard/wizard.styles.js +415 -0
- package/components/container/wizard/wizard.styles.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js +17 -0
- package/components/container/wizard/wizardaction/wizardaction.component.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.props.js.map +1 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js +11 -0
- package/components/container/wizard/wizardaction/wizardaction.styles.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js +92 -0
- package/components/container/wizard/wizardstep/wizardstep.component.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js +22 -0
- package/components/container/wizard/wizardstep/wizardstep.props.js.map +1 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js +13 -0
- package/components/container/wizard/wizardstep/wizardstep.styles.js.map +1 -0
- package/components/data/card/card-content/card-content.component.js +46 -0
- package/components/data/card/card-content/card-content.component.js.map +1 -0
- package/components/data/card/card-content/card-content.props.js +12 -0
- package/components/data/card/card-content/card-content.props.js.map +1 -0
- package/components/data/card/card-content/card-content.styles.js +17 -0
- package/components/data/card/card-content/card-content.styles.js.map +1 -0
- package/components/data/card/card-footer/card-footer.component.js +18 -0
- package/components/data/card/card-footer/card-footer.component.js.map +1 -0
- package/components/data/card/card-footer/card-footer.props.js +11 -0
- package/components/data/card/card-footer/card-footer.props.js.map +1 -0
- package/components/data/card/card-footer/card-footer.styles.js +18 -0
- package/components/data/card/card-footer/card-footer.styles.js.map +1 -0
- package/components/data/card/card.component.js +92 -0
- package/components/data/card/card.component.js.map +1 -0
- package/components/data/card/card.props.js +27 -0
- package/components/data/card/card.props.js.map +1 -0
- package/components/data/card/card.styles.js +51 -0
- package/components/data/card/card.styles.js.map +1 -0
- package/components/data/form/form-action/form-action.component.js +35 -0
- package/components/data/form/form-action/form-action.component.js.map +1 -0
- package/components/data/form/form-action/form-action.props.js +18 -0
- package/components/data/form/form-action/form-action.props.js.map +1 -0
- package/components/data/form/form-action/form-action.styles.js +34 -0
- package/components/data/form/form-action/form-action.styles.js.map +1 -0
- package/components/data/form/form-body/form-body.component.js +20 -0
- package/components/data/form/form-body/form-body.component.js.map +1 -0
- package/components/data/form/form-body/form-body.props.js +11 -0
- package/components/data/form/form-body/form-body.props.js.map +1 -0
- package/components/data/form/form-body/form-body.styles.js +13 -0
- package/components/data/form/form-body/form-body.styles.js.map +1 -0
- package/components/data/form/form-field/form-field.component.js +257 -0
- package/components/data/form/form-field/form-field.component.js.map +1 -0
- package/components/data/form/form-field/form-field.props.js +35 -0
- package/components/data/form/form-field/form-field.props.js.map +1 -0
- package/components/data/form/form-field/form-field.styles.js +40 -0
- package/components/data/form/form-field/form-field.styles.js.map +1 -0
- package/components/data/form/form-footer/form-footer.component.js +20 -0
- package/components/data/form/form-footer/form-footer.component.js.map +1 -0
- package/components/data/form/form-footer/form-footer.props.js +11 -0
- package/components/data/form/form-footer/form-footer.props.js.map +1 -0
- package/components/data/form/form-footer/form-footer.styles.js +18 -0
- package/components/data/form/form-footer/form-footer.styles.js.map +1 -0
- package/components/data/form/form.component.js +465 -0
- package/components/data/form/form.component.js.map +1 -0
- package/components/data/form/form.props.js +38 -0
- package/components/data/form/form.props.js.map +1 -0
- package/components/data/form/form.styles.js +53 -0
- package/components/data/form/form.styles.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.component.js +28 -0
- package/components/data/list/list-action-template/list-action-template.component.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.props.js +12 -0
- package/components/data/list/list-action-template/list-action-template.props.js.map +1 -0
- package/components/data/list/list-action-template/list-action-template.styles.js +36 -0
- package/components/data/list/list-action-template/list-action-template.styles.js.map +1 -0
- package/components/data/list/list-template/list-template.component.js +55 -0
- package/components/data/list/list-template/list-template.component.js.map +1 -0
- package/components/data/list/list-template/list-template.props.js +13 -0
- package/components/data/list/list-template/list-template.props.js.map +1 -0
- package/components/data/list/list-template/list-template.styles.js +35 -0
- package/components/data/list/list-template/list-template.styles.js.map +1 -0
- package/components/data/list/list.component.js +690 -0
- package/components/data/list/list.component.js.map +1 -0
- package/components/data/list/list.props.js +53 -0
- package/components/data/list/list.props.js.map +1 -0
- package/components/data/list/list.styles.js +151 -0
- package/components/data/list/list.styles.js.map +1 -0
- package/components/data/liveform/liveform.component.js +98 -0
- package/components/data/liveform/liveform.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.component.js +69 -0
- package/components/device/barcodescanner/barcodescanner.component.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.props.js +19 -0
- package/components/device/barcodescanner/barcodescanner.props.js.map +1 -0
- package/components/device/barcodescanner/barcodescanner.styles.js +38 -0
- package/components/device/barcodescanner/barcodescanner.styles.js.map +1 -0
- package/components/device/camera/camera.component.js +84 -0
- package/components/device/camera/camera.component.js.map +1 -0
- package/components/device/camera/camera.props.js +25 -0
- package/components/device/camera/camera.props.js.map +1 -0
- package/components/device/camera/camera.styles.js +39 -0
- package/components/device/camera/camera.styles.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.component.js +72 -0
- package/components/dialogs/alertdialog/alertdialog.component.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.props.js +24 -0
- package/components/dialogs/alertdialog/alertdialog.props.js.map +1 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js +34 -0
- package/components/dialogs/alertdialog/alertdialog.styles.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js +78 -0
- package/components/dialogs/confirmdialog/confirmdialog.component.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js +24 -0
- package/components/dialogs/confirmdialog/confirmdialog.props.js.map +1 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js +58 -0
- package/components/dialogs/confirmdialog/confirmdialog.styles.js.map +1 -0
- package/components/dialogs/dialog/dialog.component.js +107 -0
- package/components/dialogs/dialog/dialog.component.js.map +1 -0
- package/components/dialogs/dialog/dialog.props.js +25 -0
- package/components/dialogs/dialog/dialog.props.js.map +1 -0
- package/components/dialogs/dialog/dialog.styles.js +78 -0
- package/components/dialogs/dialog/dialog.styles.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.component.js +22 -0
- package/components/dialogs/dialogactions/dialogactions.component.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.props.js +11 -0
- package/components/dialogs/dialogactions/dialogactions.props.js.map +1 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js +17 -0
- package/components/dialogs/dialogactions/dialogactions.styles.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js +31 -0
- package/components/dialogs/dialogcontent/dialogcontent.component.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js +11 -0
- package/components/dialogs/dialogcontent/dialogcontent.props.js.map +1 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js +15 -0
- package/components/dialogs/dialogcontent/dialogcontent.styles.js.map +1 -0
- package/components/input/basedataset/basedataset.component.js +232 -0
- package/components/input/basedataset/basedataset.component.js.map +1 -0
- package/components/input/basedataset/basedataset.props.js +33 -0
- package/components/input/basedataset/basedataset.props.js.map +1 -0
- package/components/input/basedataset/basedataset.styles.js +11 -0
- package/components/input/basedataset/basedataset.styles.js.map +1 -0
- package/components/input/baseinput/baseinput.component.js +203 -0
- package/components/input/baseinput/baseinput.component.js.map +1 -0
- package/components/input/baseinput/baseinput.props.js +32 -0
- package/components/input/baseinput/baseinput.props.js.map +1 -0
- package/components/input/baseinput/baseinput.styles.js +11 -0
- package/components/input/baseinput/baseinput.styles.js.map +1 -0
- package/components/input/basenumber/basenumber.component.js +357 -0
- package/components/input/basenumber/basenumber.component.js.map +1 -0
- package/components/input/basenumber/basenumber.props.js +28 -0
- package/components/input/basenumber/basenumber.props.js.map +1 -0
- package/components/input/basenumber/basenumber.styles.js +11 -0
- package/components/input/basenumber/basenumber.styles.js.map +1 -0
- package/components/input/calendar/calendar.component.js +173 -0
- package/components/input/calendar/calendar.component.js.map +1 -0
- package/components/input/calendar/calendar.props.js +14 -0
- package/components/input/calendar/calendar.props.js.map +1 -0
- package/components/input/calendar/calendar.styles.js +162 -0
- package/components/input/calendar/calendar.styles.js.map +1 -0
- package/components/input/calendar/views/month-view.js +211 -0
- package/components/input/calendar/views/month-view.js.map +1 -0
- package/components/input/calendar/views/month-view.styles.js +39 -0
- package/components/input/calendar/views/month-view.styles.js.map +1 -0
- package/components/input/checkbox/checkbox.component.js +124 -0
- package/components/input/checkbox/checkbox.component.js.map +1 -0
- package/components/input/checkbox/checkbox.props.js +18 -0
- package/components/input/checkbox/checkbox.props.js.map +1 -0
- package/components/input/checkbox/checkbox.styles.js +94 -0
- package/components/input/checkbox/checkbox.styles.js.map +1 -0
- package/components/input/checkboxset/checkboxset.component.js +159 -0
- package/components/input/checkboxset/checkboxset.component.js.map +1 -0
- package/components/input/checkboxset/checkboxset.props.js +21 -0
- package/components/input/checkboxset/checkboxset.props.js.map +1 -0
- package/components/input/checkboxset/checkboxset.styles.js +88 -0
- package/components/input/checkboxset/checkboxset.styles.js.map +1 -0
- package/components/input/chips/chips.component.js +410 -0
- package/components/input/chips/chips.component.js.map +1 -0
- package/components/input/chips/chips.props.js +30 -0
- package/components/input/chips/chips.props.js.map +1 -0
- package/components/input/chips/chips.styles.js +221 -0
- package/components/input/chips/chips.styles.js.map +1 -0
- package/components/input/composite/composite.component.js +25 -0
- package/components/input/composite/composite.component.js.map +1 -0
- package/components/input/composite/composite.props.js +12 -0
- package/components/input/composite/composite.props.js.map +1 -0
- package/components/input/composite/composite.styles.js +29 -0
- package/components/input/composite/composite.styles.js.map +1 -0
- package/components/input/currency/currency.component.js +120 -0
- package/components/input/currency/currency.component.js.map +1 -0
- package/components/input/currency/currency.props.js +13 -0
- package/components/input/currency/currency.props.js.map +1 -0
- package/components/input/currency/currency.styles.js +148 -0
- package/components/input/currency/currency.styles.js.map +1 -0
- package/components/input/epoch/base-datetime.component.js +496 -0
- package/components/input/epoch/base-datetime.component.js.map +1 -0
- package/components/input/epoch/date/date.component.js +20 -0
- package/components/input/epoch/date/date.component.js.map +1 -0
- package/components/input/epoch/date/date.props.js +11 -0
- package/components/input/epoch/date/date.props.js.map +1 -0
- package/components/input/epoch/date/date.styles.js +48 -0
- package/components/input/epoch/date/date.styles.js.map +1 -0
- package/components/input/epoch/date-picker.component.js +136 -0
- package/components/input/epoch/date-picker.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.component.js +20 -0
- package/components/input/epoch/datetime/datetime.component.js.map +1 -0
- package/components/input/epoch/datetime/datetime.props.js +36 -0
- package/components/input/epoch/datetime/datetime.props.js.map +1 -0
- package/components/input/epoch/datetime/datetime.styles.js +163 -0
- package/components/input/epoch/datetime/datetime.styles.js.map +1 -0
- package/components/input/epoch/time/time.component.js +26 -0
- package/components/input/epoch/time/time.component.js.map +1 -0
- package/components/input/epoch/time/time.props.js +15 -0
- package/components/input/epoch/time/time.props.js.map +1 -0
- package/components/input/epoch/time/time.styles.js +48 -0
- package/components/input/epoch/time/time.styles.js.map +1 -0
- package/components/input/epoch/wheel-date-picker.component.js +206 -0
- package/components/input/epoch/wheel-date-picker.component.js.map +1 -0
- package/components/input/epoch/wheel-time-picker.component.js +107 -0
- package/components/input/epoch/wheel-time-picker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js +97 -0
- package/components/input/epoch/wheelpicker/wheelpicker.component.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js +17 -0
- package/components/input/epoch/wheelpicker/wheelpicker.props.js.map +1 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js +55 -0
- package/components/input/epoch/wheelpicker/wheelpicker.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js +85 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js +20 -0
- package/components/input/epoch/wheelpickermodal/date/date-picker-modal.props.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js +66 -0
- package/components/input/epoch/wheelpickermodal/styles/datetime-picker-modal.styles.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js +83 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.component.js.map +1 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js +19 -0
- package/components/input/epoch/wheelpickermodal/time/time-picker-modal.props.js.map +1 -0
- package/components/input/fileupload/fileupload.component.js +70 -0
- package/components/input/fileupload/fileupload.component.js.map +1 -0
- package/components/input/fileupload/fileupload.props.js +19 -0
- package/components/input/fileupload/fileupload.props.js.map +1 -0
- package/components/input/fileupload/fileupload.styles.js +27 -0
- package/components/input/fileupload/fileupload.styles.js.map +1 -0
- package/components/input/number/number.component.js +86 -0
- package/components/input/number/number.component.js.map +1 -0
- package/components/input/number/number.props.js +13 -0
- package/components/input/number/number.props.js.map +1 -0
- package/components/input/number/number.styles.js +93 -0
- package/components/input/number/number.styles.js.map +1 -0
- package/components/input/radioset/radioset.component.js +147 -0
- package/components/input/radioset/radioset.component.js.map +1 -0
- package/components/input/radioset/radioset.props.js +20 -0
- package/components/input/radioset/radioset.props.js.map +1 -0
- package/components/input/radioset/radioset.styles.js +102 -0
- package/components/input/radioset/radioset.styles.js.map +1 -0
- package/components/input/rating/rating.component.js +155 -0
- package/components/input/rating/rating.component.js.map +1 -0
- package/components/input/rating/rating.props.js +25 -0
- package/components/input/rating/rating.props.js.map +1 -0
- package/components/input/rating/rating.styles.js +48 -0
- package/components/input/rating/rating.styles.js.map +1 -0
- package/components/input/select/select.component.js +303 -0
- package/components/input/select/select.component.js.map +1 -0
- package/components/input/select/select.props.js +12 -0
- package/components/input/select/select.props.js.map +1 -0
- package/components/input/select/select.styles.js +178 -0
- package/components/input/select/select.styles.js.map +1 -0
- package/components/input/slider/slider.component.js +538 -0
- package/components/input/slider/slider.component.js.map +1 -0
- package/components/input/slider/slider.props.js +20 -0
- package/components/input/slider/slider.props.js.map +1 -0
- package/components/input/slider/slider.styles.js +95 -0
- package/components/input/slider/slider.styles.js.map +1 -0
- package/components/input/switch/switch.component.js +99 -0
- package/components/input/switch/switch.component.js.map +1 -0
- package/components/input/switch/switch.props.js +13 -0
- package/components/input/switch/switch.props.js.map +1 -0
- package/components/input/switch/switch.styles.js +192 -0
- package/components/input/switch/switch.styles.js.map +1 -0
- package/components/input/text/text.component.js +132 -0
- package/components/input/text/text.component.js.map +1 -0
- package/components/input/text/text.props.js +21 -0
- package/components/input/text/text.props.js.map +1 -0
- package/components/input/text/text.styles.js +130 -0
- package/components/input/text/text.styles.js.map +1 -0
- package/components/input/textarea/textarea.component.js +88 -0
- package/components/input/textarea/textarea.component.js.map +1 -0
- package/components/input/textarea/textarea.props.js +15 -0
- package/components/input/textarea/textarea.props.js.map +1 -0
- package/components/input/textarea/textarea.styles.js +84 -0
- package/components/input/textarea/textarea.styles.js.map +1 -0
- package/components/input/toggle/toggle.component.js +202 -0
- package/components/input/toggle/toggle.component.js.map +1 -0
- package/components/input/toggle/toggle.props.js +32 -0
- package/components/input/toggle/toggle.props.js.map +1 -0
- package/components/input/toggle/toggle.styles.js +97 -0
- package/components/input/toggle/toggle.styles.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.component.js +114 -0
- package/components/navigation/appnavbar/appnavbar.component.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.props.js +22 -0
- package/components/navigation/appnavbar/appnavbar.props.js.map +1 -0
- package/components/navigation/appnavbar/appnavbar.styles.js +169 -0
- package/components/navigation/appnavbar/appnavbar.styles.js.map +1 -0
- package/components/navigation/basenav/basenav.component.js +72 -0
- package/components/navigation/basenav/basenav.component.js.map +1 -0
- package/components/navigation/basenav/basenav.props.js +18 -0
- package/components/navigation/basenav/basenav.props.js.map +1 -0
- package/components/navigation/basenav/basenav.styles.js +11 -0
- package/components/navigation/basenav/basenav.styles.js.map +1 -0
- package/components/navigation/menu/menu.component.js +66 -0
- package/components/navigation/menu/menu.component.js.map +1 -0
- package/components/navigation/menu/menu.props.js +15 -0
- package/components/navigation/menu/menu.props.js.map +1 -0
- package/components/navigation/menu/menu.styles.js +70 -0
- package/components/navigation/menu/menu.styles.js.map +1 -0
- package/components/navigation/navbar/navbar.component.js +78 -0
- package/components/navigation/navbar/navbar.component.js.map +1 -0
- package/components/navigation/navbar/navbar.props.js +16 -0
- package/components/navigation/navbar/navbar.props.js.map +1 -0
- package/components/navigation/navbar/navbar.styles.js +41 -0
- package/components/navigation/navbar/navbar.styles.js.map +1 -0
- package/components/navigation/navitem/navitem.component.js +70 -0
- package/components/navigation/navitem/navitem.component.js.map +1 -0
- package/components/navigation/navitem/navitem.props.js +19 -0
- package/components/navigation/navitem/navitem.props.js.map +1 -0
- package/components/navigation/navitem/navitem.styles.js +80 -0
- package/components/navigation/navitem/navitem.styles.js.map +1 -0
- package/components/navigation/popover/popover.component.js +220 -0
- package/components/navigation/popover/popover.component.js.map +1 -0
- package/components/navigation/popover/popover.props.js +34 -0
- package/components/navigation/popover/popover.props.js.map +1 -0
- package/components/navigation/popover/popover.styles.js +92 -0
- package/components/navigation/popover/popover.styles.js.map +1 -0
- package/components/page/content/content.component.js +16 -0
- package/components/page/content/content.component.js.map +1 -0
- package/components/page/content/content.props.js +2 -0
- package/components/page/content/content.props.js.map +1 -0
- package/components/page/content/content.styles.js +13 -0
- package/components/page/content/content.styles.js.map +1 -0
- package/components/page/left-panel/left-panel.component.js +64 -0
- package/components/page/left-panel/left-panel.component.js.map +1 -0
- package/components/page/left-panel/left-panel.props.js +12 -0
- package/components/page/left-panel/left-panel.props.js.map +1 -0
- package/components/page/left-panel/left-panel.styles.js +18 -0
- package/components/page/left-panel/left-panel.styles.js.map +1 -0
- package/components/page/page-content/page-content.component.js +207 -0
- package/components/page/page-content/page-content.component.js.map +1 -0
- package/components/page/page-content/page-content.props.js +18 -0
- package/components/page/page-content/page-content.props.js.map +1 -0
- package/components/page/page-content/page-content.styles.js +20 -0
- package/components/page/page-content/page-content.styles.js.map +1 -0
- package/components/page/page.component.js +48 -0
- package/components/page/page.component.js.map +1 -0
- package/components/page/page.props.js +15 -0
- package/components/page/page.props.js.map +1 -0
- package/components/page/page.styles.js +24 -0
- package/components/page/page.styles.js.map +1 -0
- package/components/page/partial/partial.component.js +42 -0
- package/components/page/partial/partial.component.js.map +1 -0
- package/components/page/partial/partial.props.js +2 -0
- package/components/page/partial/partial.props.js.map +1 -0
- package/components/page/partial/partial.styles.js +18 -0
- package/components/page/partial/partial.styles.js.map +1 -0
- package/components/page/partial-container/partial-container.component.js +35 -0
- package/components/page/partial-container/partial-container.component.js.map +1 -0
- package/components/page/partial-container/partial-container.props.js +13 -0
- package/components/page/partial-container/partial-container.props.js.map +1 -0
- package/components/page/partial-container/partial-container.styles.js +14 -0
- package/components/page/partial-container/partial-container.styles.js.map +1 -0
- package/components/page/tabbar/curve.js +84 -0
- package/components/page/tabbar/curve.js.map +1 -0
- package/components/page/tabbar/tabbar.component.js +258 -0
- package/components/page/tabbar/tabbar.component.js.map +1 -0
- package/components/page/tabbar/tabbar.props.js +29 -0
- package/components/page/tabbar/tabbar.props.js.map +1 -0
- package/components/page/tabbar/tabbar.styles.js +160 -0
- package/components/page/tabbar/tabbar.styles.js.map +1 -0
- package/components/prefab/prefab-container.component.js +42 -0
- package/components/prefab/prefab-container.component.js.map +1 -0
- package/components/prefab/prefab-container.props.js +2 -0
- package/components/prefab/prefab-container.props.js.map +1 -0
- package/components/prefab/prefab-container.styles.js +16 -0
- package/components/prefab/prefab-container.styles.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.component.js +322 -0
- package/components-prism/advanced/carousel/carousel.component.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.props.js +24 -0
- package/components-prism/advanced/carousel/carousel.props.js.map +1 -0
- package/components-prism/advanced/carousel/carousel.styles.js +179 -0
- package/components-prism/advanced/carousel/carousel.styles.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js +227 -0
- package/components-prism/basic/progress-bar/progress-bar.component.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js +20 -0
- package/components-prism/basic/progress-bar/progress-bar.props.js.map +1 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js +43 -0
- package/components-prism/basic/progress-bar/progress-bar.styles.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js +80 -0
- package/components-prism/basic/progress-circle/progress-circle.component.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js +19 -0
- package/components-prism/basic/progress-circle/progress-circle.props.js.map +1 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js +82 -0
- package/components-prism/basic/progress-circle/progress-circle.styles.js.map +1 -0
- package/components-prism/data/list/list-template/list-template.styles.js +27 -0
- package/components-prism/data/list/list-template/list-template.styles.js.map +1 -0
- package/components-prism/input/slider/Thumb.js +35 -0
- package/components-prism/input/slider/Thumb.js.map +1 -0
- package/components-prism/input/slider/slider.component.js +108 -0
- package/components-prism/input/slider/slider.component.js.map +1 -0
- package/components-prism/input/slider/slider.props.js +20 -0
- package/components-prism/input/slider/slider.props.js.map +1 -0
- package/components-prism/input/slider/slider.styles.js +135 -0
- package/components-prism/input/slider/slider.styles.js.map +1 -0
- package/components-prism/input/slider/withSlider.js +339 -0
- package/components-prism/input/slider/withSlider.js.map +1 -0
- package/core/AppConfig.js +2 -0
- package/core/AppConfig.js.map +1 -0
- package/core/accessibility.js +195 -0
- package/core/accessibility.js.map +1 -0
- package/core/advanced-promise-rejection-tracker.js +208 -0
- package/core/advanced-promise-rejection-tracker.js.map +1 -0
- package/core/asset.provider.js +5 -0
- package/core/asset.provider.js.map +1 -0
- package/core/auto-layout-host.component.js +31 -0
- package/core/auto-layout-host.component.js.map +1 -0
- package/core/auto-layout.utils.js +250 -0
- package/core/auto-layout.utils.js.map +1 -0
- package/core/base.component.js +671 -0
- package/core/base.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.component.js +172 -0
- package/core/components/error-fallback/error-fallback.component.js.map +1 -0
- package/core/components/error-fallback/error-fallback.styles.js +227 -0
- package/core/components/error-fallback/error-fallback.styles.js.map +1 -0
- package/core/components/floatinglabel.component.js +86 -0
- package/core/components/floatinglabel.component.js.map +1 -0
- package/core/components/sticky-base.component.js +54 -0
- package/core/components/sticky-base.component.js.map +1 -0
- package/core/components/sticky-container.component.js +34 -0
- package/core/components/sticky-container.component.js.map +1 -0
- package/core/components/sticky-container.styles.js +98 -0
- package/core/components/sticky-container.styles.js.map +1 -0
- package/core/components/sticky-nav.component.js +28 -0
- package/core/components/sticky-nav.component.js.map +1 -0
- package/core/components/textinput.component.js +226 -0
- package/core/components/textinput.component.js.map +1 -0
- package/core/components-prism/progress-circle.js +217 -0
- package/core/components-prism/progress-circle.js.map +1 -0
- package/core/constant.service.js +22 -0
- package/core/constant.service.js.map +1 -0
- package/core/constants/currency-constants.js +1066 -0
- package/core/constants/currency-constants.js.map +1 -0
- package/core/currency-constants.js +1065 -0
- package/core/currency-constants.js.map +1 -0
- package/core/device/av-service.js +8 -0
- package/core/device/av-service.js.map +1 -0
- package/core/device/calendar-service.js +8 -0
- package/core/device/calendar-service.js.map +1 -0
- package/core/device/camera-service.js +11 -0
- package/core/device/camera-service.js.map +1 -0
- package/core/device/contacts-service.js +8 -0
- package/core/device/contacts-service.js.map +1 -0
- package/core/device/fileupload-service.js +8 -0
- package/core/device/fileupload-service.js.map +1 -0
- package/core/device/location-service.js +8 -0
- package/core/device/location-service.js.map +1 -0
- package/core/device/openfile-service.js +10 -0
- package/core/device/openfile-service.js.map +1 -0
- package/core/device/scan-service.js +11 -0
- package/core/device/scan-service.js.map +1 -0
- package/core/display.manager.js +5 -0
- package/core/display.manager.js.map +1 -0
- package/core/error-boundary.component.js +64 -0
- package/core/error-boundary.component.js.map +1 -0
- package/core/event-notifier.js +69 -0
- package/core/event-notifier.js.map +1 -0
- package/core/file-extension-types.js +70 -0
- package/core/file-extension-types.js.map +1 -0
- package/core/fixed-view.component.js +94 -0
- package/core/fixed-view.component.js.map +1 -0
- package/core/formatters.js +70 -0
- package/core/formatters.js.map +1 -0
- package/core/global-error-handler.service.js +103 -0
- package/core/global-error-handler.service.js.map +1 -0
- package/core/i18n.service.js +2 -0
- package/core/i18n.service.js.map +1 -0
- package/core/if.component.js +35 -0
- package/core/if.component.js.map +1 -0
- package/core/imageSizeEstimator.js +51 -0
- package/core/imageSizeEstimator.js.map +1 -0
- package/core/injector.js +27 -0
- package/core/injector.js.map +1 -0
- package/core/key.extractor.js +21 -0
- package/core/key.extractor.js.map +1 -0
- package/core/logger.js +123 -0
- package/core/logger.js.map +1 -0
- package/core/modal.service.js +5 -0
- package/core/modal.service.js.map +1 -0
- package/core/navigation.service.js +70 -0
- package/core/navigation.service.js.map +1 -0
- package/core/network.service.js +327 -0
- package/core/network.service.js.map +1 -0
- package/core/partial.service.js +5 -0
- package/core/partial.service.js.map +1 -0
- package/core/props.provider.js +88 -0
- package/core/props.provider.js.map +1 -0
- package/core/responsive.utils.js +51 -0
- package/core/responsive.utils.js.map +1 -0
- package/core/screen-capture-protection.service.js +5 -0
- package/core/screen-capture-protection.service.js.map +1 -0
- package/core/scroll-view.component.js +52 -0
- package/core/scroll-view.component.js.map +1 -0
- package/core/secure-storage.service.js +55 -0
- package/core/secure-storage.service.js.map +1 -0
- package/core/security.service.js +5 -0
- package/core/security.service.js.map +1 -0
- package/core/spinner.service.js +5 -0
- package/core/spinner.service.js.map +1 -0
- package/core/sticky-view.component.js +51 -0
- package/core/sticky-view.component.js.map +1 -0
- package/core/sticky-wrapper.js +133 -0
- package/core/sticky-wrapper.js.map +1 -0
- package/core/storage.service.js +38 -0
- package/core/storage.service.js.map +1 -0
- package/core/tappable.component.js +163 -0
- package/core/tappable.component.js.map +1 -0
- package/core/testid.provider.js +5 -0
- package/core/testid.provider.js.map +1 -0
- package/core/toast.service.js +5 -0
- package/core/toast.service.js.map +1 -0
- package/core/ui-preferences.context.js +10 -0
- package/core/ui-preferences.context.js.map +1 -0
- package/core/utils.js +867 -0
- package/core/utils.js.map +1 -0
- package/core/viewport.js +45 -0
- package/core/viewport.js.map +1 -0
- package/core/wm-component-tree.js +58 -0
- package/core/wm-component-tree.js.map +1 -0
- package/gestures/carousel-swipe.animation.js +225 -0
- package/gestures/carousel-swipe.animation.js.map +1 -0
- package/gestures/swipe.animation.js +220 -0
- package/gestures/swipe.animation.js.map +1 -0
- package/gestures-prism/carousel.flatlist.js +349 -0
- package/gestures-prism/carousel.flatlist.js.map +1 -0
- package/index.js +2 -0
- package/index.js.map +1 -0
- package/npm-shrinkwrap.json +26212 -0
- package/package-lock.json +26212 -0
- package/package.json +291 -0
- package/runtime/App.js +763 -0
- package/runtime/App.js.map +1 -0
- package/runtime/App.navigator.js +113 -0
- package/runtime/App.navigator.js.map +1 -0
- package/runtime/base-customwidget.component.js +52 -0
- package/runtime/base-customwidget.component.js.map +1 -0
- package/runtime/base-fragment.component.js +418 -0
- package/runtime/base-fragment.component.js.map +1 -0
- package/runtime/base-page.component.js +233 -0
- package/runtime/base-page.component.js.map +1 -0
- package/runtime/base-partial.component.js +63 -0
- package/runtime/base-partial.component.js.map +1 -0
- package/runtime/base-prefab.component.js +87 -0
- package/runtime/base-prefab.component.js.map +1 -0
- package/runtime/lib-patch.js +25 -0
- package/runtime/lib-patch.js.map +1 -0
- package/runtime/memo.component.js +44 -0
- package/runtime/memo.component.js.map +1 -0
- package/runtime/navigator/drawer.navigator.js +41 -0
- package/runtime/navigator/drawer.navigator.js.map +1 -0
- package/runtime/navigator/stack.navigator.js +78 -0
- package/runtime/navigator/stack.navigator.js.map +1 -0
- package/runtime/platform.api.js +7 -0
- package/runtime/platform.api.js.map +1 -0
- package/runtime/services/app-display-manager.service.js +52 -0
- package/runtime/services/app-display-manager.service.js.map +1 -0
- package/runtime/services/app-i18n.service.js +89 -0
- package/runtime/services/app-i18n.service.js.map +1 -0
- package/runtime/services/app-modal.service.js +73 -0
- package/runtime/services/app-modal.service.js.map +1 -0
- package/runtime/services/app-security.service.js +256 -0
- package/runtime/services/app-security.service.js.map +1 -0
- package/runtime/services/app-spinner.service.js +74 -0
- package/runtime/services/app-spinner.service.js.map +1 -0
- package/runtime/services/app-toast.service.js +60 -0
- package/runtime/services/app-toast.service.js.map +1 -0
- package/runtime/services/device/calendar-service.js +95 -0
- package/runtime/services/device/calendar-service.js.map +1 -0
- package/runtime/services/device/camera-service.js +377 -0
- package/runtime/services/device/camera-service.js.map +1 -0
- package/runtime/services/device/contacts-service.js +34 -0
- package/runtime/services/device/contacts-service.js.map +1 -0
- package/runtime/services/device/location-service.js +16 -0
- package/runtime/services/device/location-service.js.map +1 -0
- package/runtime/services/device/permission-service.js +5 -0
- package/runtime/services/device/permission-service.js.map +1 -0
- package/runtime/services/device/permissions.js +45 -0
- package/runtime/services/device/permissions.js.map +1 -0
- package/runtime/services/device/scan-service.js +163 -0
- package/runtime/services/device/scan-service.js.map +1 -0
- package/runtime/services/partial.service.js +26 -0
- package/runtime/services/partial.service.js.map +1 -0
- package/runtime/services/webprocess.service.js +107 -0
- package/runtime/services/webprocess.service.js.map +1 -0
- package/runtime/watcher.js +147 -0
- package/runtime/watcher.js.map +1 -0
- package/styles/MediaQueryList.js +19 -0
- package/styles/MediaQueryList.js.map +1 -0
- package/styles/background.component.js +317 -0
- package/styles/background.component.js.map +1 -0
- package/styles/calc.js +165 -0
- package/styles/calc.js.map +1 -0
- package/styles/color-mix.js +82 -0
- package/styles/color-mix.js.map +1 -0
- package/styles/style-prop.validator.js +467 -0
- package/styles/style-prop.validator.js.map +1 -0
- package/styles/style-props.js +105 -0
- package/styles/style-props.js.map +1 -0
- package/styles/theme.js +725 -0
- package/styles/theme.js.map +1 -0
- package/styles/theme.variables.js +444 -0
- package/styles/theme.variables.js.map +1 -0
- package/variables/base-variable.js +125 -0
- package/variables/base-variable.js.map +1 -0
- package/variables/device/calendar/create-event.operation.js +53 -0
- package/variables/device/calendar/create-event.operation.js.map +1 -0
- package/variables/device/calendar/delete-event.operation.js +15 -0
- package/variables/device/calendar/delete-event.operation.js.map +1 -0
- package/variables/device/calendar/get-events.operation.js +15 -0
- package/variables/device/calendar/get-events.operation.js.map +1 -0
- package/variables/device/camera/capture-image.operation.js +13 -0
- package/variables/device/camera/capture-image.operation.js.map +1 -0
- package/variables/device/camera/capture-video.operation.js +12 -0
- package/variables/device/camera/capture-video.operation.js.map +1 -0
- package/variables/device/contacts/get-contacts.operation.js +15 -0
- package/variables/device/contacts/get-contacts.operation.js.map +1 -0
- package/variables/device/device/app-info.operation.js +13 -0
- package/variables/device/device/app-info.operation.js.map +1 -0
- package/variables/device/device/current-geo-position.operation.js +15 -0
- package/variables/device/device/current-geo-position.operation.js.map +1 -0
- package/variables/device/device/device-info.operation.js +12 -0
- package/variables/device/device/device-info.operation.js.map +1 -0
- package/variables/device/device/network-info.operation.js +33 -0
- package/variables/device/device/network-info.operation.js.map +1 -0
- package/variables/device/device/vibrate.operation.js +8 -0
- package/variables/device/device/vibrate.operation.js.map +1 -0
- package/variables/device/file/open-file.operation.js +71 -0
- package/variables/device/file/open-file.operation.js.map +1 -0
- package/variables/device/file/upload-file.operation.js +66 -0
- package/variables/device/file/upload-file.operation.js.map +1 -0
- package/variables/device/operation.provider.js +11 -0
- package/variables/device/operation.provider.js.map +1 -0
- package/variables/device/scan/scan.operation.js +15 -0
- package/variables/device/scan/scan.operation.js.map +1 -0
- package/variables/device-variable.js +28 -0
- package/variables/device-variable.js.map +1 -0
- package/variables/http.service.js +84 -0
- package/variables/http.service.js.map +1 -0
- package/variables/live-variable.js +130 -0
- package/variables/live-variable.js.map +1 -0
- package/variables/model-variable.js +47 -0
- package/variables/model-variable.js.map +1 -0
- package/variables/service-variable.js +143 -0
- package/variables/service-variable.js.map +1 -0
- package/variables/utils/dataset-util.js +139 -0
- package/variables/utils/dataset-util.js.map +1 -0
- package/variables/utils/inflight-queue.js +114 -0
- package/variables/utils/inflight-queue.js.map +1 -0
- package/variables/utils/variable.constants.js +22 -0
- package/variables/utils/variable.constants.js.map +1 -0
- package/variables/utils/variable.utils.js +189 -0
- package/variables/utils/variable.utils.js.map +1 -0
- package/wm-namespace.js +15 -0
- package/wm-namespace.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","isString","moment","BaseComponent","BaseComponentState","MonthView","WmCalendarProps","DEFAULT_CLASS","WmIcon","createSkeleton","WmCalendarState","constructor","args","_defineProperty","Map","DEFAULT_DATE_FORMAT","WmCalendar","props","date","d","format","dateWindow","state","calendar","get","updateState","datavalue","selectedDate","invokeEventCallback","events","createElement","iconclass","iconsize","styles","root","marginTop","alignSelf","icon","Math","min","length","Fragment","prepareDataset","dataset","eventStartKey","eventstart","forEach","startDate","has","set","push","onPropertyChange","name","$new","$old","componentDidUpdate","prevProps","prevState","snapshot","renderSkeleton","style","skeleton","headerSkeleton","theme","width","height","borderRadius","margin","renderWidget","onLayout","event","handleLayout","_background","selectDate","onDateChange","renderChildDay","renderDay","containerStyle","dateSelectedWarpDayStyle","selectedDay","selectedDayTextStyle","selectedDayText","warpRowWeekdays","weekDay","warpRowControlMonthYear","calendarHeader","weekdayStyle","weekDayText","warpDayStyle","dayWrapper","textDayStyle","day","yearTextStyle","yearText","monthTextStyle","monthText","currentDayStyle","today","currentDayTextStyle","todayText","notDayOfCurrentMonthStyle","notDayOfCurrentMonth","renderPrevYearButton","id","getTestId","prevYearBtn","accessibilitylabel","accessibilityrole","renderPrevMonthButton","prevMonthBtn","renderNextMonthButton","nextMonthBtn","renderNextYearButton","nextYearBtn"],"sources":["calendar.component.tsx"],"sourcesContent":["import React from 'react';\nimport { DimensionValue, View } from 'react-native';\nimport { isString } from 'lodash';\nimport moment, { Moment } from 'moment';\nimport { BaseComponent, BaseComponentState } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nimport { MonthView } from './views/month-view';\nimport WmCalendarProps from './calendar.props';\nimport { DEFAULT_CLASS, WmCalendarStyles } from './calendar.styles';\nimport WmIcon from '../../basic/icon/icon.component';\nimport { createSkeleton } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.component'\nimport { WmSkeletonStyles } from '../../basic/skeleton/skeleton.styles';\n\nexport class WmCalendarState extends BaseComponentState<WmCalendarProps> {\n selectedDate: Moment = moment();\n calendar: Map<String, { date: number, events: any []}> = new Map();\n}\n\nconst DEFAULT_DATE_FORMAT = 'DD-MM-YYYY';\n\nexport default class WmCalendar extends BaseComponent<WmCalendarProps, WmCalendarState, WmCalendarStyles> {\n\n constructor(props: WmCalendarProps) {\n super(props, DEFAULT_CLASS, new WmCalendarProps(), new WmCalendarState());\n }\n\n onDateChange = (date: Moment) => {\n const d = moment(date).format(DEFAULT_DATE_FORMAT);\n const dateWindow = this.state.calendar.get(d);\n this.updateState({\n props: {datavalue: d},\n selectedDate: date\n } as WmCalendarState);\n this.invokeEventCallback('onSelect', [d, d, this, dateWindow?.events]);\n }\n\n prepareDataset(dataset: any[]) {\n if (!dataset) {\n return;\n }\n const state = {\n calendar: new Map()\n } as WmCalendarState;\n const eventStartKey = this.state.props.eventstart;\n dataset.forEach(d => {\n let startDate = d[eventStartKey];\n if (!isString(startDate)) {\n startDate = moment(startDate).format(DEFAULT_DATE_FORMAT);\n }\n if (!state.calendar.has(startDate)) {\n state.calendar.set(startDate, {\n date: moment(startDate, DEFAULT_DATE_FORMAT).get('milliseconds'),\n events: []\n });\n }\n const dateWindow = state.calendar.get(startDate);\n dateWindow?.events.push(d);\n });\n this.updateState(state);\n }\n\n onPropertyChange(name: string, $new: any, $old: any) {\n switch(name) {\n case 'dataset':\n this.prepareDataset($new);\n break;\n case 'datavalue':\n if ($new) {\n this.updateState({\n selectedDate: isString($new) ? moment($new, DEFAULT_DATE_FORMAT) : moment($new)\n } as WmCalendarState)\n }\n }\n }\n\n renderDay = (date: Moment) => {\n const dateWindow = this.state.calendar.get(moment(date).format(DEFAULT_DATE_FORMAT));\n if (dateWindow) {\n return (\n <WmIcon\n iconclass=\"fa fa-circle\"\n iconsize={8}\n styles={{\n root: {marginTop: -8, alignSelf: 'flexStart'},\n icon: this.styles['eventDay' + Math.min(3, dateWindow.events.length)]}}></WmIcon>\n );\n }\n return (<></>);\n }\n\n componentDidUpdate(prevProps: WmCalendarProps, prevState: WmCalendarState, snapshot: any) {\n super.componentDidUpdate && super.componentDidUpdate(prevProps, prevState, snapshot);\n this.invokeEventCallback('onViewrender', [this, null]);\n }\n\n public renderSkeleton(props: WmCalendarProps): React.ReactNode {\n return (\n <View style={[this.styles.root, this.styles.skeleton.root]}>\n <View style={this.styles.headerSkeleton.root}>\n {createSkeleton(this.theme, {} as WmSkeletonStyles, {width: '10%', height: 28,borderRadius: 4})}\n {createSkeleton(this.theme, {} as WmSkeletonStyles, {width: '68%', height: 16, borderRadius: 4})}\n {createSkeleton(this.theme, {}as WmSkeletonStyles, {width: '10%', height: 28, borderRadius: 4})}\n </View>\n {createSkeleton(this.theme, {} as WmSkeletonStyles, {width: '96%', margin: 8, height: 320, borderRadius: 4})}\n </View>)\n }\n\n renderWidget(props: WmCalendarProps) {\n this.invokeEventCallback('onBeforerender', [null, this]);\n return (\n <View style={this.styles.root} onLayout={(event) => this.handleLayout(event)}>\n {this._background}\n <MonthView\n date={this.state.selectedDate}\n selectDate={this.onDateChange}\n format={DEFAULT_DATE_FORMAT}\n renderChildDay={this.renderDay}\n containerStyle={this.styles.calendar}\n dateSelectedWarpDayStyle={this.styles.selectedDay}\n selectedDayTextStyle={this.styles.selectedDayText}\n warpRowWeekdays={this.styles.weekDay}\n warpRowControlMonthYear={this.styles.calendarHeader}\n weekdayStyle={this.styles.weekDayText}\n warpDayStyle={this.styles.dayWrapper}\n textDayStyle={this.styles.day}\n yearTextStyle={this.styles.yearText}\n monthTextStyle={this.styles.monthText}\n currentDayStyle={this.styles.today}\n currentDayTextStyle={this.styles.todayText}\n notDayOfCurrentMonthStyle={this.styles.notDayOfCurrentMonth}\n renderPrevYearButton={() =>\n (<WmIcon id={this.getTestId('prevyearicon')} iconclass=\"wi wi-angle-double-left\" styles={this.styles.prevYearBtn} accessibilitylabel='previous year' accessibilityrole='button'/>)}\n renderPrevMonthButton={() =>\n (<WmIcon id={this.getTestId('prevmonthicon')} iconclass=\"wi wi-chevron-left fa-2x\" styles={this.styles.prevMonthBtn} accessibilitylabel='previous month' accessibilityrole='button'/>)}\n renderNextMonthButton={() =>\n (<WmIcon id={this.getTestId('nextmonthicon')} iconclass=\"wi wi-chevron-right fa-2x\" styles={this.styles.nextMonthBtn} accessibilitylabel='next month' accessibilityrole='button'/>)}\n renderNextYearButton={() =>\n (<WmIcon id={this.getTestId('nextyearicon')} iconclass=\"wi wi-angle-double-right\" styles={this.styles.nextYearBtn} accessibilitylabel='next year' accessibilityrole='button'/>)}\n />\n </View>\n );\n }\n}\n"],"mappings":";;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAyBC,IAAI,QAAQ,cAAc;AACnD,SAASC,QAAQ,QAAQ,QAAQ;AACjC,OAAOC,MAAM,MAAkB,QAAQ;AACvC,SAASC,aAAa,EAAEC,kBAAkB,QAAQ,kDAAkD;AAEpG,SAASC,SAAS,QAAQ,oBAAoB;AAC9C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AACzE,SAAS,EAAC,2BAA2B;QAACE,MAAM,EAAE,IAAI,CAACA,MAAM,CAAC8E,YAAa;QAACL,kBAAkB,EAAC,YAAY;QAACC,iBAAiB,EAAC;MAAQ,CAAC,CAAG;MACxLK,oBAAoB,EAAEA,CAAA,kBACjBjH,KAAA,CAAA+B,aAAA,CAACtB,MAAM;QAAE+F,EAAE,EAAE,IAAI,CAACC,SAAS,CAAC,cAAc,CAAE;QAACzE,SAAS,EAAC,0BAA0B;QAACE,MAAM,EAAE,IAAI,CAACA,MAAM,CAACgF,WAAY;QAACP,kBAAkB,EAAC,WAAW;QAACC,iBAAiB,EAAC;MAAQ,CAAC;IAAG,CACtL,CACC,CAAC;EAEX;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
5
|
+
export default class WmCalendarProps extends BaseProps {
|
|
6
|
+
constructor(...args) {
|
|
7
|
+
super(...args);
|
|
8
|
+
_defineProperty(this, "dataset", null);
|
|
9
|
+
_defineProperty(this, "datavalue", null);
|
|
10
|
+
_defineProperty(this, "eventstart", null);
|
|
11
|
+
_defineProperty(this, "view", 'day');
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=calendar.props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseProps","WmCalendarProps","constructor","args","_defineProperty"],"sources":["calendar.props.ts"],"sourcesContent":["import { BaseProps } from '@wavemaker-ai/app-rn-runtime/core/base.component';\n\nexport default class WmCalendarProps extends BaseProps {\n dataset: any[] = null as any;\n datavalue: string | number = null as any;\n eventstart: string = null as any;\n view: 'day' | 'month' | 'year' = 'day';\n}\n"],"mappings":";;;AAAA,SAASA,SAAS,QAAQ,kDAAkD;AAE5E,eAAe,MAAMC,eAAe,SAASD,SAAS,CAAC;EAAAE,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,kBACpC,IAAI;IAAAA,eAAA,oBACQ,IAAI;IAAAA,eAAA,qBACZ,IAAI;IAAAA,eAAA,eACQ,KAAK;EAAA;AACxC","ignoreList":[]}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import BASE_THEME from '@wavemaker-ai/app-rn-runtime/styles/theme';
|
|
2
|
+
import { defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';
|
|
3
|
+
export const DEFAULT_CLASS = 'app-calendar';
|
|
4
|
+
BASE_THEME.registerStyle((themeVariables, addStyle) => {
|
|
5
|
+
const defaultStyles = defineStyles({
|
|
6
|
+
root: {
|
|
7
|
+
width: '100%',
|
|
8
|
+
minHeight: 456,
|
|
9
|
+
minWidth: 360
|
|
10
|
+
},
|
|
11
|
+
text: {
|
|
12
|
+
color: themeVariables.calendarDateColor
|
|
13
|
+
},
|
|
14
|
+
calendar: {
|
|
15
|
+
backgroundColor: themeVariables.calendarBgColor,
|
|
16
|
+
borderColor: themeVariables.calendarHeaderBgColor,
|
|
17
|
+
borderWidth: 1,
|
|
18
|
+
borderStyle: 'solid',
|
|
19
|
+
marginTop: 0,
|
|
20
|
+
paddingTop: 0,
|
|
21
|
+
paddingBottom: 0,
|
|
22
|
+
elevation: 6
|
|
23
|
+
},
|
|
24
|
+
calendarHeader: {
|
|
25
|
+
backgroundColor: themeVariables.calendarHeaderBgColor,
|
|
26
|
+
borderColor: themeVariables.calendarHeaderBgColor,
|
|
27
|
+
borderBottomWidth: 1,
|
|
28
|
+
borderStyle: 'solid',
|
|
29
|
+
paddingTop: 8,
|
|
30
|
+
paddingBottom: 8
|
|
31
|
+
},
|
|
32
|
+
weekDay: {
|
|
33
|
+
backgroundColor: themeVariables.calendarBgColor,
|
|
34
|
+
borderColor: themeVariables.calendarHeaderBgColor,
|
|
35
|
+
borderBottomWidth: 1,
|
|
36
|
+
borderStyle: 'solid',
|
|
37
|
+
padding: 2
|
|
38
|
+
},
|
|
39
|
+
weekDayText: {
|
|
40
|
+
color: themeVariables.calendarWeekDayTextColor,
|
|
41
|
+
fontWeight: '400',
|
|
42
|
+
fontFamily: themeVariables.baseFont,
|
|
43
|
+
fontSize: 16
|
|
44
|
+
},
|
|
45
|
+
day: {
|
|
46
|
+
borderColor: 'transparent',
|
|
47
|
+
color: themeVariables.calendarDateColor,
|
|
48
|
+
fontSize: 16,
|
|
49
|
+
fontFamily: themeVariables.baseFont,
|
|
50
|
+
fontWeight: '400'
|
|
51
|
+
},
|
|
52
|
+
dayWrapper: {
|
|
53
|
+
backgroundColor: themeVariables.calendarBgColor,
|
|
54
|
+
borderColor: 'transparent',
|
|
55
|
+
width: 38,
|
|
56
|
+
height: 38,
|
|
57
|
+
borderRadius: 26
|
|
58
|
+
},
|
|
59
|
+
notDayOfCurrentMonth: {
|
|
60
|
+
color: themeVariables.calendarNotCurrentMonthDateColor,
|
|
61
|
+
fontWeight: 'normal',
|
|
62
|
+
opacity: 0
|
|
63
|
+
},
|
|
64
|
+
monthText: {
|
|
65
|
+
fontWeight: '500',
|
|
66
|
+
fontFamily: themeVariables.baseFont,
|
|
67
|
+
color: themeVariables.calendarHeaderTextColor
|
|
68
|
+
},
|
|
69
|
+
yearText: {
|
|
70
|
+
fontWeight: '500',
|
|
71
|
+
fontFamily: themeVariables.baseFont,
|
|
72
|
+
color: themeVariables.calendarHeaderTextColor
|
|
73
|
+
},
|
|
74
|
+
today: {
|
|
75
|
+
backgroundColor: themeVariables.calendarBgColor,
|
|
76
|
+
borderColor: themeVariables.primaryColor
|
|
77
|
+
},
|
|
78
|
+
todayText: {
|
|
79
|
+
backgroundColor: themeVariables.calendarSelectedDayBgColor
|
|
80
|
+
},
|
|
81
|
+
eventDay1: {
|
|
82
|
+
color: themeVariables.calendarEventDay1Color
|
|
83
|
+
},
|
|
84
|
+
eventDay2: {
|
|
85
|
+
color: themeVariables.calendarEventDay2Color
|
|
86
|
+
},
|
|
87
|
+
eventDay3: {
|
|
88
|
+
color: themeVariables.calendarEventDay3Color
|
|
89
|
+
},
|
|
90
|
+
selectedDay: {
|
|
91
|
+
backgroundColor: themeVariables.calendarSelectedDayBgColor
|
|
92
|
+
},
|
|
93
|
+
selectedDayText: {
|
|
94
|
+
backgroundColor: themeVariables.calendarSelectedDayBgColor,
|
|
95
|
+
color: themeVariables.calendarSelectedDayTextColor,
|
|
96
|
+
fontWeight: 'bold'
|
|
97
|
+
},
|
|
98
|
+
prevMonthBtn: {
|
|
99
|
+
root: {
|
|
100
|
+
color: themeVariables.calendarPrevMonthIconColor
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
nextMonthBtn: {
|
|
104
|
+
root: {
|
|
105
|
+
color: themeVariables.calendarNextMonthIconColor
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
prevYearBtn: {
|
|
109
|
+
root: {
|
|
110
|
+
color: themeVariables.calendarPrevYearIconColor
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
nextYearBtn: {
|
|
114
|
+
root: {
|
|
115
|
+
color: themeVariables.calendarNextYearIconColor
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
skeleton: {
|
|
119
|
+
root: {
|
|
120
|
+
display: 'flex',
|
|
121
|
+
justifyContent: 'center',
|
|
122
|
+
backgroundColor: '#fff',
|
|
123
|
+
paddingHorizontal: 8,
|
|
124
|
+
alignItems: 'center'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
headerSkeleton: {
|
|
128
|
+
root: {
|
|
129
|
+
width: '100%',
|
|
130
|
+
display: 'flex',
|
|
131
|
+
flexDirection: 'row',
|
|
132
|
+
alignItems: 'center',
|
|
133
|
+
justifyContent: 'space-around',
|
|
134
|
+
marginBottom: 16
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
addStyle(DEFAULT_CLASS, '', defaultStyles);
|
|
139
|
+
addStyle(DEFAULT_CLASS + '-rtl', '', {
|
|
140
|
+
prevMonthBtn: {
|
|
141
|
+
root: {
|
|
142
|
+
transform: [{
|
|
143
|
+
rotateY: '180deg'
|
|
144
|
+
}]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
nextMonthBtn: {
|
|
148
|
+
root: {
|
|
149
|
+
transform: [{
|
|
150
|
+
rotateY: '180deg'
|
|
151
|
+
}]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
monthText: {
|
|
155
|
+
padding: 2
|
|
156
|
+
},
|
|
157
|
+
yearText: {
|
|
158
|
+
padding: 2
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
//# sourceMappingURL=calendar.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BASE_THEME","defineStyles","DEFAULT_CLASS","registerStyle","themeVariables","addStyle","defaultStyles","root","width","minHeight","minWidth","text","color","calendarDateColor","calendar","backgroundColor","calendarBgColor","borderColor","calendarHeaderBgColor","borderWidth","borderStyle","marginTop","paddingTop","paddingBottom","elevation","calendarHeader","borderBottomWidth","weekDay","padding","weekDayText","calendarWeekDayTextColor","fontWeight","fontFamily","baseFont","fontSize","day","dayWrapper","height","borderRadius","notDayOfCurrentMonth","calendarNotCurrentMonthDateColor","opacity","monthText","calendarHeaderTextColor","yearText","today","primaryColor","todayText","calendarSelectedDayBgColor","eventDay1","calendarEventDay1Color","eventDay2","calendarEventDay2Color","eventDay3","calendarEventDay3Color","selectedDay","selectedDayText","calendarSelectedDayTextColor","prevMonthBtn","calendarPrevMonthIconColor","nextMonthBtn","calendarNextMonthIconColor","prevYearBtn","calendarPrevYearIconColor","nextYearBtn","calendarNextYearIconColor","skeleton","display","justifyContent","paddingHorizontal","alignItems","headerSkeleton","flexDirection","marginBottom","transform","rotateY"],"sources":["calendar.styles.ts"],"sourcesContent":["import BASE_THEME, { AllStyle } from '@wavemaker-ai/app-rn-runtime/styles/theme';\nimport { BaseStyles, defineStyles } from '@wavemaker-ai/app-rn-runtime/core/base.component';\nimport { WmIconStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/icon/icon.styles';\nimport { TextStyle } from 'react-native';\nimport { WmSkeletonStyles } from '@wavemaker-ai/app-rn-runtime/components/basic/skeleton/skeleton.styles';\n\nexport type WmCalendarStyles = BaseStyles & {\n calendar: AllStyle,\n calendarHeader: AllStyle,\n day: AllStyle,\n dayWrapper: AllStyle,\n notDayOfCurrentMonth: AllStyle,\n monthText: TextStyle,\n yearText: TextStyle,\n weekDay: AllStyle,\n today: AllStyle,\n todayText: AllStyle,\n prevMonthBtn: WmIconStyles,\n nextMonthBtn: WmIconStyles,\n prevYearBtn: WmIconStyles,\n nextYearBtn: WmIconStyles,\n selectedDay: AllStyle,\n selectedDayText: AllStyle\n eventDay1: AllStyle,\n eventDay2: AllStyle,\n eventDay3: AllStyle,\n skeleton: WmSkeletonStyles;\n headerSkeleton: WmSkeletonStyles;\n};\n\nexport const DEFAULT_CLASS = 'app-calendar';\nBASE_THEME.registerStyle((themeVariables, addStyle) => {\n const defaultStyles: WmCalendarStyles = defineStyles<WmCalendarStyles>({\n root: {\n width: '100%',\n minHeight: 456,\n minWidth: 360\n },\n text: {\n color: themeVariables.calendarDateColor\n },\n calendar : {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderWidth: 1,\n borderStyle: 'solid',\n marginTop: 0,\n paddingTop: 0,\n paddingBottom: 0,\n elevation: 6\n },\n calendarHeader : {\n backgroundColor: themeVariables.calendarHeaderBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n paddingTop: 8,\n paddingBottom: 8\n },\n weekDay: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.calendarHeaderBgColor,\n borderBottomWidth: 1,\n borderStyle: 'solid',\n padding: 2,\n },\n weekDayText: {\n color: themeVariables.calendarWeekDayTextColor,\n fontWeight: '400',\n fontFamily: themeVariables.baseFont,\n fontSize: 16,\n },\n day: {\n borderColor: 'transparent',\n color: themeVariables.calendarDateColor,\n fontSize: 16,\n fontFamily: themeVariables.baseFont,\n fontWeight: '400'\n },\n dayWrapper: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: 'transparent',\n width: 38,\n height: 38,\n borderRadius: 26\n },\n notDayOfCurrentMonth: {\n color: themeVariables.calendarNotCurrentMonthDateColor,\n fontWeight: 'normal',\n opacity: 0\n },\n monthText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n yearText: {\n fontWeight: '500',\n fontFamily: themeVariables.baseFont,\n color: themeVariables.calendarHeaderTextColor\n },\n today: {\n backgroundColor: themeVariables.calendarBgColor,\n borderColor: themeVariables.primaryColor\n },\n todayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n eventDay1 : {\n color: themeVariables.calendarEventDay1Color\n },\n eventDay2 : {\n color: themeVariables.calendarEventDay2Color\n },\n eventDay3 : {\n color: themeVariables.calendarEventDay3Color\n },\n selectedDay: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor\n },\n selectedDayText: {\n backgroundColor: themeVariables.calendarSelectedDayBgColor,\n color: themeVariables.calendarSelectedDayTextColor,\n fontWeight: 'bold'\n },\n prevMonthBtn: {\n root: {\n color: themeVariables.calendarPrevMonthIconColor\n }\n } as WmIconStyles,\n nextMonthBtn: {\n root: {\n color: themeVariables.calendarNextMonthIconColor\n }\n } as WmIconStyles,\n prevYearBtn: {\n root: {\n color: themeVariables.calendarPrevYearIconColor\n }\n } as WmIconStyles,\n nextYearBtn: {\n root: {\n color: themeVariables.calendarNextYearIconColor\n }\n } as WmIconStyles,\n skeleton: {\n root: {\n display:'flex',\n justifyContent: 'center',\n backgroundColor:'#fff',\n paddingHorizontal: 8,\n alignItems: 'center',\n },\n } as any as WmSkeletonStyles ,\n headerSkeleton: {\n root: {\n width: '100%',\n display:'flex',\n flexDirection:'row',\n alignItems: 'center',\n justifyContent: 'space-around',\n marginBottom: 16\n }\n } as any as WmSkeletonStyles\n });\n\n addStyle(DEFAULT_CLASS, '', defaultStyles);\n addStyle(DEFAULT_CLASS + '-rtl', '', {\n prevMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}]\n }\n } as any as WmIconStyles,\n nextMonthBtn: {\n root: {\n transform: [ {rotateY: '180deg'}]\n },\n } as any as WmIconStyles,\n monthText: {\n padding: 2\n },\n yearText: {\n padding: 2\n }\n });\n});\n"],"mappings":"AAAA,OAAOA,UAAU,MAAoB,2CAA2C;AAChF,SAAqBC,YAAY,QAAQ,kDAAkD;AA6B3F,OAAO,MAAMC,aAAa,GAAG,cAAc;AAC3CF,UAAU,CAACG,aAAa,CAAC,CAACC,cAAc,EAAEC,QAAQ,KAAK;EACnD,MAAMC,aAA+B,GAAGL,YAAY,CAAmB;IACnEM,IAAI,EAAE;MACFC,KAAK,EAAE,MAAM;MACbC,SAAS,EAAE,GAAG;MACdC,QAAQ,EAAE;IACd,CAAC;IACDC,IAAI,EAAE;MACFC,KAAK,EAAER,cAAc,CAACS;IAC1B,CAAC;IACDC,QAAQ,EAAG;MACPC,eAAe,EAAEX,cAAc,CAACY,eAAe;MAC/CC,WAAW,EAAEb,cAAc,CAACc,qBAAqB;MACjDC,WAAW,EAAE,CAAC;MACdC,WAAW,EAAE,OAAO;MACpBC,SAAS,EAAE,CAAC;MACZC,UAAU,EAAE,CAAC;MACbC,aAAa,EAAE,CAAC;MAChBC,SAAS,EAA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,EAAE,MAAM;QACb2D,OAAO,EAAC,MAAM;QACdK,aAAa,EAAC,KAAK;QACnBF,UAAU,EAAE,QAAQ;QACpBF,cAAc,EAAE,cAAc;QAC9BK,YAAY,EAAE;MAClB;IACJ;EACJ,CAAC,CAAC;EAEFpE,QAAQ,CAACH,aAAa,EAAE,EAAE,EAAEI,aAAa,CAAC;EAC1CD,QAAQ,CAACH,aAAa,GAAG,MAAM,EAAE,EAAE,EAAE;IACjCwD,YAAY,EAAE;MACVnD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAwB;IACxBf,YAAY,EAAE;MACVrD,IAAI,EAAE;QACFmE,SAAS,EAAE,CAAE;UAACC,OAAO,EAAE;QAAQ,CAAC;MACpC;IACJ,CAAwB;IACxBjC,SAAS,EAAE;MACPd,OAAO,EAAE;IACb,CAAC;IACDgB,QAAQ,EAAE;MACNhB,OAAO,EAAE;IACb;EACJ,CAAC,CAAC;AACN,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
2
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
3
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4
|
+
/****
|
|
5
|
+
* Copied code from a repo with no active maintenance.
|
|
6
|
+
* https://github.com/hungdev/react-native-customize-selected-date
|
|
7
|
+
* That js lib was converted to ts and fixed bugs.
|
|
8
|
+
*/
|
|
9
|
+
import React, { Component } from 'react';
|
|
10
|
+
import { Text, View, FlatList, TouchableOpacity, AccessibilityInfo } from 'react-native';
|
|
11
|
+
import moment from 'moment';
|
|
12
|
+
import styles from './month-view.styles';
|
|
13
|
+
import _ from 'lodash';
|
|
14
|
+
let _isScreenReaderEnabled = false;
|
|
15
|
+
AccessibilityInfo.addEventListener('screenReaderChanged', enabled => {
|
|
16
|
+
_isScreenReaderEnabled = enabled;
|
|
17
|
+
});
|
|
18
|
+
AccessibilityInfo.isScreenReaderEnabled().then(enabled => {
|
|
19
|
+
_isScreenReaderEnabled = enabled;
|
|
20
|
+
});
|
|
21
|
+
export class MonthViewProps {
|
|
22
|
+
constructor() {
|
|
23
|
+
_defineProperty(this, "testID", null);
|
|
24
|
+
_defineProperty(this, "accessibilityLabel", null);
|
|
25
|
+
_defineProperty(this, "date", null);
|
|
26
|
+
_defineProperty(this, "minDate", moment('1990-01-01', 'YYYY-MM-DD'));
|
|
27
|
+
_defineProperty(this, "maxDate", moment('2100-01-01', 'YYYY-MM-DD'));
|
|
28
|
+
_defineProperty(this, "customMonth", ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']);
|
|
29
|
+
_defineProperty(this, "customWeekdays", ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']);
|
|
30
|
+
_defineProperty(this, "renderPrevYearButton", null);
|
|
31
|
+
_defineProperty(this, "format", 'YYYY-MM-DD');
|
|
32
|
+
_defineProperty(this, "renderPrevMonthButton", null);
|
|
33
|
+
_defineProperty(this, "renderNextYearButton", null);
|
|
34
|
+
_defineProperty(this, "renderNextMonthButton", null);
|
|
35
|
+
_defineProperty(this, "renderChildDay", day => /*#__PURE__*/React.createElement(React.Fragment, null));
|
|
36
|
+
_defineProperty(this, "selectDate", day => {});
|
|
37
|
+
//style
|
|
38
|
+
_defineProperty(this, "getDayStyle", date => ({}));
|
|
39
|
+
_defineProperty(this, "containerStyle", null);
|
|
40
|
+
_defineProperty(this, "warpRowControlMonthYear", null);
|
|
41
|
+
_defineProperty(this, "warpRowWeekdays", null);
|
|
42
|
+
_defineProperty(this, "weekdayStyle", null);
|
|
43
|
+
_defineProperty(this, "textDayStyle", null);
|
|
44
|
+
_defineProperty(this, "currentDayStyle", null);
|
|
45
|
+
_defineProperty(this, "currentDayTextStyle", null);
|
|
46
|
+
_defineProperty(this, "notDayOfCurrentMonthStyle", null);
|
|
47
|
+
_defineProperty(this, "warpDayStyle", null);
|
|
48
|
+
_defineProperty(this, "dateSelectedWarpDayStyle", null);
|
|
49
|
+
_defineProperty(this, "selectedDayTextStyle", null);
|
|
50
|
+
_defineProperty(this, "monthTextStyle", null);
|
|
51
|
+
_defineProperty(this, "yearTextStyle", null);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class MonthViewState {
|
|
55
|
+
constructor(selectedDate = moment()) {
|
|
56
|
+
this.selectedDate = selectedDate;
|
|
57
|
+
_defineProperty(this, "viewMode", 'day');
|
|
58
|
+
_defineProperty(this, "currentYear", null);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class MonthView extends Component {
|
|
62
|
+
constructor(props) {
|
|
63
|
+
super(props);
|
|
64
|
+
this.state = new MonthViewState(this.props.date);
|
|
65
|
+
// Set moment's locale to ensure week starts on Sunday
|
|
66
|
+
moment.updateLocale('en', {
|
|
67
|
+
week: {
|
|
68
|
+
dow: 0,
|
|
69
|
+
// Sunday is the first day of the week
|
|
70
|
+
doy: 1 // First week of year must contain 1 January
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
calendarArray(date) {
|
|
75
|
+
const dates = [];
|
|
76
|
+
// Ensure we're working with a clone and explicitly set to start of day
|
|
77
|
+
const currDate = date.clone().startOf('month').startOf('day');
|
|
78
|
+
// Get the day of week (0-6, 0 being Sunday)
|
|
79
|
+
const startDay = currDate.day();
|
|
80
|
+
// Move back to the first day of the week
|
|
81
|
+
currDate.subtract(startDay, 'days');
|
|
82
|
+
for (let i = 0; i < 42; i += 1) {
|
|
83
|
+
dates[i] = currDate.clone();
|
|
84
|
+
currDate.add(1, 'day');
|
|
85
|
+
}
|
|
86
|
+
return dates;
|
|
87
|
+
}
|
|
88
|
+
renderDay(day) {
|
|
89
|
+
var _this$props$date, _this$props$date2;
|
|
90
|
+
const {
|
|
91
|
+
warpDayStyle,
|
|
92
|
+
dateSelectedWarpDayStyle,
|
|
93
|
+
renderChildDay,
|
|
94
|
+
textDayStyle,
|
|
95
|
+
currentDayStyle,
|
|
96
|
+
currentDayTextStyle,
|
|
97
|
+
notDayOfCurrentMonthStyle,
|
|
98
|
+
selectedDayTextStyle
|
|
99
|
+
} = this.props;
|
|
100
|
+
const dateSelected = (_this$props$date = this.props.date) === null || _this$props$date === void 0 ? void 0 : _this$props$date.isSame(day);
|
|
101
|
+
const isCurrent = moment().isSame(day, 'date');
|
|
102
|
+
const notCurrentMonth = !((_this$props$date2 = this.props.date) !== null && _this$props$date2 !== void 0 && _this$props$date2.isSame(day, 'month'));
|
|
103
|
+
const dateStyle = (this.props.getDayStyle ? this.props.getDayStyle(day) : null) || {};
|
|
104
|
+
return /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
105
|
+
testID: this.props.testID + '_' + day.format('yyyy_mm_dd'),
|
|
106
|
+
accessibilityLabel: !_isScreenReaderEnabled ? this.props.testID + '_' + day.format('yyyy_mm_dd') : undefined,
|
|
107
|
+
onPress: () => this.selectDate(day),
|
|
108
|
+
style: [styles.warpDay, warpDayStyle, isCurrent ? currentDayStyle : {}, dateSelected ? {
|
|
109
|
+
backgroundColor: '#2C1F23',
|
|
110
|
+
...dateSelectedWarpDayStyle
|
|
111
|
+
} : {}, dateStyle.containerStyle]
|
|
112
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
113
|
+
style: {
|
|
114
|
+
flexDirection: 'column',
|
|
115
|
+
justifyContent: 'center',
|
|
116
|
+
alignItems: 'center'
|
|
117
|
+
}
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
119
|
+
style: [styles.day, textDayStyle, isCurrent ? currentDayTextStyle : {}, notCurrentMonth ? {
|
|
120
|
+
color: '#493D40',
|
|
121
|
+
...notDayOfCurrentMonthStyle
|
|
122
|
+
} : {}, dateSelected ? {
|
|
123
|
+
color: '#000',
|
|
124
|
+
...selectedDayTextStyle
|
|
125
|
+
} : {}, dateStyle.textStyle]
|
|
126
|
+
}, day.get('date')), renderChildDay && renderChildDay(day)));
|
|
127
|
+
}
|
|
128
|
+
selectDate(date) {
|
|
129
|
+
if (this.isDateEnable(date)) {
|
|
130
|
+
this.props.selectDate && this.props.selectDate(date);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
yearMonthChange(unit, type) {
|
|
134
|
+
this.selectDate((this.props.date || moment()).clone().add(unit, type).startOf('month'));
|
|
135
|
+
}
|
|
136
|
+
isDateEnable(date) {
|
|
137
|
+
const {
|
|
138
|
+
minDate,
|
|
139
|
+
maxDate
|
|
140
|
+
} = this.props;
|
|
141
|
+
return (minDate === null || minDate === void 0 ? void 0 : minDate.isSameOrBefore(date)) && (maxDate === null || maxDate === void 0 ? void 0 : maxDate.isSameOrAfter(date));
|
|
142
|
+
}
|
|
143
|
+
render() {
|
|
144
|
+
var _this$props$date3, _this$props$date4;
|
|
145
|
+
const {
|
|
146
|
+
renderPrevYearButton,
|
|
147
|
+
renderPrevMonthButton,
|
|
148
|
+
renderNextYearButton,
|
|
149
|
+
renderNextMonthButton,
|
|
150
|
+
weekdayStyle,
|
|
151
|
+
customWeekdays,
|
|
152
|
+
warpRowWeekdays,
|
|
153
|
+
warpRowControlMonthYear,
|
|
154
|
+
monthTextStyle,
|
|
155
|
+
yearTextStyle
|
|
156
|
+
} = this.props;
|
|
157
|
+
const weekdays = customWeekdays || ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
|
|
158
|
+
const data = this.calendarArray(this.props.date || moment());
|
|
159
|
+
const dayOfWeek = [];
|
|
160
|
+
const month = this.props.customMonth ? this.props.customMonth[((_this$props$date3 = this.props.date) === null || _this$props$date3 === void 0 ? void 0 : _this$props$date3.get('month')) || 0] : 'Jan';
|
|
161
|
+
const year = ((_this$props$date4 = this.props.date) === null || _this$props$date4 === void 0 ? void 0 : _this$props$date4.get('year')) || 1;
|
|
162
|
+
_.forEach(weekdays, element => {
|
|
163
|
+
dayOfWeek.push(/*#__PURE__*/React.createElement(Text, {
|
|
164
|
+
key: element,
|
|
165
|
+
style: [styles.weekdays, weekdayStyle]
|
|
166
|
+
}, element));
|
|
167
|
+
});
|
|
168
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
169
|
+
style: [styles.container, this.props.containerStyle]
|
|
170
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
171
|
+
style: [{
|
|
172
|
+
flexDirection: 'row',
|
|
173
|
+
justifyContent: 'space-between',
|
|
174
|
+
alignItems: 'center'
|
|
175
|
+
}, warpRowControlMonthYear]
|
|
176
|
+
}, /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
177
|
+
onPress: () => this.yearMonthChange(-1, 'month')
|
|
178
|
+
}, renderPrevMonthButton ? renderPrevMonthButton() : /*#__PURE__*/React.createElement(Text, null, '<')), /*#__PURE__*/React.createElement(View, {
|
|
179
|
+
style: {
|
|
180
|
+
flexDirection: 'row'
|
|
181
|
+
}
|
|
182
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
183
|
+
style: [styles.txtHeaderDate, monthTextStyle]
|
|
184
|
+
}, month + ' '), /*#__PURE__*/React.createElement(Text, {
|
|
185
|
+
style: [styles.txtHeaderDate, yearTextStyle]
|
|
186
|
+
}, year)), /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
187
|
+
onPress: () => this.yearMonthChange(1, 'month')
|
|
188
|
+
}, renderNextMonthButton ? renderNextMonthButton() : /*#__PURE__*/React.createElement(Text, null, '>'))), /*#__PURE__*/React.createElement(View, {
|
|
189
|
+
style: [{
|
|
190
|
+
flexDirection: 'row',
|
|
191
|
+
justifyContent: 'space-around'
|
|
192
|
+
}, warpRowWeekdays]
|
|
193
|
+
}, dayOfWeek), /*#__PURE__*/React.createElement(FlatList, {
|
|
194
|
+
data: data,
|
|
195
|
+
keyExtractor: item => '' + item.toDate().getTime(),
|
|
196
|
+
renderItem: ({
|
|
197
|
+
item
|
|
198
|
+
}) => this.renderDay(item),
|
|
199
|
+
extraData: this.state,
|
|
200
|
+
columnWrapperStyle: {
|
|
201
|
+
justifyContent: 'space-between'
|
|
202
|
+
},
|
|
203
|
+
numColumns: 7,
|
|
204
|
+
style: {
|
|
205
|
+
padding: 4
|
|
206
|
+
}
|
|
207
|
+
}));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
_defineProperty(MonthView, "defaultProps", new MonthViewProps());
|
|
211
|
+
//# sourceMappingURL=month-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Component","Text","View","FlatList","TouchableOpacity","AccessibilityInfo","moment","styles","_","_isScreenReaderEnabled","addEventListener","enabled","isScreenReaderEnabled","then","MonthViewProps","constructor","_defineProperty","day","createElement","Fragment","date","MonthViewState","selectedDate","MonthView","props","state","updateLocale","week","dow","doy","calendarArray","dates","currDate","clone","startOf","startDay","subtract","i","add","renderDay","_this$props$date","_this$props$date2","warpDayStyle","dateSelectedWarpDayStyle","renderChildDay","textDayStyle","currentDayStyle","currentDayTextStyle","notDayOfCurrentMonthStyle","selectedDayTextStyle","dateSelected","isSame","isCurrent","notCurrentMonth","dateStyle","getDayStyle","testID","format","accessibilityLabel","undefined","onPress","selectDate","style","warpDay","backgroundColor","containerStyle","flexDirection","justifyContent","alignItems","color","textStyle","get","isDateEnable","yearMonthChange","unit","type","minDate","maxDate","isSameOrBefore","isSameOrAfter","render","_this$props$date3","_this$props$date4","renderPrevYearButton","renderPrevMonthButton","renderNextYearButton","renderNextMonthButton","weekdayStyle","customWeekdays","warpRowWeekdays","warpRowControlMonthYear","monthTextStyle","yearTextStyle","weekdays","data","dayOfWeek","month","customMonth","year","forEach","element","push","key","container","txtHeaderDate","keyExtractor","item","toDate","getTime","renderItem","extraData","columnWrapperStyle","numColumns","padding"],"sources":["month-view.tsx"],"sourcesContent":["/****\n * Copied code from a repo with no active maintenance.\n * https://github.com/hungdev/react-native-customize-selected-date\n * That js lib was converted to ts and fixed bugs. \n */\nimport React, { Component } from 'react';\nimport {\n Text,\n View,\n FlatList,\n TouchableOpacity,\n ViewStyle,\n TextStyle,\n AccessibilityInfo\n} from 'react-native';\nimport moment, { Moment } from 'moment';\nimport styles from './month-view.styles'\nimport _ from 'lodash';\n\nlet _isScreenReaderEnabled = false;\n\nAccessibilityInfo.addEventListener('screenReaderChanged', (enabled) => {\n _isScreenReaderEnabled = enabled;\n});\n\nAccessibilityInfo.isScreenReaderEnabled().then((enabled) => {\n _isScreenReaderEnabled = enabled;\n});\n\nexport class MonthViewProps {\n testID?: string = null as any;\n accessibilityLabel?: string = null as any;\n date?: Moment = null as any;\n minDate? = moment('1990-01-01', 'YYYY-MM-DD');\n maxDate? = moment('2100-01-01', 'YYYY-MM-DD');\n customMonth?: string[] = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n customWeekdays?: string[] = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\n renderPrevYearButton?: () => React.ReactNode = null as any;\n format?='YYYY-MM-DD';\n renderPrevMonthButton?: () => React.ReactNode = null as any;\n renderNextYearButton?: () => React.ReactNode = null as any;\n renderNextMonthButton?: () => React.ReactNode = null as any;\n renderChildDay? = (day: Moment) => (<></>);\n selectDate? = (day: Moment) => {}; \n //style\n getDayStyle? = (date: Moment) => ({});\n containerStyle?: ViewStyle = null as any;\n warpRowControlMonthYear?: ViewStyle = null as any;\n warpRowWeekdays?: ViewStyle = null as any;\n weekdayStyle?: TextStyle = null as any;\n textDayStyle?: TextStyle = null as any;\n currentDayStyle?: ViewStyle = null as any;\n currentDayTextStyle?: TextStyle = null as any;\n notDayOfCurrentMonthStyle?: ViewStyle = null as any;\n warpDayStyle?: ViewStyle = null as any;\n dateSelectedWarpDayStyle?: ViewStyle = null as any;\n selectedDayTextStyle?: TextStyle = null as any;\n monthTextStyle?: TextStyle = null as any;\n yearTextStyle?: TextStyle = null as any;\n}\n\nexport class MonthViewState {\n viewMode = 'day';\n currentYear: string = null as any;\n constructor(public selectedDate: Moment = moment()) {\n\n }\n}\n\nexport class MonthView extends Component<MonthViewProps, MonthViewState> {\n\n static defaultProps = new MonthViewProps();\n\n constructor(props: MonthViewProps) {\n super(props);\n this.state = new MonthViewState(this.props.date);\n // Set moment's locale to ensure week starts on Sunday\n moment.updateLocale('en', {\n week: {\n dow: 0, // Sunday is the first day of the week\n doy: 1, // First week of year must contain 1 January\n }\n });\n }\n\n calendarArray (date: Moment): Moment[] {\n const dates: Moment[] = [];\n // Ensure we're working with a clone and explicitly set to start of day\n const currDate = date.clone().startOf('month').startOf('day');\n // Get the day of week (0-6, 0 being Sunday)\n const startDay = currDate.day();\n // Move back to the first day of the week\n currDate.subtract(startDay, 'days');\n \n for (let i = 0; i < 42; i += 1) {\n dates[i] = currDate.clone();\n currDate.add(1, 'day');\n }\n return dates;\n }\n\n renderDay(day: Moment) {\n const { warpDayStyle, dateSelectedWarpDayStyle,\n renderChildDay, textDayStyle, currentDayStyle, currentDayTextStyle, notDayOfCurrentMonthStyle, selectedDayTextStyle } = this.props;\n const dateSelected = this.props.date?.isSame(day);\n const isCurrent = moment().isSame(day, 'date');\n const notCurrentMonth = !this.props.date?.isSame(day, 'month');\n const dateStyle = ((this.props.getDayStyle ? this.props.getDayStyle(day) : null) || {}) as any;\n return (\n <TouchableOpacity \n testID={this.props.testID + '_' + day.format('yyyy_mm_dd')}\n accessibilityLabel={!_isScreenReaderEnabled ? this.props.testID + '_' + day.format('yyyy_mm_dd') : undefined}\n onPress={() => this.selectDate(day)}\n style={[styles.warpDay, warpDayStyle,\n isCurrent ? currentDayStyle : {},\n dateSelected ? { backgroundColor: '#2C1F23', ...dateSelectedWarpDayStyle } : {},\n dateStyle.containerStyle]}\n >\n <View style={{flexDirection: 'column', justifyContent: 'center', alignItems: 'center'}}>\n <Text style={[styles.day, textDayStyle,\n isCurrent ? currentDayTextStyle : {},\n notCurrentMonth ? { color: '#493D40', ...notDayOfCurrentMonthStyle } : {},\n dateSelected ? { color: '#000', ...selectedDayTextStyle } : {},\n dateStyle.textStyle]}>\n {day.get('date')}\n </Text>\n {renderChildDay && renderChildDay(day)}\n </View>\n </TouchableOpacity>\n )\n }\n\n selectDate(date: Moment) {\n if (this.isDateEnable(date)) {\n this.props.selectDate && this.props.selectDate(date)\n }\n }\n\n yearMonthChange(unit: number, type: string) {\n this.selectDate((this.props.date || moment()).clone().add(unit, type as any).startOf('month'));\n }\n\n isDateEnable(date: Moment) {\n const { minDate, maxDate } = this.props;\n return minDate?.isSameOrBefore(date) && maxDate?.isSameOrAfter(date);\n }\n\n render() {\n const {\n renderPrevYearButton, renderPrevMonthButton,\n renderNextYearButton, renderNextMonthButton,\n weekdayStyle, customWeekdays, warpRowWeekdays,\n warpRowControlMonthYear, monthTextStyle, yearTextStyle\n } = this.props\n const weekdays = customWeekdays || ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n const data = this.calendarArray(this.props.date || moment())\n const dayOfWeek: React.ReactNode[] = [];\n const month = this.props.customMonth ? this.props.customMonth[this.props.date?.get('month') || 0]: 'Jan';\n const year = this.props.date?.get('year') || 1;\n _.forEach(weekdays, element => {\n dayOfWeek.push(<Text key={element} style={[styles.weekdays, weekdayStyle]}>{element}</Text>)\n })\n\n return (\n <View style={[styles.container, this.props.containerStyle]}>\n <View style={[{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center' }, warpRowControlMonthYear]}>\n {/*<TouchableOpacity onPress={() => this.yearMonthChange(-1, 'year')}>\n {renderPrevYearButton ? renderPrevYearButton() : <Text>{'<<'}</Text>}\n </TouchableOpacity>*/}\n <TouchableOpacity onPress={() => this.yearMonthChange(-1, 'month')}>\n {renderPrevMonthButton ? renderPrevMonthButton() : <Text>{'<'}</Text>}\n </TouchableOpacity>\n <View style={{flexDirection: 'row'}}>\n <Text style={[styles.txtHeaderDate, monthTextStyle]} >{month + ' '}</Text>\n <Text style={[styles.txtHeaderDate, yearTextStyle]} >{year}</Text>\n </View>\n <TouchableOpacity onPress={() => this.yearMonthChange(1, 'month')}>\n {renderNextMonthButton ? renderNextMonthButton() : <Text>{'>'}</Text>}\n </TouchableOpacity>\n {/*<TouchableOpacity onPress={() => this.yearMonthChange(1, 'year')}>\n {renderNextYearButton ? renderNextYearButton() : <Text>{'>>'}</Text>}\n </TouchableOpacity>*/}\n </View>\n <View style={[{ flexDirection: 'row', justifyContent: 'space-around' }, warpRowWeekdays]}>\n {dayOfWeek}\n </View>\n <FlatList\n data={data}\n keyExtractor={(item) => '' + item.toDate().getTime()}\n renderItem={({ item }) => this.renderDay(item)}\n extraData={this.state}\n columnWrapperStyle={{justifyContent: 'space-between'}}\n numColumns={7}\n style={{\n padding: 4\n }}\n />\n </View>\n )\n }\n}"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA,OAAOA,KAAK,IAAIC,SAAS,QAAQ,OAAO;AACxC,SACEC,IAAI,EACJC,IAAI,EACJC,QAAQ,EACRC,gBAAgB,EAGhBC,iBAAiB,QACZ,cAAc;AACrB,OAAOC,MAAM,MAAkB,QAAQ;AACvC,OAAOC,MAAM,MAAM,qBAAqB;AACxC,OAAOC,CAAC,MAAM,QAAQ;AAEtB,IAAIC,sBAAsB,GAAG,KAAK;AAElCJ,iBAAiB,CAACK,gBAAgB,CAAC,qBAAqB,EAAGC,OAAO,IAAK;EACrEF,sBAAsB,GAAGE,OAAO;AAClC,CAAC,CAAC;AAEFN,iBAAiB,CAACO,qBAAqB,CAAC,CAAC,CAACC,IAAI,CAAEF,OAAO,IAAK;EAC1DF,sBAAsB,GAAGE,OAAO;A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B,aAAA,CAACjB,IAAI,QAAE,GAAU,CACpD,CAId,CAAC,eACPF,KAAA,CAAAmB,aAAA,CAAChB,IAAI;MAAC4D,KAAK,EAAE,CAAC;QAAEI,aAAa,EAAE,KAAK;QAAEC,cAAc,EAAE;MAAe,CAAC,EAAEsB,eAAe;IAAE,GACtFM,SACG,CAAC,eACPhG,KAAA,CAAAmB,aAAA,CAACf,QAAQ;MACP2F,IAAI,EAAEA,IAAK;MACXW,YAAY,EAAGC,IAAI,IAAK,EAAE,GAAGA,IAAI,CAACC,MAAM,CAAC,CAAC,CAACC,OAAO,CAAC,CAAE;MACrDC,UAAU,EAAEA,CAAC;QAAEH;MAAK,CAAC,KAAK,IAAI,CAACnE,SAAS,CAACmE,IAAI,CAAE;MAC/CI,SAAS,EAAE,IAAI,CAACrF,KAAM;MACtBsF,kBAAkB,EAAE;QAAC5C,cAAc,EAAE;MAAe,CAAE;MACtD6C,UAAU,EAAE,CAAE;MACdlD,KAAK,EAAE;QACLmD,OAAO,EAAE;MACX;IAAE,CACH,CACG,CAAC;EAEX;AACF;AAACjG,eAAA,CAnIYO,SAAS,kBAEE,IAAIT,cAAc,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { StyleSheet, Dimensions } from 'react-native';
|
|
2
|
+
const {
|
|
3
|
+
width,
|
|
4
|
+
height
|
|
5
|
+
} = Dimensions.get('window');
|
|
6
|
+
const screenWidth = width < height ? width : height;
|
|
7
|
+
export default StyleSheet.create({
|
|
8
|
+
container: {},
|
|
9
|
+
day: {
|
|
10
|
+
color: '#fff'
|
|
11
|
+
},
|
|
12
|
+
txtHeaderDate: {
|
|
13
|
+
color: '#fff',
|
|
14
|
+
fontSize: 18
|
|
15
|
+
},
|
|
16
|
+
weekdays: {
|
|
17
|
+
marginVertical: 10,
|
|
18
|
+
color: 'white',
|
|
19
|
+
width: screenWidth / 7 - 8,
|
|
20
|
+
textAlign: 'center'
|
|
21
|
+
},
|
|
22
|
+
warpDay: {
|
|
23
|
+
width: screenWidth / 7,
|
|
24
|
+
justifyContent: 'center',
|
|
25
|
+
alignItems: 'center',
|
|
26
|
+
backgroundColor: '#25171A',
|
|
27
|
+
borderColor: '#201216',
|
|
28
|
+
borderWidth: 1,
|
|
29
|
+
marginVertical: 4
|
|
30
|
+
},
|
|
31
|
+
icLockRed: {
|
|
32
|
+
width: 13 / 2,
|
|
33
|
+
height: 9,
|
|
34
|
+
position: 'absolute',
|
|
35
|
+
top: 2,
|
|
36
|
+
left: 1
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=month-view.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Dimensions","width","height","get","screenWidth","create","container","day","color","txtHeaderDate","fontSize","weekdays","marginVertical","textAlign","warpDay","justifyContent","alignItems","backgroundColor","borderColor","borderWidth","icLockRed","position","top","left"],"sources":["month-view.styles.ts"],"sourcesContent":["import { StyleSheet, Dimensions } from 'react-native';\nconst { width, height } = Dimensions.get('window');\nconst screenWidth = width < height ? width : height;\n\nexport default StyleSheet.create({\n container: {},\n day: {\n color: '#fff'\n },\n txtHeaderDate: {\n color: '#fff',\n fontSize: 18,\n\n },\n weekdays: {\n marginVertical: 10,\n color: 'white',\n width: screenWidth / 7 - 8,\n textAlign: 'center'\n },\n warpDay: {\n width: screenWidth / 7,\n justifyContent: 'center',\n alignItems: 'center',\n backgroundColor: '#25171A',\n borderColor: '#201216',\n borderWidth: 1,\n marginVertical: 4,\n },\n icLockRed: {\n width: 13 / 2,\n height: 9,\n position: 'absolute',\n top: 2,\n left: 1\n }\n});"],"mappings":"AAAA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AACrD,MAAM;EAAEC,KAAK;EAAEC;AAAO,CAAC,GAAGF,UAAU,CAACG,GAAG,CAAC,QAAQ,CAAC;AAClD,MAAMC,WAAW,GAAGH,KAAK,GAAGC,MAAM,GAAGD,KAAK,GAAGC,MAAM;AAEnD,eAAeH,UAAU,CAACM,MAAM,CAAC;EAC/BC,SAAS,EAAE,CAAC,CAAC;EACbC,GAAG,EAAE;IACHC,KAAK,EAAE;EACT,CAAC;EACDC,aAAa,EAAE;IACbD,KAAK,EAAE,MAAM;IACbE,QAAQ,EAAE;EAEZ,CAAC;EACDC,QAAQ,EAAE;IACRC,cAAc,EAAE,EAAE;IAClBJ,KAAK,EAAE,OAAO;IACdP,KAAK,EAAEG,WAAW,GAAG,CAAC,GAAG,CAAC;IAC1BS,SAAS,EAAE;EACb,CAAC;EACDC,OAAO,EAAE;IACPb,KAAK,EAAEG,WAAW,GAAG,CAAC;IACtBW,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpBC,eAAe,EAAE,SAAS;IAC1BC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,CAAC;IACdP,cAAc,EAAE;EAClB,CAAC;EACDQ,SAAS,EAAE;IACTnB,KAAK,EAAE,EAAE,GAAG,CAAC;IACbC,MAAM,EAAE,CAAC;IACTmB,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE;EACR;AACF,CAAC,CAAC","ignoreList":[]}
|