{"ast":null,"code":"import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"label\", \"accessibilityLabel\", \"page\", \"numberOfPages\", \"onPageChange\", \"style\", \"showFastPaginationControls\", \"numberOfItemsPerPageList\", \"numberOfItemsPerPage\", \"onItemsPerPageChange\", \"selectPageDropdownLabel\", \"selectPageDropdownAccessibilityLabel\", \"selectPageDropdownRippleColor\", \"dropdownItemRippleColor\", \"theme\"];\nfunction _extends() {\n  return _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, _extends.apply(null, arguments);\n}\nimport * as React from 'react';\nimport I18nManager from \"react-native-web/dist/exports/I18nManager\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport color from 'color';\nimport { useInternalTheme } from \"../../core/theming\";\nimport Button from \"../Button/Button\";\nimport IconButton from \"../IconButton/IconButton\";\nimport MaterialCommunityIcon from \"../MaterialCommunityIcon\";\nimport Menu from \"../Menu/Menu\";\nimport Text from \"../Typography/Text\";\nconst PaginationControls = ({\n  page,\n  numberOfPages,\n  onPageChange,\n  showFastPaginationControls,\n  theme: themeOverrides,\n  paginationControlRippleColor\n}) => {\n  const theme = useInternalTheme(themeOverrides);\n  const textColor = theme.isV3 ? theme.colors.onSurface : theme.colors.text;\n  return React.createElement(React.Fragment, null, showFastPaginationControls ? React.createElement(IconButton, {\n    icon: ({\n      size,\n      color\n    }) => React.createElement(MaterialCommunityIcon, {\n      name: \"page-first\",\n      color: color,\n      size: size,\n      direction: I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n    }),\n    iconColor: textColor,\n    rippleColor: paginationControlRippleColor,\n    disabled: page === 0,\n    onPress: () => onPageChange(0),\n    accessibilityLabel: \"page-first\",\n    theme: theme\n  }) : null, React.createElement(IconButton, {\n    icon: ({\n      size,\n      color\n    }) => React.createElement(MaterialCommunityIcon, {\n      name: \"chevron-left\",\n      color: color,\n      size: size,\n      direction: I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n    }),\n    iconColor: textColor,\n    rippleColor: paginationControlRippleColor,\n    disabled: page === 0,\n    onPress: () => onPageChange(page - 1),\n    accessibilityLabel: \"chevron-left\",\n    theme: theme\n  }), React.createElement(IconButton, {\n    icon: ({\n      size,\n      color\n    }) => React.createElement(MaterialCommunityIcon, {\n      name: \"chevron-right\",\n      color: color,\n      size: size,\n      direction: I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n    }),\n    iconColor: textColor,\n    rippleColor: paginationControlRippleColor,\n    disabled: numberOfPages === 0 || page === numberOfPages - 1,\n    onPress: () => onPageChange(page + 1),\n    accessibilityLabel: \"chevron-right\",\n    theme: theme\n  }), showFastPaginationControls ? React.createElement(IconButton, {\n    icon: ({\n      size,\n      color\n    }) => React.createElement(MaterialCommunityIcon, {\n      name: \"page-last\",\n      color: color,\n      size: size,\n      direction: I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n    }),\n    iconColor: textColor,\n    rippleColor: paginationControlRippleColor,\n    disabled: numberOfPages === 0 || page === numberOfPages - 1,\n    onPress: () => onPageChange(numberOfPages - 1),\n    accessibilityLabel: \"page-last\",\n    theme: theme\n  }) : null);\n};\nconst PaginationDropdown = ({\n  numberOfItemsPerPageList,\n  numberOfItemsPerPage,\n  onItemsPerPageChange,\n  theme: themeOverrides,\n  selectPageDropdownRippleColor,\n  dropdownItemRippleColor\n}) => {\n  const theme = useInternalTheme(themeOverrides);\n  const {\n    colors\n  } = theme;\n  const [showSelect, toggleSelect] = React.useState(false);\n  return React.createElement(Menu, {\n    visible: showSelect,\n    onDismiss: () => toggleSelect(!showSelect),\n    theme: theme,\n    anchor: React.createElement(Button, {\n      mode: \"outlined\",\n      onPress: () => toggleSelect(true),\n      style: styles.button,\n      icon: \"menu-down\",\n      contentStyle: styles.contentStyle,\n      theme: theme,\n      rippleColor: selectPageDropdownRippleColor\n    }, `${numberOfItemsPerPage}`)\n  }, numberOfItemsPerPageList === null || numberOfItemsPerPageList === void 0 ? void 0 : numberOfItemsPerPageList.map(option => React.createElement(Menu.Item, {\n    key: option,\n    titleStyle: option === numberOfItemsPerPage && {\n      color: colors === null || colors === void 0 ? void 0 : colors.primary\n    },\n    onPress: () => {\n      onItemsPerPageChange === null || onItemsPerPageChange === void 0 || onItemsPerPageChange(option);\n      toggleSelect(false);\n    },\n    rippleColor: dropdownItemRippleColor,\n    title: option,\n    theme: theme\n  })));\n};\nconst DataTablePagination = _ref => {\n  let {\n      label,\n      accessibilityLabel,\n      page,\n      numberOfPages,\n      onPageChange,\n      style,\n      showFastPaginationControls = false,\n      numberOfItemsPerPageList,\n      numberOfItemsPerPage,\n      onItemsPerPageChange,\n      selectPageDropdownLabel,\n      selectPageDropdownAccessibilityLabel,\n      selectPageDropdownRippleColor,\n      dropdownItemRippleColor,\n      theme: themeOverrides\n    } = _ref,\n    rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n  const theme = useInternalTheme(themeOverrides);\n  const labelColor = color(theme.isV3 ? theme.colors.onSurface : theme === null || theme === void 0 ? void 0 : theme.colors.text).alpha(0.6).rgb().string();\n  return React.createElement(View, _extends({}, rest, {\n    style: [styles.container, style],\n    accessibilityLabel: \"pagination-container\"\n  }), numberOfItemsPerPageList && numberOfItemsPerPage && onItemsPerPageChange && React.createElement(View, {\n    accessibilityLabel: \"Options Select\",\n    style: styles.optionsContainer\n  }, React.createElement(Text, {\n    style: [styles.label, {\n      color: labelColor\n    }],\n    numberOfLines: 3,\n    accessibilityLabel: selectPageDropdownAccessibilityLabel || 'selectPageDropdownLabel'\n  }, selectPageDropdownLabel), React.createElement(PaginationDropdown, {\n    numberOfItemsPerPageList: numberOfItemsPerPageList,\n    numberOfItemsPerPage: numberOfItemsPerPage,\n    onItemsPerPageChange: onItemsPerPageChange,\n    selectPageDropdownRippleColor: selectPageDropdownRippleColor,\n    dropdownItemRippleColor: dropdownItemRippleColor,\n    theme: theme\n  })), React.createElement(Text, {\n    style: [styles.label, {\n      color: labelColor\n    }],\n    numberOfLines: 3,\n    accessibilityLabel: accessibilityLabel || 'label'\n  }, label), React.createElement(View, {\n    style: styles.iconsContainer\n  }, React.createElement(PaginationControls, {\n    showFastPaginationControls: showFastPaginationControls,\n    onPageChange: onPageChange,\n    page: page,\n    numberOfPages: numberOfPages,\n    theme: theme\n  })));\n};\nDataTablePagination.displayName = 'DataTable.Pagination';\nconst styles = StyleSheet.create({\n  container: {\n    justifyContent: 'flex-end',\n    flexDirection: 'row',\n    alignItems: 'center',\n    paddingLeft: 16,\n    flexWrap: 'wrap'\n  },\n  optionsContainer: {\n    flexDirection: 'row',\n    alignItems: 'center',\n    marginVertical: 6\n  },\n  label: {\n    fontSize: 12,\n    marginRight: 16\n  },\n  button: {\n    textAlign: 'center',\n    marginRight: 16\n  },\n  iconsContainer: {\n    flexDirection: 'row'\n  },\n  contentStyle: {\n    flexDirection: 'row-reverse'\n  }\n});\nexport default DataTablePagination;\nexport { DataTablePagination };","map":{"version":3,"names":["React","I18nManager","StyleSheet","View","color","useInternalTheme","Button","IconButton","MaterialCommunityIcon","Menu","Text","PaginationControls","page","numberOfPages","onPageChange","showFastPaginationControls","theme","themeOverrides","paginationControlRippleColor","textColor","isV3","colors","onSurface","text","createElement","Fragment","icon","size","name","direction","getConstants","isRTL","iconColor","rippleColor","disabled","onPress","accessibilityLabel","PaginationDropdown","numberOfItemsPerPageList","numberOfItemsPerPage","onItemsPerPageChange","selectPageDropdownRippleColor","dropdownItemRippleColor","showSelect","toggleSelect","useState","visible","onDismiss","anchor","mode","style","styles","button","contentStyle","map","option","Item","key","titleStyle","primary","title","DataTablePagination","_ref","label","selectPageDropdownLabel","selectPageDropdownAccessibilityLabel","rest","_objectWithoutPropertiesLoose","_excluded","labelColor","alpha","rgb","string","_extends","container","optionsContainer","numberOfLines","iconsContainer","displayName","create","justifyContent","flexDirection","alignItems","paddingLeft","flexWrap","marginVertical","fontSize","marginRight","textAlign"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/DataTable/DataTablePagination.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n  ColorValue,\n  I18nManager,\n  StyleProp,\n  StyleSheet,\n  View,\n  ViewStyle,\n} from 'react-native';\n\nimport color from 'color';\nimport type { ThemeProp } from 'src/types';\n\nimport { useInternalTheme } from '../../core/theming';\nimport Button from '../Button/Button';\nimport IconButton from '../IconButton/IconButton';\nimport MaterialCommunityIcon from '../MaterialCommunityIcon';\nimport Menu from '../Menu/Menu';\nimport Text from '../Typography/Text';\n\nexport type Props = React.ComponentPropsWithRef<typeof View> &\n  PaginationControlsProps &\n  PaginationDropdownProps & {\n    /**\n     * Label text for select page dropdown to display.\n     */\n    selectPageDropdownLabel?: React.ReactNode;\n    /**\n     * AccessibilityLabel for `selectPageDropdownLabel`.\n     */\n    selectPageDropdownAccessibilityLabel?: string;\n    /**\n     * Label text to display which indicates current pagination.\n     */\n    label?: React.ReactNode;\n    /**\n     * AccessibilityLabel for `label`.\n     */\n    accessibilityLabel?: string;\n    style?: StyleProp<ViewStyle>;\n    /**\n     * @optional\n     */\n    theme?: ThemeProp;\n  };\n\ntype PaginationDropdownProps = {\n  /**\n   * The current number of rows per page.\n   */\n  numberOfItemsPerPage?: number;\n  /**\n   * Options for a number of rows per page to choose from.\n   */\n  numberOfItemsPerPageList?: Array<number>;\n  /**\n   * The function to set the number of rows per page.\n   */\n  onItemsPerPageChange?: (numberOfItemsPerPage: number) => void;\n  /**\n   * Color of the dropdown item ripple effect.\n   */\n  dropdownItemRippleColor?: ColorValue;\n  /**\n   * Color of the select page dropdown ripple effect.\n   */\n  selectPageDropdownRippleColor?: ColorValue;\n  /**\n   * @optional\n   */\n  theme?: ThemeProp;\n};\n\ntype PaginationControlsProps = {\n  /**\n   * The currently visible page (starting with 0).\n   */\n  page: number;\n  /**\n   * The total number of pages.\n   */\n  numberOfPages: number;\n  /**\n   * Function to execute on page change.\n   */\n  onPageChange: (page: number) => void;\n  /**\n   * Whether to show fast forward and fast rewind buttons in pagination. False by default.\n   */\n  showFastPaginationControls?: boolean;\n  /**\n   * Color of the pagination control ripple effect.\n   */\n  paginationControlRippleColor?: ColorValue;\n  /**\n   * @optional\n   */\n  theme?: ThemeProp;\n};\n\nconst PaginationControls = ({\n  page,\n  numberOfPages,\n  onPageChange,\n  showFastPaginationControls,\n  theme: themeOverrides,\n  paginationControlRippleColor,\n}: PaginationControlsProps) => {\n  const theme = useInternalTheme(themeOverrides);\n\n  const textColor = theme.isV3 ? theme.colors.onSurface : theme.colors.text;\n\n  return (\n    <>\n      {showFastPaginationControls ? (\n        <IconButton\n          icon={({ size, color }) => (\n            <MaterialCommunityIcon\n              name=\"page-first\"\n              color={color}\n              size={size}\n              direction={I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'}\n            />\n          )}\n          iconColor={textColor}\n          rippleColor={paginationControlRippleColor}\n          disabled={page === 0}\n          onPress={() => onPageChange(0)}\n          accessibilityLabel=\"page-first\"\n          theme={theme}\n        />\n      ) : null}\n      <IconButton\n        icon={({ size, color }) => (\n          <MaterialCommunityIcon\n            name=\"chevron-left\"\n            color={color}\n            size={size}\n            direction={I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'}\n          />\n        )}\n        iconColor={textColor}\n        rippleColor={paginationControlRippleColor}\n        disabled={page === 0}\n        onPress={() => onPageChange(page - 1)}\n        accessibilityLabel=\"chevron-left\"\n        theme={theme}\n      />\n      <IconButton\n        icon={({ size, color }) => (\n          <MaterialCommunityIcon\n            name=\"chevron-right\"\n            color={color}\n            size={size}\n            direction={I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'}\n          />\n        )}\n        iconColor={textColor}\n        rippleColor={paginationControlRippleColor}\n        disabled={numberOfPages === 0 || page === numberOfPages - 1}\n        onPress={() => onPageChange(page + 1)}\n        accessibilityLabel=\"chevron-right\"\n        theme={theme}\n      />\n      {showFastPaginationControls ? (\n        <IconButton\n          icon={({ size, color }) => (\n            <MaterialCommunityIcon\n              name=\"page-last\"\n              color={color}\n              size={size}\n              direction={I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'}\n            />\n          )}\n          iconColor={textColor}\n          rippleColor={paginationControlRippleColor}\n          disabled={numberOfPages === 0 || page === numberOfPages - 1}\n          onPress={() => onPageChange(numberOfPages - 1)}\n          accessibilityLabel=\"page-last\"\n          theme={theme}\n        />\n      ) : null}\n    </>\n  );\n};\n\nconst PaginationDropdown = ({\n  numberOfItemsPerPageList,\n  numberOfItemsPerPage,\n  onItemsPerPageChange,\n  theme: themeOverrides,\n  selectPageDropdownRippleColor,\n  dropdownItemRippleColor,\n}: PaginationDropdownProps) => {\n  const theme = useInternalTheme(themeOverrides);\n  const { colors } = theme;\n  const [showSelect, toggleSelect] = React.useState<boolean>(false);\n\n  return (\n    <Menu\n      visible={showSelect}\n      onDismiss={() => toggleSelect(!showSelect)}\n      theme={theme}\n      anchor={\n        <Button\n          mode=\"outlined\"\n          onPress={() => toggleSelect(true)}\n          style={styles.button}\n          icon=\"menu-down\"\n          contentStyle={styles.contentStyle}\n          theme={theme}\n          rippleColor={selectPageDropdownRippleColor}\n        >\n          {`${numberOfItemsPerPage}`}\n        </Button>\n      }\n    >\n      {numberOfItemsPerPageList?.map((option) => (\n        <Menu.Item\n          key={option}\n          titleStyle={\n            option === numberOfItemsPerPage && {\n              color: colors?.primary,\n            }\n          }\n          onPress={() => {\n            onItemsPerPageChange?.(option);\n            toggleSelect(false);\n          }}\n          rippleColor={dropdownItemRippleColor}\n          title={option}\n          theme={theme}\n        />\n      ))}\n    </Menu>\n  );\n};\n\n/**\n * A component to show pagination for data table.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { DataTable } from 'react-native-paper';\n *\n * const numberOfItemsPerPageList = [2, 3, 4];\n *\n * const items = [\n *   {\n *     key: 1,\n *     name: 'Page 1',\n *   },\n *   {\n *     key: 2,\n *     name: 'Page 2',\n *   },\n *   {\n *     key: 3,\n *     name: 'Page 3',\n *   },\n * ];\n *\n * const MyComponent = () => {\n *   const [page, setPage] = React.useState(0);\n *   const [numberOfItemsPerPage, onItemsPerPageChange] = React.useState(numberOfItemsPerPageList[0]);\n *   const from = page * numberOfItemsPerPage;\n *   const to = Math.min((page + 1) * numberOfItemsPerPage, items.length);\n *\n *   React.useEffect(() => {\n *      setPage(0);\n *   }, [numberOfItemsPerPage]);\n *\n *   return (\n *     <DataTable>\n *       <DataTable.Pagination\n *         page={page}\n *         numberOfPages={Math.ceil(items.length / numberOfItemsPerPage)}\n *         onPageChange={page => setPage(page)}\n *         label={`${from + 1}-${to} of ${items.length}`}\n *         showFastPaginationControls\n *         numberOfItemsPerPageList={numberOfItemsPerPageList}\n *         numberOfItemsPerPage={numberOfItemsPerPage}\n *         onItemsPerPageChange={onItemsPerPageChange}\n *         selectPageDropdownLabel={'Rows per page'}\n *       />\n *     </DataTable>\n *   );\n * };\n *\n * export default MyComponent;\n * ```\n */\nconst DataTablePagination = ({\n  label,\n  accessibilityLabel,\n  page,\n  numberOfPages,\n  onPageChange,\n  style,\n  showFastPaginationControls = false,\n  numberOfItemsPerPageList,\n  numberOfItemsPerPage,\n  onItemsPerPageChange,\n  selectPageDropdownLabel,\n  selectPageDropdownAccessibilityLabel,\n  selectPageDropdownRippleColor,\n  dropdownItemRippleColor,\n  theme: themeOverrides,\n  ...rest\n}: Props) => {\n  const theme = useInternalTheme(themeOverrides);\n  const labelColor = color(\n    theme.isV3 ? theme.colors.onSurface : theme?.colors.text\n  )\n    .alpha(0.6)\n    .rgb()\n    .string();\n\n  return (\n    <View\n      {...rest}\n      style={[styles.container, style]}\n      accessibilityLabel=\"pagination-container\"\n    >\n      {numberOfItemsPerPageList &&\n        numberOfItemsPerPage &&\n        onItemsPerPageChange && (\n          <View\n            accessibilityLabel=\"Options Select\"\n            style={styles.optionsContainer}\n          >\n            <Text\n              style={[styles.label, { color: labelColor }]}\n              numberOfLines={3}\n              accessibilityLabel={\n                selectPageDropdownAccessibilityLabel ||\n                'selectPageDropdownLabel'\n              }\n            >\n              {selectPageDropdownLabel}\n            </Text>\n            <PaginationDropdown\n              numberOfItemsPerPageList={numberOfItemsPerPageList}\n              numberOfItemsPerPage={numberOfItemsPerPage}\n              onItemsPerPageChange={onItemsPerPageChange}\n              selectPageDropdownRippleColor={selectPageDropdownRippleColor}\n              dropdownItemRippleColor={dropdownItemRippleColor}\n              theme={theme}\n            />\n          </View>\n        )}\n      <Text\n        style={[styles.label, { color: labelColor }]}\n        numberOfLines={3}\n        accessibilityLabel={accessibilityLabel || 'label'}\n      >\n        {label}\n      </Text>\n      <View style={styles.iconsContainer}>\n        <PaginationControls\n          showFastPaginationControls={showFastPaginationControls}\n          onPageChange={onPageChange}\n          page={page}\n          numberOfPages={numberOfPages}\n          theme={theme}\n        />\n      </View>\n    </View>\n  );\n};\n\nDataTablePagination.displayName = 'DataTable.Pagination';\n\nconst styles = StyleSheet.create({\n  container: {\n    justifyContent: 'flex-end',\n    flexDirection: 'row',\n    alignItems: 'center',\n    paddingLeft: 16,\n    flexWrap: 'wrap',\n  },\n  optionsContainer: {\n    flexDirection: 'row',\n    alignItems: 'center',\n    marginVertical: 6,\n  },\n  label: {\n    fontSize: 12,\n    marginRight: 16,\n  },\n  button: {\n    textAlign: 'center',\n    marginRight: 16,\n  },\n  iconsContainer: {\n    flexDirection: 'row',\n  },\n  contentStyle: {\n    flexDirection: 'row-reverse',\n  },\n});\n\nexport default DataTablePagination;\n\n// @component-docs ignore-next-line\nexport { DataTablePagination };\n"],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,WAAA;AAAA,OAAAC,UAAA;AAAA,OAAAC,IAAA;AAU9B,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,gBAAgB;AACzB,OAAOC,MAAM;AACb,OAAOC,UAAU;AACj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