openstack-uicore-foundation 5.0.22 → 6.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/.claude/settings.local.json +13 -0
  2. package/lib/components/attendance-tracker.js.map +1 -1
  3. package/lib/components/clock.js.map +1 -1
  4. package/lib/components/extra-questions.js.map +1 -1
  5. package/lib/components/forms/simple-form.js.map +1 -1
  6. package/lib/components/free-text-search.js.map +1 -1
  7. package/lib/components/google-map.js.map +1 -1
  8. package/lib/components/index.js +1 -1
  9. package/lib/components/index.js.map +1 -1
  10. package/lib/components/inputs/access-levels-input.js.map +1 -1
  11. package/lib/components/inputs/attendee-input.js.map +1 -1
  12. package/lib/components/inputs/company-input-v2.js +1 -1
  13. package/lib/components/inputs/company-input-v2.js.map +1 -1
  14. package/lib/components/inputs/company-input.js.map +1 -1
  15. package/lib/components/inputs/country-dropdown.js.map +1 -1
  16. package/lib/components/inputs/country-input.js.map +1 -1
  17. package/lib/components/inputs/event-input.js.map +1 -1
  18. package/lib/components/inputs/group-input.js.map +1 -1
  19. package/lib/components/inputs/language-input.js.map +1 -1
  20. package/lib/components/inputs/member-input.js.map +1 -1
  21. package/lib/components/inputs/organization-input.js.map +1 -1
  22. package/lib/components/inputs/promocode-input.js.map +1 -1
  23. package/lib/components/inputs/registration-company-input.js.map +1 -1
  24. package/lib/components/inputs/speaker-input.js.map +1 -1
  25. package/lib/components/inputs/sponsor-input.js.map +1 -1
  26. package/lib/components/inputs/summit-input.js.map +1 -1
  27. package/lib/components/inputs/tag-input.js.map +1 -1
  28. package/lib/components/inputs/ticket-types-input.js.map +1 -1
  29. package/lib/components/inputs/upload-input-v2.js.map +1 -1
  30. package/lib/components/inputs/upload-input-v3.js +1 -1
  31. package/lib/components/inputs/upload-input-v3.js.map +1 -1
  32. package/lib/components/mui/cards/inline-card.js.map +1 -1
  33. package/lib/components/mui/cards/table-card.js.map +1 -1
  34. package/lib/components/mui/cards.js.map +1 -1
  35. package/lib/components/mui/form-item-table.js +1 -1
  36. package/lib/components/mui/form-item-table.js.map +1 -1
  37. package/lib/components/mui/formik-inputs/additional-input-list.js +1 -1
  38. package/lib/components/mui/formik-inputs/additional-input-list.js.map +1 -1
  39. package/lib/components/mui/formik-inputs/additional-input.js +1 -1
  40. package/lib/components/mui/formik-inputs/additional-input.js.map +1 -1
  41. package/lib/components/mui/formik-inputs/async-select.js +1 -1
  42. package/lib/components/mui/formik-inputs/async-select.js.map +1 -1
  43. package/lib/components/mui/formik-inputs/company-input.js +1 -1
  44. package/lib/components/mui/formik-inputs/company-input.js.map +1 -1
  45. package/lib/components/mui/formik-inputs/discount-field.js +1 -1
  46. package/lib/components/mui/formik-inputs/discount-field.js.map +1 -1
  47. package/lib/components/mui/formik-inputs/file-size-field.js +1 -1
  48. package/lib/components/mui/formik-inputs/file-size-field.js.map +1 -1
  49. package/lib/components/mui/formik-inputs/item-price-tiers.js +1 -1
  50. package/lib/components/mui/formik-inputs/item-price-tiers.js.map +1 -1
  51. package/lib/components/mui/formik-inputs/price-field.js +1 -1
  52. package/lib/components/mui/formik-inputs/price-field.js.map +1 -1
  53. package/lib/components/mui/formik-inputs/quantity-field.js +1 -1
  54. package/lib/components/mui/formik-inputs/quantity-field.js.map +1 -1
  55. package/lib/components/mui/formik-inputs/sponsor-input.js +1 -1
  56. package/lib/components/mui/formik-inputs/sponsor-input.js.map +1 -1
  57. package/lib/components/mui/formik-inputs/sponsorship-input.js +1 -1
  58. package/lib/components/mui/formik-inputs/sponsorship-input.js.map +1 -1
  59. package/lib/components/mui/formik-inputs/sponsorship-summit-select.js.map +1 -1
  60. package/lib/components/mui/formik-inputs/summit-addon-select.js.map +1 -1
  61. package/lib/components/mui/formik-inputs/textfield.js +1 -1
  62. package/lib/components/mui/formik-inputs/textfield.js.map +1 -1
  63. package/lib/components/mui/formik-inputs/upload.js +1 -1
  64. package/lib/components/mui/formik-inputs/upload.js.map +1 -1
  65. package/lib/components/mui/item-settings-modal.js +1 -1
  66. package/lib/components/mui/item-settings-modal.js.map +1 -1
  67. package/lib/components/mui/menu-button.js +1 -1
  68. package/lib/components/mui/menu-button.js.map +1 -1
  69. package/lib/components/mui/snackbar-notification.js.map +1 -1
  70. package/lib/components/mui/sponsor-addon-select.js.map +1 -1
  71. package/lib/components/mui/sponsor-order-grid.js.map +1 -1
  72. package/lib/components/mui/stripe-payment.js.map +1 -1
  73. package/lib/components/mui/summit-addon-select.js.map +1 -1
  74. package/lib/components/mui/summits-dropdown.js.map +1 -1
  75. package/lib/components/mui/table/extra-rows.js.map +1 -1
  76. package/lib/components/mui/upload-dialog.js +1 -1
  77. package/lib/components/mui/upload-dialog.js.map +1 -1
  78. package/lib/components/schedule-builder-view.js.map +1 -1
  79. package/lib/components/sponsored-project-input.js.map +1 -1
  80. package/lib/components/table-editable.js.map +1 -1
  81. package/lib/i18n.js.map +1 -1
  82. package/lib/security/abstract-auth-callback-route-v2.js.map +1 -1
  83. package/lib/security/abstract-auth-callback-route.js.map +1 -1
  84. package/lib/security/actions.js.map +1 -1
  85. package/lib/security/methods.js.map +1 -1
  86. package/lib/security/reducers.js.map +1 -1
  87. package/lib/security/session-checker.js.map +1 -1
  88. package/lib/utils/actions.js.map +1 -1
  89. package/lib/utils/methods.js.map +1 -1
  90. package/lib/utils/query-actions.js.map +1 -1
  91. package/lib/utils/questions-set.js.map +1 -1
  92. package/package.json +16 -16
  93. package/.claude/rules/openstack-uicore-foundation-components.md +0 -62
  94. package/.claude/rules/openstack-uicore-foundation-project.md +0 -64
  95. package/.claude/rules/openstack-uicore-foundation-security.md +0 -39
  96. package/.codegraph/config.json +0 -140
  97. package/docs/plans/2026-04-09-showconfirmdialog-react16-compat.md +0 -83
  98. package/docs/plans/2026-04-22-dropzone-pooling-ux.md +0 -129
  99. package/docs/plans/2026-04-23-uploadv3-duplicate-file-max-reached.md +0 -109
  100. package/docs/plans/2026-04-23-uploadv3-premature-complete-on-202.md +0 -99
