openstack-uicore-foundation 5.0.2 → 5.0.3-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/lib/components/ajaxloader.js.map +1 -1
  3. package/lib/components/attendance-tracker.js +1 -1
  4. package/lib/components/attendance-tracker.js.map +1 -1
  5. package/lib/components/bulk-actions-selector.js.map +1 -1
  6. package/lib/components/circle-button.js.map +1 -1
  7. package/lib/components/clock.js +1 -1
  8. package/lib/components/clock.js.map +1 -1
  9. package/lib/components/exclusive-wrapper.js.map +1 -1
  10. package/lib/components/extra-questions-mui.js.map +1 -1
  11. package/lib/components/extra-questions.js +1 -1
  12. package/lib/components/extra-questions.js.map +1 -1
  13. package/lib/components/form-validation.js.map +1 -1
  14. package/lib/components/forms/rsvp-form.js.map +1 -1
  15. package/lib/components/forms/simple-form.js +1 -1
  16. package/lib/components/forms/simple-form.js.map +1 -1
  17. package/lib/components/free-text-search.js +1 -1
  18. package/lib/components/free-text-search.js.map +1 -1
  19. package/lib/components/google-map.js +1 -1
  20. package/lib/components/google-map.js.map +1 -1
  21. package/lib/components/index.js +1 -1
  22. package/lib/components/index.js.map +1 -1
  23. package/lib/components/inputs/access-levels-input.js +1 -1
  24. package/lib/components/inputs/access-levels-input.js.map +1 -1
  25. package/lib/components/inputs/action-dropdown.js.map +1 -1
  26. package/lib/components/inputs/attendee-input.js +1 -1
  27. package/lib/components/inputs/attendee-input.js.map +1 -1
  28. package/lib/components/inputs/checkbox-list.js.map +1 -1
  29. package/lib/components/inputs/company-input-v2.js +1 -1
  30. package/lib/components/inputs/company-input-v2.js.map +1 -1
  31. package/lib/components/inputs/company-input.js +1 -1
  32. package/lib/components/inputs/company-input.js.map +1 -1
  33. package/lib/components/inputs/country-dropdown.js +1 -1
  34. package/lib/components/inputs/country-dropdown.js.map +1 -1
  35. package/lib/components/inputs/country-input.js +1 -1
  36. package/lib/components/inputs/country-input.js.map +1 -1
  37. package/lib/components/inputs/datetimepicker.js.map +1 -1
  38. package/lib/components/inputs/dropdown.js.map +1 -1
  39. package/lib/components/inputs/editor-input-v2.js.map +1 -1
  40. package/lib/components/inputs/editor-input-v3.js.map +1 -1
  41. package/lib/components/inputs/editor-input.js.map +1 -1
  42. package/lib/components/inputs/event-input.js +1 -1
  43. package/lib/components/inputs/event-input.js.map +1 -1
  44. package/lib/components/inputs/free-multi-text-input.js.map +1 -1
  45. package/lib/components/inputs/group-input.js +1 -1
  46. package/lib/components/inputs/group-input.js.map +1 -1
  47. package/lib/components/inputs/grouped-dropdown.js.map +1 -1
  48. package/lib/components/inputs/language-input.js +1 -1
  49. package/lib/components/inputs/language-input.js.map +1 -1
  50. package/lib/components/inputs/member-input.js +1 -1
  51. package/lib/components/inputs/member-input.js.map +1 -1
  52. package/lib/components/inputs/operator-input.js.map +1 -1
  53. package/lib/components/inputs/organization-input.js +1 -1
  54. package/lib/components/inputs/organization-input.js.map +1 -1
  55. package/lib/components/inputs/promocode-input.js +1 -1
  56. package/lib/components/inputs/promocode-input.js.map +1 -1
  57. package/lib/components/inputs/radio-list.js.map +1 -1
  58. package/lib/components/inputs/registration-company-input.js +1 -1
  59. package/lib/components/inputs/registration-company-input.js.map +1 -1
  60. package/lib/components/inputs/speaker-input.js +1 -1
  61. package/lib/components/inputs/speaker-input.js.map +1 -1
  62. package/lib/components/inputs/sponsor-input.js +1 -1
  63. package/lib/components/inputs/sponsor-input.js.map +1 -1
  64. package/lib/components/inputs/stepped-select.js.map +1 -1
  65. package/lib/components/inputs/summit-days-select.js.map +1 -1
  66. package/lib/components/inputs/summit-input.js +1 -1
  67. package/lib/components/inputs/summit-input.js.map +1 -1
  68. package/lib/components/inputs/summit-venues-select.js.map +1 -1
  69. package/lib/components/inputs/tag-input.js +1 -1
  70. package/lib/components/inputs/tag-input.js.map +1 -1
  71. package/lib/components/inputs/text-input.js.map +1 -1
  72. package/lib/components/inputs/textarea-input.js.map +1 -1
  73. package/lib/components/inputs/ticket-types-input.js +1 -1
  74. package/lib/components/inputs/ticket-types-input.js.map +1 -1
  75. package/lib/components/inputs/upload-input-v2.js +1 -1
  76. package/lib/components/inputs/upload-input-v2.js.map +1 -1
  77. package/lib/components/inputs/upload-input-v3.js +1 -1
  78. package/lib/components/inputs/upload-input-v3.js.map +1 -1
  79. package/lib/components/inputs/upload-input.js.map +1 -1
  80. package/lib/components/mui/alert-button.js +2 -0
  81. package/lib/components/mui/alert-button.js.map +1 -0
  82. package/lib/components/mui/alert-modal.js +2 -0
  83. package/lib/components/mui/alert-modal.js.map +1 -0
  84. package/lib/components/mui/auth-button.js +2 -0
  85. package/lib/components/mui/auth-button.js.map +1 -0
  86. package/lib/components/mui/cart-button.js +2 -0
  87. package/lib/components/mui/cart-button.js.map +1 -0
  88. package/lib/components/mui/checkbox-list.js.map +1 -1
  89. package/lib/components/mui/chip-list.js.map +1 -1
  90. package/lib/components/mui/chip-notify.js +1 -1
  91. package/lib/components/mui/chip-notify.js.map +1 -1
  92. package/lib/components/mui/chip-select-input.js.map +1 -1
  93. package/lib/components/mui/confirm-delete-dialog.js +2 -0
  94. package/lib/components/mui/confirm-delete-dialog.js.map +1 -0
  95. package/lib/components/mui/confirm-dialog.js.map +1 -1
  96. package/lib/components/mui/custom-alert.js.map +1 -1
  97. package/lib/components/mui/dashboard-card.js +2 -0
  98. package/lib/components/mui/dashboard-card.js.map +1 -0
  99. package/lib/components/mui/dnd-list.js.map +1 -1
  100. package/lib/components/mui/download-btn.js +2 -0
  101. package/lib/components/mui/download-btn.js.map +1 -0
  102. package/lib/components/mui/dropdown-checkbox.js.map +1 -1
  103. package/lib/components/mui/editable-table.js.map +1 -1
  104. package/lib/components/mui/form-item-table.js +1 -1
  105. package/lib/components/mui/form-item-table.js.map +1 -1
  106. package/lib/components/mui/formik-inputs/additional-input-list.js.map +1 -1
  107. package/lib/components/mui/formik-inputs/additional-input.js.map +1 -1
  108. package/lib/components/mui/formik-inputs/async-select.js.map +1 -1
  109. package/lib/components/mui/formik-inputs/checkbox-group.js.map +1 -1
  110. package/lib/components/mui/formik-inputs/checkbox.js.map +1 -1
  111. package/lib/components/mui/formik-inputs/company-input.js +1 -1
  112. package/lib/components/mui/formik-inputs/company-input.js.map +1 -1
  113. package/lib/components/mui/formik-inputs/datepicker.js.map +1 -1
  114. package/lib/components/mui/formik-inputs/discount-field.js.map +1 -1
  115. package/lib/components/mui/formik-inputs/dropdown-checkbox.js.map +1 -1
  116. package/lib/components/mui/formik-inputs/dropdown-radio.js.map +1 -1
  117. package/lib/components/mui/formik-inputs/file-size-field.js.map +1 -1
  118. package/lib/components/mui/formik-inputs/item-price-tiers.js +1 -1
  119. package/lib/components/mui/formik-inputs/item-price-tiers.js.map +1 -1
  120. package/lib/components/mui/formik-inputs/price-field.js.map +1 -1
  121. package/lib/components/mui/formik-inputs/quantity-field.js.map +1 -1
  122. package/lib/components/mui/formik-inputs/radio-group.js.map +1 -1
  123. package/lib/components/mui/formik-inputs/select-group.js.map +1 -1
  124. package/lib/components/mui/formik-inputs/select.js.map +1 -1
  125. package/lib/components/mui/formik-inputs/sponsor-input.js +1 -1
  126. package/lib/components/mui/formik-inputs/sponsor-input.js.map +1 -1
  127. package/lib/components/mui/formik-inputs/sponsorship-input.js +1 -1
  128. package/lib/components/mui/formik-inputs/sponsorship-input.js.map +1 -1
  129. package/lib/components/mui/formik-inputs/sponsorship-summit-select.js +1 -1
  130. package/lib/components/mui/formik-inputs/sponsorship-summit-select.js.map +1 -1
  131. package/lib/components/mui/formik-inputs/summit-addon-select.js +1 -1
  132. package/lib/components/mui/formik-inputs/summit-addon-select.js.map +1 -1
  133. package/lib/components/mui/formik-inputs/switch.js.map +1 -1
  134. package/lib/components/mui/formik-inputs/textfield.js.map +1 -1
  135. package/lib/components/mui/formik-inputs/timepicker.js.map +1 -1
  136. package/lib/components/mui/formik-inputs/upload.js +1 -1
  137. package/lib/components/mui/formik-inputs/upload.js.map +1 -1
  138. package/lib/components/mui/infinite-table.js.map +1 -1
  139. package/lib/components/mui/item-settings-modal.js +1 -1
  140. package/lib/components/mui/item-settings-modal.js.map +1 -1
  141. package/lib/components/mui/loading-overlay.js +2 -0
  142. package/lib/components/mui/loading-overlay.js.map +1 -0
  143. package/lib/components/mui/menu-button.js.map +1 -1
  144. package/lib/components/mui/nav-bar.js +2 -0
  145. package/lib/components/mui/nav-bar.js.map +1 -0
  146. package/lib/components/mui/notes-modal.js +1 -1
  147. package/lib/components/mui/notes-modal.js.map +1 -1
  148. package/lib/components/mui/order-summary.js +2 -0
  149. package/lib/components/mui/order-summary.js.map +1 -0
  150. package/lib/components/mui/search-input.js +1 -1
  151. package/lib/components/mui/search-input.js.map +1 -1
  152. package/lib/components/mui/show-confirm-dialog.js.map +1 -1
  153. package/lib/components/mui/snackbar-notification.js +1 -1
  154. package/lib/components/mui/snackbar-notification.js.map +1 -1
  155. package/lib/components/mui/sortable-table.js.map +1 -1
  156. package/lib/components/mui/sponsor-addon-select.js +1 -1
  157. package/lib/components/mui/sponsor-addon-select.js.map +1 -1
  158. package/lib/components/mui/status-chip.js +2 -0
  159. package/lib/components/mui/status-chip.js.map +1 -0
  160. package/lib/components/mui/stripe-payment.js +2 -0
  161. package/lib/components/mui/stripe-payment.js.map +1 -0
  162. package/lib/components/mui/summit-addon-select.js +1 -1
  163. package/lib/components/mui/summit-addon-select.js.map +1 -1
  164. package/lib/components/mui/summits-dropdown.js +1 -1
  165. package/lib/components/mui/summits-dropdown.js.map +1 -1
  166. package/lib/components/mui/table.js +1 -1
  167. package/lib/components/mui/table.js.map +1 -1
  168. package/lib/components/mui/upload-btn.js +2 -0
  169. package/lib/components/mui/upload-btn.js.map +1 -0
  170. package/lib/components/mui/upload-dialog.js +2 -0
  171. package/lib/components/mui/upload-dialog.js.map +1 -0
  172. package/lib/components/progressive-img.js.map +1 -1
  173. package/lib/components/raw-html.js.map +1 -1
  174. package/lib/components/schedule-builder-view.js +1 -1
  175. package/lib/components/schedule-builder-view.js.map +1 -1
  176. package/lib/components/sections/panel.js.map +1 -1
  177. package/lib/components/simple-link-list.js.map +1 -1
  178. package/lib/components/sponsored-project-input.js +1 -1
  179. package/lib/components/sponsored-project-input.js.map +1 -1
  180. package/lib/components/summit-dropdown.js.map +1 -1
  181. package/lib/components/table-editable.js +1 -1
  182. package/lib/components/table-editable.js.map +1 -1
  183. package/lib/components/table-selectable.js.map +1 -1
  184. package/lib/components/table-sortable.js.map +1 -1
  185. package/lib/components/table.js.map +1 -1
  186. package/lib/components/video-stream.js.map +1 -1
  187. package/lib/css/components/index.css +1 -1
  188. package/lib/css/components/index.css.map +1 -1
  189. package/lib/css/components/mui/auth-button.css +1 -0
  190. package/lib/css/components/mui/nav-bar.css +1 -0
  191. package/lib/css/components/mui/upload-dialog.css +2 -0
  192. package/lib/css/components/mui/upload-dialog.css.map +1 -0
  193. package/lib/i18n.js +1 -1
  194. package/lib/i18n.js.map +1 -1
  195. package/lib/models/index.js.map +1 -1
  196. package/lib/models/summit-event.js.map +1 -1
  197. package/lib/security/abstract-auth-callback-route-v2.js +1 -1
  198. package/lib/security/abstract-auth-callback-route-v2.js.map +1 -1
  199. package/lib/security/abstract-auth-callback-route.js +1 -1
  200. package/lib/security/abstract-auth-callback-route.js.map +1 -1
  201. package/lib/security/actions.js +1 -1
  202. package/lib/security/actions.js.map +1 -1
  203. package/lib/security/methods.js +1 -1
  204. package/lib/security/methods.js.map +1 -1
  205. package/lib/security/reducers.js +1 -1
  206. package/lib/security/reducers.js.map +1 -1
  207. package/lib/security/session-checker.js +1 -1
  208. package/lib/security/session-checker.js.map +1 -1
  209. package/lib/utils/actions.js +1 -1
  210. package/lib/utils/actions.js.map +1 -1
  211. package/lib/utils/fragment-parser.js.map +1 -1
  212. package/lib/utils/methods.js +1 -1
  213. package/lib/utils/methods.js.map +1 -1
  214. package/lib/utils/money.js.map +1 -1
  215. package/lib/utils/query-actions.js +1 -1
  216. package/lib/utils/query-actions.js.map +1 -1
  217. package/lib/utils/questions-set.js +1 -1
  218. package/lib/utils/questions-set.js.map +1 -1
  219. package/lib/utils/reducers.js +1 -1
  220. package/lib/utils/reducers.js.map +1 -1
  221. package/lib/utils/use-fit-text.js.map +1 -1
  222. package/package.json +9 -1
  223. package/.codegraph/config.json +0 -140
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/notes-modal.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,mCCTTH,EAAOD,QAAUK,QAAQ,4B,WCAzBJ,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,uB,WCAzBJ,EAAOD,QAAUK,QAAQ,uB,WCAzBJ,EAAOD,QAAUK,QAAQ,8B,WCAzBJ,EAAOD,QAAUK,QAAQ,8B,WCAzBJ,EAAOD,QAAUK,QAAQ,4B,WCAzBJ,EAAOD,QAAUK,QAAQ,S,WCAzBJ,EAAOD,QAAUK,QAAQ,6B,WCAzBJ,EAAOD,QAAUK,QAAQ,a,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WC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rCA,MAAOW,EACPsB,OAAO,SACPC,WAAS,EACTlB,WAAS,EACTmB,KAAM,EACNC,YAAanB,IAAAA,UACX,0CAIN,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAQE,QAvCK,KACjBV,EAAQ4B,SAAS1B,GACjBP,GAAS,EAqCwBkC,QAAQ,YAAYtB,WAAS,GACvDC,IAAAA,UAAY,kBAnCrB,EA0CFhB,EAAWsC,UAAY,CACrBrC,KAAMsC,IAAAA,OACNrC,KAAMqC,IAAAA,KAAeC,WACrBrC,QAASoC,IAAAA,KAAeC,YAG1B,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Close\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Button\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Dialog\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/DialogActions\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/DialogContent\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/DialogTitle\"","webpack://openstack-uicore-foundation/external commonjs \"formik\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","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/material/DialogContentText\"","webpack://openstack-uicore-foundation/./src/components/mui/NotesModal/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 ","module.exports = require(\"@mui/icons-material/Close\");","module.exports = require(\"@mui/material\");","module.exports = require(\"@mui/material/Button\");","module.exports = require(\"@mui/material/Dialog\");","module.exports = require(\"@mui/material/DialogActions\");","module.exports = require(\"@mui/material/DialogContent\");","module.exports = require(\"@mui/material/DialogTitle\");","module.exports = require(\"formik\");","module.exports = require(\"i18n-react/dist/i18n-react\");","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/material/DialogContentText\");","/**\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, { useEffect, useState } from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport PropTypes from \"prop-types\";\nimport Button from \"@mui/material/Button\";\nimport Dialog from \"@mui/material/Dialog\";\nimport DialogActions from \"@mui/material/DialogActions\";\nimport DialogContent from \"@mui/material/DialogContent\";\nimport DialogContentText from \"@mui/material/DialogContentText\";\nimport DialogTitle from \"@mui/material/DialogTitle\";\nimport { useField } from \"formik\";\nimport { Divider, IconButton, TextField } from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nconst NotesModal = ({ item, open, onClose }) => {\n const name = `i-${item?.form_item_id}-c-global-f-notes`;\n // eslint-disable-next-line\n const [field, meta, helpers] = useField(name);\n const [notes, setNotes] = useState(\"\");\n\n useEffect(() => {\n setNotes(field.value || \"\");\n }, [field?.value]);\n\n const handleSave = () => {\n helpers.setValue(notes);\n onClose();\n };\n\n return (\n <Dialog open={open} onClose={onClose} maxWidth=\"sm\" fullWidth>\n <DialogTitle>\n {T.translate(\"sponsor_edit_form.notes\")}\n </DialogTitle>\n <IconButton\n aria-label=\"close\"\n onClick={onClose}\n sx={(theme) => ({\n position: \"absolute\",\n right: 8,\n top: 8,\n color: theme.palette.grey[500]\n })}\n >\n <CloseIcon />\n </IconButton>\n <Divider />\n <DialogContent>\n <DialogContentText>{item?.name}</DialogContentText>\n <TextField\n name={name}\n onChange={(ev) => setNotes(ev.target.value)}\n value={notes}\n margin=\"normal\"\n multiline\n fullWidth\n rows={4}\n placeholder={T.translate(\n \"sponsor_edit_form.notes_placeholder\"\n )}\n />\n </DialogContent>\n <DialogActions>\n <Button onClick={handleSave} variant=\"contained\" fullWidth>\n {T.translate(\"general.save\")}\n </Button>\n </DialogActions>\n </Dialog>\n );\n};\n\nNotesModal.propTypes = {\n item: PropTypes.object,\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired\n};\n\nexport default NotesModal;\n"],"names":["root","factory","exports","module","define","amd","this","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","NotesModal","item","open","onClose","name","form_item_id","field","meta","helpers","useField","notes","setNotes","useState","useEffect","maxWidth","fullWidth","T","IconButton","onClick","sx","theme","position","right","top","color","palette","grey","Divider","TextField","onChange","ev","target","margin","multiline","rows","placeholder","setValue","variant","propTypes","PropTypes","isRequired"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/notes-modal.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,mCCTTH,EAAOD,QAAUK,QAAQ,4B,WCAzBJ,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,S,WCAzBJ,EAAOD,QAAUK,QAAQ,a,WCAzBJ,EAAOD,QAAUK,QAAQ,a,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,G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,GAC3DH,IAAAA,cAACI,EAAAA,YAAW,KAAEhB,GAASiB,IAAAA,UAAY,kBACnCL,IAAAA,cAACM,EAAAA,WAAU,CACT,aAAW,QACXC,QAASjB,EACTkB,GAAKC,IAAK,CACRC,SAAU,WACVC,MAAO,EACPC,IAAK,EACLC,MAAOJ,EAAMK,QAAQC,KAAK,QAG5Bf,IAAAA,cAACgB,IAAS,OAEZhB,IAAAA,cAACiB,EAAAA,QAAO,MACRjB,IAAAA,cAACkB,EAAAA,cAAa,KACZlB,IAAAA,cAACmB,EAAAA,kBAAiB,KAAEjC,GACpBc,IAAAA,cAACoB,EAAAA,UAAS,CACR7B,KAAMA,EACN8B,SAAWC,GAAOzB,EAASyB,EAAGC,OAAOxC,OACrCA,MAAOa,EACP4B,OAAO,SACPC,WAAS,EACTtB,WAAS,EACTuB,KAAM,EACNrC,YAAaA,GAAegB,IAAAA,UAAY,yBAG5CL,IAAAA,cAAC2B,EAAAA,cAAa,KACZ3B,IAAAA,cAAC4B,EAAAA,OAAM,CAACrB,QAnCKsB,KACjBnC,EAAQoC,SAASlC,GACjBN,GAAS,EAiCwByC,QAAQ,YAAY5B,WAAS,GACvDE,IAAAA,UAAY,kBAGV,EAIbrB,EAAWgD,UAAY,CACrB/C,GAAIgD,IAAAA,IACJ/C,MAAO+C,IAAAA,OACP7C,MAAO6C,IAAAA,OACP5C,YAAa4C,IAAAA,OACb9C,KAAM8C,IAAAA,KAAeC,WACrB5C,QAAS2C,IAAAA,KAAeC,YAG1B,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Close\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"formik\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","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/./src/components/mui/NotesModal/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 ","module.exports = require(\"@mui/icons-material/Close\");","module.exports = require(\"@mui/material\");","module.exports = require(\"formik\");","module.exports = require(\"i18n-react\");","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};","/**\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 PropTypes from \"prop-types\";\nimport T from \"i18n-react\";\nimport { useField } from \"formik\";\nimport { Button, Dialog, DialogActions, DialogContent, Divider, DialogContentText, DialogTitle, IconButton, TextField } from \"@mui/material\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nconst NotesModal = ({ id, label, open, title, placeholder, onClose }) => {\n const name = `i-${id}-c-global-f-notes`;\n // eslint-disable-next-line\n const [field, meta, helpers] = useField(name);\n const [notes, setNotes] = useState(field?.value || \"\");\n\n useEffect(() => {\n setNotes(field?.value || \"\");\n }, [id, field?.value]);\n\n const handleSave = () => {\n helpers.setValue(notes);\n onClose();\n };\n\n return (\n <Dialog open={open} onClose={onClose} maxWidth=\"sm\" fullWidth>\n <DialogTitle>{title || T.translate(\"general.notes\")}</DialogTitle>\n <IconButton\n aria-label=\"close\"\n onClick={onClose}\n sx={(theme) => ({\n position: \"absolute\",\n right: 8,\n top: 8,\n color: theme.palette.grey[500]\n })}\n >\n <CloseIcon />\n </IconButton>\n <Divider />\n <DialogContent>\n <DialogContentText>{label}</DialogContentText>\n <TextField\n name={name}\n onChange={(ev) => setNotes(ev.target.value)}\n value={notes}\n margin=\"normal\"\n multiline\n fullWidth\n rows={4}\n placeholder={placeholder || T.translate(\"placeholders.notes\")}\n />\n </DialogContent>\n <DialogActions>\n <Button onClick={handleSave} variant=\"contained\" fullWidth>\n {T.translate(\"general.save\")}\n </Button>\n </DialogActions>\n </Dialog>\n );\n};\n\nNotesModal.propTypes = {\n id: PropTypes.any,\n label: PropTypes.string,\n title: PropTypes.string,\n placeholder: PropTypes.string,\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired\n};\n\nexport default NotesModal;\n"],"names":["root","factory","exports","module","define","amd","this","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","NotesModal","id","label","open","title","placeholder","onClose","name","field","meta","helpers","useField","notes","setNotes","useState","useEffect","React","Dialog","maxWidth","fullWidth","DialogTitle","T","IconButton","onClick","sx","theme","position","right","top","color","palette","grey","CloseIcon","Divider","DialogContent","DialogContentText","TextField","onChange","ev","target","margin","multiline","rows","DialogActions","Button","handleSave","setValue","variant","propTypes","PropTypes","isRequired"],"sourceRoot":""}
@@ -0,0 +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={3209:(e,t,r)=>{r.d(t,{OP:()=>o,fJ:()=>a,q9:()=>n});const n=100n,o=2,a=0},8400:(e,t,r)=>{r.d(t,{currencyAmountFromCents:()=>a});var n=r(3209);const o={USD:"$",EUR:"€",GBP:"£",CAD:"C$",AUD:"A$",NZD:"NZ$",CHF:"CHF",ARS:"AR$",BRL:"R$",MXN:"MX$"};function a(e,t="USD"){if("number"!=typeof e||!Number.isInteger(e))throw new Error("cents must be an integer number");const r=function(e){let t;if("bigint"==typeof e)t=e;else if("number"==typeof e){if(!Number.isSafeInteger(e))throw new Error("cents must be a safe integer Number (or pass BigInt/string).");t=BigInt(e)}else{if("string"!=typeof e)throw new Error("cents must be a bigint, number, or numeric string.");{const r=e.trim();if(!/^\d+$/.test(r))throw new Error("cents string must contain digits only (e.g., '1234').");t=BigInt(r)}}if(t<n.fJ)throw new Error("cents must be non-negative.");const r=t/n.q9,o=t%n.q9;return`${r.toString()}.${o.toString().padStart(n.OP,"0")}`}(e);return`${o[t]??"$"}${r}`}},8619:e=>{e.exports=require("@mui/material")},9870:e=>{e.exports=require("i18n-react")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var n={};r.r(n),r.d(n,{default:()=>d});var o=r(2015),a=r.n(o),i=r(8619),s=r(9870),u=r.n(s),c=r(8400),l=r(9825),p=r.n(l);const m=({amount:e,dueDate:t,toName:r,fromName:n})=>a().createElement(i.CardContent,{sx:{p:4}},a().createElement(i.Box,null,a().createElement(i.Box,null,a().createElement(i.Typography,{variant:"h4",sx:{mb:.5}},(()=>null!=e?(0,c.currencyAmountFromCents)(e):a().createElement(i.Skeleton,{variant:"rectangular",width:110,height:40}))()),t&&a().createElement(i.Typography,{variant:"body2",sx:{color:"text.secondary",mb:3}},u().translate("general.due")," ",t))),a().createElement(i.Box,{sx:{display:"flex",flexDirection:"column",gap:1,mb:3}},a().createElement(i.Box,{sx:{display:"flex",gap:4}},a().createElement(i.Typography,{variant:"body2",sx:{color:"text.secondary",minWidth:48}},u().translate("general.to")),a().createElement(i.Typography,{variant:"body2"},r)),a().createElement(i.Box,{sx:{display:"flex",gap:4}},a().createElement(i.Typography,{variant:"body2",sx:{color:"text.secondary",minWidth:48}},u().translate("general.from")),a().createElement(i.Typography,{variant:"body2"},n))));m.propTypes={amount:p().number.isRequired,dueDate:p().string.isRequired,toName:p().string.isRequired,fromName:p().string.isRequired};const d=m;return n})()));
2
+ //# sourceMappingURL=order-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/mui/order-summary.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,6ECTF,MAAMC,EAAe,KACfC,EAAqB,EAGrBC,EAAW,C,sECiBxB,MAAMC,EAAkB,CACpBC,IAAK,IACLC,IAAK,IACLC,IAAK,IACLC,IAAK,KACLC,IAAK,KACLC,IAAK,MACLC,IAAK,MACLC,IAAK,MACLC,IAAK,KACLC,IAAK,OA+HF,SAASC,EAAwBC,EAAOC,EAAY,OACvD,GAAqB,iBAAVD,IAAuBE,OAAOC,UAAUH,GAC/C,MAAM,IAAII,MAAM,mCAGpB,MAAMC,EA3CH,SAAyBL,GAC5B,IAAIM,EAGJ,GAAqB,iBAAVN,EACPM,EAAIN,OACD,GAAqB,iBAAVA,EAAoB,CAElC,IAAKE,OAAOK,cAAcP,GACtB,MAAM,IAAII,MAAM,gEAEpBE,EAAIE,OAAOR,EACf,KAAO,IAAqB,iBAAVA,EAOd,MAAM,IAAII,MAAM,sDAPkB,CAClC,MAAM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EAAAA,WAAU,CAACC,QAAQ,SAASP,MAOvCH,EAAasB,UAAY,CACvB7D,OAAQ8D,IAAAA,OAAiBC,WACzBvB,QAASsB,IAAAA,OAAiBC,WAC1BtB,OAAQqB,IAAAA,OAAiBC,WACzBrB,SAAUoB,IAAAA,OAAiBC,YAG7B,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/utils/constants.js","webpack://openstack-uicore-foundation/./src/utils/money.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","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/./src/components/mui/OrderSummary/index.jsx"],"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 ","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;\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 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 * Copyright 2025 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 {\n CENTS_FACTOR,\n THREE_DECIMAL_PLACES,\n TWO_DECIMAL_PLACES,\n ZERO_INT,\n ONE_CENT\n} from \"./constants\";\n\nconst CURRENCY_SYMBOL = {\n USD: \"$\",\n EUR: \"€\",\n GBP: \"£\",\n CAD: \"C$\",\n AUD: \"A$\",\n NZD: \"NZ$\",\n CHF: \"CHF\",\n ARS: \"AR$\",\n BRL: \"R$\",\n MXN: \"MX$\",\n};\n\n/**\n * Convert a decimal money amount to integer cents safely (no floating point math).\n *\n * Why this exists:\n * - `Math.round(parseFloat(x) * 100)` can be wrong due to IEEE-754 floating point errors\n * (e.g. 1.005 * 100 may become 100.499999..., rounding down unexpectedly).\n *\n * Input:\n * - number or string (recommended: string from API/UI)\n * - Examples: \"12.34\", \"1,234.56\", \"1234,56\", 12.34\n *\n * Output:\n * - Number cents (exact), e.g. \"12.34\" -> 1234\n *\n * Rounding:\n * - Half-up to 2 decimals (>= 0.005 USD rounds up by 1 cent).\n *\n * Notes:\n * - Amounts are assumed to be NON-negative (per your requirement).\n * - Throws on invalid formats (does not silently return 0).\n */\nexport function amountToCents(amount) {\n if (amount == null) throw new Error(\"amount is required\");\n\n let s = String(amount).trim();\n\n // Normalize common separators:\n // - \"1,234.56\" => \"1234.56\" (remove thousands separators)\n // - \"1234,56\" => \"1234.56\" (convert decimal comma to dot)\n if (s.includes(\",\") && s.includes(\".\")) {\n s = s.replace(/,/g, \"\");\n } else if (s.includes(\",\") && !s.includes(\".\")) {\n s = s.replace(\",\", \".\");\n }\n\n // Validate: digits optionally followed by '.' and more digits\n if (!/^\\d+(\\.\\d+)?$/.test(s)) {\n throw new Error(`Invalid money format: \"${amount}\"`);\n }\n\n const [intPart, fracRaw = \"\"] = s.split(\".\");\n\n // Pad at least 3 fractional digits so we can:\n // - take 2 digits for cents\n // - take the 3rd digit to decide rounding\n const fracPadded = (`${fracRaw }000`);\n\n const tenths = fracPadded[0] ?? \"0\"; // 1st decimal digit\n const hundredths = fracPadded[1] ?? \"0\"; // 2nd decimal digit (cents)\n const thousandths = fracPadded[2] ?? \"0\"; // 3rd decimal digit (rounding decision)\n\n // If there are more than 3 decimals, we track if any non-zero exists after the 3rd.\n // This can matter for policies like bankers rounding; here it's mainly informational.\n const trailing =\n fracRaw.length > THREE_DECIMAL_PLACES\n ? fracRaw.slice(THREE_DECIMAL_PLACES)\n : \"\";\n const hasTrailingNonZero = /[1-9]/.test(trailing);\n\n // Build cents as integer: (dollars * 100) + (first two decimal digits)\n let cents = BigInt(intPart) * CENTS_FACTOR + BigInt(tenths + hundredths);\n\n // Half-up rounding:\n // - If the 3rd digit is >= 5, round up by 1 cent.\n // - If there are more digits beyond the 3rd, \"5xxx\" should also round up.\n const roundUp = thousandths > \"5\" || thousandths === \"5\" || (thousandths === \"5\" && hasTrailingNonZero);\n\n if (roundUp) cents += ONE_CENT;\n\n return Number(cents);\n}\n\n/**\n * Convert an amount in cents to a decimal string (e.g. 1234 -> \"12.34\") safely.\n *\n * Why:\n * - Avoids floating point math (cents / 100) which can lose precision for large integers\n * or if cents is already imprecise as a JS Number.\n *\n * Input:\n * - Accepts: bigint | number | string (digits)\n * - Assumes NON-negative cents (per your requirement).\n *\n * Output:\n * - Always returns a string with exactly 2 decimal places.\n */\nexport function amountFromCents(cents) {\n let c;\n\n // Normalize input to BigInt safely\n if (typeof cents === \"bigint\") {\n c = cents;\n } else if (typeof cents === \"number\") {\n // Ensure it's a safe integer before converting to BigInt\n if (!Number.isSafeInteger(cents)) {\n throw new Error(\"cents must be a safe integer Number (or pass BigInt/string).\");\n }\n c = BigInt(cents);\n } else if (typeof cents === \"string\") {\n const s = cents.trim();\n if (!/^\\d+$/.test(s)) {\n throw new Error(\"cents string must contain digits only (e.g., '1234').\");\n }\n c = BigInt(s);\n } else {\n throw new Error(\"cents must be a bigint, number, or numeric string.\");\n }\n\n if (c < ZERO_INT) {\n throw new Error(\"cents must be non-negative.\");\n }\n\n const amount = c / CENTS_FACTOR;\n const remainder = c % CENTS_FACTOR;\n\n // Always pad remainder to 2 digits\n return `${amount.toString()}.${remainder.toString().padStart(TWO_DECIMAL_PLACES, \"0\")}`;\n}\n\n/**\n * @param cents\n * @param currency\n * @returns {string}\n */\nexport function currencyAmountFromCents(cents, currency = \"USD\"){\n if (typeof cents !== \"number\" || !Number.isInteger(cents)) {\n throw new Error(\"cents must be an integer number\");\n }\n\n const amount = amountFromCents(cents); // \"12.34\"\n const symbol = CURRENCY_SYMBOL[currency] ?? \"$\";\n return `${symbol}${amount}`;\n}\n\n/**\n * Converts a price string into cents.\n * @param {string} priceString - The price (e.g., $0.30).\n * @returns {number} - The amount converted to cents (e.g., 30).\n */\nexport const parsePrice = (priceString) => {\n if (priceString == null) throw new Error(\"priceString is required\");\n\n let s = String(priceString).trim();\n\n // Reject negatives explicitly (per your requirement).\n if (s.includes(\"-\")) throw new Error(\"Negative amounts are not allowed\");\n\n // Keep only digits and separators. Remove currency symbols/letters/spaces.\n s = s.replace(/[^\\d.,]/g, \"\");\n if (!s) throw new Error(`Invalid price: \"${priceString}\"`);\n\n // Delegate exact cents conversion (no floats)\n return amountToCents(s); // <- your safe BigInt cents converter\n};\n","module.exports = require(\"@mui/material\");","module.exports = require(\"i18n-react\");","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};","/**\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 { Box, CardContent, Skeleton, Typography } from \"@mui/material\";\nimport T from \"i18n-react\";\nimport { currencyAmountFromCents } from \"../../../utils/money\";\nimport PropTypes from \"prop-types\";\n\nconst OrderSummary = ({ amount, dueDate, toName, fromName }) => {\n const getPrice = () => {\n if (amount != null) return currencyAmountFromCents(amount);\n return <Skeleton variant=\"rectangular\" width={110} height={40} />;\n };\n\n return (\n <CardContent sx={{ p: 4 }}>\n <Box>\n <Box>\n <Typography variant=\"h4\" sx={{ mb: 0.5 }}>\n {getPrice()}\n </Typography>\n {dueDate && (\n <Typography\n variant=\"body2\"\n sx={{\n color: \"text.secondary\",\n mb: 3\n }}\n >\n {T.translate(\"general.due\")} {dueDate}\n </Typography>\n )}\n </Box>\n </Box>\n\n <Box sx={{ display: \"flex\", flexDirection: \"column\", gap: 1, mb: 3 }}>\n <Box sx={{ display: \"flex\", gap: 4 }}>\n <Typography\n variant=\"body2\"\n sx={{ color: \"text.secondary\", minWidth: 48 }}\n >\n {T.translate(\"general.to\")}\n </Typography>\n <Typography variant=\"body2\">{toName}</Typography>\n </Box>\n <Box sx={{ display: \"flex\", gap: 4 }}>\n <Typography\n variant=\"body2\"\n sx={{ color: \"text.secondary\", minWidth: 48 }}\n >\n {T.translate(\"general.from\")}\n </Typography>\n <Typography variant=\"body2\">{fromName}</Typography>\n </Box>\n </Box>\n </CardContent>\n );\n};\n\nOrderSummary.propTypes = {\n amount: PropTypes.number.isRequired,\n dueDate: PropTypes.string.isRequired,\n toName: PropTypes.string.isRequired,\n fromName: PropTypes.string.isRequired\n};\n\nexport default OrderSummary;\n"],"names":["root","factory","exports","module","define","amd","this","CENTS_FACTOR","TWO_DECIMAL_PLACES","ZERO_INT","CURRENCY_SYMBOL","USD","EUR","GBP","CAD","AUD","NZD","CHF","ARS","BRL","MXN","currencyAmountFromCents","cents","currency","Number","isInteger","Error","amount","c","isSafeInteger","BigInt","s","trim","test","remainder","toString","padStart","amountFromCents","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","OrderSummary","dueDate","toName","fromName","React","CardContent","sx","p","Box","Typography","variant","mb","getPrice","Skeleton","width","height","color","T","display","flexDirection","gap","minWidth","propTypes","PropTypes","isRequired"],"sourceRoot":""}
@@ -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={692:e=>{e.exports=require("@mui/icons-material/Clear")},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>p});var n=o(2015),a=o.n(n),i=o(8619);const u=require("@mui/icons-material/Search");var l=o.n(u),s=o(692),c=o.n(s);const p=({term:e,onSearch:t,placeholder:o="Search..."})=>{const[r,u]=(0,n.useState)(e);(0,n.useEffect)((()=>{u(e||"")}),[e]);return a().createElement(i.TextField,{variant:"outlined",value:r,placeholder:o,slotProps:{input:{endAdornment:e?a().createElement(i.IconButton,{size:"small",onClick:()=>{u(""),t("")},sx:{position:"absolute",right:0}},a().createElement(c(),{sx:{color:"#0000008F"}})):a().createElement(l(),{sx:{mr:1,color:"#0000008F",position:"absolute",right:0}})}},onChange:e=>u(e.target.value),onKeyDown:e=>{"Enter"===e.key&&t(r)},fullWidth:!0,sx:{"& .MuiOutlinedInput-root":{height:"36px"}}})};return r})()));
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={3209:(e,t,r)=>{r.d(t,{wU:()=>o});const o=500},692:e=>{e.exports=require("@mui/icons-material/Clear")},8619:e=>{e.exports=require("@mui/material")},7825:e=>{e.exports=require("lodash")},2015:e=>{e.exports=require("react")}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};r.r(o),r.d(o,{default:()=>f});var n=r(2015),a=r.n(n),u=r(8619);const c=require("@mui/icons-material/Search");var i=r.n(c),l=r(692),s=r.n(l),d=r(7825),p=r(3209);const f=({term:e,onSearch:t,placeholder:r="Search...",debounced:o})=>{const[c,l]=(0,n.useState)(e),f=(0,n.useRef)(t);(0,n.useEffect)((()=>{f.current=t}),[t]);const m=(0,n.useRef)((0,d.debounce)((e=>f.current(e)),p.wU));(0,n.useEffect)((()=>{l(e||"")}),[e]),(0,n.useEffect)((()=>()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.cancel()}),[]);return a().createElement(u.TextField,{variant:"outlined",value:c,placeholder:r,slotProps:{input:{startAdornment:o&&a().createElement(u.InputAdornment,{position:"start"},a().createElement(i(),{sx:{color:"#0000008F"}})),endAdornment:a().createElement(u.InputAdornment,{position:"end"},c?a().createElement(u.IconButton,{size:"small",onClick:()=>{var e;null===(e=m.current)||void 0===e||e.cancel(),l(""),t("")}},a().createElement(s(),{fontSize:"small",sx:{color:"#0000008F"}})):!o&&a().createElement(i(),{sx:{mr:1,color:"#0000008F",position:"absolute",right:0}}))}},onChange:e=>(e=>{var t;l(e),o&&(null===(t=m.current)||void 0===t||t.call(m,e))})(e.target.value),onKeyDown:e=>{o||"Enter"!==e.key||t(c)},fullWidth:!0,sx:{"& .MuiOutlinedInput-root":{height:"36px"}}})};return o})()));
2
2
  //# sourceMappingURL=search-input.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/search-input.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,kCCTTH,EAAOD,QAAUK,QAAQ,4B,WCAzBJ,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,6ECL9D,MAAM,EAA+B3B,QAAQ,8B,+BCkB7C,MAoDA,EApDoB,EAAG4B,OAAMC,WAAUC,cAAc,gBACnD,MAAOC,EAAYC,IAAiBC,EAAAA,EAAAA,UAASL,IAE7CM,EAAAA,EAAAA,YAAU,KACRF,EAAcJ,GAAQ,GAAtB,GACC,CAACA,IAaJ,OACE,kBAAC,EAAAO,UAAD,CACEC,QAAQ,WACRT,MAAOI,EACPD,YAAaA,EACbO,UAAW,CACTC,MAAO,CACLC,aAAcX,EACZ,kBAAC,EAAAY,WAAD,CACEC,KAAK,QACLC,QAfQ,KAClBV,EAAc,IACdH,EAAS,GAAT,EAcUc,GAAI,CAAEC,SAAU,WAAYC,MAAO,IAEnC,kBAAC,IAAD,CAAWF,GAAI,CAAEG,MAAO,gBAG1B,kBAAC,IAAD,CACEH,GAAI,CAAEI,GAAI,EAAGD,MAAO,YAAaF,SAAU,WAAYC,MAAO,OAKtEG,SAAWC,GAAUjB,EAAciB,EAAMC,OAAOvB,OAChDwB,UAlCkBC,IACL,UAAXA,EAAGvC,KACLgB,EAASE,EACV,EAgCCsB,WAAS,EACTV,GAAI,CACF,2BAA4B,CAC1BW,OAAQ,UA3BhB,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Clear\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","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/Search\"","webpack://openstack-uicore-foundation/./src/components/mui/search-input.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 ","module.exports = require(\"@mui/icons-material/Clear\");","module.exports = require(\"@mui/material\");","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/Search\");","/**\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, { useEffect, useState } from \"react\";\nimport { TextField, IconButton } from \"@mui/material\";\nimport SearchIcon from \"@mui/icons-material/Search\";\nimport ClearIcon from \"@mui/icons-material/Clear\";\n\nconst SearchInput = ({ term, onSearch, placeholder = \"Search...\" }) => {\n const [searchTerm, setSearchTerm] = useState(term);\n\n useEffect(() => {\n setSearchTerm(term || \"\");\n }, [term]);\n\n const handleSearch = (ev) => {\n if (ev.key === \"Enter\") {\n onSearch(searchTerm);\n }\n };\n\n const handleClear = () => {\n setSearchTerm(\"\");\n onSearch(\"\");\n };\n\n return (\n <TextField\n variant=\"outlined\"\n value={searchTerm}\n placeholder={placeholder}\n slotProps={{\n input: {\n endAdornment: term ? (\n <IconButton\n size=\"small\"\n onClick={handleClear}\n sx={{ position: \"absolute\", right: 0 }}\n >\n <ClearIcon sx={{ color: \"#0000008F\" }} />\n </IconButton>\n ) : (\n <SearchIcon\n sx={{ mr: 1, color: \"#0000008F\", position: \"absolute\", right: 0 }}\n />\n )\n }\n }}\n onChange={(event) => setSearchTerm(event.target.value)}\n onKeyDown={handleSearch}\n fullWidth\n sx={{\n \"& .MuiOutlinedInput-root\": {\n height: \"36px\"\n }\n }}\n />\n );\n};\n\nexport default SearchInput;\n"],"names":["root","factory","exports","module","define","amd","this","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","term","onSearch","placeholder","searchTerm","setSearchTerm","useState","useEffect","TextField","variant","slotProps","input","endAdornment","IconButton","size","onClick","sx","position","right","color","mr","onChange","event","target","onKeyDown","ev","fullWidth","height"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/search-input.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,2DCTF,MASMC,EAAgB,G,UCT7BJ,EAAOD,QAAUM,QAAQ,4B,WCAzBL,EAAOD,QAAUM,QAAQ,gB,WCAzBL,EAAOD,QAAUM,QAAQ,S,WCAzBL,EAAOD,QAAUM,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaV,QAGrB,IAAIC,EAASM,EAAyBE,GAAY,CAGjDT,QAAS,CAAC,GAOX,OAHAY,EAAoBH,GAAUR,EAAQA,EAAOD,QAASQ,GAG/CP,EAAOD,OACf,C,MCrBAQ,EAAoBK,EAAKZ,IACxB,IAAIa,EAASb,GAAUA,EA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CACLC,eAAgBjB,GACdY,IAAAA,cAACM,EAAAA,eAAc,CAACC,SAAS,SACvBP,IAAAA,cAACQ,IAAU,CAACC,GAAI,CAAEC,MAAO,gBAG7BC,aACEX,IAAAA,cAACM,EAAAA,eAAc,CAACC,SAAS,OACtBlB,EACCW,IAAAA,cAACY,EAAAA,WAAU,CAACC,KAAK,QAAQC,QAhCnBC,KAAM,IAAAC,EACI,QAA5BA,EAAApB,EAAqBD,eAAO,IAAAqB,GAA5BA,EAA8BjB,SAC9BT,EAAc,IACdJ,EAAS,GAAG,GA8BEc,IAAAA,cAACiB,IAAS,CAACC,SAAS,QAAQT,GAAI,CAAEC,MAAO,iBAI1CtB,GAAaY,IAAAA,cAACQ,IAAU,CACvBC,GAAI,CAAEU,GAAI,EAAGT,MAAO,YAAaH,SAAU,WAAYa,MAAO,QAO1EC,SAAWC,GAvCOvC,KAAU,IAAAwC,EAC9BjC,EAAcP,GACVK,IAAuC,QAA5BmC,EAAA3B,EAAqBD,eAAO,IAAA4B,GAA5BA,EAAA5C,KAAAiB,EAA+Bb,GAAM,EAqChCyC,CAAaF,EAAGG,OAAO1C,OACzC2C,UAnCmBJ,IAChBlC,GAAwB,UAAXkC,EAAGrD,KACnBiB,EAASG,EACX,EAiCEsC,WAAS,EACTlB,GAAI,CACF,2BAA4B,CAC1BmB,OAAQ,UAGZ,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/utils/constants.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Clear\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"lodash\"","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/Search\"","webpack://openstack-uicore-foundation/./src/components/mui/search-input.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 ","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;\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 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};","module.exports = require(\"@mui/icons-material/Clear\");","module.exports = require(\"@mui/material\");","module.exports = require(\"lodash\");","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/Search\");","/**\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, { useEffect, useState, useRef } from \"react\";\nimport { TextField, IconButton, InputAdornment } from \"@mui/material\";\nimport SearchIcon from \"@mui/icons-material/Search\";\nimport ClearIcon from \"@mui/icons-material/Clear\";\nimport { debounce } from \"lodash\";\nimport { DEBOUNCE_WAIT } from \"../../utils/constants\";\n\nconst SearchInput = ({ term, onSearch, placeholder = \"Search...\", debounced }) => {\n const [searchTerm, setSearchTerm] = useState(term);\n\n const onSearchRef = useRef(onSearch);\n useEffect(() => {\n onSearchRef.current = onSearch;\n }, [onSearch]);\n\n const onSearchDebouncedRef = useRef(\n debounce((value) => onSearchRef.current(value), DEBOUNCE_WAIT)\n );\n\n useEffect(() => {\n setSearchTerm(term || \"\");\n }, [term]);\n\n useEffect(() => () => onSearchDebouncedRef.current?.cancel(), []);\n\n const handleClear = () => {\n onSearchDebouncedRef.current?.cancel();\n setSearchTerm(\"\");\n onSearch(\"\");\n };\n\n const handleChange = (value) => {\n setSearchTerm(value);\n if (debounced) onSearchDebouncedRef.current?.(value);\n };\n\n const handleKeyDown = (ev) => {\n if (!debounced && ev.key === \"Enter\") {\n onSearch(searchTerm);\n }\n };\n\n return (\n <TextField\n variant=\"outlined\"\n value={searchTerm}\n placeholder={placeholder}\n slotProps={{\n input: { \n startAdornment: debounced && (\n <InputAdornment position=\"start\">\n <SearchIcon sx={{ color: \"#0000008F\" }} />\n </InputAdornment>\n ),\n endAdornment: (\n <InputAdornment position=\"end\">\n {searchTerm ? (\n <IconButton size=\"small\" onClick={handleClear}>\n <ClearIcon fontSize=\"small\" sx={{ color: \"#0000008F\" }} />\n </IconButton>\n ) : \n (\n !debounced && <SearchIcon\n sx={{ mr: 1, color: \"#0000008F\", position: \"absolute\", right: 0 }}\n />\n )}\n </InputAdornment>\n )\n }\n }}\n onChange={(ev) => handleChange(ev.target.value)}\n onKeyDown={handleKeyDown}\n fullWidth\n sx={{\n \"& .MuiOutlinedInput-root\": {\n height: \"36px\"\n }\n }}\n />\n );\n};\n\nexport default SearchInput;\n"],"names":["root","factory","exports","module","define","amd","this","DEBOUNCE_WAIT","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","SearchInput","term","onSearch","placeholder","debounced","searchTerm","setSearchTerm","useState","onSearchRef","useRef","useEffect","current","onSearchDebouncedRef","debounce","_onSearchDebouncedRef","cancel","React","TextField","variant","slotProps","input","startAdornment","InputAdornment","position","SearchIcon","sx","color","endAdornment","IconButton","size","onClick","handleClear","_onSearchDebouncedRef2","ClearIcon","fontSize","mr","right","onChange","ev","_onSearchDebouncedRef3","handleChange","target","onKeyDown","fullWidth","height"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/show-confirm-dialog.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,8HCiBT,MAAMC,EAAU,CACdC,QAAS,kBAAC,EAAAC,QAAD,CAASC,MAAM,YACxBC,QAAS,kBAAC,EAAAC,YAAD,CAAaF,MAAM,YAC5BG,MAAO,kBAAC,EAAAC,MAAD,CAAOJ,MAAM,UACpBK,KAAM,kBAAC,EAAAC,KAAD,CAAMN,MAAM,UAGdO,EAAgB,EACpBC,OACAC,QACAC,OACAC,WAAW,GACXC,YACAC,WACAC,oBAAoB,UACpBC,qBAAqB,UACrBC,mBAAmB,SACnBC,oBAAoB,aAEpB,kBAAC,EAAAC,OAAD,CAAQV,KAAMA,EAAMW,QAASN,GAC3B,kBAAC,EAAAO,YAAD,CAAaC,GAAI,CAAEC,EAAG,GAAKC,UAAU,OACnC,kBAAC,EAAAC,WAAD,CAAYC,QAAQ,MAAMhB,IAE5B,kBAAC,EAAAiB,QAAD,MACA,kBAAC,EAAAC,cAAD,CAAeN,GAAI,CAAEC,EAAG,IACtB,yBAAKM,MAAO,CAAEC,QAAS,OAAQC,WAAY,WACxCjC,EAAQc,IACP,yBAAKiB,MAAO,CAAEG,YAAa,KAAOlC,EAAQc,IAE5C,kBAAC,EAAAa,WAAD,CAAYC,QAAQ,SAASf,KAGjC,kBAAC,EAAAgB,QAAD,CAASL,GAAI,CAAEW,OAAQ,uBACvB,kBAAC,EAAAC,cAAD,KACE,kBAAC,EAAAC,OAAD,CACEC,WAAS,EACTC,QAASvB,EACTb,MAA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AAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEjE,EAASgE,IAC5EE,OAAOC,eAAenE,EAASgE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK3E,IACH,oBAAX4E,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAenE,EAAS4E,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAenE,EAAS,aAAc,CAAE8E,OAAO,GAAO,C,4CCL9D,MAAM,EAA+B3B,QAAQ,a,0CCiB7C,MAuCA,EAvC0B,EACxBlC,QACAC,OACAC,WAAW,GACXG,oBAAoB,UACpBE,mBAAmB,SACnBD,qBAAqB,UACrBE,oBAAoB,aAEpB,IAAIsD,SAASC,IACX,MAAMC,EAAYC,SAASC,cAAc,OACzCD,SAASE,KAAKC,YAAYJ,GAE1B,MAAMK,EAASC,IACbC,IAAAA,uBAAgCP,GAChCA,EAAUQ,SACVT,EAAQO,EAAR,EAMFC,IAAAA,OACE,kBAAC,UAAD,CACExE,MAAI,EACJC,MAAOA,EACPC,KAAMA,EACNC,SAAUA,EACVG,kBAAmBA,EACnBE,iBAAkBA,EAClBD,mBAAoBA,EACpBE,kBAAmBA,EACnBL,UAbkB,IAAMkE,GAAM,GAc9BjE,SAbiB,IAAMiE,GAAM,KAe/BL,EAbF,I","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/confirm-dialog.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","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 \"react-dom\"","webpack://openstack-uicore-foundation/./src/components/mui/showConfirmDialog.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 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, Error, Info, Warning } from \"@mui/icons-material\";\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","module.exports = require(\"@mui/icons-material\");","module.exports = require(\"@mui/material\");","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(\"react-dom\");","/**\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 ReactDOM from \"react-dom\";\nimport React from \"react\";\nimport ConfirmDialog from \"./confirm-dialog\";\n\nconst showConfirmDialog = ({\n title,\n text,\n iconType = \"\",\n confirmButtonText = \"Confirm\",\n cancelButtonText = \"Cancel\",\n confirmButtonColor = \"primary\",\n cancelButtonColor = \"primary\"\n}) =>\n new Promise((resolve) => {\n const container = document.createElement(\"div\");\n document.body.appendChild(container);\n\n const close = (answer) => {\n ReactDOM.unmountComponentAtNode(container);\n container.remove();\n resolve(answer);\n };\n\n const handleConfirm = () => close(true);\n const handleCancel = () => close(false);\n\n ReactDOM.render(\n <ConfirmDialog\n open\n title={title}\n text={text}\n iconType={iconType}\n confirmButtonText={confirmButtonText}\n cancelButtonText={cancelButtonText}\n confirmButtonColor={confirmButtonColor}\n cancelButtonColor={cancelButtonColor}\n onConfirm={handleConfirm}\n onCancel={handleCancel}\n />,\n container\n );\n });\n\nexport default showConfirmDialog;\n"],"names":["root","factory","exports","module","define","amd","this","iconMap","warning","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","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","Promise","resolve","container","document","createElement","body","appendChild","close","answer","ReactDOM","remove"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/show-confirm-dialog.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,8HCiBT,MAAMC,EAAU,CACdC,QAASC,IAAAA,cAACC,EAAAA,QAAO,CAACC,MAAM,YACxBC,QAASH,IAAAA,cAACI,EAAAA,YAAW,CAACF,MAAM,YAC5BG,MAAOL,IAAAA,cAACM,EAAAA,MAAK,CAACJ,M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EAAS,aAAc,CAAE+E,OAAO,GAAO,C,4CCL9D,MAAM,EAA+B3B,QAAQ,a,0CCiB7C,MAuCA,EAvC0B4B,EACxB9D,QACAC,OACAC,WAAW,GACXG,oBAAoB,UACpBE,mBAAmB,SACnBD,qBAAqB,UACrBE,oBAAoB,aAEpB,IAAIuD,SAASC,IACX,MAAMC,EAAYC,SAASC,cAAc,OACzCD,SAASE,KAAKC,YAAYJ,GAE1B,MAAMK,EAASC,IACbC,IAAAA,uBAAgCP,GAChCA,EAAUQ,SACVT,EAAQO,EAAO,EAMjBC,IAAAA,OACEnF,IAAAA,cAACS,EAAAA,QAAa,CACZC,MAAI,EACJC,MAAOA,EACPC,KAAMA,EACNC,SAAUA,EACVG,kBAAmBA,EACnBE,iBAAkBA,EAClBD,mBAAoBA,EACpBE,kBAAmBA,EACnBL,UAbkBuE,IAAMJ,GAAM,GAc9BlE,SAbiBuE,IAAML,GAAM,KAe/BL,EACD,I","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/confirm-dialog.js","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","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 \"react-dom\"","webpack://openstack-uicore-foundation/./src/components/mui/showConfirmDialog.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 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, Error, Info, Warning } from \"@mui/icons-material\";\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","module.exports = require(\"@mui/icons-material\");","module.exports = require(\"@mui/material\");","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(\"react-dom\");","/**\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 ReactDOM from \"react-dom\";\nimport React from \"react\";\nimport ConfirmDialog from \"./confirm-dialog\";\n\nconst showConfirmDialog = ({\n title,\n text,\n iconType = \"\",\n confirmButtonText = \"Confirm\",\n cancelButtonText = \"Cancel\",\n confirmButtonColor = \"primary\",\n cancelButtonColor = \"primary\"\n}) =>\n new Promise((resolve) => {\n const container = document.createElement(\"div\");\n document.body.appendChild(container);\n\n const close = (answer) => {\n ReactDOM.unmountComponentAtNode(container);\n container.remove();\n resolve(answer);\n };\n\n const handleConfirm = () => close(true);\n const handleCancel = () => close(false);\n\n ReactDOM.render(\n <ConfirmDialog\n open\n title={title}\n text={text}\n iconType={iconType}\n confirmButtonText={confirmButtonText}\n cancelButtonText={cancelButtonText}\n confirmButtonColor={confirmButtonColor}\n cancelButtonColor={cancelButtonColor}\n onConfirm={handleConfirm}\n onCancel={handleCancel}\n />,\n container\n );\n });\n\nexport default showConfirmDialog;\n"],"names":["root","factory","exports","module","define","amd","this","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","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","showConfirmDialog","Promise","resolve","container","document","createElement","body","appendChild","close","answer","ReactDOM","remove","handleConfirm","handleCancel"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],r):"object"==typeof exports?exports["openstack-uicore-foundation"]=r():e["openstack-uicore-foundation"]=r()}(this,(()=>(()=>{"use strict";var e={5097:(e,r,t)=>{t(1116),t(6842),t(9087),t(9558),t(2183)},2183:(e,r,t)=>{t(9558),t(5812),t(806);const o=require("browser-tabs-lock");var n=t.n(o);require("js-cookie");t(8041),t(9891),t(5097),t(8853);new(n())},9087:(e,r,t)=>{t.d(r,{clearSnackbarMessage:()=>s});t(2462),t(1116),t(806);var o=t(8041),n=t.n(o);t(9236),t(6842),t(9558),t(5097),t(2183),t(3209);n().escapeQuerySpace=!1;const a=e=>r=>({type:e,payload:r}),s=(a("RESET_LOADING"),a("START_LOADING"),a("STOP_LOADING"),()=>e=>{e(a("CLEAR_SNACKBAR_MESSAGE")({}))})},3209:(e,r,t)=>{t.d(r,{UE:()=>o});const o=2e3},8853:()=>{require("spark-md5"),require("crypto-js/sha256"),require("crypto-js/enc-base64url"),require("crypto-js/enc-hex"),"undefined"!=typeof window&&(window.crypto||window.msCrypto)},9558:(e,r,t)=>{t(5812),t(8041)},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},1519:e=>{e.exports=require("@mui/icons-material/Error")},8619:e=>{e.exports=require("@mui/material")},6842:e=>{e.exports=require("i18n-react/dist/i18n-react")},9891:e=>{e.exports=require("idtoken-verifier")},5812:e=>{e.exports=require("moment-timezone")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},806:e=>{e.exports=require("superagent/lib/client")},9236:e=>{e.exports=require("sweetalert2")},8041:e=>{e.exports=require("urijs")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}(()=>{t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r}})(),(()=>{t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})}})(),(()=>{t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};t.r(o),t.d(o,{default:()=>h});var n=t(2015),a=t.n(n);const s=require("react-redux");var i=t(9825),c=t.n(i),u=t(8619);const p=require("@mui/icons-material/CheckCircle");var l=t.n(p),d=t(1519),m=t.n(d);const y=(0,n.createContext)(null),b=y;var f=t(3209),x=t(9087);const g=({children:e,snackbarMessage:r,clearSnackbarMessage:t})=>{const[o,s]=(0,n.useState)(!1),[i,c]=(0,n.useState)({}),p=e=>c({html:e,type:"success"}),d=e=>c({html:e,type:"warning"}),y=(0,n.useMemo)((()=>({successMessage:p,errorMessage:d})),[]),x=()=>{c({}),t()},g=()=>{s(!1),setTimeout(x,f.UE)};return(0,n.useEffect)((()=>{i.html&&s(!0)}),[i]),(0,n.useEffect)((()=>{null!=r&&r.html&&c(r)}),[r]),a().createElement(b.Provider,{value:y},a().createElement(u.Snackbar,{open:o,onClose:g,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:f.UE},a().createElement(u.Alert,{onClose:g,severity:i.type,variant:"filled",sx:{width:"100%",backgroundColor:`${i.type}.light`},iconMapping:{success:a().createElement(l(),{fontSize:"inherit"}),error:a().createElement(m(),{fontSize:"inherit"})}},a().createElement(u.Typography,{variant:"body1",component:"div",dangerouslySetInnerHTML:{__html:i.html}}))),e)};g.propTypes={children:c().node,snackbarMessage:c().object};const h=(0,s.connect)((({baseState:e})=>({snackbarMessage:e.snackbarMessage})),{clearSnackbarMessage:x.clearSnackbarMessage})(g);return o})()));
