openstack-uicore-foundation 5.0.61-beta.6 → 5.0.62-beta.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/table.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mICTT,MAAM,EAA+BC,QAAQ,4B,aCA7C,MAAM,EAA+BA,QAAQ,+B,aC6B7C,MAAMC,EAAU,CACdC,QAASC,IAAAA,cAACC,IAAO,CAACC,MAAM,YACxBC,QAASH,IAAAA,cAACI,IAAW,CAACF,MAAM,YAC5BG,MAAOL,IAAAA,cAACM,IAAK,CAACJ,MAAM,UACpBK,KAAMP,IAAAA,cAACQ,IAAI,CAACN,MAAM,UAGdO,EAAgBA,EACpBC,OACAC,QACAC,OACAC,WAAW,GACXC,YACAC,WACAC,oBAAoB,UACpBC,qBAAqB,UACrBC,mBAAmB,SACnBC,oBAAoB,aAEpBnB,IAAAA,cAACoB,EAAAA,OAAM,CAACV,KAAMA,EAAMW,QAASN,GAC3Bf,IAAAA,cAACsB,EAAAA,YAAW,CAACC,GAAI,CAAEC,EAAG,GAAKC,UAAU,OACnCzB,IAAAA,cAAC0B,EAAAA,WAAU,CAACC,QAAQ,MAAMhB,IAE5BX,IAAAA,cAAC4B,EAAAA,QAAO,MACR5B,IAAAA,cAAC6B,EAAAA,cAAa,CAACN,GAAI,CAAEC,EAAG,IACtBxB,IAAAA,cAAA,OAAK8B,MAAO,CAAEC,QAAS,OAAQC,WAAY,WACxClC,EAAQe,IACPb,IAAAA,cAAA,OAAK8B,MAAO,CAAEG,YAAa,KAAOnC,EAAQe,IAE5Cb,IA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xS,EAAAA,cAACyT,EAAAA,UAAS,CACRC,MAAM,SACNnS,GAAEsM,EAAAA,EAAA,IAAOG,EAAAA,EAAAA,IAAgBpC,EAAKoG,EAAQjE,cAAiBgF,GACvDa,UAAWE,EAAAA,EAAOC,kBAElB/T,EAAAA,cAACkR,EAAc,CAACC,QAAS6B,EAAcpH,SAM9CS,EACgB,IAAhB0F,EAAKhD,QACJ/O,EAAAA,cAACwT,EAAAA,SAAQ,KACPxT,EAAAA,cAACyT,EAAAA,UAAS,CAACa,QAAS3B,EAAmBe,MAAM,UAC1ClO,IAAAA,UAAY,0BAMZ,EAIjBqM,EAASpP,UAAY,CACnBqP,QAASpP,IAAAA,MACTqP,KAAMrP,IAAAA,MACN2J,SAAU3J,IAAAA,KACVU,UAAWV,IAAAA,OACXW,QAASX,IAAAA,OACTS,YAAaT,IAAAA,OACbY,aAAcZ,IAAAA,KACdyE,gBAAiBzE,IAAAA,KACjBgH,mBAAoBhH,IAAAA,OACpB2E,kBAAmB3E,IAAAA,KACnBsI,OAAQtI,IAAAA,KACRsP,QAAStP,IAAAA,OACTqG,QAASrG,IAAAA,KACTwP,OAAQxP,IAAAA,KACRyP,UAAWzP,IAAAA,KACXoG,SAAUpG,IAAAA,KACV0P,SAAU1P,IAAAA,KACV2P,UAAW3P,IAAAA,KACX0G,kBAAmB1G,IAAAA,OACnB2G,iBAAkB3G,IAAAA,UAAoB,CAACA,IAAAA,KAAgBA,IAAAA,SACvD4G,wBAAyB5G,IAAAA,OACzBzB,mBAAoByB,IAAAA,OACpB4P,QAAS5P,IAAAA,QAGX,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Info\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Warning\"","webpack://openstack-uicore-foundation/./src/components/mui/confirm-dialog.js","webpack://openstack-uicore-foundation/./src/components/mui/showConfirmDialog.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Select\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Slider\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/ClickAwayListener\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ChevronLeft\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ChevronRight\"","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/SliderPagination.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/CustomTablePagination.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/create-delete-handler.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/pagination-position.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/scroll-fade-overlay.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/sortable-header-content.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-cell-content.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-shell.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-styles.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/use-scroll-fade.js","webpack://openstack-uicore-foundation/./src/components/mui/truncate-text.js","webpack://openstack-uicore-foundation/./src/utils/constants.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/styles.module.less?7b04","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Check\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/CheckCircle\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Close\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Delete\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Edit\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Error\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Box\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/IconButton\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Menu\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/MenuItem\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Paper\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/TableContainer\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/TableSortLabel\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Tooltip\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Typography\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/styles\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/utils\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"lodash/isBoolean\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Archive\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Unarchive\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ArrowForward\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/MoreVert\"","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/row-actions-menu.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/mui-table/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Info\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Warning\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Divider,\n Typography\n} from \"@mui/material\";\nimport CheckCircle from \"@mui/icons-material/CheckCircle\";\nimport Error from \"@mui/icons-material/Error\";\nimport Info from \"@mui/icons-material/Info\";\nimport Warning from \"@mui/icons-material/Warning\";\n\nconst iconMap = {\n warning: <Warning color=\"warning\" />,\n success: <CheckCircle color=\"success\" />,\n error: <Error color=\"error\" />,\n info: <Info color=\"info\" />\n};\n\nconst ConfirmDialog = ({\n open,\n title,\n text,\n iconType = \"\",\n onConfirm,\n onCancel,\n confirmButtonText = \"Confirm\",\n confirmButtonColor = \"primary\",\n cancelButtonText = \"Cancel\",\n cancelButtonColor = \"primary\"\n}) => (\n <Dialog open={open} onClose={onCancel}>\n <DialogTitle sx={{ p: 2 }} component=\"div\">\n <Typography variant=\"h5\">{title}</Typography>\n </DialogTitle>\n <Divider />\n <DialogContent sx={{ p: 2 }}>\n <div style={{ display: \"flex\", alignItems: \"center\" }}>\n {iconMap[iconType] && (\n <div style={{ marginRight: 10 }}>{iconMap[iconType]}</div>\n )}\n <Typography variant=\"body1\">{text}</Typography>\n </div>\n </DialogContent>\n <Divider sx={{ margin: \"10px 0px 10px 0px\" }} />\n <DialogActions>\n <Button\n fullWidth\n onClick={onCancel}\n color={cancelButtonColor}\n variant=\"outlined\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {cancelButtonText}\n </Button>\n <Button\n fullWidth\n onClick={onConfirm}\n color={confirmButtonColor}\n variant=\"contained\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {confirmButtonText}\n </Button>\n </DialogActions>\n </Dialog>\n);\n\nConfirmDialog.propTypes = {\n open: PropTypes.bool,\n title: PropTypes.string.isRequired,\n text: PropTypes.string.isRequired,\n iconType: PropTypes.string,\n onConfirm: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n confirmButtonText: PropTypes.string,\n confirmButtonColor: PropTypes.string,\n cancelButtonText: PropTypes.string,\n cancelButtonColor: PropTypes.string\n};\n\nConfirmDialog.defaultProps = {\n open: false,\n iconType: \"warning\",\n confirmButtonText: \"Confirm\",\n confirmButtonColor: \"primary\",\n cancelButtonText: \"Cancel\",\n cancelButtonColor: \"default\"\n};\n\nexport default ConfirmDialog;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React, { useState, useEffect } from \"react\";\nimport ConfirmDialog from \"./confirm-dialog\";\n\n/**\n * Imperative confirm dialog API.\n *\n * SETUP (required):\n * Place <GlobalConfirmDialog /> at the root of your app:\n *\n * import { GlobalConfirmDialog } from\n * 'openstack-uicore-foundation/lib/components/mui/show-confirm-dialog';\n *\n * function App() {\n * return (\n * <>\n * <YourApp />\n * <GlobalConfirmDialog />\n * </>\n * );\n * }\n *\n * USAGE (works from any file — the bridge is shared via globalThis):\n * import showConfirmDialog from\n * 'openstack-uicore-foundation/lib/components/mui/show-confirm-dialog';\n *\n * const confirmed = await showConfirmDialog({\n * title: 'Delete Item?',\n * text: 'This cannot be undone'\n * });\n */\n\n// Shared bridge reference stored on globalThis so that all webpack bundles\n// (table, sortable-table, show-confirm-dialog, index, etc.) read/write the\n// same callback. A module-level variable would be duplicated per bundle.\nconst BRIDGE_KEY = \"__oif_confirm_dialog_bridge__\";\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : {};\n\n/**\n * @param param0\n * @param param0.title\n * @param param0.text\n * @param param0.iconType\n * @param param0.confirmButtonText\n * @param param0.cancelButtonText\n * @param param0.confirmButtonColor\n * @param param0.cancelButtonColor\n * @returns {Promise<boolean>}\n */\nconst showConfirmDialog = ({\n title,\n text,\n iconType = \"\",\n confirmButtonText = \"Confirm\",\n cancelButtonText = \"Cancel\",\n confirmButtonColor = \"primary\",\n cancelButtonColor = \"primary\"\n}) => {\n if (!_global[BRIDGE_KEY]) {\n throw new Error(\n \"[openstack-uicore-foundation] showConfirmDialog: <GlobalConfirmDialog /> is not mounted. \" +\n \"Add <GlobalConfirmDialog /> to the root of your app.\"\n );\n }\n\n return _global[BRIDGE_KEY]({\n title,\n text,\n iconType,\n confirmButtonText,\n cancelButtonText,\n confirmButtonColor,\n cancelButtonColor\n });\n};\n\n/**\n * Global confirm dialog component. Place at the root of your app:\n *\n * <App>\n * ...\n * <GlobalConfirmDialog />\n * </App>\n *\n * Then call showConfirmDialog() anywhere.\n */\nexport const GlobalConfirmDialog = () => {\n const [dialogState, setDialogState] = useState(null);\n\n useEffect(() => {\n _global[BRIDGE_KEY] = (options) => {\n return new Promise((resolve) => {\n setDialogState({ ...options, open: true, onResolve: resolve });\n });\n };\n return () => { _global[BRIDGE_KEY] = null; };\n }, []);\n\n const handleConfirm = () => {\n if (dialogState?.onResolve) dialogState.onResolve(true);\n setDialogState(null);\n };\n\n const handleCancel = () => {\n if (dialogState?.onResolve) dialogState.onResolve(false);\n setDialogState(null);\n };\n\n if (!dialogState) return null;\n\n return (\n <ConfirmDialog\n open={dialogState.open}\n title={dialogState.title}\n text={dialogState.text}\n iconType={dialogState.iconType}\n confirmButtonText={dialogState.confirmButtonText}\n cancelButtonText={dialogState.cancelButtonText}\n confirmButtonColor={dialogState.confirmButtonColor}\n cancelButtonColor={dialogState.cancelButtonColor}\n onConfirm={handleConfirm}\n onCancel={handleCancel}\n />\n );\n};\n\nexport default showConfirmDialog;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/Select\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/Slider\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/ClickAwayListener\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ChevronLeft\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ChevronRight\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport { useCallback, useRef, useState } from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport Box from \"@mui/material/Box\";\nimport Typography from \"@mui/material/Typography\";\nimport IconButton from \"@mui/material/IconButton\";\nimport Slider from \"@mui/material/Slider\";\nimport ClickAwayListener from \"@mui/material/ClickAwayListener\";\nimport ChevronLeftIcon from \"@mui/icons-material/ChevronLeft\";\nimport ChevronRightIcon from \"@mui/icons-material/ChevronRight\";\nimport PropTypes from \"prop-types\";\n\nconst SliderPagination = ({ currentPage, totalRows, perPage, onPageChange, initialExpanded }) => {\n const totalPages = Math.max(1, Math.ceil((totalRows ?? 0) / perPage));\n const [expanded, setExpanded] = useState(initialExpanded);\n const [dragValue, setDragValue] = useState(currentPage);\n const timeoutRef = useRef(null);\n\n const togglePill = () => {\n if (expanded) {\n setExpanded(false);\n } else {\n setDragValue(currentPage);\n setExpanded(true);\n }\n };\n\n const onSliderChange = useCallback((_ev, value) => setDragValue(value), []);\n\n const onSliderCommit = useCallback(\n (_ev, value) => {\n onPageChange(value);\n timeoutRef.current = setTimeout(() => setExpanded(false), 150);\n },\n [onPageChange]\n );\n\n // also sync dragValue so the label/slider don't go stale while the pill is expanded\n const prev = () => {\n const newPage = Math.max(1, currentPage - 1);\n setDragValue(newPage);\n onPageChange(newPage);\n };\n const next = () => {\n const newPage = Math.min(totalPages, currentPage + 1);\n setDragValue(newPage);\n onPageChange(newPage);\n };\n\n return (\n <ClickAwayListener onClickAway={() => expanded && setExpanded(false)}>\n <Box\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n height: 40,\n borderRadius: 20,\n border: \"1px solid\",\n borderColor: \"divider\",\n bgcolor: \"background.paper\",\n overflow: \"hidden\"\n }}\n >\n <IconButton\n size=\"small\"\n onClick={prev}\n disabled={currentPage <= 1}\n aria-label={T.translate(\"mui_table.previous_page\")}\n >\n {/* explicit px so a host page's root font-size reset can't shrink this */}\n <ChevronLeftIcon sx={{ fontSize: \"24px\" }} />\n </IconButton>\n <Typography\n component=\"button\"\n type=\"button\"\n onClick={togglePill}\n variant=\"body1\"\n color=\"text.secondary\"\n sx={{\n border: \"none\",\n background: \"none\",\n px: 1.5,\n height: 40,\n cursor: \"pointer\",\n whiteSpace: \"nowrap\"\n }}\n >\n {T.translate(\"mui_table.page_of\", {\n page: expanded ? dragValue : currentPage,\n totalPages\n })}\n </Typography>\n <Box\n sx={{\n width: expanded ? 220 : 0,\n overflow: \"hidden\",\n transition: (theme) => theme.transitions.create(\"width\"),\n display: \"flex\",\n alignItems: \"center\",\n px: expanded ? 2 : 0\n }}\n >\n <Slider\n size=\"small\"\n min={1}\n max={totalPages}\n step={1}\n value={dragValue}\n onChange={onSliderChange}\n onChangeCommitted={onSliderCommit}\n valueLabelDisplay=\"auto\"\n sx={{ width: 180 }}\n />\n </Box>\n <IconButton\n size=\"small\"\n onClick={next}\n disabled={currentPage >= totalPages}\n aria-label={T.translate(\"mui_table.next_page\")}\n >\n <ChevronRightIcon sx={{ fontSize: \"24px\" }} />\n </IconButton>\n </Box>\n </ClickAwayListener>\n );\n};\n\nSliderPagination.propTypes = {\n currentPage: PropTypes.number.isRequired,\n totalRows: PropTypes.number,\n perPage: PropTypes.number.isRequired,\n onPageChange: PropTypes.func.isRequired,\n initialExpanded: PropTypes.bool\n};\n\nSliderPagination.defaultProps = {\n totalRows: 0,\n initialExpanded: false\n};\n\nexport default SliderPagination;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport Box from \"@mui/material/Box\";\nimport Typography from \"@mui/material/Typography\";\nimport Select from \"@mui/material/Select\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport PropTypes from \"prop-types\";\nimport { DEFAULT_PER_PAGE, FIFTY_PER_PAGE, TWENTY_PER_PAGE } from \"../../../../utils/constants\";\nimport SliderPagination from \"./SliderPagination\";\n\nconst BASE_PER_PAGE_OPTIONS = [DEFAULT_PER_PAGE, TWENTY_PER_PAGE, FIFTY_PER_PAGE];\n\nconst CustomTablePagination = ({\n totalRows,\n perPage,\n currentPage,\n onPageChange,\n onPerPageChange,\n showRange,\n pageSliderVisible\n}) => {\n const perPageOptions = React.useMemo(\n () =>\n BASE_PER_PAGE_OPTIONS.includes(perPage)\n ? BASE_PER_PAGE_OPTIONS\n : [...BASE_PER_PAGE_OPTIONS, perPage].sort((a, b) => a - b),\n [perPage]\n );\n\n const handleRowsPerPageChange = (ev) => {\n onPerPageChange(Number(ev.target.value));\n };\n\n const total = totalRows ?? 0;\n const from = total > 0 ? (currentPage - 1) * perPage + 1 : 0;\n const to = Math.min(currentPage * perPage, total);\n\n return (\n <Box\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n flexWrap: \"wrap\",\n gap: 1.5,\n my: 1\n }}\n >\n <Box sx={{ display: { xs: \"none\", md: \"block\" } }}>\n {showRange && (\n <Typography variant=\"body1\" color=\"text.secondary\">\n {T.translate(\"mui_table.showing_range\", { from, to, total })}\n </Typography>\n )}\n </Box>\n <Box\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n flexWrap: \"wrap\",\n justifyContent: { xs: \"space-between\", md: \"flex-end\" },\n width: { xs: \"100%\", md: \"auto\" },\n gap: 1.5,\n minWidth: 0\n }}\n >\n {onPerPageChange && (\n <Box sx={{ display: \"flex\", alignItems: \"center\", gap: 1 }}>\n <Typography variant=\"body1\" color=\"text.secondary\" sx={{ whiteSpace: \"nowrap\" }}>\n {T.translate(\"mui_table.rows_per_page\")}\n </Typography>\n <Select\n size=\"small\"\n value={perPage}\n onChange={handleRowsPerPageChange}\n sx={{\n height: 40,\n borderRadius: \"20px\",\n minWidth: 80,\n bgcolor: \"background.paper\",\n \"& .MuiOutlinedInput-notchedOutline\": { borderColor: \"divider\" },\n \"& .MuiSelect-select\": { color: \"text.secondary\" }\n }}\n inputProps={{ \"aria-label\": T.translate(\"mui_table.rows_per_page\") }}\n >\n {perPageOptions.map((opt) => (\n <MenuItem key={opt} value={opt}>\n {opt}\n </MenuItem>\n ))}\n </Select>\n </Box>\n )}\n <SliderPagination\n totalRows={totalRows}\n perPage={perPage}\n currentPage={currentPage}\n onPageChange={onPageChange}\n initialExpanded={pageSliderVisible}\n />\n </Box>\n </Box>\n );\n};\n\nCustomTablePagination.propTypes = {\n totalRows: PropTypes.number,\n perPage: PropTypes.number.isRequired,\n currentPage: PropTypes.number.isRequired,\n onPageChange: PropTypes.func.isRequired,\n onPerPageChange: PropTypes.func,\n showRange: PropTypes.bool,\n pageSliderVisible: PropTypes.bool\n};\n\nCustomTablePagination.defaultProps = {\n showRange: false,\n pageSliderVisible: false\n};\n\nexport default CustomTablePagination;\n","import T from \"i18n-react/dist/i18n-react\";\nimport showConfirmDialog from \"../../showConfirmDialog\";\n\nconst createDeleteHandler = ({\n onDelete,\n getName = (item) => item.name,\n getId = (item) => item.id,\n deleteDialogTitle,\n deleteDialogBody,\n deleteDialogConfirmText,\n confirmButtonColor\n}) => async (item) => {\n const isConfirmed = await showConfirmDialog({\n title: deleteDialogTitle || T.translate(\"general.are_you_sure\"),\n text:\n typeof deleteDialogBody === \"function\"\n ? deleteDialogBody(getName(item))\n : deleteDialogBody ||\n `${T.translate(\"general.row_remove_warning\")} ${getName(item)}`,\n iconType: \"warning\",\n showCancelButton: true,\n confirmButtonColor,\n confirmButtonText:\n deleteDialogConfirmText || T.translate(\"general.yes_delete\")\n });\n\n if (isConfirmed) {\n onDelete(getId(item));\n }\n};\n\nexport default createDeleteHandler;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\n// paginationPosition is a comma-separated string (\"top\", \"bottom\", \"top,bottom\",\n// or \"none\") rather than an array, so it can be passed as a plain JSX string prop.\n// Default lives here (not in each host component) so it only needs stating once.\nconst parsePaginationPosition = (paginationPosition = \"top,bottom\") => {\n const positions = paginationPosition.split(\",\").map((p) => p.trim());\n return {\n showTop: positions.includes(\"top\"),\n showBottom: positions.includes(\"bottom\")\n };\n};\n\nexport default parsePaginationPosition;\n","import * as React from \"react\";\nimport Box from \"@mui/material/Box\";\nimport PropTypes from \"prop-types\";\nimport { alpha } from \"@mui/material/styles\";\n\nconst FADE_WIDTH = 64;\nconst FADE_OPACITY = 0.85;\n\nconst ScrollFadeOverlay = ({ side, visible }) => (\n <Box\n sx={(theme) => {\n const tint = alpha(theme.palette.background.paper, FADE_OPACITY);\n return {\n position: \"absolute\",\n top: 0,\n bottom: 0,\n [side]: 0,\n width: FADE_WIDTH,\n pointerEvents: \"none\",\n opacity: visible ? 1 : 0,\n transition: \"opacity 0.2s ease\",\n background: `linear-gradient(to ${side === \"left\" ? \"right\" : \"left\"}, ${tint}, transparent)`\n };\n }}\n />\n);\n\nScrollFadeOverlay.propTypes = {\n side: PropTypes.oneOf([\"left\", \"right\"]).isRequired,\n visible: PropTypes.bool\n};\n\nexport default ScrollFadeOverlay;\n","import * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport Box from \"@mui/material/Box\";\nimport TableSortLabel from \"@mui/material/TableSortLabel\";\nimport PropTypes from \"prop-types\";\nimport { visuallyHidden } from \"@mui/utils\";\n\nconst SortableHeaderContent = ({ col, sortCol, sortDir, onSort, sx }) => {\n if (!col.sortable) {\n return sx ? <span style={sx}>{col.header}</span> : col.header;\n }\n\n return (\n <TableSortLabel\n active={sortCol === col.columnKey}\n direction={sortCol === col.columnKey && sortDir === -1 ? \"desc\" : \"asc\"}\n onClick={() => onSort(col.columnKey, sortDir * -1)}\n sx={sx}\n >\n {col.header}\n {sortCol === col.columnKey ? (\n <Box component=\"span\" sx={visuallyHidden}>\n {sortDir === -1\n ? T.translate(\"mui_table.sorted_desc\")\n : T.translate(\"mui_table.sorted_asc\")}\n </Box>\n ) : null}\n </TableSortLabel>\n );\n};\n\nSortableHeaderContent.propTypes = {\n col: PropTypes.object.isRequired,\n sortCol: PropTypes.string,\n sortDir: PropTypes.oneOf([1, -1]),\n onSort: PropTypes.func,\n sx: PropTypes.object\n};\n\nexport default SortableHeaderContent;\n","import * as React from \"react\";\nimport isBoolean from \"lodash/isBoolean\";\nimport CheckIcon from \"@mui/icons-material/Check\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport TruncateText from \"../../truncate-text\";\n\nconst contentStyle = {\n fontWeight: \"normal\",\n overflowWrap: \"break-word\",\n};\n\nconst TableCellContent = ({ row, col }) => {\n return (\n <span style={contentStyle}>\n {col.render ? (\n col.render(row)\n ) : isBoolean(row[col.columnKey]) ? (\n row[col.columnKey] ? (\n <CheckIcon fontSize=\"large\" />\n ) : (\n <CloseIcon fontSize=\"large\" />\n )\n ) : col.truncateText ? (\n <TruncateText charLimit={col.truncateText}>\n {row[col.columnKey]}\n </TruncateText>\n ) : (\n row[col.columnKey]\n )}\n </span>\n );\n};\n\nexport default TableCellContent;","import * as React from \"react\";\nimport Box from \"@mui/material/Box\";\nimport Paper from \"@mui/material/Paper\";\nimport TableContainer from \"@mui/material/TableContainer\";\nimport PropTypes from \"prop-types\";\nimport CustomTablePagination from \"./CustomTablePagination\";\nimport parsePaginationPosition from \"./pagination-position\";\nimport useScrollFade from \"./use-scroll-fade\";\nimport ScrollFadeOverlay from \"./scroll-fade-overlay\";\n\nconst TableShell = ({\n children,\n totalRows,\n perPage,\n currentPage,\n onPageChange,\n onPerPageChange,\n paginationPosition,\n pageSliderVisible\n}) => {\n const { containerRef, showLeftFade, showRightFade } = useScrollFade();\n const showPagination = !!(perPage && currentPage && onPageChange);\n const { showTop, showBottom } = parsePaginationPosition(paginationPosition);\n\n const renderPagination = (showRange) => (\n <CustomTablePagination\n totalRows={totalRows}\n perPage={perPage}\n currentPage={currentPage}\n onPageChange={onPageChange}\n onPerPageChange={onPerPageChange}\n showRange={showRange}\n pageSliderVisible={pageSliderVisible}\n />\n );\n\n return (\n <Box sx={{ width: \"100%\" }}>\n <Paper elevation={0} sx={{ width: \"100%\", mb: 2 }}>\n {showPagination && showTop && renderPagination(false)}\n <Box sx={{ position: \"relative\" }}>\n <TableContainer\n ref={containerRef}\n component={Paper}\n sx={{ borderRadius: 0, boxShadow: \"none\" }}\n >\n {children}\n </TableContainer>\n <ScrollFadeOverlay side=\"left\" visible={showLeftFade} />\n <ScrollFadeOverlay side=\"right\" visible={showRightFade} />\n </Box>\n\n {showPagination && showBottom && renderPagination(true)}\n </Paper>\n </Box>\n );\n};\n\nTableShell.propTypes = {\n children: PropTypes.node,\n totalRows: PropTypes.number,\n perPage: PropTypes.number,\n currentPage: PropTypes.number,\n onPageChange: PropTypes.func,\n onPerPageChange: PropTypes.func,\n paginationPosition: PropTypes.string,\n pageSliderVisible: PropTypes.bool\n};\n\nexport default TableShell;\n","export const SMALL_TABLE_MAX_COLUMNS = 3; // fewer than 4 data columns = small\nexport const DEFAULT_COLUMN_MIN_WIDTH = 40; // floor for columns with no explicit width\n\nexport const ARCHIVED_CELL_SX = {\n backgroundColor: \"background.light\",\n color: \"text.disabled\"\n};\n\nexport const ACTION_CELL_SX = {\n p: 0,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n width: 40,\n minWidth: 40,\n maxWidth: 40\n};\n\nexport const RESPONSIVE_TABLE_SX = {\n tableLayout: \"auto\"\n};\n\nexport const getActionsMenuBreakpoint = (dataColumnCount) =>\n dataColumnCount <= SMALL_TABLE_MAX_COLUMNS ? \"md\" : \"lg\";\n\nexport const getColumnWidthSx = (col) => ({\n minWidth: col.width ?? DEFAULT_COLUMN_MIN_WIDTH,\n ...(col.width && {\n width: col.width,\n maxWidth: col.width\n })\n});\n\nexport const getArchivedRowSx = (row, disableProp) =>\n disableProp && row[disableProp] ? ARCHIVED_CELL_SX : {};\n\nexport const getActionCellSx = (row, disableProp, widthOverride) => ({\n ...ACTION_CELL_SX,\n ...(widthOverride && {\n width: widthOverride,\n minWidth: widthOverride,\n maxWidth: widthOverride\n }),\n ...getArchivedRowSx(row, disableProp)\n});\n","import * as React from \"react\";\n\nconst useScrollFade = () => {\n const containerRef = React.useRef(null);\n const [showLeftFade, setShowLeftFade] = React.useState(false);\n const [showRightFade, setShowRightFade] = React.useState(false);\n\n const updateFades = React.useCallback(() => {\n const el = containerRef.current;\n if (!el) return;\n setShowLeftFade(el.scrollLeft > 0);\n setShowRightFade(Math.ceil(el.scrollLeft + el.clientWidth) < el.scrollWidth);\n }, []);\n\n React.useEffect(() => {\n const el = containerRef.current;\n if (!el) return undefined;\n\n updateFades();\n el.addEventListener(\"scroll\", updateFades);\n\n return () => el.removeEventListener(\"scroll\", updateFades);\n }, [updateFades]);\n\n return { containerRef, showLeftFade, showRightFade };\n};\n\nexport default useScrollFade;\n","import * as React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@mui/material/Tooltip\";\n\nconst TruncateText = ({ children, charLimit }) => {\n const ref = React.useRef(null);\n const [isOverflowing, setIsOverflowing] = React.useState(false);\n\n const shouldCharTruncate = typeof charLimit === \"number\";\n const isTruncated = shouldCharTruncate && children.length > charLimit;\n\n const displayContent = isTruncated ? children.slice(0, charLimit) + \"...\" : children;\n const tooltipTitle = isTruncated ? children : isOverflowing ? children : \"\";\n\n return (\n <Tooltip title={tooltipTitle} placement=\"top\" componentsProps={{ tooltip: { sx: { fontSize: \"1.2rem\" } } }}>\n <span\n ref={ref}\n onMouseEnter={() => {\n if (ref.current && !shouldCharTruncate)\n setIsOverflowing(ref.current.scrollWidth > ref.current.offsetWidth);\n }}\n style={{ display: \"block\", overflow: \"hidden\", textOverflow: \"ellipsis\", whiteSpace: \"nowrap\" }}\n >\n <span style={{ fontWeight: \"normal\" }}>{displayContent}</span>\n </span>\n </Tooltip>\n );\n};\n\nTruncateText.propTypes = {\n children: PropTypes.string,\n charLimit: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n};\n\nexport default TruncateText;\n","export const CENTS_FACTOR = 100n;\nexport const TWO_DECIMAL_PLACES = 2;\nexport const THREE_DECIMAL_PLACES = 3;\nexport const ONE_CENT = 1n;\nexport const ZERO_INT = 0;\nexport const BPS = 100;\n\nexport const CODE_200 = 200;\n\nexport const DEBOUNCE_WAIT_250 = 250;\nexport const DEBOUNCE_WAIT = 500;\n\nexport const NOTIFICATION_TIMEOUT = 2000;\nexport const ASYNC_SELECT_SAFETY_TIMEOUT = 15000;\nexport const DEFAULT_PER_PAGE = 10;\nexport const TWENTY_PER_PAGE = 20;\nexport const FIFTY_PER_PAGE = 50;\nexport const MAX_PER_PAGE = 100;\n\nexport const INT_BASE = 10;\n\nexport const ONE_HUNDRED = 100;\nexport const MILLISECONDS_IN_SECOND = 1000;\n\nexport const MILLISECONDS_TO_SECONDS = 1000;\n\nexport const BYTES_PER_MB = 1_048_576; // 1024 * 1024\n\nexport const MAX_INVENTORY_IMAGE_UPLOAD_SIZE = 512000;\nexport const MAX_INVENTORY_IMAGES_UPLOAD_QTY = 5;\nexport const ALLOWED_INVENTORY_IMAGE_FORMATS = [\"jpg\", \"jpeg\", \"png\"];\n\nexport const METAFIELD_TYPES_WITH_OPTIONS = [\n \"CheckBoxList\",\n \"ComboBox\",\n \"RadioButtonList\"\n];\n\nexport const METAFIELD_TYPES = [\n \"CheckBox\",\n ...METAFIELD_TYPES_WITH_OPTIONS,\n \"Text\",\n \"TextArea\",\n \"Quantity\",\n \"DateTime\",\n \"Time\"\n];\n\nexport const DISCOUNT_TYPES = {\n AMOUNT: \"Amount\",\n RATE: \"Rate\"\n};\n\nexport const RATE_FIELDS = {\n EARLY_BIRD: \"early_bird_rate\",\n STANDARD: \"standard_rate\",\n ONSITE: \"onsite_rate\"\n};\n\nexport const DECIMAL_DIGITS = 2;\n\nexport const FILE_UPLOAD_STATUS = {\n PENDING: \"PENDING\",\n DEADLINE_ALERT: \"DEADLINE ALERT\",\n DEADLINE_MISSED: \"DEADLINE MISSED\",\n COMPLETE: \"COMPLETE\"\n};\n\nexport const FILE_UPLOAD_STATUS_COLOR = {\n [FILE_UPLOAD_STATUS.COMPLETE]: \"success.light\",\n [FILE_UPLOAD_STATUS.DEADLINE_MISSED]: \"error\",\n [FILE_UPLOAD_STATUS.DEADLINE_ALERT]: \"warning.light\",\n [FILE_UPLOAD_STATUS.PENDING]: \"default\"\n};\n\nexport const FILE_UPLOAD_STATUS_BKGR_COLOR = {\n [FILE_UPLOAD_STATUS.COMPLETE]: \"white\",\n [FILE_UPLOAD_STATUS.DEADLINE_MISSED]: \"#D32F2F0A\",\n [FILE_UPLOAD_STATUS.DEADLINE_ALERT]: \"#EF6C000A\",\n [FILE_UPLOAD_STATUS.PENDING]: \"white\"\n};\n\nexport const DATE_FORMAT = \"MM/DD/YYYY\";\nexport const DATETIME_FORMAT = \"MM/DD/YYYY hh:mm a\";\n\nexport const SPONSOR_FORMS_METAFIELD_CLASS = {\n FORM: \"Form\",\n ITEM: \"Item\"\n};\n\nexport const SPONSOR_ORDER_GRID_ITEM_TYPES = {\n CHARGE: \"Charge\",\n PAYMENT: \"Payment\",\n REFUND: \"Refund\",\n DISCOUNT: \"Discount\",\n CANCELLED: \"Cancelled\"\n};","// extracted by mini-css-extract-plugin\nexport default {\"dottedBorderLeft\":\"KNETxMZ1aGPbDi44wmnH\"};","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@mui/icons-material/Check\");","module.exports = require(\"@mui/icons-material/CheckCircle\");","module.exports = require(\"@mui/icons-material/Close\");","module.exports = require(\"@mui/icons-material/Delete\");","module.exports = require(\"@mui/icons-material/Edit\");","module.exports = require(\"@mui/icons-material/Error\");","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/Box\");","module.exports = require(\"@mui/material/IconButton\");","module.exports = require(\"@mui/material/Menu\");","module.exports = require(\"@mui/material/MenuItem\");","module.exports = require(\"@mui/material/Paper\");","module.exports = require(\"@mui/material/TableContainer\");","module.exports = require(\"@mui/material/TableSortLabel\");","module.exports = require(\"@mui/material/Tooltip\");","module.exports = require(\"@mui/material/Typography\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"@mui/utils\");","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"lodash/isBoolean\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Archive\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Unarchive\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ArrowForward\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/MoreVert\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@mui/material/IconButton\";\nimport Menu from \"@mui/material/Menu\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\";\n\nconst RowActionsMenu = ({ actions }) => {\n const [anchorEl, setAnchorEl] = React.useState(null);\n\n if (!actions.length) return null;\n\n return (\n <>\n <IconButton\n size=\"medium\"\n onClick={(e) => setAnchorEl(e.currentTarget)}\n data-testid=\"row-actions-menu-trigger\"\n >\n <MoreVertIcon fontSize=\"large\" />\n </IconButton>\n <Menu\n anchorEl={anchorEl}\n open={Boolean(anchorEl)}\n onClose={() => setAnchorEl(null)}\n >\n {actions.map((action) => (\n <MenuItem\n key={action.label}\n disabled={action.disabled}\n onClick={() => {\n setAnchorEl(null);\n action.onClick();\n }}\n >\n {action.label}\n </MenuItem>\n ))}\n </Menu>\n </>\n );\n};\n\nRowActionsMenu.propTypes = {\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n })\n ).isRequired\n};\n\nexport default RowActionsMenu;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport {\n Box,\n IconButton,\n Table,\n TableBody,\n TableCell,\n TableHead,\n TableRow,\n Tooltip\n} from \"@mui/material\";\nimport EditIcon from \"@mui/icons-material/Edit\";\nimport DeleteIcon from \"@mui/icons-material/Delete\";\nimport ArchiveIcon from \"@mui/icons-material/Archive\";\nimport UnarchiveIcon from \"@mui/icons-material/Unarchive\";\nimport styles from \"../components/styles.module.less\";\nimport ArrowForwardIcon from \"@mui/icons-material/ArrowForward\";\nimport PropTypes from \"prop-types\";\nimport TableCellContent from \"../components/table-cell-content\";\nimport TableShell from \"../components/table-shell\";\nimport createDeleteHandler from \"../components/create-delete-handler\";\nimport SortableHeaderContent from \"../components/sortable-header-content\";\nimport RowActionsMenu from \"../components/row-actions-menu\";\nimport {\n RESPONSIVE_TABLE_SX,\n getColumnWidthSx,\n getArchivedRowSx,\n getActionCellSx,\n getActionsMenuBreakpoint,\n ACTION_CELL_SX\n} from \"../components/table-styles\";\n\nconst MuiTable = ({\n columns = [],\n data = [],\n children,\n totalRows,\n perPage,\n currentPage,\n onPageChange,\n onPerPageChange,\n paginationPosition,\n pageSliderVisible,\n onSort,\n options: userOptions = {},\n getName = (item) => item.name,\n onEdit,\n onArchive,\n onDelete,\n onSelect,\n canDelete = () => true,\n deleteDialogTitle = null,\n deleteDialogBody = null,\n deleteDialogConfirmText = null,\n confirmButtonColor = null,\n tableSx = {}\n}) => {\n const options = {\n sortCol: \"\",\n sortDir: 1,\n disableProp: null, // disableProp is the prop that will disable the row\n ...userOptions\n };\n const activeActionsCount =\n (onEdit ? 1 : 0) + (onDelete ? 1 : 0) + (onArchive ? 1 : 0) + (onSelect ? 1 : 0);\n // responsive:false opts out of collapsing actions into a menu — needed when\n // extra rows (e.g. TotalRow) are passed as children with a static column\n // count that can't track the collapse breakpoint\n const collapseActions =\n options.responsive !== false && !children && activeActionsCount >= 2;\n const collapseBreakpoint = getActionsMenuBreakpoint(columns.length);\n\n const totalColumnsCount =\n columns.length + activeActionsCount + (collapseActions ? 1 : 0);\n\n const {sortCol, sortDir} = options;\n\n const getHeaderSx = (col) => ({\n ...getColumnWidthSx(col),\n ...(col.headSx || {})\n });\n\n // individual action cells hide below collapseBreakpoint once actions collapse into a menu\n const getIndividualActionSx = () =>\n collapseActions ? { display: { xs: \"none\", [collapseBreakpoint]: \"table-cell\" } } : {};\n\n const menuCellSx = { display: { xs: \"table-cell\", [collapseBreakpoint]: \"none\" } };\n\n const getRowActions = (row) =>\n [\n onEdit && {\n label: T.translate(\"general.edit\"),\n onClick: () => onEdit(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n },\n onArchive && {\n label: row.is_archived\n ? T.translate(\"general.unarchive\")\n : T.translate(\"general.archive\"),\n onClick: () => onArchive(row),\n disabled: !!(\n options.disableProp &&\n options.disableProp !== \"is_archived\" &&\n row[options.disableProp]\n )\n },\n onDelete &&\n canDelete(row) && {\n label: T.translate(\"general.delete\"),\n onClick: () => handleDelete(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n },\n onSelect && {\n label: T.translate(\"general.view\"),\n onClick: () => onSelect(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n }\n ].filter(Boolean);\n\n const getCellSx = (row, col) => ({\n ...getColumnWidthSx(col),\n ...(col.cellSx || {}),\n ...getArchivedRowSx(row, options.disableProp)\n });\n\n const handleDelete = createDeleteHandler({\n onDelete,\n getName,\n deleteDialogTitle,\n deleteDialogBody,\n deleteDialogConfirmText,\n confirmButtonColor: confirmButtonColor || \"error\"\n });\n\n return (\n <TableShell\n totalRows={totalRows}\n perPage={perPage}\n currentPage={currentPage}\n onPageChange={onPageChange}\n onPerPageChange={onPerPageChange}\n paginationPosition={paginationPosition}\n pageSliderVisible={pageSliderVisible}\n >\n <Table sx={{ ...RESPONSIVE_TABLE_SX, ...tableSx }}>\n {/* TABLE HEADER */}\n <TableHead sx={{ backgroundColor: \"#EAEDF4\" }}>\n <TableRow>\n {columns.map((col) => (\n <TableCell\n key={col.columnKey}\n sx={getHeaderSx(col)}\n align={col.align ?? \"left\"}\n >\n <SortableHeaderContent\n col={col}\n sortCol={sortCol}\n sortDir={sortDir}\n onSort={onSort}\n />\n </TableCell>\n ))}\n {onEdit && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onArchive && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onDelete && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onSelect && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {collapseActions && <TableCell sx={{ ...ACTION_CELL_SX, ...menuCellSx }} />}\n </TableRow>\n </TableHead>\n\n {/* TABLE BODY */}\n <TableBody>\n {data.map((row) => (\n <TableRow key={row.id}>\n {/* Main content columns */}\n {columns.map((col) => (\n <TableCell\n key={col.columnKey}\n align={col.align ?? \"left\"}\n className={`${col.dottedBorder && styles.dottedBorderLeft} ${col.className}`}\n sx={getCellSx(row, col)}\n >\n <TableCellContent row={row} col={col} />\n </TableCell>\n ))}\n {/* Edit column */}\n {onEdit && (\n <TableCell\n align=\"center\"\n className={styles.dottedBorderLeft}\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n >\n <Tooltip title={T.translate(\"general.edit\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onEdit(row)}\n sx={{ padding: 0 }}\n data-testid=\"action-edit\"\n disabled={options.disableProp && row[options.disableProp]}\n >\n <EditIcon fontSize=\"large\" />\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {onArchive && (\n <TableCell\n align=\"center\"\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n className={styles.dottedBorderLeft}\n >\n <Tooltip\n title={\n row.is_archived\n ? T.translate(\"general.unarchive\")\n : T.translate(\"general.archive\")\n }\n >\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onArchive(row)}\n sx={{ padding: 0 }}\n data-testid=\"action-archive\"\n // bypass disabled if disableProp is \"is_archived\"\n disabled={\n options.disableProp &&\n options.disableProp !== \"is_archived\" &&\n row[options.disableProp]\n }\n >\n {row.is_archived ? (\n <UnarchiveIcon fontSize=\"large\" />\n ) : (\n <ArchiveIcon fontSize=\"large\" />\n )}\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {/* Delete column */}\n {onDelete && (\n <TableCell\n align=\"center\"\n className={styles.dottedBorderLeft}\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n >\n {canDelete(row) && (\n <Tooltip title={T.translate(\"general.delete\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => handleDelete(row)}\n data-testid=\"action-delete\"\n sx={{ padding: 0 }}\n disabled={options.disableProp && row[options.disableProp]}\n >\n <DeleteIcon fontSize=\"large\" />\n </IconButton>\n </span>\n </Tooltip>\n )}\n </TableCell>\n )}\n {onSelect && (\n <TableCell\n align=\"center\"\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n className={styles.dottedBorderLeft}\n >\n <Tooltip title={T.translate(\"general.view\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onSelect(row)}\n data-testid=\"action-select\"\n sx={{ padding: 0 }}\n disabled={options.disableProp && row[options.disableProp]}\n >\n <ArrowForwardIcon />\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {collapseActions && (\n <TableCell\n align=\"center\"\n sx={{ ...getActionCellSx(row, options.disableProp), ...menuCellSx }}\n className={styles.dottedBorderLeft}\n >\n <RowActionsMenu actions={getRowActions(row)} />\n </TableCell>\n )}\n </TableRow>\n ))}\n {/* Here we inject extra rows passed as children */}\n {children}\n {data.length === 0 && (\n <TableRow>\n <TableCell colSpan={totalColumnsCount} align=\"center\">\n {T.translate(\"mui_table.no_items\")}\n </TableCell>\n </TableRow>\n )}\n </TableBody>\n </Table>\n </TableShell>\n );\n};\n\nMuiTable.propTypes = {\n columns: PropTypes.array,\n data: PropTypes.array,\n children: PropTypes.node,\n totalRows: PropTypes.number,\n perPage: PropTypes.number,\n currentPage: PropTypes.number,\n onPageChange: PropTypes.func,\n onPerPageChange: PropTypes.func,\n paginationPosition: PropTypes.string,\n pageSliderVisible: PropTypes.bool,\n onSort: PropTypes.func,\n options: PropTypes.object,\n getName: PropTypes.func,\n onEdit: PropTypes.func,\n onArchive: PropTypes.func,\n onDelete: PropTypes.func,\n onSelect: PropTypes.func,\n canDelete: PropTypes.func,\n deleteDialogTitle: PropTypes.string,\n deleteDialogBody: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n deleteDialogConfirmText: PropTypes.string,\n confirmButtonColor: PropTypes.string,\n tableSx: PropTypes.object\n};\n\nexport default MuiTable;\n"],"names":["root","factory","exports","module","define","amd","this","require","iconMap","warning","React","Warning","color","success","CheckCircle","error","Error","info","Info","ConfirmDialog","open","title","text","iconType","onConfirm","onCancel","confirmButtonText","confirmButtonColor","cancelButtonText","cancelButtonColor","Dialog","onClose","DialogTitle","sx","p","component","Typography","variant","Divider","DialogContent","style","display","alignItems","marginRight","margin","DialogActions","Button","fullWidth","onClick","whiteSpace","minWidth","propTypes","PropTypes","isRequired","defaultProps","BRIDGE_KEY","_global","globalThis","window","showConfirmDialog","SliderPagination","currentPage","totalRows","perPage","onPageChange","initialExpanded","totalPages","Math","max","ceil","expanded","setExpanded","useState","dragValue","setDragValue","timeoutRef","useRef","onSliderChange","useCallback","_ev","value","onSliderCommit","current","setTimeout","ClickAwayListener","onClickAway","Box","height","borderRadius","border","borderColor","bgcolor","overflow","IconButton","size","prev","newPage","disabled","T","ChevronLeftIcon","fontSize","type","togglePill","background","px","cursor","page","width","transition","theme","transitions","create","Slider","min","step","onChange","onChangeCommitted","valueLabelDisplay","next","ChevronRightIcon","BASE_PER_PAGE_OPTIONS","DEFAULT_PER_PAGE","TWENTY_PER_PAGE","FIFTY_PER_PAGE","CustomTablePagination","onPerPageChange","showRange","pageSliderVisible","perPageOptions","includes","sort","a","b","total","from","to","justifyContent","flexWrap","gap","my","xs","md","Select","ev","Number","target","inputProps","map","opt","MenuItem","key","createDeleteHandler","onDelete","getName","item","name","getId","id","deleteDialogTitle","deleteDialogBody","deleteDialogConfirmText","async","showCancelButton","parsePaginationPosition","paginationPosition","positions","split","trim","showTop","showBottom","ScrollFadeOverlay","side","visible","tint","alpha","palette","paper","position","top","bottom","pointerEvents","opacity","SortableHeaderContent","col","sortCol","sortDir","onSort","sortable","TableSortLabel","active","columnKey","direction","header","visuallyHidden","contentStyle","fontWeight","overflowWrap","TableCellContent","row","render","isBoolean","CheckIcon","CloseIcon","truncateText","TruncateText","charLimit","TableShell","children","containerRef","showLeftFade","showRightFade","useScrollFade","showPagination","renderPagination","Paper","elevation","mb","TableContainer","ref","boxShadow","ARCHIVED_CELL_SX","backgroundColor","ACTION_CELL_SX","textAlign","verticalAlign","maxWidth","RESPONSIVE_TABLE_SX","tableLayout","getActionsMenuBreakpoint","dataColumnCount","getColumnWidthSx","_objectSpread","getArchivedRowSx","disableProp","getActionCellSx","widthOverride","setShowLeftFade","setShowRightFade","updateFades","el","scrollLeft","clientWidth","scrollWidth","addEventListener","removeEventListener","isOverflowing","setIsOverflowing","shouldCharTruncate","isTruncated","length","displayContent","slice","tooltipTitle","Tooltip","placement","componentsProps","tooltip","onMouseEnter","offsetWidth","textOverflow","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","RowActionsMenu","actions","anchorEl","setAnchorEl","e","currentTarget","MoreVertIcon","Menu","Boolean","action","label","MuiTable","columns","data","options","userOptions","onEdit","onArchive","onSelect","canDelete","tableSx","activeActionsCount","collapseActions","responsive","collapseBreakpoint","totalColumnsCount","getHeaderSx","headSx","getIndividualActionSx","menuCellSx","getRowActions","is_archived","handleDelete","filter","getCellSx","cellSx","Table","TableHead","TableRow","TableCell","align","TableBody","className","dottedBorder","styles","dottedBorderLeft","padding","EditIcon","UnarchiveIcon","ArchiveIcon","DeleteIcon","ArrowForwardIcon","colSpan"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/table.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mICTT,MAAM,EAA+BC,QAAQ,4B,aCA7C,MAAM,EAA+BA,QAAQ,+B,aC6B7C,MAAMC,EAAU,CACdC,QAASC,IAAAA,cAACC,IAAO,CAACC,MAAM,YACxBC,QAASH,IAAAA,cAACI,IAAW,CAACF,MAAM,YAC5BG,MAAOL,IAAAA,cAACM,IAAK,CAACJ,MAAM,UACpBK,KAAMP,IAAAA,cAACQ,IAAI,CAACN,MAAM,UAGdO,EAAgBA,EACpBC,OACAC,QACAC,OACAC,WAAW,GACXC,YACAC,WACAC,oBAAoB,UACpBC,qBAAqB,UACrBC,mBAAmB,SACnBC,oBAAoB,aAEpBnB,IAAAA,cAACoB,EAAAA,OAAM,CAACV,KAAMA,EAAMW,QAASN,GAC3Bf,IAAAA,cAACsB,EAAAA,YAAW,CAACC,GAAI,CAAEC,EAAG,GAAKC,UAAU,OACnCzB,IAAAA,cAAC0B,EAAAA,WAAU,CAACC,QAAQ,MAAMhB,IAE5BX,IAAAA,cAAC4B,EAAAA,QAAO,MACR5B,IAAAA,cAAC6B,EAAAA,cAAa,CAACN,GAAI,CAAEC,EAAG,IACtBxB,IAAAA,cAAA,OAAK8B,MAAO,CAAEC,QAAS,OAAQC,WAAY,WACxClC,EAAQe,IACP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S,GACfrC,SAAUI,EAAQ1E,aAAelC,EAAI4G,EAAQ1E,cAE7CpK,EAAAA,cAACoR,IAAgB,UAM1B9B,GACCtP,EAAAA,cAACwQ,EAAAA,UAAS,CACRC,MAAM,SACNlP,GAAE2I,EAAAA,EAAA,IAAOG,EAAAA,EAAAA,IAAgBnC,EAAK4G,EAAQ1E,cAAiB0F,GACvDa,UAAWE,EAAAA,EAAOC,kBAElB9Q,EAAAA,cAAC2N,EAAc,CAACC,QAASmC,EAAc7H,SAM9CS,EACgB,IAAhBkG,EAAKtD,QACJvL,EAAAA,cAACuQ,EAAAA,SAAQ,KACPvQ,EAAAA,cAACwQ,EAAAA,UAAS,CAACa,QAAS5B,EAAmBgB,MAAM,UAC1CpL,IAAAA,UAAY,0BAMZ,EAIjBsJ,EAASlM,UAAY,CACnBmM,QAASlM,IAAAA,MACTmM,KAAMnM,IAAAA,MACNiG,SAAUjG,IAAAA,KACVkB,UAAWlB,IAAAA,OACXmB,QAASnB,IAAAA,OACToB,YAAapB,IAAAA,OACbqB,aAAcrB,IAAAA,KACdsB,gBAAiBtB,IAAAA,KACjB6E,OAAQ7E,IAAAA,KACRoM,QAASpM,IAAAA,OACT8C,QAAS9C,IAAAA,KACTsM,OAAQtM,IAAAA,KACRuM,UAAWvM,IAAAA,KACX6C,SAAU7C,IAAAA,KACVwM,SAAUxM,IAAAA,KACVyM,UAAWzM,IAAAA,KACXmD,kBAAmBnD,IAAAA,OACnBoD,iBAAkBpD,IAAAA,UAAoB,CAACA,IAAAA,KAAgBA,IAAAA,SACvDqD,wBAAyBrD,IAAAA,OACzBzB,mBAAoByB,IAAAA,OACpB0M,QAAS1M,IAAAA,QAGX,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Info\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Warning\"","webpack://openstack-uicore-foundation/./src/components/mui/confirm-dialog.js","webpack://openstack-uicore-foundation/./src/components/mui/showConfirmDialog.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/TablePagination\"","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/CustomTablePagination.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/create-delete-handler.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/scroll-fade-overlay.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/sortable-header-content.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-cell-content.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-shell.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/table-styles.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/use-scroll-fade.js","webpack://openstack-uicore-foundation/./src/components/mui/truncate-text.js","webpack://openstack-uicore-foundation/./src/utils/constants.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/styles.module.less?7b04","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Check\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/CheckCircle\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Close\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Delete\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Edit\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Error\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Box\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/IconButton\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Menu\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/MenuItem\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Paper\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/TableContainer\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/TableSortLabel\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Tooltip\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/styles\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/utils\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"lodash/isBoolean\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Archive\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Unarchive\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ArrowForward\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/MoreVert\"","webpack://openstack-uicore-foundation/./src/components/mui/tables/components/row-actions-menu.js","webpack://openstack-uicore-foundation/./src/components/mui/tables/mui-table/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Info\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Warning\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Divider,\n Typography\n} from \"@mui/material\";\nimport CheckCircle from \"@mui/icons-material/CheckCircle\";\nimport Error from \"@mui/icons-material/Error\";\nimport Info from \"@mui/icons-material/Info\";\nimport Warning from \"@mui/icons-material/Warning\";\n\nconst iconMap = {\n warning: <Warning color=\"warning\" />,\n success: <CheckCircle color=\"success\" />,\n error: <Error color=\"error\" />,\n info: <Info color=\"info\" />\n};\n\nconst ConfirmDialog = ({\n open,\n title,\n text,\n iconType = \"\",\n onConfirm,\n onCancel,\n confirmButtonText = \"Confirm\",\n confirmButtonColor = \"primary\",\n cancelButtonText = \"Cancel\",\n cancelButtonColor = \"primary\"\n}) => (\n <Dialog open={open} onClose={onCancel}>\n <DialogTitle sx={{ p: 2 }} component=\"div\">\n <Typography variant=\"h5\">{title}</Typography>\n </DialogTitle>\n <Divider />\n <DialogContent sx={{ p: 2 }}>\n <div style={{ display: \"flex\", alignItems: \"center\" }}>\n {iconMap[iconType] && (\n <div style={{ marginRight: 10 }}>{iconMap[iconType]}</div>\n )}\n <Typography variant=\"body1\">{text}</Typography>\n </div>\n </DialogContent>\n <Divider sx={{ margin: \"10px 0px 10px 0px\" }} />\n <DialogActions>\n <Button\n fullWidth\n onClick={onCancel}\n color={cancelButtonColor}\n variant=\"outlined\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {cancelButtonText}\n </Button>\n <Button\n fullWidth\n onClick={onConfirm}\n color={confirmButtonColor}\n variant=\"contained\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {confirmButtonText}\n </Button>\n </DialogActions>\n </Dialog>\n);\n\nConfirmDialog.propTypes = {\n open: PropTypes.bool,\n title: PropTypes.string.isRequired,\n text: PropTypes.string.isRequired,\n iconType: PropTypes.string,\n onConfirm: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n confirmButtonText: PropTypes.string,\n confirmButtonColor: PropTypes.string,\n cancelButtonText: PropTypes.string,\n cancelButtonColor: PropTypes.string\n};\n\nConfirmDialog.defaultProps = {\n open: false,\n iconType: \"warning\",\n confirmButtonText: \"Confirm\",\n confirmButtonColor: \"primary\",\n cancelButtonText: \"Cancel\",\n cancelButtonColor: \"default\"\n};\n\nexport default ConfirmDialog;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React, { useState, useEffect } from \"react\";\nimport ConfirmDialog from \"./confirm-dialog\";\n\n/**\n * Imperative confirm dialog API.\n *\n * SETUP (required):\n * Place <GlobalConfirmDialog /> at the root of your app:\n *\n * import { GlobalConfirmDialog } from\n * 'openstack-uicore-foundation/lib/components/mui/show-confirm-dialog';\n *\n * function App() {\n * return (\n * <>\n * <YourApp />\n * <GlobalConfirmDialog />\n * </>\n * );\n * }\n *\n * USAGE (works from any file — the bridge is shared via globalThis):\n * import showConfirmDialog from\n * 'openstack-uicore-foundation/lib/components/mui/show-confirm-dialog';\n *\n * const confirmed = await showConfirmDialog({\n * title: 'Delete Item?',\n * text: 'This cannot be undone'\n * });\n */\n\n// Shared bridge reference stored on globalThis so that all webpack bundles\n// (table, sortable-table, show-confirm-dialog, index, etc.) read/write the\n// same callback. A module-level variable would be duplicated per bundle.\nconst BRIDGE_KEY = \"__oif_confirm_dialog_bridge__\";\nconst _global = typeof globalThis !== \"undefined\" ? globalThis : typeof window !== \"undefined\" ? window : {};\n\n/**\n * @param param0\n * @param param0.title\n * @param param0.text\n * @param param0.iconType\n * @param param0.confirmButtonText\n * @param param0.cancelButtonText\n * @param param0.confirmButtonColor\n * @param param0.cancelButtonColor\n * @returns {Promise<boolean>}\n */\nconst showConfirmDialog = ({\n title,\n text,\n iconType = \"\",\n confirmButtonText = \"Confirm\",\n cancelButtonText = \"Cancel\",\n confirmButtonColor = \"primary\",\n cancelButtonColor = \"primary\"\n}) => {\n if (!_global[BRIDGE_KEY]) {\n throw new Error(\n \"[openstack-uicore-foundation] showConfirmDialog: <GlobalConfirmDialog /> is not mounted. \" +\n \"Add <GlobalConfirmDialog /> to the root of your app.\"\n );\n }\n\n return _global[BRIDGE_KEY]({\n title,\n text,\n iconType,\n confirmButtonText,\n cancelButtonText,\n confirmButtonColor,\n cancelButtonColor\n });\n};\n\n/**\n * Global confirm dialog component. Place at the root of your app:\n *\n * <App>\n * ...\n * <GlobalConfirmDialog />\n * </App>\n *\n * Then call showConfirmDialog() anywhere.\n */\nexport const GlobalConfirmDialog = () => {\n const [dialogState, setDialogState] = useState(null);\n\n useEffect(() => {\n _global[BRIDGE_KEY] = (options) => {\n return new Promise((resolve) => {\n setDialogState({ ...options, open: true, onResolve: resolve });\n });\n };\n return () => { _global[BRIDGE_KEY] = null; };\n }, []);\n\n const handleConfirm = () => {\n if (dialogState?.onResolve) dialogState.onResolve(true);\n setDialogState(null);\n };\n\n const handleCancel = () => {\n if (dialogState?.onResolve) dialogState.onResolve(false);\n setDialogState(null);\n };\n\n if (!dialogState) return null;\n\n return (\n <ConfirmDialog\n open={dialogState.open}\n title={dialogState.title}\n text={dialogState.text}\n iconType={dialogState.iconType}\n confirmButtonText={dialogState.confirmButtonText}\n cancelButtonText={dialogState.cancelButtonText}\n confirmButtonColor={dialogState.confirmButtonColor}\n cancelButtonColor={dialogState.cancelButtonColor}\n onConfirm={handleConfirm}\n onCancel={handleCancel}\n />\n );\n};\n\nexport default showConfirmDialog;\n","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/TablePagination\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport TablePagination from \"@mui/material/TablePagination\";\nimport PropTypes from \"prop-types\";\nimport { DEFAULT_PER_PAGE, FIFTY_PER_PAGE, TWENTY_PER_PAGE } from \"../../../../utils/constants\";\n\nconst PAGINATION_SX = {\n \".MuiTablePagination-toolbar\": {\n alignItems: \"baseline\",\n marginTop: \"1.6rem\"\n },\n \".MuiTablePagination-selectLabel\": {\n color: \"rgba(0, 0, 0, 0.6)\",\n fontSize: \"12px\",\n fontWeight: \"normal\"\n },\n \".MuiTablePagination-select\": {\n color: \"rgba(0, 0, 0, 0.6)\",\n fontSize: \"12px\",\n fontWeight: \"normal\"\n },\n \".MuiTablePagination-spacer\": {\n display: \"none\"\n },\n \".MuiTablePagination-displayedRows\": {\n marginLeft: \"auto\"\n }\n};\n\nconst BASE_PER_PAGE_OPTIONS = [DEFAULT_PER_PAGE, TWENTY_PER_PAGE, FIFTY_PER_PAGE];\n\nconst CustomTablePagination = ({ totalRows, perPage, currentPage, onPageChange, onPerPageChange }) => {\n const perPageOptions = React.useMemo(() => {\n if (!onPerPageChange) return [perPage];\n return BASE_PER_PAGE_OPTIONS.includes(perPage)\n ? BASE_PER_PAGE_OPTIONS\n : [...BASE_PER_PAGE_OPTIONS, perPage].sort((a, b) => a - b);\n }, [perPage, onPerPageChange]);\n\n const handlePageChange = (_, newPage) => {\n onPageChange(newPage + 1);\n };\n\n const handleRowsPerPageChange = (ev) => {\n onPerPageChange(parseInt(ev.target.value, 10));\n };\n\n return (\n <TablePagination\n component=\"div\"\n count={totalRows ?? 0}\n rowsPerPageOptions={perPageOptions}\n rowsPerPage={perPage}\n page={currentPage - 1}\n onPageChange={handlePageChange}\n onRowsPerPageChange={onPerPageChange ? handleRowsPerPageChange : undefined}\n labelRowsPerPage={T.translate(\"mui_table.rows_per_page\")}\n sx={PAGINATION_SX}\n />\n );\n};\n\nCustomTablePagination.propTypes = {\n totalRows: PropTypes.number,\n perPage: PropTypes.number.isRequired,\n currentPage: PropTypes.number.isRequired,\n onPageChange: PropTypes.func.isRequired,\n onPerPageChange: PropTypes.func\n};\n\nexport default CustomTablePagination;\n","import T from \"i18n-react/dist/i18n-react\";\nimport showConfirmDialog from \"../../showConfirmDialog\";\n\nconst createDeleteHandler = ({\n onDelete,\n getName = (item) => item.name,\n getId = (item) => item.id,\n deleteDialogTitle,\n deleteDialogBody,\n deleteDialogConfirmText,\n confirmButtonColor\n}) => async (item) => {\n const isConfirmed = await showConfirmDialog({\n title: deleteDialogTitle || T.translate(\"general.are_you_sure\"),\n text:\n typeof deleteDialogBody === \"function\"\n ? deleteDialogBody(getName(item))\n : deleteDialogBody ||\n `${T.translate(\"general.row_remove_warning\")} ${getName(item)}`,\n iconType: \"warning\",\n showCancelButton: true,\n confirmButtonColor,\n confirmButtonText:\n deleteDialogConfirmText || T.translate(\"general.yes_delete\")\n });\n\n if (isConfirmed) {\n onDelete(getId(item));\n }\n};\n\nexport default createDeleteHandler;\n","import * as React from \"react\";\nimport Box from \"@mui/material/Box\";\nimport PropTypes from \"prop-types\";\nimport { alpha } from \"@mui/material/styles\";\n\nconst FADE_WIDTH = 64;\nconst FADE_OPACITY = 0.85;\n\nconst ScrollFadeOverlay = ({ side, visible }) => (\n <Box\n sx={(theme) => {\n const tint = alpha(theme.palette.background.paper, FADE_OPACITY);\n return {\n position: \"absolute\",\n top: 0,\n bottom: 0,\n [side]: 0,\n width: FADE_WIDTH,\n pointerEvents: \"none\",\n opacity: visible ? 1 : 0,\n transition: \"opacity 0.2s ease\",\n background: `linear-gradient(to ${side === \"left\" ? \"right\" : \"left\"}, ${tint}, transparent)`\n };\n }}\n />\n);\n\nScrollFadeOverlay.propTypes = {\n side: PropTypes.oneOf([\"left\", \"right\"]).isRequired,\n visible: PropTypes.bool\n};\n\nexport default ScrollFadeOverlay;\n","import * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport Box from \"@mui/material/Box\";\nimport TableSortLabel from \"@mui/material/TableSortLabel\";\nimport PropTypes from \"prop-types\";\nimport { visuallyHidden } from \"@mui/utils\";\n\nconst SortableHeaderContent = ({ col, sortCol, sortDir, onSort, sx }) => {\n if (!col.sortable) {\n return sx ? <span style={sx}>{col.header}</span> : col.header;\n }\n\n return (\n <TableSortLabel\n active={sortCol === col.columnKey}\n direction={sortCol === col.columnKey && sortDir === -1 ? \"desc\" : \"asc\"}\n onClick={() => onSort(col.columnKey, sortDir * -1)}\n sx={sx}\n >\n {col.header}\n {sortCol === col.columnKey ? (\n <Box component=\"span\" sx={visuallyHidden}>\n {sortDir === -1\n ? T.translate(\"mui_table.sorted_desc\")\n : T.translate(\"mui_table.sorted_asc\")}\n </Box>\n ) : null}\n </TableSortLabel>\n );\n};\n\nSortableHeaderContent.propTypes = {\n col: PropTypes.object.isRequired,\n sortCol: PropTypes.string,\n sortDir: PropTypes.oneOf([1, -1]),\n onSort: PropTypes.func,\n sx: PropTypes.object\n};\n\nexport default SortableHeaderContent;\n","import * as React from \"react\";\nimport isBoolean from \"lodash/isBoolean\";\nimport CheckIcon from \"@mui/icons-material/Check\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport TruncateText from \"../../truncate-text\";\n\nconst contentStyle = {\n fontWeight: \"normal\",\n overflowWrap: \"break-word\",\n};\n\nconst TableCellContent = ({ row, col }) => {\n return (\n <span style={contentStyle}>\n {col.render ? (\n col.render(row)\n ) : isBoolean(row[col.columnKey]) ? (\n row[col.columnKey] ? (\n <CheckIcon fontSize=\"large\" />\n ) : (\n <CloseIcon fontSize=\"large\" />\n )\n ) : col.truncateText ? (\n <TruncateText charLimit={col.truncateText}>\n {row[col.columnKey]}\n </TruncateText>\n ) : (\n row[col.columnKey]\n )}\n </span>\n );\n};\n\nexport default TableCellContent;","import * as React from \"react\";\nimport Box from \"@mui/material/Box\";\nimport Paper from \"@mui/material/Paper\";\nimport TableContainer from \"@mui/material/TableContainer\";\nimport PropTypes from \"prop-types\";\nimport CustomTablePagination from \"./CustomTablePagination\";\nimport useScrollFade from \"./use-scroll-fade\";\nimport ScrollFadeOverlay from \"./scroll-fade-overlay\";\n\nconst TableShell = ({\n children,\n totalRows,\n perPage,\n currentPage,\n onPageChange,\n onPerPageChange\n}) => {\n const { containerRef, showLeftFade, showRightFade } = useScrollFade();\n\n return (\n <Box sx={{ width: \"100%\" }}>\n <Paper elevation={0} sx={{ width: \"100%\", mb: 2 }}>\n <Box sx={{ position: \"relative\" }}>\n <TableContainer\n ref={containerRef}\n component={Paper}\n sx={{ borderRadius: 0, boxShadow: \"none\" }}\n >\n {children}\n </TableContainer>\n <ScrollFadeOverlay side=\"left\" visible={showLeftFade} />\n <ScrollFadeOverlay side=\"right\" visible={showRightFade} />\n </Box>\n\n {perPage && currentPage && onPageChange && (\n <CustomTablePagination\n totalRows={totalRows}\n perPage={perPage}\n currentPage={currentPage}\n onPageChange={onPageChange}\n onPerPageChange={onPerPageChange}\n />\n )}\n </Paper>\n </Box>\n );\n};\n\nTableShell.propTypes = {\n children: PropTypes.node,\n totalRows: PropTypes.number,\n perPage: PropTypes.number,\n currentPage: PropTypes.number,\n onPageChange: PropTypes.func,\n onPerPageChange: PropTypes.func\n};\n\nexport default TableShell;\n","export const SMALL_TABLE_MAX_COLUMNS = 3; // fewer than 4 data columns = small\nexport const DEFAULT_COLUMN_MIN_WIDTH = 40; // floor for columns with no explicit width\n\nexport const ARCHIVED_CELL_SX = {\n backgroundColor: \"background.light\",\n color: \"text.disabled\"\n};\n\nexport const ACTION_CELL_SX = {\n p: 0,\n textAlign: \"center\",\n verticalAlign: \"middle\",\n width: 40,\n minWidth: 40,\n maxWidth: 40\n};\n\nexport const RESPONSIVE_TABLE_SX = {\n tableLayout: \"auto\"\n};\n\nexport const getActionsMenuBreakpoint = (dataColumnCount) =>\n dataColumnCount <= SMALL_TABLE_MAX_COLUMNS ? \"md\" : \"lg\";\n\nexport const getColumnWidthSx = (col) => ({\n minWidth: col.width ?? DEFAULT_COLUMN_MIN_WIDTH,\n ...(col.width && {\n width: col.width,\n maxWidth: col.width\n })\n});\n\nexport const getArchivedRowSx = (row, disableProp) =>\n disableProp && row[disableProp] ? ARCHIVED_CELL_SX : {};\n\nexport const getActionCellSx = (row, disableProp, widthOverride) => ({\n ...ACTION_CELL_SX,\n ...(widthOverride && {\n width: widthOverride,\n minWidth: widthOverride,\n maxWidth: widthOverride\n }),\n ...getArchivedRowSx(row, disableProp)\n});\n","import * as React from \"react\";\n\nconst useScrollFade = () => {\n const containerRef = React.useRef(null);\n const [showLeftFade, setShowLeftFade] = React.useState(false);\n const [showRightFade, setShowRightFade] = React.useState(false);\n\n const updateFades = React.useCallback(() => {\n const el = containerRef.current;\n if (!el) return;\n setShowLeftFade(el.scrollLeft > 0);\n setShowRightFade(Math.ceil(el.scrollLeft + el.clientWidth) < el.scrollWidth);\n }, []);\n\n React.useEffect(() => {\n const el = containerRef.current;\n if (!el) return undefined;\n\n updateFades();\n el.addEventListener(\"scroll\", updateFades);\n\n return () => el.removeEventListener(\"scroll\", updateFades);\n }, [updateFades]);\n\n return { containerRef, showLeftFade, showRightFade };\n};\n\nexport default useScrollFade;\n","import * as React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Tooltip from \"@mui/material/Tooltip\";\n\nconst TruncateText = ({ children, charLimit }) => {\n const ref = React.useRef(null);\n const [isOverflowing, setIsOverflowing] = React.useState(false);\n\n const shouldCharTruncate = typeof charLimit === \"number\";\n const isTruncated = shouldCharTruncate && children.length > charLimit;\n\n const displayContent = isTruncated ? children.slice(0, charLimit) + \"...\" : children;\n const tooltipTitle = isTruncated ? children : isOverflowing ? children : \"\";\n\n return (\n <Tooltip title={tooltipTitle} placement=\"top\" componentsProps={{ tooltip: { sx: { fontSize: \"1.2rem\" } } }}>\n <span\n ref={ref}\n onMouseEnter={() => {\n if (ref.current && !shouldCharTruncate)\n setIsOverflowing(ref.current.scrollWidth > ref.current.offsetWidth);\n }}\n style={{ display: \"block\", overflow: \"hidden\", textOverflow: \"ellipsis\", whiteSpace: \"nowrap\" }}\n >\n <span style={{ fontWeight: \"normal\" }}>{displayContent}</span>\n </span>\n </Tooltip>\n );\n};\n\nTruncateText.propTypes = {\n children: PropTypes.string,\n charLimit: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\n};\n\nexport default TruncateText;\n","export const CENTS_FACTOR = 100n;\nexport const TWO_DECIMAL_PLACES = 2;\nexport const THREE_DECIMAL_PLACES = 3;\nexport const ONE_CENT = 1n;\nexport const ZERO_INT = 0;\nexport const BPS = 100;\n\nexport const CODE_200 = 200;\n\nexport const DEBOUNCE_WAIT_250 = 250;\nexport const DEBOUNCE_WAIT = 500;\n\nexport const NOTIFICATION_TIMEOUT = 2000;\nexport const ASYNC_SELECT_SAFETY_TIMEOUT = 15000;\nexport const DEFAULT_PER_PAGE = 10;\nexport const TWENTY_PER_PAGE = 20;\nexport const FIFTY_PER_PAGE = 50;\nexport const MAX_PER_PAGE = 100;\n\nexport const INT_BASE = 10;\n\nexport const ONE_HUNDRED = 100;\nexport const MILLISECONDS_IN_SECOND = 1000;\n\nexport const MILLISECONDS_TO_SECONDS = 1000;\n\nexport const BYTES_PER_MB = 1_048_576; // 1024 * 1024\n\nexport const MAX_INVENTORY_IMAGE_UPLOAD_SIZE = 512000;\nexport const MAX_INVENTORY_IMAGES_UPLOAD_QTY = 5;\nexport const ALLOWED_INVENTORY_IMAGE_FORMATS = [\"jpg\", \"jpeg\", \"png\"];\n\nexport const METAFIELD_TYPES_WITH_OPTIONS = [\n \"CheckBoxList\",\n \"ComboBox\",\n \"RadioButtonList\"\n];\n\nexport const METAFIELD_TYPES = [\n \"CheckBox\",\n ...METAFIELD_TYPES_WITH_OPTIONS,\n \"Text\",\n \"TextArea\",\n \"Quantity\",\n \"DateTime\",\n \"Time\"\n];\n\nexport const DISCOUNT_TYPES = {\n AMOUNT: \"Amount\",\n RATE: \"Rate\"\n};\n\nexport const RATE_FIELDS = {\n EARLY_BIRD: \"early_bird_rate\",\n STANDARD: \"standard_rate\",\n ONSITE: \"onsite_rate\"\n};\n\nexport const DECIMAL_DIGITS = 2;\n\nexport const FILE_UPLOAD_STATUS = {\n PENDING: \"PENDING\",\n DEADLINE_ALERT: \"DEADLINE ALERT\",\n DEADLINE_MISSED: \"DEADLINE MISSED\",\n COMPLETE: \"COMPLETE\"\n};\n\nexport const FILE_UPLOAD_STATUS_COLOR = {\n [FILE_UPLOAD_STATUS.COMPLETE]: \"success.light\",\n [FILE_UPLOAD_STATUS.DEADLINE_MISSED]: \"error\",\n [FILE_UPLOAD_STATUS.DEADLINE_ALERT]: \"warning.light\",\n [FILE_UPLOAD_STATUS.PENDING]: \"default\"\n};\n\nexport const FILE_UPLOAD_STATUS_BKGR_COLOR = {\n [FILE_UPLOAD_STATUS.COMPLETE]: \"white\",\n [FILE_UPLOAD_STATUS.DEADLINE_MISSED]: \"#D32F2F0A\",\n [FILE_UPLOAD_STATUS.DEADLINE_ALERT]: \"#EF6C000A\",\n [FILE_UPLOAD_STATUS.PENDING]: \"white\"\n};\n\nexport const DATE_FORMAT = \"MM/DD/YYYY\";\nexport const DATETIME_FORMAT = \"MM/DD/YYYY hh:mm a\";\n\nexport const SPONSOR_FORMS_METAFIELD_CLASS = {\n FORM: \"Form\",\n ITEM: \"Item\"\n};\n\nexport const SPONSOR_ORDER_GRID_ITEM_TYPES = {\n CHARGE: \"Charge\",\n PAYMENT: \"Payment\",\n REFUND: \"Refund\",\n DISCOUNT: \"Discount\",\n CANCELLED: \"Cancelled\"\n};","// extracted by mini-css-extract-plugin\nexport default {\"dottedBorderLeft\":\"KNETxMZ1aGPbDi44wmnH\"};","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@mui/icons-material/Check\");","module.exports = require(\"@mui/icons-material/CheckCircle\");","module.exports = require(\"@mui/icons-material/Close\");","module.exports = require(\"@mui/icons-material/Delete\");","module.exports = require(\"@mui/icons-material/Edit\");","module.exports = require(\"@mui/icons-material/Error\");","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/Box\");","module.exports = require(\"@mui/material/IconButton\");","module.exports = require(\"@mui/material/Menu\");","module.exports = require(\"@mui/material/MenuItem\");","module.exports = require(\"@mui/material/Paper\");","module.exports = require(\"@mui/material/TableContainer\");","module.exports = require(\"@mui/material/TableSortLabel\");","module.exports = require(\"@mui/material/Tooltip\");","module.exports = require(\"@mui/material/styles\");","module.exports = require(\"@mui/utils\");","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"lodash/isBoolean\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Archive\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Unarchive\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ArrowForward\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/MoreVert\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport PropTypes from \"prop-types\";\nimport IconButton from \"@mui/material/IconButton\";\nimport Menu from \"@mui/material/Menu\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport MoreVertIcon from \"@mui/icons-material/MoreVert\";\n\nconst RowActionsMenu = ({ actions }) => {\n const [anchorEl, setAnchorEl] = React.useState(null);\n\n if (!actions.length) return null;\n\n return (\n <>\n <IconButton\n size=\"medium\"\n onClick={(e) => setAnchorEl(e.currentTarget)}\n data-testid=\"row-actions-menu-trigger\"\n >\n <MoreVertIcon fontSize=\"large\" />\n </IconButton>\n <Menu\n anchorEl={anchorEl}\n open={Boolean(anchorEl)}\n onClose={() => setAnchorEl(null)}\n >\n {actions.map((action) => (\n <MenuItem\n key={action.label}\n disabled={action.disabled}\n onClick={() => {\n setAnchorEl(null);\n action.onClick();\n }}\n >\n {action.label}\n </MenuItem>\n ))}\n </Menu>\n </>\n );\n};\n\nRowActionsMenu.propTypes = {\n actions: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n onClick: PropTypes.func.isRequired,\n disabled: PropTypes.bool\n })\n ).isRequired\n};\n\nexport default RowActionsMenu;\n","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport * as React from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport {\n Box,\n IconButton,\n Table,\n TableBody,\n TableCell,\n TableHead,\n TableRow,\n Tooltip\n} from \"@mui/material\";\nimport EditIcon from \"@mui/icons-material/Edit\";\nimport DeleteIcon from \"@mui/icons-material/Delete\";\nimport ArchiveIcon from \"@mui/icons-material/Archive\";\nimport UnarchiveIcon from \"@mui/icons-material/Unarchive\";\nimport styles from \"../components/styles.module.less\";\nimport ArrowForwardIcon from \"@mui/icons-material/ArrowForward\";\nimport PropTypes from \"prop-types\";\nimport TableCellContent from \"../components/table-cell-content\";\nimport TableShell from \"../components/table-shell\";\nimport createDeleteHandler from \"../components/create-delete-handler\";\nimport SortableHeaderContent from \"../components/sortable-header-content\";\nimport RowActionsMenu from \"../components/row-actions-menu\";\nimport {\n RESPONSIVE_TABLE_SX,\n getColumnWidthSx,\n getArchivedRowSx,\n getActionCellSx,\n getActionsMenuBreakpoint,\n ACTION_CELL_SX\n} from \"../components/table-styles\";\n\nconst MuiTable = ({\n columns = [],\n data = [],\n children,\n totalRows,\n perPage,\n currentPage,\n onPageChange,\n onPerPageChange,\n onSort,\n options: userOptions = {},\n getName = (item) => item.name,\n onEdit,\n onArchive,\n onDelete,\n onSelect,\n canDelete = () => true,\n deleteDialogTitle = null,\n deleteDialogBody = null,\n deleteDialogConfirmText = null,\n confirmButtonColor = null,\n tableSx = {}\n}) => {\n const options = {\n sortCol: \"\",\n sortDir: 1,\n disableProp: null, // disableProp is the prop that will disable the row\n ...userOptions\n };\n const activeActionsCount =\n (onEdit ? 1 : 0) + (onDelete ? 1 : 0) + (onArchive ? 1 : 0) + (onSelect ? 1 : 0);\n // responsive:false opts out of collapsing actions into a menu — needed when\n // extra rows (e.g. TotalRow) are passed as children with a static column\n // count that can't track the collapse breakpoint\n const collapseActions =\n options.responsive !== false && !children && activeActionsCount >= 2;\n const collapseBreakpoint = getActionsMenuBreakpoint(columns.length);\n\n const totalColumnsCount =\n columns.length + activeActionsCount + (collapseActions ? 1 : 0);\n\n const {sortCol, sortDir} = options;\n\n const getHeaderSx = (col) => ({\n ...getColumnWidthSx(col),\n ...(col.headSx || {})\n });\n\n // individual action cells hide below collapseBreakpoint once actions collapse into a menu\n const getIndividualActionSx = () =>\n collapseActions ? { display: { xs: \"none\", [collapseBreakpoint]: \"table-cell\" } } : {};\n\n const menuCellSx = { display: { xs: \"table-cell\", [collapseBreakpoint]: \"none\" } };\n\n const getRowActions = (row) =>\n [\n onEdit && {\n label: T.translate(\"general.edit\"),\n onClick: () => onEdit(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n },\n onArchive && {\n label: row.is_archived\n ? T.translate(\"general.unarchive\")\n : T.translate(\"general.archive\"),\n onClick: () => onArchive(row),\n disabled: !!(\n options.disableProp &&\n options.disableProp !== \"is_archived\" &&\n row[options.disableProp]\n )\n },\n onDelete &&\n canDelete(row) && {\n label: T.translate(\"general.delete\"),\n onClick: () => handleDelete(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n },\n onSelect && {\n label: T.translate(\"general.view\"),\n onClick: () => onSelect(row),\n disabled: !!(options.disableProp && row[options.disableProp])\n }\n ].filter(Boolean);\n\n const getCellSx = (row, col) => ({\n ...getColumnWidthSx(col),\n ...(col.cellSx || {}),\n ...getArchivedRowSx(row, options.disableProp)\n });\n\n const handleDelete = createDeleteHandler({\n onDelete,\n getName,\n deleteDialogTitle,\n deleteDialogBody,\n deleteDialogConfirmText,\n confirmButtonColor: confirmButtonColor || \"error\"\n });\n\n return (\n <TableShell\n totalRows={totalRows}\n perPage={perPage}\n currentPage={currentPage}\n onPageChange={onPageChange}\n onPerPageChange={onPerPageChange}\n >\n <Table sx={{ ...RESPONSIVE_TABLE_SX, ...tableSx }}>\n {/* TABLE HEADER */}\n <TableHead sx={{ backgroundColor: \"#EAEDF4\" }}>\n <TableRow>\n {columns.map((col) => (\n <TableCell\n key={col.columnKey}\n sx={getHeaderSx(col)}\n align={col.align ?? \"left\"}\n >\n <SortableHeaderContent\n col={col}\n sortCol={sortCol}\n sortDir={sortDir}\n onSort={onSort}\n />\n </TableCell>\n ))}\n {onEdit && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onArchive && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onDelete && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {onSelect && <TableCell sx={{ ...ACTION_CELL_SX, ...getIndividualActionSx() }} />}\n {collapseActions && <TableCell sx={{ ...ACTION_CELL_SX, ...menuCellSx }} />}\n </TableRow>\n </TableHead>\n\n {/* TABLE BODY */}\n <TableBody>\n {data.map((row) => (\n <TableRow key={row.id}>\n {/* Main content columns */}\n {columns.map((col) => (\n <TableCell\n key={col.columnKey}\n align={col.align ?? \"left\"}\n className={`${col.dottedBorder && styles.dottedBorderLeft} ${col.className}`}\n sx={getCellSx(row, col)}\n >\n <TableCellContent row={row} col={col} />\n </TableCell>\n ))}\n {/* Edit column */}\n {onEdit && (\n <TableCell\n align=\"center\"\n className={styles.dottedBorderLeft}\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n >\n <Tooltip title={T.translate(\"general.edit\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onEdit(row)}\n sx={{ padding: 0 }}\n data-testid=\"action-edit\"\n disabled={options.disableProp && row[options.disableProp]}\n >\n <EditIcon fontSize=\"large\" />\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {onArchive && (\n <TableCell\n align=\"center\"\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n className={styles.dottedBorderLeft}\n >\n <Tooltip\n title={\n row.is_archived\n ? T.translate(\"general.unarchive\")\n : T.translate(\"general.archive\")\n }\n >\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onArchive(row)}\n sx={{ padding: 0 }}\n data-testid=\"action-archive\"\n // bypass disabled if disableProp is \"is_archived\"\n disabled={\n options.disableProp &&\n options.disableProp !== \"is_archived\" &&\n row[options.disableProp]\n }\n >\n {row.is_archived ? (\n <UnarchiveIcon fontSize=\"large\" />\n ) : (\n <ArchiveIcon fontSize=\"large\" />\n )}\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {/* Delete column */}\n {onDelete && (\n <TableCell\n align=\"center\"\n className={styles.dottedBorderLeft}\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n >\n {canDelete(row) && (\n <Tooltip title={T.translate(\"general.delete\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => handleDelete(row)}\n data-testid=\"action-delete\"\n sx={{ padding: 0 }}\n disabled={options.disableProp && row[options.disableProp]}\n >\n <DeleteIcon fontSize=\"large\" />\n </IconButton>\n </span>\n </Tooltip>\n )}\n </TableCell>\n )}\n {onSelect && (\n <TableCell\n align=\"center\"\n sx={{\n ...getActionCellSx(row, options.disableProp),\n ...getIndividualActionSx()\n }}\n className={styles.dottedBorderLeft}\n >\n <Tooltip title={T.translate(\"general.view\")}>\n <span>\n <IconButton\n size=\"medium\"\n onClick={() => onSelect(row)}\n data-testid=\"action-select\"\n sx={{ padding: 0 }}\n disabled={options.disableProp && row[options.disableProp]}\n >\n <ArrowForwardIcon />\n </IconButton>\n </span>\n </Tooltip>\n </TableCell>\n )}\n {collapseActions && (\n <TableCell\n align=\"center\"\n sx={{ ...getActionCellSx(row, options.disableProp), ...menuCellSx }}\n className={styles.dottedBorderLeft}\n >\n <RowActionsMenu actions={getRowActions(row)} />\n </TableCell>\n )}\n </TableRow>\n ))}\n {/* Here we inject extra rows passed as children */}\n {children}\n {data.length === 0 && (\n <TableRow>\n <TableCell colSpan={totalColumnsCount} align=\"center\">\n {T.translate(\"mui_table.no_items\")}\n </TableCell>\n </TableRow>\n )}\n </TableBody>\n </Table>\n </TableShell>\n );\n};\n\nMuiTable.propTypes = {\n columns: PropTypes.array,\n data: PropTypes.array,\n children: PropTypes.node,\n totalRows: PropTypes.number,\n perPage: PropTypes.number,\n currentPage: PropTypes.number,\n onPageChange: PropTypes.func,\n onPerPageChange: PropTypes.func,\n onSort: PropTypes.func,\n options: PropTypes.object,\n getName: PropTypes.func,\n onEdit: PropTypes.func,\n onArchive: PropTypes.func,\n onDelete: PropTypes.func,\n onSelect: PropTypes.func,\n canDelete: PropTypes.func,\n deleteDialogTitle: PropTypes.string,\n deleteDialogBody: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\n deleteDialogConfirmText: PropTypes.string,\n confirmButtonColor: PropTypes.string,\n tableSx: PropTypes.object\n};\n\nexport default MuiTable;\n"],"names":["root","factory","exports","module","define","amd","this","require","iconMap","warning","React","Warning","color","success","CheckCircle","error","Error","info","Info","ConfirmDialog","open","title","text","iconType","onConfirm","onCancel","confirmButtonText","confirmButtonColor","cancelButtonText","cancelButtonColor","Dialog","onClose","DialogTitle","sx","p","component","Typography","variant","Divider","DialogContent","style","display","alignItems","marginRight","margin","DialogActions","Button","fullWidth","onClick","whiteSpace","minWidth","propTypes","PropTypes","isRequired","defaultProps","BRIDGE_KEY","_global","globalThis","window","showConfirmDialog","PAGINATION_SX","marginTop","fontSize","fontWeight","marginLeft","BASE_PER_PAGE_OPTIONS","DEFAULT_PER_PAGE","TWENTY_PER_PAGE","FIFTY_PER_PAGE","CustomTablePagination","totalRows","perPage","currentPage","onPageChange","onPerPageChange","perPageOptions","includes","sort","a","b","TablePagination","count","rowsPerPageOptions","rowsPerPage","page","handlePageChange","_","newPage","onRowsPerPageChange","ev","parseInt","target","value","undefined","labelRowsPerPage","T","createDeleteHandler","onDelete","getName","item","name","getId","id","deleteDialogTitle","deleteDialogBody","deleteDialogConfirmText","async","showCancelButton","ScrollFadeOverlay","side","visible","Box","theme","tint","alpha","palette","background","paper","position","top","bottom","width","pointerEvents","opacity","transition","SortableHeaderContent","col","sortCol","sortDir","onSort","sortable","TableSortLabel","active","columnKey","direction","header","visuallyHidden","contentStyle","overflowWrap","TableCellContent","row","render","isBoolean","CheckIcon","CloseIcon","truncateText","TruncateText","charLimit","TableShell","children","containerRef","showLeftFade","showRightFade","useScrollFade","Paper","elevation","mb","TableContainer","ref","borderRadius","boxShadow","ARCHIVED_CELL_SX","backgroundColor","ACTION_CELL_SX","textAlign","verticalAlign","maxWidth","RESPONSIVE_TABLE_SX","tableLayout","getActionsMenuBreakpoint","dataColumnCount","getColumnWidthSx","_objectSpread","getArchivedRowSx","disableProp","getActionCellSx","widthOverride","setShowLeftFade","setShowRightFade","updateFades","el","current","scrollLeft","Math","ceil","clientWidth","scrollWidth","addEventListener","removeEventListener","isOverflowing","setIsOverflowing","shouldCharTruncate","isTruncated","length","displayContent","slice","tooltipTitle","Tooltip","placement","componentsProps","tooltip","onMouseEnter","offsetWidth","overflow","textOverflow","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","n","getter","__esModule","d","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","RowActionsMenu","actions","anchorEl","setAnchorEl","IconButton","size","e","currentTarget","MoreVertIcon","Menu","Boolean","map","action","MenuItem","label","disabled","MuiTable","columns","data","options","userOptions","onEdit","onArchive","onSelect","canDelete","tableSx","activeActionsCount","collapseActions","responsive","collapseBreakpoint","totalColumnsCount","getHeaderSx","headSx","getIndividualActionSx","xs","menuCellSx","getRowActions","is_archived","handleDelete","filter","getCellSx","cellSx","Table","TableHead","TableRow","TableCell","align","TableBody","className","dottedBorder","styles","dottedBorderLeft","padding","EditIcon","UnarchiveIcon","ArchiveIcon","DeleteIcon","ArrowForwardIcon","colSpan"],"sourceRoot":""}
package/lib/i18n.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={9558:(e,t,a)=>{a.d(t,{getCurrentUserLanguage:()=>o});a(5812),a(8041);const o=()=>{let e="en";return"undefined"!=typeof navigator&&(e=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage),e}},5812:e=>{e.exports=require("moment-timezone")},8041:e=>{e.exports=require("urijs")}},t={};function a(o){var r=t[o];if(void 0!==r)return r.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,a),n.exports}(()=>{a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t}})(),(()=>{a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};a.r(o),a.d(o,{setAppTexts:()=>c});var r=a(9558);const n=require("i18n-react");var i=a.n(n);const s=require("lodash/merge");var l=a.n(s);const d={en:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin.","maximum_files":"Maximum number of files has been reached"},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","ok":"ok","unarchive":"Unarchive","archive":"Archive","settings":"Settings","profile":"Profile","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?","all":"All","row_remove_warning":"Are you sure you want to delete row ","edit":"Edit","delete":"Delete","view":"View","cancel":"Cancel","apply":"Apply","n_a":"N/A","not_available":"N/A","notes":"Notes","due":"Due","to":"To","from":"From"},"buttons":{"log_in":"Log in","sign_out":"Sign Out","my_cart":"My Cart","upload_file":"Upload file","download":"Download"},"placeholders":{"notes":"Enter your notes here...","text":"Enter a value","select":"Select an option...","number":"Type a number","date":"Select a date","speaker":"Type a speaker name","company":"Type a company name","async":"Type and select"},"alerts":{"confirm_delete_title":"Confirm Deletion","confirm_delete":"Are you sure you want to delete this item? This action cannot be undone."},"mui_table":{"no_items":"No items found.","no_data":"No data found.","rows_per_page":"Per Page","sorted_desc":"sorted descending","sorted_asc":"sorted ascending","total":"Total","page_of":"Page {page} of {totalPages}","showing_range":"Showing {from}–{to} of {total}","previous_page":"Previous page","next_page":"Next page","pay":"PAY","payment":"Payment","paid_via":"Paid via","ref":"REF","refund":"Refund","payfee":"PAYFEE","dis":"DIS","discount":"Discount","amount_due":"AMOUNT DUE","note":"NOTE","card":"card"},"meta_fields":{"delete_value_warning":"Please verify you want to delete the added value","is_default":"Is Default?","add_value":"Add a value","placeholders":{"name":"Name","value":"Value"}},"rates":{"early_bird":"Early bird","standard_rate":"Standard","onsite_rate":"Onsite"},"additional_inputs":{"title":"Field Title","type":"Field Type","required":"Required","delete_warning":"Are you sure you want to delete meta field ","minimum":"Minimum","maximum":"Maximum","placeholders":{"title":"Field Title","type":"Select...","minimum_quantity":"Minimum","maximum_quantity":"Maximum"}},"sponsor_edit_form":{"code":"Code","description":"Description","custom_rate":"Custom Rate","early_bird_rate":"Early Bird Rate","standard_rate":"Standard Rate","onsite_rate":"Onsite Rate","qty":"Quantity","total":"Total","notes":"Notes","details":"Details","notes_placeholder":"Enter your notes here...","additional_info":"Additional Info","discount":"Discount","total_on_caps":"TOTAL","sold_out":"Sold Out","limit_reached":"Max Qty Hit"},"upload_input":{"upload_file":"Upload file"},"request_modal":{"no_company_match":"No company matches","create_company_access_request":"Create a new company access request for {companyName}"},"stripe_form":{"processing":"Processing...","button_cta":"PAY {amount}","title":"Select a payment method","payment_confirmation_error":"Payment confirmation failed"},"sponsor_order_grid":{"title":"Order Items Ledger","code":"Code","type":"Type","addon":"Add-on","details":"Details","balance":"Balance","discount":"Discount","amount":"Amount","amount_due":"AMOUNT DUE","total":"Total","rate":"Rate","action":"Action","change_quantity_tooltip":"restore or remove items","change_quantity_modal":{"title":"Change Quantity","quantity":"New Quantity","reset":"Reset to Original","reason":"Reason"},"cancel_info_note":"Active order items can be partially or fully canceled, or reverted to original quantity. Refund and payment rows are display-only.","cancelled_by":"Cancelled ({x} of {y}) • {money} • {date} • {user}","cancelled_items":"Cancelled items:","reconciliation":"Reconciliation","cancelled":"Cancelled","refunded":"Refunded","retained":"Retained as cancellation fee","credited":"Credited to Payment Method"},"order_invoice_pdf":{"invoice_title":"Invoice","order":"Order","date":"Date","pending":"Pending","client":"Client","address":"Address","event":"Event","venue":"Venue","charge":"Charge","payment_method":"Payment Method","status":"Status","payment_date":"Payment Date"},"upload_input_v3":{"no_post_url":"No Post URL","upload_disabled":"Upload has been disabled by administrators.","click_upload":"Click to upload","drag_and_drop":"or drag and drop","see_preview":"See Preview","preview_file":"Preview file","complete":"Complete"},"grid_filter":{"filter_by":"Filter by ","following":" one of the following: ","select_criteria":"Select criteria","select_operator":"Select operator","filters":"Filters","clear_filters":"Clear Filters","cancel":"Cancel","apply_filters":"Apply Filters","open_filters":"Open filters","operators":{"is":"is","is_not":"is not","like":"like","like_start":"like start","has":"has","has_not":"has not","less":"less than","less_or_equal":"less than or equal to","greater":"greater than","greater_or_equal":"greater than or equal to","between":"between","between_strict":"between strict","all":"all","any":"any","before":"before","after":"after"}},"bulk_edit_table":{"apply_changes":"Apply changes","edit_selected":"Edit selected","sorted_desc":"sorted descending","sorted_asc":"sorted ascending"}}'),zh:JSON.parse('{"errors":{"user_not_auth":"坚持,稍等。您的用户没有经过身份验证!","user_not_authz":"坚持,稍等。您的用户未经授权!","session_expired":"坚持,稍等。你的会话已经过期了!","server_error":"我们的服务器出现问题,请联系管理员。"},"general":{"select_summit":"选择峰会...","add":"加","clear":"明确","remove":"去掉","drop_files":"删除图像或单击以选择要上载的文件。","search":"搜索","save":"保存","done":"完成!","drag_and_drop":"拖放以对项目进行排序。","other":"其他","type_something":"输入内容并按Tab键或输入。","are_you_sure":"你确定吗?","yes_delete":"是的,删除。","remove_warning":"你确定要删除这个吗?"}}'),es:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin."},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?"}}')};let u=(0,r.getCurrentUserLanguage)();u.length>2&&(u=u.split("-")[0],u=u.split("_")[0]);try{i().setTexts(d[u])}catch(e){i().setTexts(d.en)}const c=(e={})=>{const t=d[u]||d.en;i().setTexts(l()({},t,e))};return o})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={9558:(e,t,a)=>{a.d(t,{getCurrentUserLanguage:()=>r});a(5812),a(8041);const r=()=>{let e="en";return"undefined"!=typeof navigator&&(e=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage),e}},5812:e=>{e.exports=require("moment-timezone")},8041:e=>{e.exports=require("urijs")}},t={};function a(r){var o=t[r];if(void 0!==o)return o.exports;var n=t[r]={exports:{}};return e[r](n,n.exports,a),n.exports}(()=>{a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t}})(),(()=>{a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};a.r(r),a.d(r,{setAppTexts:()=>_});var o=a(9558);const n=require("i18n-react");var i=a.n(n);const s=require("lodash/merge");var d=a.n(s);const l={en:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin.","maximum_files":"Maximum number of files has been reached"},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","ok":"ok","unarchive":"Unarchive","archive":"Archive","settings":"Settings","profile":"Profile","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?","all":"All","row_remove_warning":"Are you sure you want to delete row ","edit":"Edit","delete":"Delete","view":"View","cancel":"Cancel","apply":"Apply","n_a":"N/A","not_available":"N/A","notes":"Notes","due":"Due","to":"To","from":"From"},"buttons":{"log_in":"Log in","sign_out":"Sign Out","my_cart":"My Cart","upload_file":"Upload file","download":"Download"},"placeholders":{"notes":"Enter your notes here...","text":"Enter a value","select":"Select an option...","number":"Type a number","date":"Select a date","speaker":"Type a speaker name","company":"Type a company name","async":"Type and select"},"alerts":{"confirm_delete_title":"Confirm Deletion","confirm_delete":"Are you sure you want to delete this item? This action cannot be undone."},"mui_table":{"no_items":"No items found.","no_data":"No data found.","rows_per_page":"Rows per page","sorted_desc":"sorted descending","sorted_asc":"sorted ascending","total":"Total","pay":"PAY","payment":"Payment","paid_via":"Paid via","ref":"REF","refund":"Refund","payfee":"PAYFEE","dis":"DIS","discount":"Discount","amount_due":"AMOUNT DUE","note":"NOTE","card":"card"},"meta_fields":{"delete_value_warning":"Please verify you want to delete the added value","is_default":"Is Default?","add_value":"Add a value","placeholders":{"name":"Name","value":"Value"}},"rates":{"early_bird":"Early bird","standard_rate":"Standard","onsite_rate":"Onsite"},"additional_inputs":{"title":"Field Title","type":"Field Type","required":"Required","delete_warning":"Are you sure you want to delete meta field ","minimum":"Minimum","maximum":"Maximum","placeholders":{"title":"Field Title","type":"Select...","minimum_quantity":"Minimum","maximum_quantity":"Maximum"}},"sponsor_edit_form":{"code":"Code","description":"Description","custom_rate":"Custom Rate","early_bird_rate":"Early Bird Rate","standard_rate":"Standard Rate","onsite_rate":"Onsite Rate","qty":"Quantity","total":"Total","notes":"Notes","details":"Details","notes_placeholder":"Enter your notes here...","additional_info":"Additional Info","discount":"Discount","total_on_caps":"TOTAL","sold_out":"Sold Out","limit_reached":"Max Qty Hit"},"upload_input":{"upload_file":"Upload file"},"request_modal":{"no_company_match":"No company matches","create_company_access_request":"Create a new company access request for {companyName}"},"stripe_form":{"processing":"Processing...","button_cta":"PAY {amount}","title":"Select a payment method","payment_confirmation_error":"Payment confirmation failed"},"sponsor_order_grid":{"title":"Order Items Ledger","code":"Code","type":"Type","addon":"Add-on","details":"Details","balance":"Balance","discount":"Discount","amount":"Amount","amount_due":"AMOUNT DUE","total":"Total","rate":"Rate","action":"Action","change_quantity_tooltip":"restore or remove items","change_quantity_modal":{"title":"Change Quantity","quantity":"New Quantity","reset":"Reset to Original","reason":"Reason"},"cancel_info_note":"Active order items can be partially or fully canceled, or reverted to original quantity. Refund and payment rows are display-only.","cancelled_by":"Cancelled ({x} of {y}) • {money} • {date} • {user}","cancelled_items":"Cancelled items:","reconciliation":"Reconciliation","cancelled":"Cancelled","refunded":"Refunded","retained":"Retained as cancellation fee","credited":"Credited to Payment Method"},"order_invoice_pdf":{"invoice_title":"Invoice","order":"Order","date":"Date","pending":"Pending","client":"Client","address":"Address","event":"Event","venue":"Venue","charge":"Charge","payment_method":"Payment Method","status":"Status","payment_date":"Payment Date"},"upload_input_v3":{"no_post_url":"No Post URL","upload_disabled":"Upload has been disabled by administrators.","click_upload":"Click to upload","drag_and_drop":"or drag and drop","see_preview":"See Preview","preview_file":"Preview file","complete":"Complete"},"grid_filter":{"filter_by":"Filter by ","following":" one of the following: ","select_criteria":"Select criteria","select_operator":"Select operator","filters":"Filters","clear_filters":"Clear Filters","cancel":"Cancel","apply_filters":"Apply Filters","open_filters":"Open filters","operators":{"is":"is","is_not":"is not","like":"like","like_start":"like start","has":"has","has_not":"has not","less":"less than","less_or_equal":"less than or equal to","greater":"greater than","greater_or_equal":"greater than or equal to","between":"between","between_strict":"between strict","all":"all","any":"any","before":"before","after":"after"}},"bulk_edit_table":{"apply_changes":"Apply changes","edit_selected":"Edit selected","sorted_desc":"sorted descending","sorted_asc":"sorted ascending"}}'),zh:JSON.parse('{"errors":{"user_not_auth":"坚持,稍等。您的用户没有经过身份验证!","user_not_authz":"坚持,稍等。您的用户未经授权!","session_expired":"坚持,稍等。你的会话已经过期了!","server_error":"我们的服务器出现问题,请联系管理员。"},"general":{"select_summit":"选择峰会...","add":"加","clear":"明确","remove":"去掉","drop_files":"删除图像或单击以选择要上载的文件。","search":"搜索","save":"保存","done":"完成!","drag_and_drop":"拖放以对项目进行排序。","other":"其他","type_something":"输入内容并按Tab键或输入。","are_you_sure":"你确定吗?","yes_delete":"是的,删除。","remove_warning":"你确定要删除这个吗?"}}'),es:JSON.parse('{"errors":{"user_not_auth":"Hold on. Your user is not authenticated!.","user_not_authz":"Hold on. Your user is not authorized!.","session_expired":"Hold on. Your session expired!.","server_error":"There was a problem with our server, please contact admin."},"general":{"select_summit":"Select a Summit...","add":"Add","clear":"Clear","remove":"Remove","drop_files":"Drop images or click to select files to upload.","search":"Search","save":"Save","done":"Done!","drag_and_drop":"Drag and Drop to sort items.","other":"Other","type_something":"Type something and press tab or enter.","are_you_sure":"Are you sure?","yes_delete":"Yes, delete.","remove_warning":"Are you sure you want to delete this?"}}')};let u=(0,o.getCurrentUserLanguage)();u.length>2&&(u=u.split("-")[0],u=u.split("_")[0]);const c=e=>d()({},l.en,l[e]||{});i().setTexts(c(u));const _=(e={})=>{i().setTexts(d()({},c(u),e))};return r})()));
2
2
  //# sourceMappingURL=i18n.js.map