@@ -1 +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AWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAKxC,IACH,oBAAXyC,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAehC,EAASyC,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAehC,EAAS,aAAc,CAAE2C,OAAO,GAAO,C,iGCoB9D,MA2BA,EA3BmBC,EAAGC,QAAOC,UAC3BvC,IAAAA,cAACwC,EAAAA,KAAI,CACHpC,GAAI,CAAEC,SAAU,IAAKoC,aAAc,OAAQC,OAAQ,QACnDxC,QAAQ,YAERF,IAAAA,cAAC2C,EAAAA,YAAW,KACV3C,IAAAA,cAACC,EAAAA,WAAU,CAAC2C,cAAY,EAAC1C,QAAQ,MAC9BoC,GAEHtC,IAAAA,cAAC6C,EAAAA,KAAI,CAACzC,GAAI,CAAE0C,QAAS,OAAQC,UAAW,UACpCR,GAAQ,IAAIS,KAAI,CAACC,EAAKC,IAEtBlD,IAAAA,cAACA,IAAAA,SAAc,CAACsB,IAAK,OAAO2B,EAAIE,SAASD,KACvClD,IAAAA,cAACoD,EAAAA,SAAQ,CACPhD,GAAI,CAAE0C,QAAS,OAAQO,cAAe,SAAUX,OAAQ,KAExD1C,IAAAA,cAACF,EAAAA,EAAO,KAAEmD,EAAIE,OACdnD,IAAAA,cAACO,EAAAA,EAAK,KAAE0C,EAAIb,QAEbc,EAAIX,EAAKe,OAAS,GAAKtD,IAAAA,cAACuD,EAAAA,QAAO,CAACC,YAAY,WAAWC,UAAQ,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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/./src/components/mui/cards/InlineCard/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 ","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};","/**\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst InlineCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ display: \"flex\", marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <React.Fragment key={`row-${row.label}-${i}`}>\n <ListItem\n sx={{ display: \"flex\", flexDirection: \"column\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n {i < rows.length - 1 && <Divider orientation=\"vertical\" flexItem />}\n </React.Fragment>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default InlineCard;\n"],"names":["root","factory","exports","module","define","amd","this","Heading","children","React","Typography","variant","component","sx","minWidth","alignSelf","Value","textAlign","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","InlineCard","title","rows","Card","borderRadius","height","CardContent","gutterBottom","List","display","marginTop","map","row","i","label","ListItem","flexDirection","length","Divider","orientation","flexItem"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/cards/inline-card.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,2FCNT,MAUA,EAVgBC,EAAGC,cACjBC,IAAAA,cAACC,EAAAA,WAAU,CACTC,QAAQ,YACRC,UAAU,MACVC,GAAI,CAAEC,SAAU,IAAKC,UAAW,eAE/BP,E,mECNL,MAUA,EAVcQ,EAAGR,cACfC,IAAAA,cAACC,EAAAA,WAAU,CACTC,QAAQ,QACRC,UAAU,MACVC,GAAI,CAAEI,UAAW,OAAQH,SAAU,IAAKC,UAAW,eAElDP,E,WCTLL,EAAOD,QAAUgB,QAAQ,gB,WCAzBf,EAAOD,QAAUgB,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAapB,QAGrB,IAAIC,EAASgB,EAAyBE,GAAY,CAGjDnB,QAAS,CAAC,GAOX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OAAQ,KAExD1C,IAAAA,cAACF,EAAAA,EAAO,KAAEmD,EAAIE,OACdnD,IAAAA,cAACO,EAAAA,EAAK,KAAE0C,EAAIb,QAEbc,EAAIX,EAAKe,OAAS,GAAKtD,IAAAA,cAACuD,EAAAA,QAAO,CAACC,YAAY,WAAWC,UAAQ,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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/./src/components/mui/cards/InlineCard/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 ","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};","/**\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst InlineCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ display: \"flex\", marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<React.Fragment key={`row-${row.label}-${i}`}>\n <ListItem\n sx={{ display: \"flex\", flexDirection: \"column\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n {i < rows.length - 1 && <Divider orientation=\"vertical\" flexItem />}\n </React.Fragment>)\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default InlineCard;\n"],"names":["root","factory","exports","module","define","amd","this","Heading","children","React","Typography","variant","component","sx","minWidth","alignSelf","Value","textAlign","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","InlineCard","title","rows","Card","borderRadius","height","CardContent","gutterBottom","List","display","marginTop","map","row","i","label","ListItem","flexDirection","length","Divider","orientation","flexItem"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/cards/table-card.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,2FCNT,MAUA,EAVgBC,EAAGC,cACjBC,IAAAA,cAACC,EAAAA,WAAU,CACTC,QAAQ,YACRC,UAA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AAAA,KAAI,CACHrC,GAAI,CAAEC,SAAU,IAAKqC,aAAc,OAAQC,OAAQ,QACnDzC,QAAQ,YAERF,IAAAA,cAAC4C,EAAAA,YAAW,KACV5C,IAAAA,cAACC,EAAAA,WAAU,CAAC4C,cAAY,EAAC3C,QAAQ,MAC9BoC,GAEHtC,IAAAA,cAAC8C,EAAAA,KAAI,CAAC1C,GAAI,CAAE2C,UAAW,SACrB/C,IAAAA,cAACgD,EAAAA,SAAQ,CAAC5C,GAAI,CAAE6C,QAAS,OAAQN,OAAQ,GAAIO,IAAK,IAC/CV,EAAQW,KAAI,CAACC,EAAKC,IAEjBrD,IAAAA,cAACF,EAAAA,EAAO,CAACwB,IAAK,OAAO8B,EAAI9B,OAAO+B,KAAMD,EAAIE,UAG9CtD,IAAAA,cAACuD,EAAAA,QAAO,CAACpD,UAAU,KAAKqD,KAAK,iBAC5BjB,EAAKY,KAAI,CAACM,EAAKJ,IAEdrD,IAAAA,cAACA,IAAAA,SAAc,CAACsB,IAAK,OAAO+B,KAC1BrD,IAAAA,cAACgD,EAAAA,SAAQ,CAAC5C,GAAI,CAAE6C,QAAS,OAAQS,UAAW,GAAIR,IAAK,IAClDV,EAAQW,KAAI,CAACC,EAAKO,IAEjB3D,IAAAA,cAACO,EAAAA,EAAK,CAACe,IAAK,WAAW8B,EAAI9B,OAAOqC,KAAMF,EAAIL,EAAI9B,SAGnD+B,EAAId,EAAKqB,OAAS,GACjB5D,IAAAA,cAACuD,EAAAA,QAAO,CAACpD,UAAU,KAAKqD,KAAK,uB","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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/./src/components/mui/cards/TableCard/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 ","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};","/**\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Value from \"../components/Value\";\nimport Heading from \"../components/Heading\";\n\nconst TableCard = ({ title, rows = [], columns = [] }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n <ListItem sx={{ display: \"flex\", height: 50, gap: 2 }}>\n {columns.map((col, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <Heading key={`col-${col.key}-${i}`}>{col.label}</Heading>\n ))}\n </ListItem>\n <Divider component=\"li\" role=\"presentation\" />\n {rows.map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <React.Fragment key={`row-${i}`}>\n <ListItem sx={{ display: \"flex\", minHeight: 60, gap: 2 }}>\n {columns.map((col, j) => (\n // eslint-disable-next-line react/no-array-index-key\n <Value key={`col-val-${col.key}-${j}`}>{row[col.key]}</Value>\n ))}\n </ListItem>\n {i < rows.length - 1 && (\n <Divider component=\"li\" role=\"presentation\" />\n )}\n </React.Fragment>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default TableCard;\n"],"names":["root","factory","exports","module","define","amd","this","Heading","children","React","Typography","variant","component","sx","minWidth","alignSelf","Value","textAlign","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","TableCard","title","rows","columns","Card","borderRadius","height","CardContent","gutterBottom","List","marginTop","ListItem","display","gap","map","col","i","label","Divider","role","row","minHeight","j","length"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/cards/table-card.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,2FCNT,MAUA,EAVgBC,EAAGC,cACjBC,IAAAA,cAACC,EAAAA,WAAU,CACTC,QAAQ,YACRC,UAAU,MACVC,GAAI,CAAEC,SAAU,IAAKC,UAAW,eAE/BP,E,mECNL,MAUA,EAVcQ,EAAGR,cACfC,IAAAA,cAACC,EAAAA,WAAU,CACTC,QAAQ,QACRC,UAAU,MACVC,GAAI,CAAEI,UAAW,OAAQH,SAAU,IAAKC,UAAW,eAElDP,E,WCTLL,EAAOD,QAAUgB,QAAQ,gB,WCAzBf,EAAOD,QAAUgB,QAAQ,Q,GCCrBC,EAA2B,C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AA,SAAQ,CAAC5C,GAAI,CAAE6C,QAAS,OAAQN,OAAQ,GAAIO,IAAK,IAC/CV,EAAQW,KAAI,CAACC,EAAKC,IAEhBrD,IAAAA,cAACF,EAAAA,EAAO,CAACwB,IAAK,OAAO8B,EAAI9B,OAAO+B,KAAMD,EAAIE,UAG/CtD,IAAAA,cAACuD,EAAAA,QAAO,CAACpD,UAAU,KAAKqD,KAAK,iBAC5BjB,EAAKY,KAAI,CAACM,EAAKJ,IAEbrD,IAAAA,cAACA,IAAAA,SAAc,CAACsB,IAAK,OAAO+B,KAC3BrD,IAAAA,cAACgD,EAAAA,SAAQ,CAAC5C,GAAI,CAAE6C,QAAS,OAAQS,UAAW,GAAIR,IAAK,IAClDV,EAAQW,KAAI,CAACC,EAAKO,IAEhB3D,IAAAA,cAACO,EAAAA,EAAK,CAACe,IAAK,WAAW8B,EAAI9B,OAAOqC,KAAMF,EAAIL,EAAI9B,SAGpD+B,EAAId,EAAKqB,OAAS,GACjB5D,IAAAA,cAACuD,EAAAA,QAAO,CAACpD,UAAU,KAAKqD,KAAK,uB","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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/./src/components/mui/cards/TableCard/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 ","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};","/**\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Value from \"../components/Value\";\nimport Heading from \"../components/Heading\";\n\nconst TableCard = ({ title, rows = [], columns = [] }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n <ListItem sx={{ display: \"flex\", height: 50, gap: 2 }}>\n {columns.map((col, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<Heading key={`col-${col.key}-${i}`}>{col.label}</Heading>)\n ))}\n </ListItem>\n <Divider component=\"li\" role=\"presentation\" />\n {rows.map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<React.Fragment key={`row-${i}`}>\n <ListItem sx={{ display: \"flex\", minHeight: 60, gap: 2 }}>\n {columns.map((col, j) => (\n // eslint-disable-next-line react/no-array-index-key\n (<Value key={`col-val-${col.key}-${j}`}>{row[col.key]}</Value>)\n ))}\n </ListItem>\n {i < rows.length - 1 && (\n <Divider component=\"li\" role=\"presentation\" />\n )}\n </React.Fragment>)\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default TableCard;\n"],"names":["root","factory","exports","module","define","amd","this","Heading","children","React","Typography","variant","component","sx","minWidth","alignSelf","Value","textAlign","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","TableCard","title","rows","columns","Card","borderRadius","height","CardContent","gutterBottom","List","marginTop","ListItem","display","gap","map","col","i","label","Divider","role","row","minHeight","j","length"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"components/mui/cards.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,qHCgBT,MA2BA,EA3BmBC,EAAGC,QAAOC,UAC3BC,IAAAA,cAACC,EAAAA,KAAI,CACHC,GAAI,CAAEC,SAAU,IAAKC,aAAc,OAAQC,OAAQ,QACnDC,QAAQ,YAERN,IAAAA,cAACO,EAAAA,YAAW,KACVP,IAAAA,cAACQ,EAAAA,WAAU,CAACC,cAAY,EAACH,QAAQ,MAC9BR,GAEHE,IAAAA,cAACU,EAAAA,KAAI,CAACR,GAAI,CAAES,QAAS,OAAQC,UAAW,UACpCb,GAAQ,IAAIc,KAAI,CAACC,EAAKC,IAEtBf,IAAAA,cAACA,IAAAA,SAAc,CAACgB,IAAK,OAAOF,EAAIG,SAASF,KACvCf,IAAAA,cAACkB,EAAAA,SAAQ,CACPhB,GAAI,CAAES,QAAS,OAAQQ,cAAe,SAAUd,OAAQ,KAExDL,IAAAA,cAACoB,EAAAA,EAAO,KAAEN,EAAIG,OACdjB,IAAAA,cAACqB,EAAAA,EAAK,KAAEP,EAAIQ,QAEbP,EAAIhB,EAAKwB,O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GH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAAC3D,EAAS6D,KACjC,IAAI,IAAIrC,KAAOqC,EACXV,EAAoBW,EAAED,EAAYrC,KAAS2B,EAAoBW,EAAE9D,EAASwB,IAC5EuC,OAAOC,eAAehE,EAASwB,EAAK,CAAEyC,YAAY,EAAMC,IAAKL,EAAWrC,IAE1E,C,WCND2B,EAAoBW,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFjB,EAAoBqB,EAAKxE,IACH,oBAAXyE,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAehE,EAASyE,OAAOC,YAAa,CAAE5C,MAAO,WAE7DiC,OAAOC,eAAehE,EAAS,aAAc,CAAE8B,OAAO,GAAO,C","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/InlineCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/ListCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/TableCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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"],"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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst InlineCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ display: \"flex\", marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <React.Fragment key={`row-${row.label}-${i}`}>\n <ListItem\n sx={{ display: \"flex\", flexDirection: \"column\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n {i < rows.length - 1 && <Divider orientation=\"vertical\" flexItem />}\n </React.Fragment>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default InlineCard;\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 { Card, CardContent, List, ListItem, Typography } from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst ListCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n <ListItem\n key={row.id ?? row.label}\n divider={i < (rows ?? []).length - 1}\n sx={{ display: \"flex\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default ListCard;\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Value from \"../components/Value\";\nimport Heading from \"../components/Heading\";\n\nconst TableCard = ({ title, rows = [], columns = [] }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n <ListItem sx={{ display: \"flex\", height: 50, gap: 2 }}>\n {columns.map((col, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <Heading key={`col-${col.key}-${i}`}>{col.label}</Heading>\n ))}\n </ListItem>\n <Divider component=\"li\" role=\"presentation\" />\n {rows.map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n <React.Fragment key={`row-${i}`}>\n <ListItem sx={{ display: \"flex\", minHeight: 60, gap: 2 }}>\n {columns.map((col, j) => (\n // eslint-disable-next-line react/no-array-index-key\n <Value key={`col-val-${col.key}-${j}`}>{row[col.key]}</Value>\n ))}\n </ListItem>\n {i < rows.length - 1 && (\n <Divider component=\"li\" role=\"presentation\" />\n )}\n </React.Fragment>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default TableCard;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};"],"names":["root","factory","exports","module","define","amd","this","InlineCard","title","rows","React","Card","sx","minWidth","borderRadius","height","variant","CardContent","Typography","gutterBottom","List","display","marginTop","map","row","i","key","label","ListItem","flexDirection","Heading","Value","value","length","Divider","orientation","flexItem","ListCard","id","divider","TableCard","columns","gap","col","component","role","minHeight","j","children","alignSelf","textAlign","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag"],"sourceRoot":""}
1
+ {"version":3,"file":"components/mui/cards.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,qHCgBT,MA2BA,EA3BmBC,EAAGC,QAAOC,UAC3BC,IAAAA,cAACC,EAAAA,KAAI,CACHC,GAAI,CAAEC,SAAU,IAAKC,aAAc,OAAQC,OAAQ,QACnDC,QAAQ,YAERN,IAAAA,cAACO,EAAAA,YAAW,KACVP,IAAAA,cAACQ,EAAAA,WAAU,CAACC,cAAY,EAACH,QAAQ,MAC9BR,GAEHE,IAAAA,cAACU,EAAAA,KAAI,CAACR,GAAI,CAAES,QAAS,OAAQC,UAAW,UACpCb,GAAQ,IAAIc,KAA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H,OAAOA,EAAarD,QAGrB,IAAIC,EAASiD,EAAyBE,GAAY,CAGjDpD,QAAS,CAAC,GAOX,OAHAuD,EAAoBH,GAAUnD,EAAQA,EAAOD,QAASmD,GAG/ClD,EAAOD,OACf,C,MCrBAmD,EAAoBK,EAAKvD,IACxB,IAAIwD,EAASxD,GAAUA,EAAOyD,WAC7B,IAAOzD,EAAiB,QACxB,IAAM,EAEP,OADAkD,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAAC3D,EAAS6D,KACjC,IAAI,IAAIrC,KAAOqC,EACXV,EAAoBW,EAAED,EAAYrC,KAAS2B,EAAoBW,EAAE9D,EAASwB,IAC5EuC,OAAOC,eAAehE,EAASwB,EAAK,CAAEyC,YAAY,EAAMC,IAAKL,EAAWrC,IAE1E,C,WCND2B,EAAoBW,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFjB,EAAoBqB,EAAKxE,IACH,oBAAXyE,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAehE,EAASyE,OAAOC,YAAa,CAAE5C,MAAO,WAE7DiC,OAAOC,eAAehE,EAAS,aAAc,CAAE8B,OAAO,GAAO,C","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/mui/cards/InlineCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/ListCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/TableCard/index.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Heading.js","webpack://openstack-uicore-foundation/./src/components/mui/cards/components/Value.js","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"],"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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst InlineCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ display: \"flex\", marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<React.Fragment key={`row-${row.label}-${i}`}>\n <ListItem\n sx={{ display: \"flex\", flexDirection: \"column\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n {i < rows.length - 1 && <Divider orientation=\"vertical\" flexItem />}\n </React.Fragment>)\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default InlineCard;\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 { Card, CardContent, List, ListItem, Typography } from \"@mui/material\";\nimport Heading from \"../components/Heading\";\nimport Value from \"../components/Value\";\n\nconst ListCard = ({ title, rows }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n {(rows ?? []).map((row, i) => (\n <ListItem\n key={row.id ?? row.label}\n divider={i < (rows ?? []).length - 1}\n sx={{ display: \"flex\", height: 50 }}\n >\n <Heading>{row.label}</Heading>\n <Value>{row.value}</Value>\n </ListItem>\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default ListCard;\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 {\n Card,\n CardContent,\n Divider,\n List,\n ListItem,\n Typography\n} from \"@mui/material\";\nimport Value from \"../components/Value\";\nimport Heading from \"../components/Heading\";\n\nconst TableCard = ({ title, rows = [], columns = [] }) => (\n <Card\n sx={{ minWidth: 275, borderRadius: \"10px\", height: \"100%\" }}\n variant=\"outlined\"\n >\n <CardContent>\n <Typography gutterBottom variant=\"h6\">\n {title}\n </Typography>\n <List sx={{ marginTop: \"20px\" }}>\n <ListItem sx={{ display: \"flex\", height: 50, gap: 2 }}>\n {columns.map((col, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<Heading key={`col-${col.key}-${i}`}>{col.label}</Heading>)\n ))}\n </ListItem>\n <Divider component=\"li\" role=\"presentation\" />\n {rows.map((row, i) => (\n // eslint-disable-next-line react/no-array-index-key\n (<React.Fragment key={`row-${i}`}>\n <ListItem sx={{ display: \"flex\", minHeight: 60, gap: 2 }}>\n {columns.map((col, j) => (\n // eslint-disable-next-line react/no-array-index-key\n (<Value key={`col-val-${col.key}-${j}`}>{row[col.key]}</Value>)\n ))}\n </ListItem>\n {i < rows.length - 1 && (\n <Divider component=\"li\" role=\"presentation\" />\n )}\n </React.Fragment>)\n ))}\n </List>\n </CardContent>\n </Card>\n);\n\nexport default TableCard;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Heading = ({ children }) => (\n <Typography\n variant=\"subtitle2\"\n component=\"div\"\n sx={{ minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Heading;\n","import { Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst Value = ({ children }) => (\n <Typography\n variant=\"body2\"\n component=\"div\"\n sx={{ textAlign: \"left\", minWidth: 120, alignSelf: \"self-start\" }}\n >\n {children}\n </Typography>\n);\n\nexport default Value;\n","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};"],"names":["root","factory","exports","module","define","amd","this","InlineCard","title","rows","React","Card","sx","minWidth","borderRadius","height","variant","CardContent","Typography","gutterBottom","List","display","marginTop","map","row","i","key","label","ListItem","flexDirection","Heading","Value","value","length","Divider","orientation","flexItem","ListCard","id","divider","TableCard","columns","gap","col","component","role","minHeight","j","children","alignSelf","textAlign","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag"],"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={8360:(e,t,r)=>{r.d(t,{A:()=>j});var l=r(1116),n=r.n(l),a=r(6031),o=r.n(a),i=r(2015),s=r.n(i),u=r(7994),c=r(2522),m=r(8672),d=r(6915),p=r(5480),b=r(9314),f=r(2462),y=r.n(f),v=r(9825),E=r.n(v),h=r(6842),g=r.n(h),_=r(8619),x=r(3294);const T=["name","label","placeholder","options"],O=e=>{let{name:t,label:r,placeholder:l,options:n}=e,a=y()(e,T);const[i,u]=(0,x.useField)(t),c=l||g().translate("general.select_an_option");return s().createElement(_.FormControl,{fullWidth:!0,error:u.touched&&Boolean(u.error)},r&&s().createElement(_.InputLabel,{id:`${t}-label`},r),s().createElement(_.Select,o()({name:t,label:r,labelId:`${t}-label`,displayEmpty:!0},i,a,{renderValue:e=>{if(null==e||""===e)return s().createElement("em",null,c);const t=n.find((({value:t})=>t===e));return t?t.label:""}}),n.map((e=>s().createElement(_.MenuItem,{key:`selectop-${e.value}`,value:e.value},e.label)))),u.touched&&u.error&&s().createElement(_.FormHelperText,null,u.error))};O.propTypes={name:E().string.isRequired,options:E().array.isRequired};const C=O;function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const j=({rowId:e,field:t,timeZone:r,label:l="",disabled:n=!1})=>{const a={name:`i-${e}-c-${t.class_field}-f-${t.type_id}`,label:l,disabled:n};switch(t.type){case"CheckBox":return s().createElement(u.default,o()({},a,{size:"small"}));case"CheckBoxList":return s().createElement(c.default,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"RadioButtonList":return s().createElement(m.default,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"DateTime":return s().createElement(d.default,a);case"Time":return s().createElement(p.default,o()({},a,{timeZone:r}));case"Quantity":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small",type:"number",slotProps:{htmlInput:w({min:t.minimum_quantity},t.maximum_quantity>0?{max:t.maximum_quantity}:{})}}));case"ComboBox":return s().createElement(C,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"Text":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small"}));case"TextArea":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small",multiline:!0,rows:3}))}}},7994:(e,t,r)=>{r.d(t,{default:()=>f});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u),m=r(8619),d=r(3294);const p=["name","label"],b=e=>{let{name:t,label:r}=e,l=o()(e,p);const[a,i]=(0,d.useField)({name:t,type:"checkbox"});return s().createElement(m.FormControl,{fullWidth:!0,margin:"normal",error:i.touched&&Boolean(i.error)},s().createElement(m.FormControlLabel,{control:s().createElement(m.Checkbox,n()({name:t},a,{checked:a.value},l)),label:r}),i.touched&&i.error&&s().createElement(m.FormHelperText,null,i.error))};b.propTypes={name:c().string.isRequired,label:c().string.isRequired};const f=b},6915:(e,t,r)=>{r.d(t,{default:()=>v});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u);const m=require("@mui/x-date-pickers/DatePicker");var d=r(4),p=r(5643),b=r(3294);const f=["name","label","required","disabled"],y=e=>{let{name:t,label:r,required:l,disabled:a=!1}=e,i=o()(e,f);const[u,c,y]=(0,b.useField)(t),v=`${r} *`;return s().createElement(d.LocalizationProvider,{dateAdapter:p.AdapterMoment},s().createElement(m.DatePicker,n()({value:u.value,onChange:y.setValue,slotProps:{textField:{name:t,label:l?v:r,error:c.touched&&Boolean(c.error),helperText:c.touched&&c.error,fullWidth:!0,disabled:a,size:"small"},day:{sx:{fontSize:"1.2rem",fontWeight:600}},layout:{sx:{"& .MuiDayCalendar-weekDayLabel":{fontSize:"1rem"}}}},margin:"normal"},i)))};y.propTypes={name:c().string.isRequired,label:c().string,required:c().bool,disabled:c().bool};const v=y},5654:(e,t,r)=>{r.d(t,{default:()=>x});var l=r(6031),n=r.n(l),a=r(1116),o=r.n(a),i=r(2462),s=r.n(i),u=r(2015),c=r.n(u),m=r(9825),d=r.n(m),p=r(8619),b=r(3294),f=r(9314),y=r(3209);const v=["name","label","discountType","inCents","disabled"];function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const g=["e","E","+","-"],_=e=>{let{name:t,label:r,discountType:l,inCents:a=!1,disabled:o=!1}=e,i=s()(e,v);const[m,d,E]=(0,b.useField)(t),[_,x]=(0,u.useState)(!1),T=null===d.initialValue?null:0,O=l===y.eM.RATE?{endAdornment:c().createElement(p.InputAdornment,{position:"end"},"%")}:{startAdornment:c().createElement(p.InputAdornment,{position:"start"},"$")},C=l===y.eM.RATE?{max:100,inputMode:"numeric",step:1}:{inputMode:"decimal",step:1};return c().createElement(f.default,n()({name:t,label:r,value:(()=>_?"":null==m.value||0===m.value?0===m.value?0:"":a?m.value/y.At:m.value)(),onChange:e=>{const t=e.target.value;if(""===t)return x(!0),void E.setValue(T);x(!1);const r=Number(t),l=a?r*y.At:r;E.setValue(l)},type:"number",disabled:o,slotProps:{input:h({},O),htmlInput:h({min:0},C)},onKeyDown:e=>{g.includes(e.key)&&(e.preventDefault(),e.stopPropagation())}},i))};_.propTypes={name:d().string.isRequired,label:d().string};const x=_},2522:(e,t,r)=>{r.d(t,{default:()=>b});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(8619),c=r(3294),m=r(6842),d=r.n(m);const p=["name","label","placeholder","options"],b=e=>{let{name:t,label:r,placeholder:l,options:a}=e,i=o()(e,p);const[m,b,f]=(0,c.useField)(t),y=l||d().translate("general.select_an_option"),v=a.every((({value:e})=>{var t;return null===(t=m.value)||void 0===t?void 0:t.includes(e)}));return s().createElement(u.FormControl,{fullWidth:!0,error:b.touched&&Boolean(b.error)},r&&s().createElement(u.InputLabel,{shrink:!0,id:`${t}-label`},r),s().createElement(u.Select,n()({variant:"outlined",name:t,label:r,labelId:`${t}-label`,multiple:!0,value:m.value||[],onChange:e=>{const{value:t}=e.target;t.includes("all")?v?f.setValue([]):f.setValue(a.map((e=>e.value))):f.setValue(t)},onBlur:m.onBlur,displayEmpty:!0},i,{renderValue:e=>{if(null==e||!e.length)return s().createElement("em",null,y);if(v)return d().translate("general.all");const t=a.filter((({value:t})=>null==e?void 0:e.includes(t))).map((({label:e})=>e));return t.join(", ")}}),s().createElement(u.MenuItem,{key:"all",value:"all"},s().createElement(u.Checkbox,{checked:v}),s().createElement(u.ListItemText,{primary:d().translate("general.all")})),s().createElement(u.Divider,{sx:{m:0}}),a.map((({label:e,value:t})=>{var r;return s().createElement(u.MenuItem,{key:`ckbx-ddl-${t}`,value:t},s().createElement(u.Checkbox,{checked:null===(r=m.value)||void 0===r?void 0:r.includes(t)}),s().createElement(u.ListItemText,{primary:e}))}))))}},8672:(e,t,r)=>{r.d(t,{default:()=>b});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(8619),c=r(3294),m=r(6842),d=r.n(m);const p=["name","label","options","placeholder"],b=e=>{let{name:t,label:r,options:l,placeholder:a}=e,i=o()(e,p);const m=a||d().translate("general.select_an_option"),[b,f,y]=(0,c.useField)(t);return s().createElement(u.FormControl,{fullWidth:!0,error:f.touched&&Boolean(f.error)},r&&s().createElement(u.InputLabel,{shrink:!0,id:`${t}-label`},r),s().createElement(u.Select,n()({variant:"outlined",name:t,label:r,labelId:`${t}-label`,value:b.value||"",onChange:e=>{y.setValue(e.target.value)},displayEmpty:!0},i,{renderValue:e=>{if(!e)return s().createElement("em",null,m);const t=l.find((({value:t})=>t===e));return t?t.label:""}}),l.map((({label:e,value:t})=>s().createElement(u.MenuItem,{key:`radio-ddl-${t}`,value:t},s().createElement(u.Radio,{checked:b.value===t}),s().createElement(u.ListItemText,{primary:e}))))))}},3300:(e,t,r)=>{r.d(t,{default:()=>x});var l=r(6031),n=r.n(l),a=r(1116),o=r.n(a),i=r(2462),s=r.n(i),u=r(2015),c=r.n(u),m=r(9825),d=r.n(m),p=r(8619),b=r(3294),f=r(9314),y=r(3209);const v=["name","label","inCents","inputProps"];function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const g=["e","E","+","-"],_=e=>{let{name:t,label:r,inCents:l=!1,inputProps:a={step:.01}}=e,o=s()(e,v);const[i,m,d]=(0,b.useField)(t),[E,_]=(0,u.useState)(!1),[x,T]=(0,u.useState)(!1),[O,C]=(0,u.useState)(""),P=()=>{if(E||null==i.value)return"";if(0===i.value)return"0";const e=l?i.value/y.At:i.value;return String(Number(e.toFixed(y.tv)))};return c().createElement(f.default,n()({name:t,label:r,type:"number",value:(()=>{if(x)return O;if(E)return"";if(null==i.value||0===i.value)return 0===i.value?0:"";const e=P(),t=e.indexOf(".");return-1===t?`${e}.00`:e.length-t-1==1?`${e}0`:e})(),onChange:e=>{const t=e.target.value;if(C(t),""===t)return _(!0),void d.setValue(0);_(!1);const r=Number(t),n=l?Math.round(r*y.At):r;d.setValue(n)},onFocus:()=>{T(!0),C(P())},onBlur:e=>{T(!1),o.onBlur&&o.onBlur(e)},slotProps:{input:{startAdornment:c().createElement(p.InputAdornment,{position:"start"},"$")}},inputProps:h({min:0,inputMode:"decimal"},a),onKeyDown:e=>{g.includes(e.key)&&(e.preventDefault(),e.stopPropagation())}},o))};_.propTypes={name:d().string.isRequired,label:d().string};const x=_},4768:(e,t,r)=>{r.d(t,{default:()=>v});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u),m=r(8619);const d=require("@mui/icons-material/Clear");var p=r.n(d),b=r(3294);const f=["name","label","placeholder","children","isClearable"],y=e=>{let{name:t,label:r,placeholder:l,children:a,isClearable:i}=e,u=o()(e,f);const[c,d,y]=(0,b.useField)(t),v=(null==c?void 0:c.value)&&""!==c.value||Boolean(l);return s().createElement(m.FormControl,{fullWidth:!0,error:d.touched&&Boolean(d.error)},r&&s().createElement(m.InputLabel,{htmlFor:t,id:`${t}-label`,shrink:v},r),s().createElement(m.Select,n()({name:t,id:t},c,{labelId:`${t}-label`,label:r,notched:v,displayEmpty:!0,renderValue:e=>e&&""!==e?e:s().createElement("span",{style:{color:"#aaa"}},l),endAdornment:i&&c.value?s().createElement(m.InputAdornment,{position:"end",sx:{mr:2}},s().createElement(m.IconButton,{size:"small",onClick:e=>{e.stopPropagation(),y.setValue("")}},s().createElement(p(),{fontSize:"small"}))):null},u),a),d.touched&&d.error&&s().createElement(m.FormHelperText,null,d.error))};y.propTypes={name:c().string.isRequired,children:c().node.isRequired,placeholder:c().string,isClearable:c().bool};const v=y},9314:(e,t,r)=>{r.d(t,{default:()=>f});var l=r(6031),n=r.n(l),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u),m=r(8619),d=r(3294);const p=["name","label","maxLength","required"],b=e=>{var t;let{name:r,label:l,maxLength:a,required:i=!1}=e,u=o()(e,p);const[c,b]=(0,d.useField)(r),f=(null===(t=c.value)||void 0===t?void 0:t.length)||0;let y="";return l&&(y=i?`${l} *`:l),s().createElement(m.Box,null,s().createElement(m.TextField,n()({name:r,label:y},c,{onBlur:c.onBlur,margin:"normal",error:b.touched&&Boolean(b.error),helperText:b.touched&&b.error,slotProps:{htmlInput:{maxLength:a}}},u)),a&&s().createElement(m.Typography,{sx:{fontSize:"1.2rem",color:"#00000099",pl:2}},a-f+" characters left"))};b.propTypes={name:c().string.isRequired,label:c().string,maxLength:c().number,required:c().bool};const f=b},5480:(e,t,r)=>{r.d(t,{default:()=>d});var l=r(2015),n=r.n(l),a=r(9825),o=r.n(a),i=r(4),s=r(5643);const u=require("@mui/x-date-pickers/TimePicker");var c=r(3294);const m=({name:e,label:t,minTime:r,maxTime:l,timeZone:a,disabled:o=!1})=>{const[m,d,p]=(0,c.useField)(e);return n().createElement(i.LocalizationProvider,{dateAdapter:s.AdapterMoment},n().createElement(u.TimePicker,{value:m.value,onChange:p.setValue,minTime:r,maxTime:l,timezone:a,label:a,views:["hours","minutes"],slotProps:{textField:{name:e,label:t,error:d.touched&&Boolean(d.error),helperText:d.touched&&d.error,size:"small",fullWidth:!0,disabled:o,sx:{"& .MuiPickersSectionList-root":{width:"100%"},"& .MuiFormHelperText-root":{marginLeft:"4px",marginRight:"4px"}}}}}))};m.propTypes={name:o().string.isRequired};const d=m},3209:(e,t,r)=>{r.d(t,{At:()=>o,OP:()=>n,eM:()=>s,fJ:()=>a,iC:()=>i,q9:()=>l,tv:()=>u});const l=100n,n=2,a=0,o=100,i=1e3,s={AMOUNT:"Amount",RATE:"Rate"},u=2},9558:(e,t,r)=>{r.d(t,{epochToMomentTimeZone:()=>a});var l=r(5812),n=r.n(l);r(8041);const a=(e,t)=>e?(e*=1e3,n()(e).tz(t)):e},8400:(e,t,r)=>{r.d(t,{currencyAmountFromCents:()=>a});var l=r(3209);const n={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<l.fJ)throw new Error("cents must be non-negative.");const r=t/l.q9,n=t%l.q9;return`${r.toString()}.${n.toString().padStart(l.OP,"0")}`}(e);return`${n[t]??"$"}${r}`}},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},9247:e=>{e.exports=require("@mui/icons-material/Edit")},1519:e=>{e.exports=require("@mui/icons-material/Error")},3198:e=>{e.exports=require("@mui/icons-material/Settings")},8619:e=>{e.exports=require("@mui/material")},5643:e=>{e.exports=require("@mui/x-date-pickers/AdapterMoment")},4:e=>{e.exports=require("@mui/x-date-pickers/LocalizationProvider")},3294:e=>{e.exports=require("formik")},6842:e=>{e.exports=require("i18n-react/dist/i18n-react")},5812:e=>{e.exports=require("moment-timezone")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},8041:e=>{e.exports=require("urijs")}},t={};function r(l){var n=t[l];if(void 0!==n)return n.exports;var a=t[l]={exports:{}};return e[l](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 l in t)r.o(t,l)&&!r.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}})(),(()=>{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 l={};r.r(l),r.d(l,{GlobalQuantityField:()=>_,ItemTableField:()=>x.A,UnderlyingAlertNote:()=>j,default:()=>q,getCurrentApplicableRate:()=>A,isItemAvailable:()=>$});var n=r(2015),a=r.n(n),o=r(8619),i=r(9247),s=r.n(i),u=r(3198),c=r.n(u),m=r(6842),d=r.n(m),p=r(8400),b=r(3209),f=r(1116),y=r.n(f),v=r(3294),E=r(9314);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){y()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const _=({row:e,extraColumns:t,value:r,disabled:l=!1})=>{const o=`i-${e.form_item_id}-c-global-f-quantity`,[i,s,u]=(0,v.useField)(o),c=t.filter((e=>"Quantity"===e.type)).length>0;return(0,n.useEffect)((()=>{u.setValue(r),u.setTouched(!0)}),[r]),a().createElement(E.default,{name:o,fullWidth:!0,size:"small",type:"number",disabled:l,slotProps:{htmlInput:g({readOnly:c,min:0},e.quantity_limit_per_sponsor?{max:e.quantity_limit_per_sponsor}:{})},sx:c?{"& .MuiInputBase-root":{backgroundColor:"action.disabledBackground",color:"text.disabled",pointerEvents:"none"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"action.disabled"}}:{}})};var x=r(8360),T=r(4768),O=r(3300),C=r(5654),P=r(1519),w=r.n(P);const j=({showAdditionalItems:e})=>e?a().createElement(o.Typography,{variant:"body2",component:"p",sx:{color:"error.warning",fontSize:"0.8rem"}},a().createElement(w(),{color:"error",sx:{fontSize:"1rem",top:"0.2rem",position:"relative"}})," ",d().translate("sponsor_edit_form.additional_info")):null;var k=r(9558);const A=(e,t)=>{var r,l,n;const a=(0,k.epochToMomentTimeZone)(Math.floor(new Date/b.iC),e),o=null===(r=(0,k.epochToMomentTimeZone)(t.early_bird_end_date,e))||void 0===r?void 0:r.endOf("day"),i=null===(l=(0,k.epochToMomentTimeZone)(t.onsite_price_start_date,e))||void 0===l?void 0:l.startOf("day"),s=null===(n=(0,k.epochToMomentTimeZone)(t.onsite_price_end_date,e))||void 0===n?void 0:n.endOf("day");return o&&a.isSameOrBefore(o)?"early_bird":i&&a.isSameOrBefore(i)?"standard":!s||a.isSameOrBefore(s)?"onsite":"expired"},$=(e,t)=>{var r;return null!=(null===(r=e.rates)||void 0===r?void 0:r[t])},q=({data:e,currentApplicableRate:t,timeZone:r,values:l,onNotesClick:i,onSettingsClick:u})=>{var m,f;const y=JSON.stringify(l),v=(null===(m=e[0])||void 0===m||null===(f=m.meta_fields)||void 0===f?void 0:f.filter((e=>"Form"===e.class_field)))||[],E=v.length+10,h=(0,n.useCallback)((e=>{const t=v.filter((e=>"Quantity"===e.type)),r=l[`i-${e.form_item_id}-c-global-f-quantity`],n=t.reduce(((t,r)=>(t>0?t:1)*((null==l?void 0:l[`i-${e.form_item_id}-c-${r.class_field}-f-${r.type_id}`])||0)),0);return t.length>0?n:r}),[y,v]),g=e=>{const r=l[`i-${e.form_item_id}-c-global-f-quantity`]||h(e);if("expired"===t)return 0;const n=l[`i-${e.form_item_id}-c-global-f-custom_rate`]||e.rates[t];return null==n||null==r?0:r*n},P=e=>e.meta_fields.filter((e=>"Item"===e.class_field)).length>0,w=e=>{const t=e.meta_fields.filter((e=>"Item"===e.class_field&&e.is_required)),r=t.some((t=>{const r=l[`i-${e.form_item_id}-c-Item-f-${t.type_id}`];return"CheckBoxList"===t.type?!Array.isArray(r)||0===r.length:"CheckBox"===t.type?!0!==r:null==r||""===r}));return t.length>0&&r},k=e=>null==e?d().translate("general.n_a"):(0,p.currencyAmountFromCents)(e),A=(0,n.useMemo)((()=>{const t=e.reduce(((e,t)=>e+g(t)),0),r=l.discount_type===b.eM.AMOUNT?l.discount_amount:t*(l.discount_amount/b.At/b.At);return t-Math.round(r)}),[e,y,t]);return a().createElement(o.TableContainer,{component:o.Paper},a().createElement(o.Table,null,a().createElement(o.TableHead,null,a().createElement(o.TableRow,{sx:{backgroundColor:"#EAEDF4"}},a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.code")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.description")),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.custom_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.early_bird_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.standard_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.onsite_rate")),v.map((e=>a().createElement(o.TableCell,{key:`colhead-${e.type_id}`},e.name))),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.qty")),a().createElement(o.TableCell,{sx:{minWidth:40}}),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.total")),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.notes")))),a().createElement(o.TableBody,null,e.map((e=>a().createElement(o.TableRow,{key:`datarow-${e.form_item_id}`},a().createElement(o.TableCell,null,e.code),a().createElement(o.TableCell,{sx:{position:"relative"}},a().createElement("div",null,e.name),a().createElement(j,{showAdditionalItems:P(e)&&w(e)})),a().createElement(o.TableCell,null,a().createElement(O.default,{name:`i-${e.form_item_id}-c-global-f-custom_rate`,fullWidth:!0,label:"",size:"small",inCents:!0,inputProps:{step:.01}})),a().createElement(o.TableCell,{sx:{opacity:"early_bird"===t?1:"38%"}},k(e.rates.early_bird)),a().createElement(o.TableCell,{sx:{opacity:"standard"===t?1:"38%"}},k(e.rates.standard)),a().createElement(o.TableCell,{sx:{opacity:"onsite"===t?1:"38%"}},k(e.rates.onsite)),v.map((t=>a().createElement(o.TableCell,{key:`datacell-${e.form_item_id}-${t.type_id}`,sx:{minWidth:200}},a().createElement(x.A,{field:t,rowId:e.form_item_id,timeZone:r})))),a().createElement(o.TableCell,null,a().createElement(_,{row:e,extraColumns:v,value:h(e)})),a().createElement(o.TableCell,{align:"center"},P(e)&&a().createElement(o.IconButton,{size:"small","aria-label":"settings",onClick:()=>(e=>{u(e)})(e)},a().createElement(c(),{fontSize:"large",color:"warning"}))),a().createElement(o.TableCell,null,(0,p.currencyAmountFromCents)(g(e))),a().createElement(o.TableCell,{align:"center"},a().createElement(o.IconButton,{size:"large","aria-label":"edit",onClick:()=>(e=>{i(e)})(e)},a().createElement(s(),{fontSize:"large"})))))),a().createElement(o.TableRow,null,a().createElement(o.TableCell,{sx:{fontWeight:500}},d().translate("sponsor_edit_form.discount")),new Array(E-5).fill(0).map(((e,t)=>a().createElement(o.TableCell,{key:`${t}-discountcell`}))),a().createElement(o.TableCell,null,a().createElement(T.default,{name:"discount_type",label:"",size:"small"},Object.values(b.eM).map((e=>a().createElement(o.MenuItem,{key:`ddopt-${e}`,value:e},e))))),a().createElement(o.TableCell,null),a().createElement(o.TableCell,null,a().createElement(C.default,{name:"discount_amount",discountType:l.discount_type,fullWidth:!0,label:"",size:"small",inCents:!0})),a().createElement(o.TableCell,null)),a().createElement(o.TableRow,null,a().createElement(o.TableCell,{sx:{fontWeight:500}},d().translate("sponsor_edit_form.total_on_caps")),new Array(E-3).fill(0).map(((e,t)=>a().createElement(o.TableCell,{key:`${t}-totalcell`}))),a().createElement(o.TableCell,{sx:{fontWeight:500}},(0,p.currencyAmountFromCents)(A)),a().createElement(o.TableCell,null)))))};return l})()));
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={8360:(e,t,r)=>{r.d(t,{A:()=>w});var n=r(1116),l=r.n(n),a=r(6031),o=r.n(a),i=r(2015),s=r.n(i),u=r(7994),c=r(2522),m=r(8672),d=r(6915),p=r(5480),b=r(9314),f=r(2462),y=r.n(f),v=r(9825),h=r.n(v),E=r(6842),g=r.n(E),O=r(8619),_=r(3294);const x=["name","label","placeholder","options"],T=e=>{let{name:t,label:r,placeholder:n,options:l}=e,a=y()(e,x);const[i,u]=(0,_.useField)(t),c=n||g().translate("general.select_an_option");return s().createElement(O.FormControl,{fullWidth:!0,error:u.touched&&Boolean(u.error)},r&&s().createElement(O.InputLabel,{id:`${t}-label`},r),s().createElement(O.Select,o()({name:t,label:r,labelId:`${t}-label`,displayEmpty:!0},i,a,{renderValue:e=>{if(null==e||""===e)return s().createElement("em",null,c);const t=l.find((({value:t})=>t===e));return t?t.label:""}}),l.map((e=>s().createElement(O.MenuItem,{key:`selectop-${e.value}`,value:e.value},e.label)))),u.touched&&u.error&&s().createElement(O.FormHelperText,null,u.error))};T.propTypes={name:h().string.isRequired,options:h().array.isRequired};const C=T;function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){l()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const w=({rowId:e,field:t,timeZone:r,label:n="",disabled:l=!1})=>{const a={name:`i-${e}-c-${t.class_field}-f-${t.type_id}`,label:n,disabled:l};switch(t.type){case"CheckBox":return s().createElement(u.default,o()({},a,{size:"small"}));case"CheckBoxList":return s().createElement(c.default,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"RadioButtonList":return s().createElement(m.default,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"DateTime":return s().createElement(d.default,a);case"Time":return s().createElement(p.default,o()({},a,{timeZone:r}));case"Quantity":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small",type:"number",slotProps:{htmlInput:j({min:t.minimum_quantity},t.maximum_quantity>0?{max:t.maximum_quantity}:{})}}));case"ComboBox":return s().createElement(C,o()({},a,{size:"small",options:t.values.map((e=>({value:e.id,label:e.value})))}));case"Text":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small"}));case"TextArea":return s().createElement(b.default,o()({},a,{fullWidth:!0,size:"small",multiline:!0,rows:3}))}}},7994:(e,t,r)=>{r.d(t,{default:()=>f});var n=r(6031),l=r.n(n),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u),m=r(8619),d=r(3294);const p=["name","label"],b=e=>{let{name:t,label:r}=e,n=o()(e,p);const[a,i]=(0,d.useField)({name:t,type:"checkbox"});return s().createElement(m.FormControl,{fullWidth:!0,margin:"normal",error:i.touched&&Boolean(i.error)},s().createElement(m.FormControlLabel,{control:s().createElement(m.Checkbox,l()({name:t},a,{checked:a.value},n)),label:r}),i.touched&&i.error&&s().createElement(m.FormHelperText,null,i.error))};b.propTypes={name:c().string.isRequired,label:c().string.isRequired};const f=b},6915:(e,t,r)=>{r.d(t,{default:()=>v});var n=r(6031),l=r.n(n),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u);const m=require("@mui/x-date-pickers/DatePicker");var d=r(4),p=r(5643),b=r(3294);const f=["name","label","required","disabled"],y=e=>{let{name:t,label:r,required:n,disabled:a=!1}=e,i=o()(e,f);const[u,c,y]=(0,b.useField)(t),v=`${r} *`;return s().createElement(d.LocalizationProvider,{dateAdapter:p.AdapterMoment},s().createElement(m.DatePicker,l()({value:u.value,onChange:y.setValue,slotProps:{textField:{name:t,label:n?v:r,error:c.touched&&Boolean(c.error),helperText:c.touched&&c.error,fullWidth:!0,disabled:a,size:"small"},day:{sx:{fontSize:"1.2rem",fontWeight:600}},layout:{sx:{"& .MuiDayCalendar-weekDayLabel":{fontSize:"1rem"}}}},margin:"normal"},i)))};y.propTypes={name:c().string.isRequired,label:c().string,required:c().bool,disabled:c().bool};const v=y},5654:(e,t,r)=>{r.d(t,{default:()=>_});var n=r(6031),l=r.n(n),a=r(1116),o=r.n(a),i=r(2462),s=r.n(i),u=r(2015),c=r.n(u),m=r(9825),d=r.n(m),p=r(8619),b=r(3294),f=r(9314),y=r(3209);const v=["name","label","discountType","inCents","disabled"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const g=["e","E","+","-"],O=e=>{let{name:t,label:r,discountType:n,inCents:a=!1,disabled:o=!1}=e,i=s()(e,v);const[m,d,h]=(0,b.useField)(t),[O,_]=(0,u.useState)(!1),x=null===d.initialValue?null:0,T=n===y.eM.RATE?{endAdornment:c().createElement(p.InputAdornment,{position:"end"},"%")}:{startAdornment:c().createElement(p.InputAdornment,{position:"start"},"$")},C=n===y.eM.RATE?{max:100,inputMode:"numeric",step:1}:{inputMode:"decimal",step:1};return c().createElement(f.default,l()({name:t,label:r,value:(()=>O?"":null==m.value||0===m.value?0===m.value?0:"":a?m.value/y.At:m.value)(),onChange:e=>{const t=e.target.value;if(""===t)return _(!0),void h.setValue(x);_(!1);const r=Number(t),n=a?r*y.At:r;h.setValue(n)},type:"number",disabled:o,slotProps:{input:E({},T),htmlInput:E({min:0},C)},onKeyDown:e=>{g.includes(e.key)&&(e.preventDefault(),e.stopPropagation())}},i))};O.propTypes={name:d().string.isRequired,label:d().string};const _=O},2522:(e,t,r)=>{r.d(t,{default:()=>b});var n=r(6031),l=r.n(n),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(8619),c=r(3294),m=r(6842),d=r.n(m);const p=["name","label","placeholder","options"],b=e=>{let{name:t,label:r,placeholder:n,options:a}=e,i=o()(e,p);const[m,b,f]=(0,c.useField)(t),y=n||d().translate("general.select_an_option"),v=a.every((({value:e})=>{var t;return null===(t=m.value)||void 0===t?void 0:t.includes(e)}));return s().createElement(u.FormControl,{fullWidth:!0,error:b.touched&&Boolean(b.error)},r&&s().createElement(u.InputLabel,{shrink:!0,id:`${t}-label`},r),s().createElement(u.Select,l()({variant:"outlined",name:t,label:r,labelId:`${t}-label`,multiple:!0,value:m.value||[],onChange:e=>{const{value:t}=e.target;t.includes("all")?v?f.setValue([]):f.setValue(a.map((e=>e.value))):f.setValue(t)},onBlur:m.onBlur,displayEmpty:!0},i,{renderValue:e=>{if(null==e||!e.length)return s().createElement("em",null,y);if(v)return d().translate("general.all");const t=a.filter((({value:t})=>null==e?void 0:e.includes(t))).map((({label:e})=>e));return t.join(", ")}}),s().createElement(u.MenuItem,{key:"all",value:"all"},s().createElement(u.Checkbox,{checked:v}),s().createElement(u.ListItemText,{primary:d().translate("general.all")})),s().createElement(u.Divider,{sx:{m:0}}),a.map((({label:e,value:t})=>{var r;return s().createElement(u.MenuItem,{key:`ckbx-ddl-${t}`,value:t},s().createElement(u.Checkbox,{checked:null===(r=m.value)||void 0===r?void 0:r.includes(t)}),s().createElement(u.ListItemText,{primary:e}))}))))}},8672:(e,t,r)=>{r.d(t,{default:()=>b});var n=r(6031),l=r.n(n),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(8619),c=r(3294),m=r(6842),d=r.n(m);const p=["name","label","options","placeholder"],b=e=>{let{name:t,label:r,options:n,placeholder:a}=e,i=o()(e,p);const m=a||d().translate("general.select_an_option"),[b,f,y]=(0,c.useField)(t);return s().createElement(u.FormControl,{fullWidth:!0,error:f.touched&&Boolean(f.error)},r&&s().createElement(u.InputLabel,{shrink:!0,id:`${t}-label`},r),s().createElement(u.Select,l()({variant:"outlined",name:t,label:r,labelId:`${t}-label`,value:b.value||"",onChange:e=>{y.setValue(e.target.value)},displayEmpty:!0},i,{renderValue:e=>{if(!e)return s().createElement("em",null,m);const t=n.find((({value:t})=>t===e));return t?t.label:""}}),n.map((({label:e,value:t})=>s().createElement(u.MenuItem,{key:`radio-ddl-${t}`,value:t},s().createElement(u.Radio,{checked:b.value===t}),s().createElement(u.ListItemText,{primary:e}))))))}},3300:(e,t,r)=>{r.d(t,{default:()=>_});var n=r(6031),l=r.n(n),a=r(1116),o=r.n(a),i=r(2462),s=r.n(i),u=r(2015),c=r.n(u),m=r(9825),d=r.n(m),p=r(8619),b=r(3294),f=r(9314),y=r(3209);const v=["name","label","inCents","inputProps"];function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const g=["e","E","+","-"],O=e=>{let{name:t,label:r,inCents:n=!1,inputProps:a={step:.01}}=e,o=s()(e,v);const[i,m,d]=(0,b.useField)(t),[h,O]=(0,u.useState)(!1),[_,x]=(0,u.useState)(!1),[T,C]=(0,u.useState)(""),P=()=>{if(h||null==i.value)return"";if(0===i.value)return"0";const e=n?i.value/y.At:i.value;return String(Number(e.toFixed(y.tv)))};return c().createElement(f.default,l()({name:t,label:r,type:"number",value:(()=>{if(_)return T;if(h)return"";if(null==i.value||0===i.value)return 0===i.value?0:"";const e=P(),t=e.indexOf(".");return-1===t?`${e}.00`:e.length-t-1==1?`${e}0`:e})(),onChange:e=>{const t=e.target.value;if(C(t),""===t)return O(!0),void d.setValue(0);O(!1);const r=Number(t),l=n?Math.round(r*y.At):r;d.setValue(l)},onFocus:()=>{x(!0),C(P())},onBlur:e=>{x(!1),o.onBlur&&o.onBlur(e)},slotProps:{input:{startAdornment:c().createElement(p.InputAdornment,{position:"start"},"$")},htmlInput:E({min:0,inputMode:"decimal"},a)},onKeyDown:e=>{g.includes(e.key)&&(e.preventDefault(),e.stopPropagation())}},o))};O.propTypes={name:d().string.isRequired,label:d().string};const _=O},4768:(e,t,r)=>{r.d(t,{default:()=>v});var n=r(6031),l=r.n(n),a=r(2462),o=r.n(a),i=r(2015),s=r.n(i),u=r(9825),c=r.n(u),m=r(8619);const d=require("@mui/icons-material/Clear");var p=r.n(d),b=r(3294);const f=["name","label","placeholder","children","isClearable"],y=e=>{let{name:t,label:r,placeholder:n,children:a,isClearable:i}=e,u=o()(e,f);const[c,d,y]=(0,b.useField)(t),v=(null==c?void 0:c.value)&&""!==c.value||Boolean(n);return s().createElement(m.FormControl,{fullWidth:!0,error:d.touched&&Boolean(d.error)},r&&s().createElement(m.InputLabel,{htmlFor:t,id:`${t}-label`,shrink:v},r),s().createElement(m.Select,l()({name:t,id:t},c,{labelId:`${t}-label`,label:r,notched:v,displayEmpty:!0,renderValue:e=>e&&""!==e?e:s().createElement("span",{style:{color:"#aaa"}},n),endAdornment:i&&c.value?s().createElement(m.InputAdornment,{position:"end",sx:{mr:2}},s().createElement(m.IconButton,{size:"small",onClick:e=>{e.stopPropagation(),y.setValue("")}},s().createElement(p(),{fontSize:"small"}))):null},u),a),d.touched&&d.error&&s().createElement(m.FormHelperText,null,d.error))};y.propTypes={name:c().string.isRequired,children:c().node.isRequired,placeholder:c().string,isClearable:c().bool};const v=y},9314:(e,t,r)=>{r.d(t,{default:()=>E});var n=r(6031),l=r.n(n),a=r(1116),o=r.n(a),i=r(2462),s=r.n(i),u=r(2015),c=r.n(u),m=r(9825),d=r.n(m),p=r(8619),b=r(3294);const f=["name","label","maxLength","required","slotProps"];function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){o()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const h=e=>{var t;let{name:r,label:n,maxLength:a,required:o=!1,slotProps:i}=e,u=s()(e,f);const[m,d]=(0,b.useField)(r),y=(null===(t=m.value)||void 0===t?void 0:t.length)||0;let h="";return n&&(h=o?`${n} *`:n),c().createElement(p.Box,null,c().createElement(p.TextField,l()({name:r,label:h},m,{onBlur:m.onBlur,margin:"normal",error:d.touched&&Boolean(d.error),helperText:d.touched&&d.error,slotProps:v(v({},i),{},{htmlInput:v({maxLength:a},null==i?void 0:i.htmlInput)})},u)),a&&c().createElement(p.Typography,{sx:{fontSize:"1.2rem",color:"#00000099",pl:2}},a-y+" characters left"))};h.propTypes={name:d().string.isRequired,label:d().string,maxLength:d().number,required:d().bool};const E=h},5480:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),l=r.n(n),a=r(9825),o=r.n(a),i=r(4),s=r(5643);const u=require("@mui/x-date-pickers/TimePicker");var c=r(3294);const m=({name:e,label:t,minTime:r,maxTime:n,timeZone:a,disabled:o=!1})=>{const[m,d,p]=(0,c.useField)(e);return l().createElement(i.LocalizationProvider,{dateAdapter:s.AdapterMoment},l().createElement(u.TimePicker,{value:m.value,onChange:p.setValue,minTime:r,maxTime:n,timezone:a,label:a,views:["hours","minutes"],slotProps:{textField:{name:e,label:t,error:d.touched&&Boolean(d.error),helperText:d.touched&&d.error,size:"small",fullWidth:!0,disabled:o,sx:{"& .MuiPickersSectionList-root":{width:"100%"},"& .MuiFormHelperText-root":{marginLeft:"4px",marginRight:"4px"}}}}}))};m.propTypes={name:o().string.isRequired};const d=m},3209:(e,t,r)=>{r.d(t,{At:()=>o,OP:()=>l,eM:()=>s,fJ:()=>a,iC:()=>i,q9:()=>n,tv:()=>u});const n=100n,l=2,a=0,o=100,i=1e3,s={AMOUNT:"Amount",RATE:"Rate"},u=2},9558:(e,t,r)=>{r.d(t,{epochToMomentTimeZone:()=>a});var n=r(5812),l=r.n(n);r(8041);const a=(e,t)=>e?(e*=1e3,l()(e).tz(t)):e},8400:(e,t,r)=>{r.d(t,{currencyAmountFromCents:()=>a});var n=r(3209);const l={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,l=t%n.q9;return`${r.toString()}.${l.toString().padStart(n.OP,"0")}`}(e);return`${l[t]??"$"}${r}`}},1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},9247:e=>{e.exports=require("@mui/icons-material/Edit")},1519:e=>{e.exports=require("@mui/icons-material/Error")},3198:e=>{e.exports=require("@mui/icons-material/Settings")},8619:e=>{e.exports=require("@mui/material")},5643:e=>{e.exports=require("@mui/x-date-pickers/AdapterMoment")},4:e=>{e.exports=require("@mui/x-date-pickers/LocalizationProvider")},3294:e=>{e.exports=require("formik")},6842:e=>{e.exports=require("i18n-react/dist/i18n-react")},5812:e=>{e.exports=require("moment-timezone")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")},8041:e=>{e.exports=require("urijs")}},t={};function r(n){var l=t[n];if(void 0!==l)return l.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,{GlobalQuantityField:()=>O,ItemTableField:()=>_.A,UnderlyingAlertNote:()=>w,default:()=>q,getCurrentApplicableRate:()=>A,isItemAvailable:()=>$});var l=r(2015),a=r.n(l),o=r(8619),i=r(9247),s=r.n(i),u=r(3198),c=r.n(u),m=r(6842),d=r.n(m),p=r(8400),b=r(3209),f=r(1116),y=r.n(f),v=r(3294),h=r(9314);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){y()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const O=({row:e,extraColumns:t,value:r,disabled:n=!1})=>{const o=`i-${e.form_item_id}-c-global-f-quantity`,[i,s,u]=(0,v.useField)(o),c=t.filter((e=>"Quantity"===e.type)).length>0;return(0,l.useEffect)((()=>{u.setValue(r),u.setTouched(!0)}),[r]),a().createElement(h.default,{name:o,fullWidth:!0,size:"small",type:"number",disabled:n,slotProps:{htmlInput:g({readOnly:c,min:0},e.quantity_limit_per_sponsor?{max:e.quantity_limit_per_sponsor}:{})},sx:c?{"& .MuiInputBase-root":{backgroundColor:"action.disabledBackground",color:"text.disabled",pointerEvents:"none"},"& .MuiOutlinedInput-notchedOutline":{borderColor:"action.disabled"}}:{}})};var _=r(8360),x=r(4768),T=r(3300),C=r(5654),P=r(1519),j=r.n(P);const w=({showAdditionalItems:e})=>e?a().createElement(o.Typography,{variant:"body2",component:"p",sx:{color:"error.warning",fontSize:"0.8rem"}},a().createElement(j(),{color:"error",sx:{fontSize:"1rem",top:"0.2rem",position:"relative"}})," ",d().translate("sponsor_edit_form.additional_info")):null;var k=r(9558);const A=(e,t)=>{var r,n,l;const a=(0,k.epochToMomentTimeZone)(Math.floor(new Date/b.iC),e),o=null===(r=(0,k.epochToMomentTimeZone)(t.early_bird_end_date,e))||void 0===r?void 0:r.endOf("day"),i=null===(n=(0,k.epochToMomentTimeZone)(t.onsite_price_start_date,e))||void 0===n?void 0:n.startOf("day"),s=null===(l=(0,k.epochToMomentTimeZone)(t.onsite_price_end_date,e))||void 0===l?void 0:l.endOf("day");return o&&a.isSameOrBefore(o)?"early_bird":i&&a.isSameOrBefore(i)?"standard":!s||a.isSameOrBefore(s)?"onsite":"expired"},$=(e,t)=>{var r;return null!=(null===(r=e.rates)||void 0===r?void 0:r[t])},q=({data:e,currentApplicableRate:t,timeZone:r,values:n,onNotesClick:i,onSettingsClick:u})=>{var m,f;const y=JSON.stringify(n),v=(null===(m=e[0])||void 0===m||null===(f=m.meta_fields)||void 0===f?void 0:f.filter((e=>"Form"===e.class_field)))||[],h=v.length+10,E=(0,l.useCallback)((e=>{const t=v.filter((e=>"Quantity"===e.type)),r=n[`i-${e.form_item_id}-c-global-f-quantity`],l=t.reduce(((t,r)=>(t>0?t:1)*((null==n?void 0:n[`i-${e.form_item_id}-c-${r.class_field}-f-${r.type_id}`])||0)),0);return t.length>0?l:r}),[y,v]),g=e=>{const r=n[`i-${e.form_item_id}-c-global-f-quantity`]||E(e);if("expired"===t)return 0;const l=n[`i-${e.form_item_id}-c-global-f-custom_rate`]||e.rates[t];return null==l||null==r?0:r*l},P=e=>e.meta_fields.filter((e=>"Item"===e.class_field)).length>0,j=e=>{const t=e.meta_fields.filter((e=>"Item"===e.class_field&&e.is_required)),r=t.some((t=>{const r=n[`i-${e.form_item_id}-c-Item-f-${t.type_id}`];return"CheckBoxList"===t.type?!Array.isArray(r)||0===r.length:"CheckBox"===t.type?!0!==r:null==r||""===r}));return t.length>0&&r},k=e=>null==e?d().translate("general.n_a"):(0,p.currencyAmountFromCents)(e),A=(0,l.useMemo)((()=>{const t=e.reduce(((e,t)=>e+g(t)),0),r=n.discount_type===b.eM.AMOUNT?n.discount_amount:t*(n.discount_amount/b.At/b.At);return t-Math.round(r)}),[e,y,t]);return a().createElement(o.TableContainer,{component:o.Paper},a().createElement(o.Table,null,a().createElement(o.TableHead,null,a().createElement(o.TableRow,{sx:{backgroundColor:"#EAEDF4"}},a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.code")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.description")),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.custom_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.early_bird_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.standard_rate")),a().createElement(o.TableCell,null,d().translate("sponsor_edit_form.onsite_rate")),v.map((e=>a().createElement(o.TableCell,{key:`colhead-${e.type_id}`},e.name))),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.qty")),a().createElement(o.TableCell,{sx:{minWidth:40}}),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.total")),a().createElement(o.TableCell,{sx:{minWidth:120}},d().translate("sponsor_edit_form.notes")))),a().createElement(o.TableBody,null,e.map((e=>a().createElement(o.TableRow,{key:`datarow-${e.form_item_id}`},a().createElement(o.TableCell,null,e.code),a().createElement(o.TableCell,{sx:{position:"relative"}},a().createElement("div",null,e.name),a().createElement(w,{showAdditionalItems:P(e)&&j(e)})),a().createElement(o.TableCell,null,a().createElement(T.default,{name:`i-${e.form_item_id}-c-global-f-custom_rate`,fullWidth:!0,label:"",size:"small",inCents:!0,inputProps:{step:.01}})),a().createElement(o.TableCell,{sx:{opacity:"early_bird"===t?1:"38%"}},k(e.rates.early_bird)),a().createElement(o.TableCell,{sx:{opacity:"standard"===t?1:"38%"}},k(e.rates.standard)),a().createElement(o.TableCell,{sx:{opacity:"onsite"===t?1:"38%"}},k(e.rates.onsite)),v.map((t=>a().createElement(o.TableCell,{key:`datacell-${e.form_item_id}-${t.type_id}`,sx:{minWidth:200}},a().createElement(_.A,{field:t,rowId:e.form_item_id,timeZone:r})))),a().createElement(o.TableCell,null,a().createElement(O,{row:e,extraColumns:v,value:E(e)})),a().createElement(o.TableCell,{align:"center"},P(e)&&a().createElement(o.IconButton,{size:"small","aria-label":"settings",onClick:()=>(e=>{u(e)})(e)},a().createElement(c(),{fontSize:"large",color:"warning"}))),a().createElement(o.TableCell,null,(0,p.currencyAmountFromCents)(g(e))),a().createElement(o.TableCell,{align:"center"},a().createElement(o.IconButton,{size:"large","aria-label":"edit",onClick:()=>(e=>{i(e)})(e)},a().createElement(s(),{fontSize:"large"})))))),a().createElement(o.TableRow,null,a().createElement(o.TableCell,{sx:{fontWeight:500}},d().translate("sponsor_edit_form.discount")),new Array(h-5).fill(0).map(((e,t)=>a().createElement(o.TableCell,{key:`${t}-discountcell`}))),a().createElement(o.TableCell,null,a().createElement(x.default,{name:"discount_type",label:"",size:"small"},Object.values(b.eM).map((e=>a().createElement(o.MenuItem,{key:`ddopt-${e}`,value:e},e))))),a().createElement(o.TableCell,null),a().createElement(o.TableCell,null,a().createElement(C.default,{name:"discount_amount",discountType:n.discount_type,fullWidth:!0,label:"",size:"small",inCents:!0})),a().createElement(o.TableCell,null)),a().createElement(o.TableRow,null,a().createElement(o.TableCell,{sx:{fontWeight:500}},d().translate("sponsor_edit_form.total_on_caps")),new Array(h-3).fill(0).map(((e,t)=>a().createElement(o.TableCell,{key:`${t}-totalcell`}))),a().createElement(o.TableCell,{sx:{fontWeight:500}},(0,p.currencyAmountFromCents)(A)),a().createElement(o.TableCell,null)))))};return n})()));
2
2
  //# sourceMappingURL=form-item-table.js.map