1
+ !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],r):"object"==typeof exports?exports["openstack-uicore-foundation"]=r():e["openstack-uicore-foundation"]=r()}(this,(()=>(()=>{"use strict";var e={5097:(e,r,t)=>{t(1116),t(6842),t(9087),t(9128),t(2183)},2183:(e,r,t)=>{t(9128),t(5812),t(806);const o=require("browser-tabs-lock");var n=t.n(o);require("js-cookie");t(8041),t(9891),t(5097),t(8853);new(n())},9087:(e,r,t)=>{t.d(r,{clearSnackbarMessage:()=>s});t(2462),t(1116),t(806);var o=t(8041),n=t.n(o);t(9236),t(6842),t(9128),t(5097),t(2183),t(3209);n().escapeQuerySpace=!1;const a=e=>r=>({type:e,payload:r}),s=(a("RESET_LOADING"),a("START_LOADING"),a("STOP_LOADING"),()=>e=>{e(a("CLEAR_SNACKBAR_MESSAGE")({}))})},3209:(e,r,t)=>{t.d(r,{UE:()=>o});const o=2e3},8853:()=>{require("spark-md5"),require("crypto-js/sha256"),require("crypto-js/enc-base64url"),require("crypto-js/enc-hex"),"undefined"!=typeof window&&(window.crypto||window.msCrypto)},9128:(e,r,t)=>{require("@sentry/react");t(5812),t(8041)},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},1519:e=>{e.exports=require("@mui/icons-material/Error")},8619:e=>{e.exports=require("@mui/material")},6842:e=>{e.exports=require("i18n-react/dist/i18n-react")},9891:e=>{e.exports=require("idtoken-verifier")},5812:e=>{e.exports=require("moment-timezone")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},806:e=>{e.exports=require("superagent/lib/client")},9236:e=>{e.exports=require("sweetalert2")},8041:e=>{e.exports=require("urijs")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}(()=>{t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r}})(),(()=>{t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})}})(),(()=>{t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};t.r(o),t.d(o,{default:()=>h});var n=t(2015),a=t.n(n);const s=require("react-redux");var i=t(9825),c=t.n(i),u=t(8619);const p=require("@mui/icons-material/CheckCircle");var l=t.n(p),d=t(1519),m=t.n(d);const y=(0,n.createContext)(null),b=y;var f=t(3209),x=t(9087);const g=({children:e,snackbarMessage:r,clearSnackbarMessage:t})=>{const[o,s]=(0,n.useState)(!1),[i,c]=(0,n.useState)({}),p=e=>c({html:e,type:"success"}),d=e=>c({html:e,type:"warning"}),y=(0,n.useMemo)((()=>({successMessage:p,errorMessage:d})),[]),x=()=>{c({}),t()},g=()=>{s(!1),setTimeout(x,f.UE)};return(0,n.useEffect)((()=>{i.html&&s(!0)}),[i]),(0,n.useEffect)((()=>{null!=r&&r.html&&c(r)}),[r]),a().createElement(b.Provider,{value:y},a().createElement(u.Snackbar,{open:o,onClose:g,anchorOrigin:{vertical:"top",horizontal:"center"},autoHideDuration:f.UE},a().createElement(u.Alert,{onClose:g,severity:i.type,variant:"filled",sx:{width:"100%",backgroundColor:`${i.type}.light`},iconMapping:{success:a().createElement(l(),{fontSize:"inherit"}),error:a().createElement(m(),{fontSize:"inherit"})}},a().createElement(u.Typography,{variant:"body1",component:"div",dangerouslySetInnerHTML:{__html:i.html}}))),e)};g.propTypes={children:c().node,snackbarMessage:c().object};const h=(0,s.connect)((({baseState:e})=>({snackbarMessage:e.snackbarMessage})),{clearSnackbarMessage:x.clearSnackbarMessage})(g);return o})()));
2
2
  //# sourceMappingURL=snackbar-notification.js.map