package/lib/i18n.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,+FCOF,MAyJMC,EAAyBA,KAClC,IAAIC,EAAW,KAIf,MAHwB,oBAAdC,YACND,EAAYC,UAAUC,WAAaD,UAAUC,UAAU,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,IACIC,IAAAA,SAAWH,EAAUhC,GACzB,CAAE,MAAOoC,GACLD,IAAAA,SAAWH,EAAc,GAC7B,CAUO,MAAMK,EAAcA,CAACC,EAAc,CAAC,KACvC,MAAMC,EAAWP,EAAUhC,IAAagC,EAAc,GACtDG,IAAAA,SAAWK,IAAM,CAAC,EAAGD,EAAUD,GAAa,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/utils/methods.js","webpack://openstack-uicore-foundation/external commonjs \"moment-timezone\"","webpack://openstack-uicore-foundation/external commonjs \"urijs\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"lodash/merge\"","webpack://openstack-uicore-foundation/./src/i18n/i18n.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","/**\n * Copyright 2018 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport moment from 'moment-timezone';\nimport URI from \"urijs\";\n\nexport const findElementPos = (obj) => {\n var curtop = -70;\n if (obj.offsetParent) {\n do {\n curtop += obj.offsetTop;\n } while (obj = obj.offsetParent);\n return [curtop];\n }\n};\n\nexport const epochToMoment = (atime) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime);\n};\n\nexport const epochToMomentTimeZone = (atime, time_zone) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime).tz(time_zone);\n};\n\nexport const formatEpoch = (atime, format = 'M/D/YYYY h:mm a') => {\n if(!atime) return atime;\n return epochToMoment(atime).format(format);\n};\n\nexport const parseLocationHour = (hour) => {\n let parsedHour = hour.toString();\n if(parsedHour.length < 4) parsedHour = `0${parsedHour}`;\n parsedHour = parsedHour.match(/.{2}/g);\n parsedHour = parsedHour.join(':');\n return parsedHour;\n}\n\nexport const objectToQueryString = (obj) => {\n var str = \"\";\n for (var key in obj) {\n if (str != \"\") {\n str += \"&\";\n }\n str += key + \"=\" + encodeURIComponent(obj[key]);\n }\n\n return str;\n};\n\nexport const getBackURL = () => {\n let url = URI(window.location.href);\n let query = url.search(true);\n let fragment = url.fragment();\n let backUrl = query.hasOwnProperty('BackUrl') ? query['BackUrl'] : null;\n if(backUrl != null && fragment != null && fragment != ''){\n backUrl += `#${fragment}`;\n }\n return backUrl;\n};\n\nexport const toSlug = (text) =>{\n text = text.toLowerCase();\n return text.replace(/[^a-zA-Z0-9]+/g,'_');\n}\n\nexport const getAuthCallback = () => {\n if(typeof window !== 'undefined') {\n return `${window.location.origin}/auth/callback`;\n }\n return null;\n};\n\nexport const getCurrentLocation = () => {\n let location = '';\n if(typeof window !== 'undefined') {\n location = window.location;\n // check if we are on iframe\n if (window.top)\n location = window.top.location;\n }\n return location;\n};\n\nexport const getOrigin = () => {\n if(typeof window !== 'undefined') {\n return window.location.origin;\n }\n return null;\n};\n\nexport const getCurrentPathName = () => {\n if(typeof window !== 'undefined') {\n return window.location.pathname;\n }\n return null;\n};\n\nexport const getCurrentHref = () => {\n if(typeof window !== 'undefined') {\n return window.location.href;\n }\n return null;\n};\n\nexport const getAllowedUserGroups = () => {\n if(typeof window !== 'undefined') {\n return window.ALLOWED_USER_GROUPS || '';\n }\n return null;\n};\n\nexport const buildAPIBaseUrl = (relativeUrl) => {\n if(typeof window !== 'undefined'){\n return `${window.API_BASE_URL}${relativeUrl}`;\n }\n return null``;\n};\n\nexport const putOnLocalStorage = (key, value) => {\n if(typeof window !== 'undefined') {\n window.localStorage.setItem(key, value);\n }\n};\n\nexport const getFromLocalStorage = (key, removeIt) => {\n if(typeof window !== 'undefined') {\n let val = window.localStorage.getItem(key);\n if(removeIt){\n console.log(`getFromLocalStorage removing key ${key}`);\n removeFromLocalStorage(key);\n }\n return val;\n }\n return null;\n};\n\nexport const removeFromLocalStorage = (key) => {\n if(typeof window !== 'undefined') {\n window.localStorage.removeItem(key);\n }\n}\n\nexport const isClearingSessionState = () => {\n if(typeof window !== 'undefined') {\n return window.clearing_session_state;\n }\n return false;\n};\n\nexport const setSessionClearingState = (val) => {\n if(typeof window !== 'undefined') {\n window.clearing_session_state = val;\n }\n};\n\nexport const getCurrentUserLanguage = () => {\n let language = 'en';\n if(typeof navigator !== 'undefined') {\n language = (navigator.languages && navigator.languages[0]) || navigator.language || navigator.userLanguage;\n }\n return language;\n};\n\nexport const scrollToError = (errors) => {\n if(Object.keys(errors).length > 0) {\n const firstError = Object.keys(errors)[0];\n const firstNode = document.getElementById(firstError);\n if (firstNode) window.scrollTo(0, findElementPos(firstNode));\n }\n};\n\nexport const hasErrors = (field, errors) => {\n if(field in errors) {\n return errors[field];\n }\n return '';\n};\n\nexport const shallowEqual = (object1, object2) => {\n const keys1 = Object.keys(object1);\n const keys2 = Object.keys(object2);\n\n if (keys1.length !== keys2.length) {\n return false;\n }\n\n for (let key of keys1) {\n if (object1[key] !== object2[key]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const arraysEqual = (a1, a2) =>\n a1.length === a2.length && a1.every((o, idx) => shallowEqual(o, a2[idx]));\n\nexport const isEmpty = (obj) => {\n return Object.keys(obj).length === 0;\n};\n\n\nexport const base64URLEncode = (str) => {\n return str\n .toString('base64')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_')\n .replace(/=/g, '')\n}\n\nexport const retryPromise = async (\n cb,\n maxNumberOfRetries = 3\n) => {\n for (let i = 0; i < maxNumberOfRetries; i++) {\n if (await cb()) {\n return true;\n }\n }\n\n return false;\n}\n\nexport const getTimeServiceUrl = () => {\n if(typeof window !== 'undefined') {\n return window.TIMEINTERVALSINCE1970_API_URL || process.env.TIMEINTERVALSINCE1970_API_URL;\n }\n return null;\n};\n\nexport const getEventLocation = (event, summitVenueCount, summitShowLocDate = null, nowUtc = null) => {\n const shouldShowVenues = (summitShowLocDate && nowUtc) ? summitShowLocDate * 1000 < nowUtc : true;\n const locationName = [];\n const { location } = event;\n\n if (!shouldShowVenues) return 'TBA';\n\n if (!location) return 'TBA';\n\n if (summitVenueCount > 1 && location.venue?.name) locationName.push(location.venue.name);\n if (location.floor?.name) locationName.push(location.floor.name);\n if (location.name) locationName.push(location.name);\n\n return locationName.length > 0 ? locationName.join(' - ') : 'TBA';\n};\n\nexport const getEventHosts = (event) => {\n let hosts = [];\n if (event.speakers?.length > 0) {\n hosts = [...event.speakers];\n }\n if (event.moderator) hosts.push(event.moderator);\n\n return hosts;\n};\n\nconst loadImage = async url => {\n const img = document.createElement('img')\n img.src = url\n img.crossOrigin = 'anonymous'\n\n return new Promise((resolve, reject) => {\n img.onload = () => resolve(img)\n img.onerror = reject\n })\n}\n\nexport const convertSVGtoImg = async (svgUrl) => {\n const img = await loadImage(svgUrl)\n const newWidth = 100\n const newHeight = Math.floor(img.naturalHeight * 100 / img.naturalWidth)\n\n const canvas = document.createElement('canvas')\n canvas.width = newWidth\n canvas.height = newHeight\n canvas.getContext('2d').drawImage(img, 0, 0, newWidth, newHeight)\n\n const url = await canvas.toDataURL(`image/png`, 1.0)\n console.log(url, newWidth, newHeight);\n return {url, width: newWidth, height: newHeight}\n}\n\nexport const isRateEnabled = (value) =>\n value !== null && value !== undefined && value !== \"\";\n\n/**\n * Returns true if value is null, undefined, empty/whitespace string,\n * empty array, or empty object.\n */\nexport const empty = (value) => {\n if (value === null || value === undefined) return true;\n if (typeof value === \"string\") return value.trim().length === 0;\n if (Array.isArray(value)) return value.length === 0;\n if (typeof value === \"object\") return Object.keys(value).length === 0;\n return false;\n};\n\nexport const isSentryInitialized = () => typeof window !== \"undefined\" && !!window.SENTRY_DSN;\n\nexport const normalizeHtmlString = (textInput) => {\n if (!textInput) return \"\";\n const doc = new DOMParser().parseFromString(textInput, \"text/html\");\n return doc.body.textContent.trim().length === 0 ? \"\" : textInput;\n};","module.exports = require(\"moment-timezone\");","module.exports = require(\"urijs\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"i18n-react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash/merge\");","import {getCurrentUserLanguage} from \"../utils/methods\";\nimport T from \"i18n-react\";\nimport merge from \"lodash/merge\";\nimport en from './en.json';\nimport zh from './zh.json';\nimport es from './es.json';\n\nconst resources = {\n 'en' : en,\n 'zh' : zh,\n 'es' : es,\n}\n\nlet language = getCurrentUserLanguage();\n\n// language would be something like es-ES or es_ES\n// However we store our files with format es.json or en.json\n// therefore retrieve only the first 2 digits\n\nif (language.length > 2) {\n language = language.split(\"-\")[0];\n language = language.split(\"_\")[0];\n}\n\ntry {\n T.setTexts(resources[language]);\n} catch (e) {\n T.setTexts(resources['en']);\n}\n\n/**\n * Call this instead of T.setTexts() in consumer apps.\n * Deep-merges the lib's base translations with your custom translations,\n * so new keys added to the lib are always available even if your\n * translation file doesn't include them yet. Consumer keys take precedence.\n *\n * @param {object} customTexts - your app's translation object\n */\nexport const setAppTexts = (customTexts = {}) => {\n const libTexts = resources[language] || resources['en'];\n T.setTexts(merge({}, libTexts, customTexts));\n};"],"names":["root","factory","exports","module","define","amd","this","getCurrentUserLanguage","language","navigator","languages","userLanguage","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","resources","length","split","T","e","setAppTexts","customTexts","libTexts","merge"],"sourceRoot":""}
1
+ {"version":3,"file":"i18n.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,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AA+BA,QAAQ,gB,mBCOvC4B,EAAY,CACd,G,45KACA,G,wdACA,G,4sBAGJ,IAAIhC,GAAWD,EAAAA,EAAAA,0BAMXC,EAASiC,OAAS,IAClBjC,EAAWA,EAASkC,MAAM,KAAK,GAC/BlC,EAAWA,EAASkC,MAAM,KAAK,IAanC,MAAMC,EAAeC,GAASC,IAAM,CAAC,EAAGL,EAAc,GAAGA,EAAUI,IAAS,CAAC,GAE7EE,IAAAA,SAAWH,EAAYnC,IAUhB,MAAMuC,EAAcA,CAACC,EAAc,CAAC,KACvCF,IAAAA,SAAWD,IAAM,CAAC,EAAGF,EAAYnC,GAAWwC,GAAa,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/utils/methods.js","webpack://openstack-uicore-foundation/external commonjs \"moment-timezone\"","webpack://openstack-uicore-foundation/external commonjs \"urijs\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"lodash/merge\"","webpack://openstack-uicore-foundation/./src/i18n/i18n.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","/**\n * Copyright 2018 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n **/\n\nimport moment from 'moment-timezone';\nimport URI from \"urijs\";\n\nexport const findElementPos = (obj) => {\n var curtop = -70;\n if (obj.offsetParent) {\n do {\n curtop += obj.offsetTop;\n } while (obj = obj.offsetParent);\n return [curtop];\n }\n};\n\nexport const epochToMoment = (atime) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime);\n};\n\nexport const epochToMomentTimeZone = (atime, time_zone) => {\n if(!atime) return atime;\n atime = atime * 1000;\n return moment(atime).tz(time_zone);\n};\n\nexport const formatEpoch = (atime, format = 'M/D/YYYY h:mm a') => {\n if(!atime) return atime;\n return epochToMoment(atime).format(format);\n};\n\nexport const parseLocationHour = (hour) => {\n let parsedHour = hour.toString();\n if(parsedHour.length < 4) parsedHour = `0${parsedHour}`;\n parsedHour = parsedHour.match(/.{2}/g);\n parsedHour = parsedHour.join(':');\n return parsedHour;\n}\n\nexport const objectToQueryString = (obj) => {\n var str = \"\";\n for (var key in obj) {\n if (str != \"\") {\n str += \"&\";\n }\n str += key + \"=\" + encodeURIComponent(obj[key]);\n }\n\n return str;\n};\n\nexport const getBackURL = () => {\n let url = URI(window.location.href);\n let query = url.search(true);\n let fragment = url.fragment();\n let backUrl = query.hasOwnProperty('BackUrl') ? query['BackUrl'] : null;\n if(backUrl != null && fragment != null && fragment != ''){\n backUrl += `#${fragment}`;\n }\n return backUrl;\n};\n\nexport const toSlug = (text) =>{\n text = text.toLowerCase();\n return text.replace(/[^a-zA-Z0-9]+/g,'_');\n}\n\nexport const getAuthCallback = () => {\n if(typeof window !== 'undefined') {\n return `${window.location.origin}/auth/callback`;\n }\n return null;\n};\n\nexport const getCurrentLocation = () => {\n let location = '';\n if(typeof window !== 'undefined') {\n location = window.location;\n // check if we are on iframe\n if (window.top)\n location = window.top.location;\n }\n return location;\n};\n\nexport const getOrigin = () => {\n if(typeof window !== 'undefined') {\n return window.location.origin;\n }\n return null;\n};\n\nexport const getCurrentPathName = () => {\n if(typeof window !== 'undefined') {\n return window.location.pathname;\n }\n return null;\n};\n\nexport const getCurrentHref = () => {\n if(typeof window !== 'undefined') {\n return window.location.href;\n }\n return null;\n};\n\nexport const getAllowedUserGroups = () => {\n if(typeof window !== 'undefined') {\n return window.ALLOWED_USER_GROUPS || '';\n }\n return null;\n};\n\nexport const buildAPIBaseUrl = (relativeUrl) => {\n if(typeof window !== 'undefined'){\n return `${window.API_BASE_URL}${relativeUrl}`;\n }\n return null``;\n};\n\nexport const putOnLocalStorage = (key, value) => {\n if(typeof window !== 'undefined') {\n window.localStorage.setItem(key, value);\n }\n};\n\nexport const getFromLocalStorage = (key, removeIt) => {\n if(typeof window !== 'undefined') {\n let val = window.localStorage.getItem(key);\n if(removeIt){\n console.log(`getFromLocalStorage removing key ${key}`);\n removeFromLocalStorage(key);\n }\n return val;\n }\n return null;\n};\n\nexport const removeFromLocalStorage = (key) => {\n if(typeof window !== 'undefined') {\n window.localStorage.removeItem(key);\n }\n}\n\nexport const isClearingSessionState = () => {\n if(typeof window !== 'undefined') {\n return window.clearing_session_state;\n }\n return false;\n};\n\nexport const setSessionClearingState = (val) => {\n if(typeof window !== 'undefined') {\n window.clearing_session_state = val;\n }\n};\n\nexport const getCurrentUserLanguage = () => {\n let language = 'en';\n if(typeof navigator !== 'undefined') {\n language = (navigator.languages && navigator.languages[0]) || navigator.language || navigator.userLanguage;\n }\n return language;\n};\n\nexport const scrollToError = (errors) => {\n if(Object.keys(errors).length > 0) {\n const firstError = Object.keys(errors)[0];\n const firstNode = document.getElementById(firstError);\n if (firstNode) window.scrollTo(0, findElementPos(firstNode));\n }\n};\n\nexport const hasErrors = (field, errors) => {\n if(field in errors) {\n return errors[field];\n }\n return '';\n};\n\nexport const shallowEqual = (object1, object2) => {\n const keys1 = Object.keys(object1);\n const keys2 = Object.keys(object2);\n\n if (keys1.length !== keys2.length) {\n return false;\n }\n\n for (let key of keys1) {\n if (object1[key] !== object2[key]) {\n return false;\n }\n }\n\n return true;\n};\n\nexport const arraysEqual = (a1, a2) =>\n a1.length === a2.length && a1.every((o, idx) => shallowEqual(o, a2[idx]));\n\nexport const isEmpty = (obj) => {\n return Object.keys(obj).length === 0;\n};\n\n\nexport const base64URLEncode = (str) => {\n return str\n .toString('base64')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_')\n .replace(/=/g, '')\n}\n\nexport const retryPromise = async (\n cb,\n maxNumberOfRetries = 3\n) => {\n for (let i = 0; i < maxNumberOfRetries; i++) {\n if (await cb()) {\n return true;\n }\n }\n\n return false;\n}\n\nexport const getTimeServiceUrl = () => {\n if(typeof window !== 'undefined') {\n return window.TIMEINTERVALSINCE1970_API_URL || process.env.TIMEINTERVALSINCE1970_API_URL;\n }\n return null;\n};\n\nexport const getEventLocation = (event, summitVenueCount, summitShowLocDate = null, nowUtc = null) => {\n const shouldShowVenues = (summitShowLocDate && nowUtc) ? summitShowLocDate * 1000 < nowUtc : true;\n const locationName = [];\n const { location } = event;\n\n if (!shouldShowVenues) return 'TBA';\n\n if (!location) return 'TBA';\n\n if (summitVenueCount > 1 && location.venue?.name) locationName.push(location.venue.name);\n if (location.floor?.name) locationName.push(location.floor.name);\n if (location.name) locationName.push(location.name);\n\n return locationName.length > 0 ? locationName.join(' - ') : 'TBA';\n};\n\nexport const getEventHosts = (event) => {\n let hosts = [];\n if (event.speakers?.length > 0) {\n hosts = [...event.speakers];\n }\n if (event.moderator) hosts.push(event.moderator);\n\n return hosts;\n};\n\nconst loadImage = async url => {\n const img = document.createElement('img')\n img.src = url\n img.crossOrigin = 'anonymous'\n\n return new Promise((resolve, reject) => {\n img.onload = () => resolve(img)\n img.onerror = reject\n })\n}\n\nexport const convertSVGtoImg = async (svgUrl) => {\n const img = await loadImage(svgUrl)\n const newWidth = 100\n const newHeight = Math.floor(img.naturalHeight * 100 / img.naturalWidth)\n\n const canvas = document.createElement('canvas')\n canvas.width = newWidth\n canvas.height = newHeight\n canvas.getContext('2d').drawImage(img, 0, 0, newWidth, newHeight)\n\n const url = await canvas.toDataURL(`image/png`, 1.0)\n console.log(url, newWidth, newHeight);\n return {url, width: newWidth, height: newHeight}\n}\n\nexport const isRateEnabled = (value) =>\n value !== null && value !== undefined && value !== \"\";\n\n/**\n * Returns true if value is null, undefined, empty/whitespace string,\n * empty array, or empty object.\n */\nexport const empty = (value) => {\n if (value === null || value === undefined) return true;\n if (typeof value === \"string\") return value.trim().length === 0;\n if (Array.isArray(value)) return value.length === 0;\n if (typeof value === \"object\") return Object.keys(value).length === 0;\n return false;\n};\n\nexport const isSentryInitialized = () => typeof window !== \"undefined\" && !!window.SENTRY_DSN;\n\nexport const normalizeHtmlString = (textInput) => {\n if (!textInput) return \"\";\n const doc = new DOMParser().parseFromString(textInput, \"text/html\");\n return doc.body.textContent.trim().length === 0 ? \"\" : textInput;\n};","module.exports = require(\"moment-timezone\");","module.exports = require(\"urijs\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"i18n-react\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"lodash/merge\");","import {getCurrentUserLanguage} from \"../utils/methods\";\nimport T from \"i18n-react\";\nimport merge from \"lodash/merge\";\nimport en from './en.json';\nimport zh from './zh.json';\nimport es from './es.json';\n\nconst resources = {\n 'en' : en,\n 'zh' : zh,\n 'es' : es,\n}\n\nlet language = getCurrentUserLanguage();\n\n// language would be something like es-ES or es_ES\n// However we store our files with format es.json or en.json\n// therefore retrieve only the first 2 digits\n\nif (language.length > 2) {\n language = language.split(\"-\")[0];\n language = language.split(\"_\")[0];\n}\n\n/**\n * Returns the lib translations for the given language, deep-merged on top of\n * English. Non english bundles are partial (they only translate a subset of the\n * keys), so without this merge any key missing from them would be rendered as\n * the raw key (i18n-react returns the key itself when it is not found).\n * Unsupported languages fall back to English entirely.\n *\n * @param {string} lang\n * @returns {object}\n */\nconst getLibTexts = (lang) => merge({}, resources['en'], resources[lang] || {});\n\nT.setTexts(getLibTexts(language));\n\n/**\n * Call this instead of T.setTexts() in consumer apps.\n * Deep-merges the lib's base translations with your custom translations,\n * so new keys added to the lib are always available even if your\n * translation file doesn't include them yet. Consumer keys take precedence.\n *\n * @param {object} customTexts - your app's translation object\n */\nexport const setAppTexts = (customTexts = {}) => {\n T.setTexts(merge({}, getLibTexts(language), customTexts));\n};\n"],"names":["root","factory","exports","module","define","amd","this","getCurrentUserLanguage","language","navigator","languages","userLanguage","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","resources","length","split","getLibTexts","lang","merge","T","setAppTexts","customTexts"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openstack-uicore-foundation",
3
- "version": "5.0.61-beta.6",
3
+ "version": "5.0.62-beta.1",
4
4
  "description": "ui reactjs components for openstack marketing site",
5
5
  "main": "lib/openstack-uicore-foundation.js",
6
6
  "scripts": {
package/.claude/RESUME.md DELETED
@@ -1,23 +0,0 @@
1
- # Claude Code — resume checkpoint
2
-
3
- Session: d2237004-7a96-4289-9c09-adda5e493f8d
4
- Written: 2026-08-24T15:07:04.027Z
5
- Trigger: near-limit
6
- Ref with your in-progress files: refs/claude/checkpoint-d2237004
7
-
8
- ## To resume
9
-
10
- claude --resume d2237004-7a96-4289-9c09-adda5e493f8d
11
-
12
- (or open Claude Code in this directory and run /resume)
13
-
14
- ## Plan (from TodoWrite state)
15
-
16
- No task list was active; see transcript via the resume command above.
17
-
18
- ---
19
-
20
- Don't want these changes? Resume this session (above), then run
21
- `/rewind` to roll back the turn's tool edits (bash-made changes
22
- excluded). refs/claude/checkpoint-d2237004 holds a full snapshot until this session's
23
- next checkpoint, or for up to ~2 weeks.