openstack-uicore-foundation 5.0.23 → 5.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ajaxloader.js +2 -0
- package/lib/components/ajaxloader.js.map +1 -0
- package/lib/components/attendance-tracker.js +2 -0
- package/lib/components/attendance-tracker.js.map +1 -0
- package/lib/components/bulk-actions-selector.js +2 -0
- package/lib/components/bulk-actions-selector.js.map +1 -0
- package/lib/components/circle-button.js +2 -0
- package/lib/components/circle-button.js.map +1 -0
- package/lib/components/clock.js +2 -0
- package/lib/components/clock.js.map +1 -0
- package/lib/components/exclusive-wrapper.js +2 -0
- package/lib/components/exclusive-wrapper.js.map +1 -0
- package/lib/components/extra-questions-mui.js +2 -0
- package/lib/components/extra-questions-mui.js.map +1 -0
- package/lib/components/extra-questions.js +2 -0
- package/lib/components/extra-questions.js.map +1 -0
- package/lib/components/form-validation.js +2 -0
- package/lib/components/form-validation.js.map +1 -0
- package/lib/components/forms/rsvp-form.js +2 -0
- package/lib/components/forms/rsvp-form.js.map +1 -0
- package/lib/components/forms/simple-form.js +2 -0
- package/lib/components/forms/simple-form.js.map +1 -0
- package/lib/components/free-text-search.js +2 -0
- package/lib/components/free-text-search.js.map +1 -0
- package/lib/components/google-map.js +2 -0
- package/lib/components/google-map.js.map +1 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/inputs/access-levels-input.js +2 -0
- package/lib/components/inputs/access-levels-input.js.map +1 -0
- package/lib/components/inputs/action-dropdown.js +2 -0
- package/lib/components/inputs/action-dropdown.js.map +1 -0
- package/lib/components/inputs/attendee-input.js +2 -0
- package/lib/components/inputs/attendee-input.js.map +1 -0
- package/lib/components/inputs/checkbox-list.js +2 -0
- package/lib/components/inputs/checkbox-list.js.map +1 -0
- package/lib/components/inputs/company-input-v2.js +2 -0
- package/lib/components/inputs/company-input-v2.js.map +1 -0
- package/lib/components/inputs/company-input.js +2 -0
- package/lib/components/inputs/company-input.js.map +1 -0
- package/lib/components/inputs/country-dropdown.js +2 -0
- package/lib/components/inputs/country-dropdown.js.map +1 -0
- package/lib/components/inputs/country-input.js +2 -0
- package/lib/components/inputs/country-input.js.map +1 -0
- package/lib/components/inputs/datetimepicker.js +2 -0
- package/lib/components/inputs/datetimepicker.js.map +1 -0
- package/lib/components/inputs/dropdown.js +2 -0
- package/lib/components/inputs/dropdown.js.map +1 -0
- package/lib/components/inputs/editor-input-v2.js +2 -0
- package/lib/components/inputs/editor-input-v2.js.map +1 -0
- package/lib/components/inputs/editor-input-v3.js +2 -0
- package/lib/components/inputs/editor-input-v3.js.map +1 -0
- package/lib/components/inputs/editor-input.js +2 -0
- package/lib/components/inputs/editor-input.js.map +1 -0
- package/lib/components/inputs/event-input.js +2 -0
- package/lib/components/inputs/event-input.js.map +1 -0
- package/lib/components/inputs/free-multi-text-input.js +2 -0
- package/lib/components/inputs/free-multi-text-input.js.map +1 -0
- package/lib/components/inputs/group-input.js +2 -0
- package/lib/components/inputs/group-input.js.map +1 -0
- package/lib/components/inputs/grouped-dropdown.js +2 -0
- package/lib/components/inputs/grouped-dropdown.js.map +1 -0
- package/lib/components/inputs/language-input.js +2 -0
- package/lib/components/inputs/language-input.js.map +1 -0
- package/lib/components/inputs/member-input.js +2 -0
- package/lib/components/inputs/member-input.js.map +1 -0
- package/lib/components/inputs/operator-input.js +2 -0
- package/lib/components/inputs/operator-input.js.map +1 -0
- package/lib/components/inputs/organization-input.js +2 -0
- package/lib/components/inputs/organization-input.js.map +1 -0
- package/lib/components/inputs/promocode-input.js +2 -0
- package/lib/components/inputs/promocode-input.js.map +1 -0
- package/lib/components/inputs/radio-list.js +2 -0
- package/lib/components/inputs/radio-list.js.map +1 -0
- package/lib/components/inputs/registration-company-input.js +2 -0
- package/lib/components/inputs/registration-company-input.js.map +1 -0
- package/lib/components/inputs/speaker-input.js +2 -0
- package/lib/components/inputs/speaker-input.js.map +1 -0
- package/lib/components/inputs/sponsor-input.js +2 -0
- package/lib/components/inputs/sponsor-input.js.map +1 -0
- package/lib/components/inputs/stepped-select.js +2 -0
- package/lib/components/inputs/stepped-select.js.map +1 -0
- package/lib/components/inputs/summit-days-select.js +2 -0
- package/lib/components/inputs/summit-days-select.js.map +1 -0
- package/lib/components/inputs/summit-input.js +2 -0
- package/lib/components/inputs/summit-input.js.map +1 -0
- package/lib/components/inputs/summit-venues-select.js +2 -0
- package/lib/components/inputs/summit-venues-select.js.map +1 -0
- package/lib/components/inputs/tag-input.js +2 -0
- package/lib/components/inputs/tag-input.js.map +1 -0
- package/lib/components/inputs/text-input.js +2 -0
- package/lib/components/inputs/text-input.js.map +1 -0
- package/lib/components/inputs/textarea-input.js +2 -0
- package/lib/components/inputs/textarea-input.js.map +1 -0
- package/lib/components/inputs/ticket-types-input.js +2 -0
- package/lib/components/inputs/ticket-types-input.js.map +1 -0
- package/lib/components/inputs/upload-input-v2.js +2 -0
- package/lib/components/inputs/upload-input-v2.js.map +1 -0
- package/lib/components/inputs/upload-input-v3.js +2 -0
- package/lib/components/inputs/upload-input-v3.js.map +1 -0
- package/lib/components/inputs/upload-input.js +2 -0
- package/lib/components/inputs/upload-input.js.map +1 -0
- package/lib/components/mui/alert-button.js +2 -0
- package/lib/components/mui/alert-button.js.map +1 -0
- package/lib/components/mui/alert-modal.js +2 -0
- package/lib/components/mui/alert-modal.js.map +1 -0
- package/lib/components/mui/auth-button.js +2 -0
- package/lib/components/mui/auth-button.js.map +1 -0
- package/lib/components/mui/cards/inline-card.js +2 -0
- package/lib/components/mui/cards/inline-card.js.map +1 -0
- package/lib/components/mui/cards/list-card.js +2 -0
- package/lib/components/mui/cards/list-card.js.map +1 -0
- package/lib/components/mui/cards/table-card.js +2 -0
- package/lib/components/mui/cards/table-card.js.map +1 -0
- package/lib/components/mui/cards.js +2 -0
- package/lib/components/mui/cards.js.map +1 -0
- package/lib/components/mui/cart-button.js +2 -0
- package/lib/components/mui/cart-button.js.map +1 -0
- package/lib/components/mui/checkbox-list.js +2 -0
- package/lib/components/mui/checkbox-list.js.map +1 -0
- package/lib/components/mui/chip-list.js +2 -0
- package/lib/components/mui/chip-list.js.map +1 -0
- package/lib/components/mui/chip-notify.js +2 -0
- package/lib/components/mui/chip-notify.js.map +1 -0
- package/lib/components/mui/chip-select-input.js +2 -0
- package/lib/components/mui/chip-select-input.js.map +1 -0
- package/lib/components/mui/confirm-delete-dialog.js +2 -0
- package/lib/components/mui/confirm-delete-dialog.js.map +1 -0
- package/lib/components/mui/confirm-dialog.js +2 -0
- package/lib/components/mui/confirm-dialog.js.map +1 -0
- package/lib/components/mui/custom-alert.js +2 -0
- package/lib/components/mui/custom-alert.js.map +1 -0
- package/lib/components/mui/dnd-list.js +2 -0
- package/lib/components/mui/dnd-list.js.map +1 -0
- package/lib/components/mui/download-btn.js +2 -0
- package/lib/components/mui/download-btn.js.map +1 -0
- package/lib/components/mui/dropdown-checkbox.js +2 -0
- package/lib/components/mui/dropdown-checkbox.js.map +1 -0
- package/lib/components/mui/editable-table.js +2 -0
- package/lib/components/mui/editable-table.js.map +1 -0
- package/lib/components/mui/form-item-table.js +2 -0
- package/lib/components/mui/form-item-table.js.map +1 -0
- package/lib/components/mui/formik-inputs/additional-input-list.js +2 -0
- package/lib/components/mui/formik-inputs/additional-input-list.js.map +1 -0
- package/lib/components/mui/formik-inputs/additional-input.js +2 -0
- package/lib/components/mui/formik-inputs/additional-input.js.map +1 -0
- package/lib/components/mui/formik-inputs/async-select.js +2 -0
- package/lib/components/mui/formik-inputs/async-select.js.map +1 -0
- package/lib/components/mui/formik-inputs/checkbox-group.js +2 -0
- package/lib/components/mui/formik-inputs/checkbox-group.js.map +1 -0
- package/lib/components/mui/formik-inputs/checkbox.js +2 -0
- package/lib/components/mui/formik-inputs/checkbox.js.map +1 -0
- package/lib/components/mui/formik-inputs/company-input.js +2 -0
- package/lib/components/mui/formik-inputs/company-input.js.map +1 -0
- package/lib/components/mui/formik-inputs/datepicker.js +2 -0
- package/lib/components/mui/formik-inputs/datepicker.js.map +1 -0
- package/lib/components/mui/formik-inputs/discount-field.js +2 -0
- package/lib/components/mui/formik-inputs/discount-field.js.map +1 -0
- package/lib/components/mui/formik-inputs/dropdown-checkbox.js +2 -0
- package/lib/components/mui/formik-inputs/dropdown-checkbox.js.map +1 -0
- package/lib/components/mui/formik-inputs/dropdown-radio.js +2 -0
- package/lib/components/mui/formik-inputs/dropdown-radio.js.map +1 -0
- package/lib/components/mui/formik-inputs/file-size-field.js +2 -0
- package/lib/components/mui/formik-inputs/file-size-field.js.map +1 -0
- package/lib/components/mui/formik-inputs/item-price-tiers.js +2 -0
- package/lib/components/mui/formik-inputs/item-price-tiers.js.map +1 -0
- package/lib/components/mui/formik-inputs/price-field.js +2 -0
- package/lib/components/mui/formik-inputs/price-field.js.map +1 -0
- package/lib/components/mui/formik-inputs/quantity-field.js +2 -0
- package/lib/components/mui/formik-inputs/quantity-field.js.map +1 -0
- package/lib/components/mui/formik-inputs/radio-group.js +2 -0
- package/lib/components/mui/formik-inputs/radio-group.js.map +1 -0
- package/lib/components/mui/formik-inputs/select-group.js +2 -0
- package/lib/components/mui/formik-inputs/select-group.js.map +1 -0
- package/lib/components/mui/formik-inputs/select.js +2 -0
- package/lib/components/mui/formik-inputs/select.js.map +1 -0
- package/lib/components/mui/formik-inputs/sponsor-input.js +2 -0
- package/lib/components/mui/formik-inputs/sponsor-input.js.map +1 -0
- package/lib/components/mui/formik-inputs/sponsorship-input.js +2 -0
- package/lib/components/mui/formik-inputs/sponsorship-input.js.map +1 -0
- package/lib/components/mui/formik-inputs/sponsorship-summit-select.js +2 -0
- package/lib/components/mui/formik-inputs/sponsorship-summit-select.js.map +1 -0
- package/lib/components/mui/formik-inputs/summit-addon-select.js +2 -0
- package/lib/components/mui/formik-inputs/summit-addon-select.js.map +1 -0
- package/lib/components/mui/formik-inputs/switch.js +2 -0
- package/lib/components/mui/formik-inputs/switch.js.map +1 -0
- package/lib/components/mui/formik-inputs/textfield.js +2 -0
- package/lib/components/mui/formik-inputs/textfield.js.map +1 -0
- package/lib/components/mui/formik-inputs/timepicker.js +2 -0
- package/lib/components/mui/formik-inputs/timepicker.js.map +1 -0
- package/lib/components/mui/formik-inputs/upload.js +2 -0
- package/lib/components/mui/formik-inputs/upload.js.map +1 -0
- package/lib/components/mui/infinite-table.js +2 -0
- package/lib/components/mui/infinite-table.js.map +1 -0
- package/lib/components/mui/info-note.js +2 -0
- package/lib/components/mui/info-note.js.map +1 -0
- package/lib/components/mui/item-settings-modal.js +2 -0
- package/lib/components/mui/item-settings-modal.js.map +1 -0
- package/lib/components/mui/loading-overlay.js +2 -0
- package/lib/components/mui/loading-overlay.js.map +1 -0
- package/lib/components/mui/menu-button.js +2 -0
- package/lib/components/mui/menu-button.js.map +1 -0
- package/lib/components/mui/nav-bar.js +2 -0
- package/lib/components/mui/nav-bar.js.map +1 -0
- package/lib/components/mui/notes-modal.js +2 -0
- package/lib/components/mui/notes-modal.js.map +1 -0
- package/lib/components/mui/order-summary.js +2 -0
- package/lib/components/mui/order-summary.js.map +1 -0
- package/lib/components/mui/search-input.js +2 -0
- package/lib/components/mui/search-input.js.map +1 -0
- package/lib/components/mui/show-confirm-dialog.js +2 -0
- package/lib/components/mui/show-confirm-dialog.js.map +1 -0
- package/lib/components/mui/snackbar-notification.js +2 -0
- package/lib/components/mui/snackbar-notification.js.map +1 -0
- package/lib/components/mui/sortable-table.js +2 -0
- package/lib/components/mui/sortable-table.js.map +1 -0
- package/lib/components/mui/sponsor-addon-select.js +2 -0
- package/lib/components/mui/sponsor-addon-select.js.map +1 -0
- package/lib/components/mui/sponsor-order-grid.js +2 -0
- package/lib/components/mui/sponsor-order-grid.js.map +1 -0
- package/lib/components/mui/status-chip.js +2 -0
- package/lib/components/mui/status-chip.js.map +1 -0
- package/lib/components/mui/stripe-payment.js +2 -0
- package/lib/components/mui/stripe-payment.js.map +1 -0
- package/lib/components/mui/summit-addon-select.js +2 -0
- package/lib/components/mui/summit-addon-select.js.map +1 -0
- package/lib/components/mui/summits-dropdown.js +2 -0
- package/lib/components/mui/summits-dropdown.js.map +1 -0
- package/lib/components/mui/table/extra-rows.js +2 -0
- package/lib/components/mui/table/extra-rows.js.map +1 -0
- package/lib/components/mui/table.js +2 -0
- package/lib/components/mui/table.js.map +1 -0
- package/lib/components/mui/upload-btn.js +2 -0
- package/lib/components/mui/upload-btn.js.map +1 -0
- package/lib/components/mui/upload-dialog.js +2 -0
- package/lib/components/mui/upload-dialog.js.map +1 -0
- package/lib/components/progressive-img.js +2 -0
- package/lib/components/progressive-img.js.map +1 -0
- package/lib/components/raw-html.js +2 -0
- package/lib/components/raw-html.js.map +1 -0
- package/lib/components/schedule-builder-constants.js +2 -0
- package/lib/components/schedule-builder-constants.js.map +1 -0
- package/lib/components/schedule-builder-view.js +2 -0
- package/lib/components/schedule-builder-view.js.map +1 -0
- package/lib/components/sections/panel.js +2 -0
- package/lib/components/sections/panel.js.map +1 -0
- package/lib/components/simple-link-list.js +2 -0
- package/lib/components/simple-link-list.js.map +1 -0
- package/lib/components/sponsored-project-input.js +2 -0
- package/lib/components/sponsored-project-input.js.map +1 -0
- package/lib/components/summit-dropdown.js +2 -0
- package/lib/components/summit-dropdown.js.map +1 -0
- package/lib/components/table-editable.js +2 -0
- package/lib/components/table-editable.js.map +1 -0
- package/lib/components/table-selectable.js +2 -0
- package/lib/components/table-selectable.js.map +1 -0
- package/lib/components/table-sortable.js +2 -0
- package/lib/components/table-sortable.js.map +1 -0
- package/lib/components/table.js +2 -0
- package/lib/components/table.js.map +1 -0
- package/lib/components/video-stream.js +2 -0
- package/lib/components/video-stream.js.map +1 -0
- package/lib/css/components/bulk-actions-selector.css +2 -0
- package/lib/css/components/bulk-actions-selector.css.map +1 -0
- package/lib/css/components/circle-button.css +1 -0
- package/lib/css/components/extra-questions.css +2 -0
- package/lib/css/components/extra-questions.css.map +1 -0
- package/lib/css/components/form-validation.css +2 -0
- package/lib/css/components/form-validation.css.map +1 -0
- package/lib/css/components/free-text-search.css +2 -0
- package/lib/css/components/free-text-search.css.map +1 -0
- package/lib/css/components/index.css +6 -0
- package/lib/css/components/index.css.map +1 -0
- package/lib/css/components/inputs/action-dropdown.css +2 -0
- package/lib/css/components/inputs/action-dropdown.css.map +1 -0
- package/lib/css/components/inputs/datetimepicker.css +4 -0
- package/lib/css/components/inputs/datetimepicker.css.map +1 -0
- package/lib/css/components/inputs/editor-input.css +2 -0
- package/lib/css/components/inputs/editor-input.css.map +1 -0
- package/lib/css/components/inputs/grouped-dropdown.css +2 -0
- package/lib/css/components/inputs/grouped-dropdown.css.map +1 -0
- package/lib/css/components/inputs/stepped-select.css +2 -0
- package/lib/css/components/inputs/stepped-select.css.map +1 -0
- package/lib/css/components/inputs/upload-input-v2.css +2 -0
- package/lib/css/components/inputs/upload-input-v2.css.map +1 -0
- package/lib/css/components/inputs/upload-input-v3.css +2 -0
- package/lib/css/components/inputs/upload-input-v3.css.map +1 -0
- package/lib/css/components/inputs/upload-input.css +2 -0
- package/lib/css/components/inputs/upload-input.css.map +1 -0
- package/lib/css/components/mui/auth-button.css +1 -0
- package/lib/css/components/mui/editable-table.css +2 -0
- package/lib/css/components/mui/editable-table.css.map +1 -0
- package/lib/css/components/mui/formik-inputs/upload.css +2 -0
- package/lib/css/components/mui/formik-inputs/upload.css.map +1 -0
- package/lib/css/components/mui/infinite-table.css +2 -0
- package/lib/css/components/mui/infinite-table.css.map +1 -0
- package/lib/css/components/mui/nav-bar.css +1 -0
- package/lib/css/components/mui/sortable-table.css +2 -0
- package/lib/css/components/mui/sortable-table.css.map +1 -0
- package/lib/css/components/mui/table.css +2 -0
- package/lib/css/components/mui/table.css.map +1 -0
- package/lib/css/components/mui/upload-dialog.css +2 -0
- package/lib/css/components/mui/upload-dialog.css.map +1 -0
- package/lib/css/components/progressive-img.css +1 -0
- package/lib/css/components/schedule-builder-view.css +2 -0
- package/lib/css/components/schedule-builder-view.css.map +1 -0
- package/lib/css/components/simple-link-list.css +2 -0
- package/lib/css/components/simple-link-list.css.map +1 -0
- package/lib/css/components/summit-dropdown.css +2 -0
- package/lib/css/components/summit-dropdown.css.map +1 -0
- package/lib/css/components/table-editable.css +2 -0
- package/lib/css/components/table-editable.css.map +1 -0
- package/lib/css/components/table-selectable.css +2 -0
- package/lib/css/components/table-selectable.css.map +1 -0
- package/lib/css/components/table-sortable.css +2 -0
- package/lib/css/components/table-sortable.css.map +1 -0
- package/lib/css/components/table.css +2 -0
- package/lib/css/components/table.css.map +1 -0
- package/lib/i18n.js +2 -0
- package/lib/i18n.js.map +1 -0
- package/lib/models/index.js +2 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/summit-event.js +2 -0
- package/lib/models/summit-event.js.map +1 -0
- package/lib/security/abstract-auth-callback-route-v2.js +2 -0
- package/lib/security/abstract-auth-callback-route-v2.js.map +1 -0
- package/lib/security/abstract-auth-callback-route.js +2 -0
- package/lib/security/abstract-auth-callback-route.js.map +1 -0
- package/lib/security/actions.js +2 -0
- package/lib/security/actions.js.map +1 -0
- package/lib/security/constants.js +2 -0
- package/lib/security/constants.js.map +1 -0
- package/lib/security/methods.js +2 -0
- package/lib/security/methods.js.map +1 -0
- package/lib/security/reducers.js +2 -0
- package/lib/security/reducers.js.map +1 -0
- package/lib/security/session-checker.js +2 -0
- package/lib/security/session-checker.js.map +1 -0
- package/lib/utils/actions.js +2 -0
- package/lib/utils/actions.js.map +1 -0
- package/lib/utils/fragment-parser.js +2 -0
- package/lib/utils/fragment-parser.js.map +1 -0
- package/lib/utils/methods.js +2 -0
- package/lib/utils/methods.js.map +1 -0
- package/lib/utils/money.js +2 -0
- package/lib/utils/money.js.map +1 -0
- package/lib/utils/query-actions.js +2 -0
- package/lib/utils/query-actions.js.map +1 -0
- package/lib/utils/questions-set.js +2 -0
- package/lib/utils/questions-set.js.map +1 -0
- package/lib/utils/reducers.js +2 -0
- package/lib/utils/reducers.js.map +1 -0
- package/lib/utils/use-event-callback.js +2 -0
- package/lib/utils/use-event-callback.js.map +1 -0
- package/lib/ut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cAAC2C,IAAY,CAACpC,GAAI,CAACjB,SAAU,OAE/BU,IAAAA,cAAC4C,IAAY,CACXnC,QAASoC,IAAAA,UAAY,oBACrBC,uBAAwB,CACtBvC,GAAI,CACFjB,SAAUH,EACVqB,MAAO5B,EAAMe,QAAQC,KAAKa,aAKlCT,IAAAA,cAACwC,IAAQ,CAACnC,QAASN,EAAWQ,GAAI,CAAC2B,GAAI,IAAKC,GAAI,EAAGM,IAAK,MACtDzC,IAAAA,cAAC0C,IAAY,CAACnC,GAAI,CAACqB,SAAU,GAAIpB,MAAOf,IACtCO,IAAAA,cAAC+C,IAAU,CAACxC,GAAI,CAACjB,SAAU,OAE7BU,IAAAA,cAAC4C,IAAY,CACXnC,QAASoC,IAAAA,UAAY,mBACrBC,uBAAwB,CACtBvC,GAAI,CACFjB,SAAUH,EACVqB,MAAO5B,EAAMe,QAAQC,KAAKa,aAKlCT,IAAAA,cAACuC,IAAO,MACRvC,IAAAA,cAACwC,IAAQ,CACPnC,QAASA,KACPN,IACA5B,GAAY,EAEdoC,GAAI,CAAC2B,GAAI,IAAKC,GAAI,EAAGM,IAAK,MAE1BzC,IAAAA,cAAC0C,IAAY,CAACnC,GAAI,CAACqB,SAAU,GAAIpB,MAAOf,IACtCO,IAAAA,cAACgD,IAAU,CAACzC,GAAI,CAACjB,SAAU,OAE7BU,IAAAA,cAAC4C,IAAY,CACXnC,QAASoC,IAAAA,UAAY,oBACrBC,uBAAwB,CACtBvC,GAAI,CACFjB,SAAUH,EACVqB,MAAO5B,EAAMe,QAAQC,KAAKa,eAWxCT,IAAAA,cAACC,IAAG,CAACC,UAAWC,GACdH,IAAAA,cAACiD,IAAM,CACLZ,QAAQ,YACR/B,KAAK,QACLE,MAAM,YACNH,QAASA,KACPnC,GAAS,GAGV2E,IAAAA,UAAY,mBAEX,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Settings\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Box\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Button\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Divider\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/IconButton\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Typography\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/styles\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/ListItemIcon\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/ListItemText\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/Menu\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material/MenuItem\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/AccountCircle\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Logout\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Person\"","webpack://openstack-uicore-foundation/./src/components/mui/AuthButton/styles.module.scss","webpack://openstack-uicore-foundation/./src/components/mui/AuthButton/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/icons-material/Settings\");","module.exports = require(\"@mui/material/Box\");","module.exports = require(\"@mui/material/Button\");","module.exports = require(\"@mui/material/Divider\");","module.exports = require(\"@mui/material/IconButton\");","module.exports = require(\"@mui/material/Typography\");","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/styles\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/ListItemIcon\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/ListItemText\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/Menu\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/material/MenuItem\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/AccountCircle\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Logout\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Person\");","// extracted by mini-css-extract-plugin\nexport default {\"userMenu\":\"UD7OIFgwF1LOfPJP234A\",\"login\":\"jWfqKg10xvcVZqMUgbLQ\"};","/**\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, {useRef, useState} from \"react\";\nimport T from \"i18n-react/dist/i18n-react\";\nimport {useTheme} from \"@mui/material/styles\";\nimport Box from \"@mui/material/Box\";\nimport Button from \"@mui/material/Button\";\nimport Divider from \"@mui/material/Divider\";\nimport IconButton from \"@mui/material/IconButton\";\nimport ListItemIcon from \"@mui/material/ListItemIcon\";\nimport ListItemText from \"@mui/material/ListItemText\";\nimport Menu from \"@mui/material/Menu\";\nimport MenuItem from \"@mui/material/MenuItem\";\nimport Typography from \"@mui/material/Typography\";\nimport AccountCircleIcon from \"@mui/icons-material/AccountCircle\";\nimport LogoutIcon from \"@mui/icons-material/Logout\";\nimport PersonIcon from \"@mui/icons-material/Person\";\nimport SettingsIcon from \"@mui/icons-material/Settings\";\nimport styles from \"./styles.module.scss\";\n\nconst AuthButton = ({\n isLoggedUser,\n doLogin,\n initLogOut,\n profileEmail,\n profileName\n }) => {\n const theme = useTheme();\n const anchorRef = useRef(null);\n const [menuOpen, setMenuOpen] = useState(false);\n\n const menuFontSize = theme?.custom?.menu?.fontSize || \"1.4rem\";\n const menuLineHeight = theme?.custom?.menu?.lineHeight || \"2rem\";\n const menuIconColor = theme?.custom?.menu?.icon || theme.palette.text.secondary;\n\n const openMenu = () => {\n setMenuOpen(true);\n };\n\n const closeMenu = () => {\n setMenuOpen(false);\n };\n\n if (isLoggedUser) {\n return (\n <Box className={styles.userMenu}>\n <IconButton\n aria-controls={menuOpen ? \"user-menu\" : undefined}\n aria-expanded={menuOpen ? \"true\" : undefined}\n aria-haspopup=\"true\"\n onClick={openMenu}\n size=\"medium\"\n data-testid=\"user-menu-button\"\n sx={{\n color: theme.palette.text.primary,\n p: 0,\n width: 28,\n height: 28\n }}\n ref={anchorRef}\n >\n <AccountCircleIcon sx={{fontSize: 28}}/>\n </IconButton>\n <Menu\n id=\"user-menu\"\n anchorEl={anchorRef.current}\n open={menuOpen}\n onClose={closeMenu}\n anchorOrigin={{\n vertical: \"bottom\",\n horizontal: \"right\"\n }}\n transformOrigin={{\n vertical: \"top\",\n horizontal: \"right\"\n }}\n slotProps={{\n paper: {\n sx: {\n mt: 1.5,\n minWidth: 260,\n borderRadius: 2,\n overflow: \"hidden\",\n boxShadow: \"0 16px 40px rgba(0, 0, 0, 0.18)\"\n }\n },\n list: {\n disablePadding: true,\n sx: {py: 0}\n }\n }}\n >\n <Box sx={{px: 3, py: 2.5}}>\n <Typography\n variant=\"body1\"\n sx={{\n fontSize: menuFontSize,\n lineHeight: menuLineHeight,\n color: theme.palette.text.primary,\n mb: 0.5\n }}\n >\n {profileName || \"User\"}\n </Typography>\n <Typography\n variant=\"body2\"\n sx={{\n fontSize: menuFontSize,\n lineHeight: menuLineHeight,\n color: theme.palette.text.secondary\n }}\n >\n {profileEmail || \"\"}\n </Typography>\n </Box>\n <Divider/>\n <MenuItem onClick={closeMenu} sx={{py: 1.5, px: 3, gap: 1.5}}>\n <ListItemIcon sx={{minWidth: 32, color: menuIconColor}}>\n <SettingsIcon sx={{fontSize: 24}}/>\n </ListItemIcon>\n <ListItemText\n primary={T.translate(\"general.settings\")}\n primaryTypographyProps={{\n sx: {\n fontSize: menuFontSize,\n color: theme.palette.text.primary\n }\n }}\n />\n </MenuItem>\n <MenuItem onClick={closeMenu} sx={{py: 1.5, px: 3, gap: 1.5}}>\n <ListItemIcon sx={{minWidth: 32, color: menuIconColor}}>\n <PersonIcon sx={{fontSize: 24}}/>\n </ListItemIcon>\n <ListItemText\n primary={T.translate(\"general.profile\")}\n primaryTypographyProps={{\n sx: {\n fontSize: menuFontSize,\n color: theme.palette.text.primary\n }\n }}\n />\n </MenuItem>\n <Divider/>\n <MenuItem\n onClick={() => {\n closeMenu();\n initLogOut();\n }}\n sx={{py: 1.5, px: 3, gap: 1.5}}\n >\n <ListItemIcon sx={{minWidth: 32, color: menuIconColor}}>\n <LogoutIcon sx={{fontSize: 24}}/>\n </ListItemIcon>\n <ListItemText\n primary={T.translate(\"buttons.sign_out\")}\n primaryTypographyProps={{\n sx: {\n fontSize: menuFontSize,\n color: theme.palette.text.primary\n }\n }}\n />\n </MenuItem>\n </Menu>\n </Box>\n );\n }\n\n return (\n <Box className={styles.login}>\n <Button\n variant=\"contained\"\n size=\"small\"\n color=\"secondary\"\n onClick={() => {\n doLogin();\n }}\n >\n {T.translate(\"buttons.log_in\")}\n </Button>\n </Box>\n );\n};\n\nexport default AuthButton;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","AuthButton","isLoggedUser","doLogin","initLogOut","profileEmail","profileName","_theme$custom","_theme$custom$menu","_theme$custom2","_theme$custom2$menu","_theme$custom3","_theme$custom3$menu","theme","useTheme","anchorRef","useRef","menuOpen","setMenuOpen","useState","menuFontSize","custom","menu","fontSize","menuLineHeight","lineHeight","menuIconColor","icon","palette","text","secondary","openMenu","closeMenu","React","Box","className","styles","IconButton","onClick","size","sx","color","primary","p","width","height","ref","AccountCircleIcon","Menu","id","anchorEl","current","open","onClose","anchorOrigin","vertical","horizontal","transformOrigin","slotProps","paper","mt","minWidth","borderRadius","overflow","boxShadow","list","disablePadding","py","px","Typography","variant","mb","Divider","MenuItem","gap","ListItemIcon","SettingsIcon","ListItemText","T","primaryTypographyProps","PersonIcon","LogoutIcon","Button"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={6272:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"subtitle2",component:"div",sx:{minWidth:120,alignSelf:"self-start"}},e)},8395:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"body2",component:"div",sx:{textAlign:"left",minWidth:120,alignSelf:"self-start"}},e)},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var n={};r.r(n),r.d(n,{default:()=>c});var o=r(2015),a=r.n(o),i=r(8619),l=r(6272),d=r(8395);const c=({title:e,rows:t})=>a().createElement(i.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(i.CardContent,null,a().createElement(i.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(i.List,{sx:{display:"flex",marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(a().Fragment,{key:`row-${e.label}-${r}`},a().createElement(i.ListItem,{sx:{display:"flex",flexDirection:"column",height:50}},a().createElement(l.A,null,e.label),a().createElement(d.A,null,e.value)),r<t.length-1&&a().createElement(i.Divider,{orientation:"vertical",flexItem:!0})))))));return n})()));
|
|
2
|
+
//# sourceMappingURL=inline-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CAGj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S,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":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={6272:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"subtitle2",component:"div",sx:{minWidth:120,alignSelf:"self-start"}},e)},8395:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"body2",component:"div",sx:{textAlign:"left",minWidth:120,alignSelf:"self-start"}},e)},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var n={};r.r(n),r.d(n,{default:()=>p});var o=r(2015),a=r.n(o),i=r(8619),l=r(6272),d=r(8395);const p=({title:e,rows:t})=>a().createElement(i.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(i.CardContent,null,a().createElement(i.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(i.List,{sx:{marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(i.ListItem,{key:e.id??e.label,divider:r<(t??[]).length-1,sx:{display:"flex",height:50}},a().createElement(l.A,null,e.label),a().createElement(d.A,null,e.value)))))));return n})()));
|
|
2
|
+
//# sourceMappingURL=list-card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/cards/list-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,QAA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AAO,WAE7DZ,OAAOC,eAAehC,EAAS,aAAc,CAAE2C,OAAO,GAAO,C,iGCa9D,MAyBA,EAzBiBC,EAAGC,QAAOC,UACzBvC,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,UAAW,UACnBP,GAAQ,IAAIQ,KAAI,CAACC,EAAKC,IACtBjD,IAAAA,cAACkD,EAAAA,SAAQ,CACP5B,IAAK0B,EAAIG,IAAMH,EAAII,MACnBC,QAASJ,GAAKV,GAAQ,IAAIe,OAAS,EACnClD,GAAI,CAAEmD,QAAS,OAAQb,OAAQ,KAE/B1C,IAAAA,cAACF,EAAAA,EAAO,KAAEkD,EAAII,OACdpD,IAAAA,cAACO,EAAAA,EAAK,KAAEyC,EAAIZ,a","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/ListCard/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 { 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"],"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","ListCard","title","rows","Card","borderRadius","height","CardContent","gutterBottom","List","marginTop","map","row","i","ListItem","id","label","divider","length","display"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={6272:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"subtitle2",component:"div",sx:{minWidth:120,alignSelf:"self-start"}},e)},8395:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(8619),o=r(2015),a=r.n(o);const i=({children:e})=>a().createElement(n.Typography,{variant:"body2",component:"div",sx:{textAlign:"left",minWidth:120,alignSelf:"self-start"}},e)},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var n={};r.r(n),r.d(n,{default:()=>c});var o=r(2015),a=r.n(o),i=r(8619),l=r(8395),p=r(6272);const c=({title:e,rows:t=[],columns:r=[]})=>a().createElement(i.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(i.CardContent,null,a().createElement(i.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(i.List,{sx:{marginTop:"20px"}},a().createElement(i.ListItem,{sx:{display:"flex",height:50,gap:2}},r.map(((e,t)=>a().createElement(p.A,{key:`col-${e.key}-${t}`},e.label)))),a().createElement(i.Divider,{component:"li",role:"presentation"}),t.map(((e,n)=>a().createElement(a().Fragment,{key:`row-${n}`},a().createElement(i.ListItem,{sx:{display:"flex",minHeight:60,gap:2}},r.map(((t,r)=>a().createElement(l.A,{key:`col-val-${t.key}-${r}`},e[t.key])))),n<t.length-1&&a().createElement(i.Divider,{component:"li",role:"presentation"})))))));return n})()));
|
|
2
|
+
//# sourceMappingURL=table-card.js.map
|
|
@@ -0,0 +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,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,OAHAsB,EAAoBH,GAAUlB,EAAQA,EAAOD,QAASkB,GAG/CjB,EAAOD,OACf,C,MCrBAkB,EAAoBK,EAAKtB,IACxB,IA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AKY,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":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={1269:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(6272),i=r(8395);const d=({title:e,rows:t})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{display:"flex",marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(a().Fragment,{key:`row-${e.label}-${r}`},a().createElement(l.ListItem,{sx:{display:"flex",flexDirection:"column",height:50}},a().createElement(o.A,null,e.label),a().createElement(i.A,null,e.value)),r<t.length-1&&a().createElement(l.Divider,{orientation:"vertical",flexItem:!0})))))))},1104:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(6272),i=r(8395);const d=({title:e,rows:t})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{marginTop:"20px"}},(t??[]).map(((e,r)=>a().createElement(l.ListItem,{key:e.id??e.label,divider:r<(t??[]).length-1,sx:{display:"flex",height:50}},a().createElement(o.A,null,e.label),a().createElement(i.A,null,e.value)))))))},7656:(e,t,r)=>{r.d(t,{default:()=>d});var n=r(2015),a=r.n(n),l=r(8619),o=r(8395),i=r(6272);const d=({title:e,rows:t=[],columns:r=[]})=>a().createElement(l.Card,{sx:{minWidth:275,borderRadius:"10px",height:"100%"},variant:"outlined"},a().createElement(l.CardContent,null,a().createElement(l.Typography,{gutterBottom:!0,variant:"h6"},e),a().createElement(l.List,{sx:{marginTop:"20px"}},a().createElement(l.ListItem,{sx:{display:"flex",height:50,gap:2}},r.map(((e,t)=>a().createElement(i.A,{key:`col-${e.key}-${t}`},e.label)))),a().createElement(l.Divider,{component:"li",role:"presentation"}),t.map(((e,n)=>a().createElement(a().Fragment,{key:`row-${n}`},a().createElement(l.ListItem,{sx:{display:"flex",minHeight:60,gap:2}},r.map(((t,r)=>a().createElement(o.A,{key:`col-val-${t.key}-${r}`},e[t.key])))),n<t.length-1&&a().createElement(l.Divider,{component:"li",role:"presentation"})))))))},6272:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8619),a=r(2015),l=r.n(a);const o=({children:e})=>l().createElement(n.Typography,{variant:"subtitle2",component:"div",sx:{minWidth:120,alignSelf:"self-start"}},e)},8395:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(8619),a=r(2015),l=r.n(a);const o=({children:e})=>l().createElement(n.Typography,{variant:"body2",component:"div",sx:{textAlign:"left",minWidth:120,alignSelf:"self-start"}},e)},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var l=t[n]={exports:{}};return e[n](l,l.exports,r),l.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,{InlineCard:()=>a.default,ListCard:()=>l.default,TableCard:()=>o.default});var a=r(1269),l=r(1104),o=r(7656);return n})()));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AUL,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":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},8619:e=>{e.exports=require("@mui/material")},6842:e=>{e.exports=require("i18n-react/dist/i18n-react")},2015:e=>{e.exports=require("react")}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,r),i.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};r.r(o),r.d(o,{default:()=>m});var n=r(1116),i=r.n(n),a=r(2015),c=r.n(a),p=r(8619);const u=require("@mui/icons-material/ShoppingCart");var s=r.n(u),l=r(6842),d=r.n(l);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){i()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const m=({itemCount:e,onClick:t,sx:r,disabled:o})=>c().createElement(p.Button,{startIcon:c().createElement(s(),null),endIcon:!o&&c().createElement(p.Box,{component:"div",sx:{backgroundColor:"white",color:"primary.main",fontWeight:700,fontSize:"12px !important",minWidth:"20px",height:"20px",borderRadius:"10px",marginLeft:"4px",marginRight:"2px"}},e),onClick:t,color:"primary",variant:"contained",size:"large",sx:b({borderRadius:92},r),disabled:o},d().translate("buttons.my_cart"));return o})()));
|
|
2
|
+
//# sourceMappingURL=cart-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/cart-button.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,wC,WCAzBJ,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,6B,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC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icore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react/dist/i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ShoppingCart\"","webpack://openstack-uicore-foundation/./src/components/mui/CartButton/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@mui/material\");","module.exports = require(\"i18n-react/dist/i18n-react\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ShoppingCart\");","/**\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 { Button, Box } from \"@mui/material\";\nimport ShoppingCartIcon from \"@mui/icons-material/ShoppingCart\";\nimport T from \"i18n-react/dist/i18n-react\";\n\nconst CartButton = ({ itemCount, onClick, sx, disabled }) => {\n return (\n <Button\n startIcon={<ShoppingCartIcon />}\n endIcon={\n !disabled && (\n <Box\n component=\"div\"\n sx={{\n backgroundColor: \"white\",\n color: \"primary.main\",\n fontWeight: 700,\n fontSize: \"12px !important\",\n minWidth: \"20px\",\n height: \"20px\",\n borderRadius: \"10px\",\n marginLeft: \"4px\",\n marginRight: \"2px\"\n }}\n >\n {itemCount}\n </Box>\n )\n }\n onClick={onClick}\n color=\"primary\"\n variant=\"contained\"\n size=\"large\"\n sx={{ borderRadius: 92, ...sx }}\n disabled={disabled}\n >\n {T.translate(\"buttons.my_cart\")}\n </Button>\n );\n};\n\nexport default CartButton;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","CartButton","itemCount","onClick","sx","disabled","React","Button","startIcon","ShoppingCartIcon","endIcon","Box","component","backgroundColor","color","fontWeight","fontSize","minWidth","height","borderRadius","marginLeft","marginRight","variant","size","_objectSpread","T"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,o),l.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>c});var n=o(2015),l=o.n(n),a=o(8619);const c=({items:e=[],onChange:t,loadMoreData:o,boxHeight:r="400px",allItemsLabel:c="Select All",noItemsLabel:i="No items found"})=>{const[d,u]=(0,n.useState)([]),[s,p]=(0,n.useState)(!1),m=e.map((e=>e.id));return l().createElement(a.Box,{sx:{width:"100%",height:r,overflow:"auto",border:"1px solid #ccc",padding:2},onScroll:e=>{const{scrollTop:t,scrollHeight:r,clientHeight:n}=e.target;t+n>=r-20&&o&&o()}},0===e.length?l().createElement("p",null,i):l().createElement(a.FormGroup,null,l().createElement(a.FormControlLabel,{control:l().createElement(a.Checkbox,{checked:s,onChange:()=>{u([]),p(!s),t([],!s)}}),label:c}),l().createElement(a.Divider,{sx:{mb:2}}),e.map((e=>l().createElement(a.FormControlLabel,{key:e.id,control:l().createElement(a.Checkbox,{checked:d.includes(e.id)||s,onChange:()=>(e=>{let o=[];o=s?m.filter((t=>t!==e)):d.includes(e)?d.filter((t=>t!==e)):[...d,e],u(o),p(!1),t(o)})(e.id)}),label:e.name})))))};return r})()));
|
|
2
|
+
//# sourceMappingURL=checkbox-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/checkbox-list.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,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ACC,QAASzB,EAAeR,SAxBtBkC,KAEtB5B,EAAiB,IACjBG,GAAkBD,GAClBR,EAAS,IAAKQ,EAAc,IAsBpB2B,MAAOhC,IAETW,IAAAA,cAACsB,EAAAA,QAAO,CAACpB,GAAI,CAAEqB,GAAI,KAClBtC,EAAMY,KAAKC,GACVE,IAAAA,cAACgB,EAAAA,iBAAgB,CACf/C,IAAK6B,EAAKC,GACVkB,QACEjB,IAAAA,cAACkB,EAAAA,SAAQ,CACPC,QAAS5B,EAAciC,SAAS1B,EAAKC,KAAOL,EAC5CR,SAAUA,IAnDAuC,KACxB,IAAIC,EAAW,GAEbA,EADEhC,EACSE,EAAW+B,QAAQ5B,GAAOA,IAAO0B,IACnClC,EAAciC,SAASC,GACrBlC,EAAcoC,QAAQ5B,GAAOA,IAAO0B,IAEpC,IAAIlC,EAAekC,GAGhCjC,EAAiBkC,GAEjB/B,GAAiB,GACjBT,EAASwC,EAAS,EAsCYE,CAAiB9B,EAAKC,MAG1CsB,MAAOvB,EAAK+B,UAKhB,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","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/checkbox-list.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/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, { useState } from \"react\";\nimport {\n Checkbox,\n FormControlLabel,\n FormGroup,\n Box,\n Divider\n} from \"@mui/material\";\n\nconst CheckBoxList = ({\n items = [],\n onChange,\n loadMoreData,\n boxHeight = \"400px\",\n allItemsLabel = \"Select All\",\n noItemsLabel = \"No items found\"\n}) => {\n const [selectedItems, setSelectedItems] = useState([]);\n const [isAllSelected, setIsAllSelected] = useState(false);\n const allItemIds = items.map((item) => item.id);\n\n const handleScroll = (event) => {\n const { scrollTop, scrollHeight, clientHeight } = event.target;\n // eslint-disable-next-line no-magic-numbers\n if (scrollTop + clientHeight >= scrollHeight - 20 && loadMoreData) {\n loadMoreData();\n }\n };\n\n const handleItemChange = (itemId) => {\n let selected = [];\n if (isAllSelected) {\n selected = allItemIds.filter((id) => id !== itemId);\n } else if (selectedItems.includes(itemId)) {\n selected = selectedItems.filter((id) => id !== itemId);\n } else {\n selected = [...selectedItems, itemId];\n }\n\n setSelectedItems(selected);\n // if user selects an item, then allSelected should be unchecked\n setIsAllSelected(false);\n onChange(selected);\n };\n\n const handleAllChange = () => {\n // if user selects all, we should remove all other selections\n setSelectedItems([]);\n setIsAllSelected(!isAllSelected);\n onChange([], !isAllSelected);\n };\n\n return (\n <Box\n sx={{\n width: \"100%\",\n height: boxHeight,\n overflow: \"auto\",\n border: \"1px solid #ccc\",\n padding: 2\n }}\n onScroll={handleScroll}\n >\n {items.length === 0 ? (\n <p>{noItemsLabel}</p>\n ) : (\n <FormGroup>\n <FormControlLabel\n control={\n <Checkbox checked={isAllSelected} onChange={handleAllChange} />\n }\n label={allItemsLabel}\n />\n <Divider sx={{ mb: 2 }} />\n {items.map((item) => (\n <FormControlLabel\n key={item.id}\n control={\n <Checkbox\n checked={selectedItems.includes(item.id) || isAllSelected}\n onChange={() => handleItemChange(item.id)}\n />\n }\n label={item.name}\n />\n ))}\n </FormGroup>\n )}\n </Box>\n );\n};\n\nexport default CheckBoxList;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","CheckBoxList","items","onChange","loadMoreData","boxHeight","allItemsLabel","noItemsLabel","selectedItems","setSelectedItems","useState","isAllSelected","setIsAllSelected","allItemIds","map","item","id","React","Box","sx","width","height","overflow","border","padding","onScroll","event","scrollTop","scrollHeight","clientHeight","target","length","FormGroup","FormControlLabel","control","Checkbox","checked","handleAllChange","label","Divider","mb","includes","itemId","selected","filter","handleItemChange","name"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>l});var n=o(2015),a=o.n(n),i=o(8619);const l=({chips:e,maxLength:t})=>{const o=e.slice(0,t),r=e.slice(t);return a().createElement(i.Box,null,o.map((e=>a().createElement(i.Chip,{key:`chip-${e}`,label:e,size:"small",sx:{mr:1}}))),r.length>0&&a().createElement(i.Tooltip,{title:r.map((e=>a().createElement(i.Typography,{key:`cl-tt-${e}`,variant:"body1",component:"div"},e))),arrow:!0},a().createElement(i.Chip,{label:"...",size:"small",sx:{cursor:"pointer"}})))};return r})()));
|
|
2
|
+
//# sourceMappingURL=chip-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/chip-list.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,6ECW9D,MAyBA,EAzBiBC,EAAGC,QAAOC,gBACzB,MAAMC,EAAaF,EAAMG,MAAM,EAAGF,GAC5BG,EAAOJ,EAAMG,MAAMF,GAEzB,OACEI,IAAAA,cAACC,EAAAA,IAAG,KACDJ,EAAWK,KAAKC,GACfH,IAAAA,cAACI,EAAAA,KAAI,CAACzB,IAAK,QAAQwB,IAAQE,MAAOF,EAAMG,KAAK,QAAQC,GAAI,CAAEC,GAAI,OAEhET,EAAKU,OAAS,GACbT,IAAAA,cAACU,EAAAA,QAAO,CACNC,MAAOZ,EAAKG,KAAKZ,GACfU,IAAAA,cAACY,EAAAA,WAAU,CAACjC,IAAK,SAASW,IAAKuB,QAAQ,QAAQC,UAAU,OACtDxB,KAGLyB,OAAK,GAELf,IAAAA,cAACI,EAAAA,KAAI,CAACC,MAAM,MAAMC,KAAK,QAAQC,GAAI,CAAES,OAAQ,cAG7C,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","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/chip-list.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/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 { Box, Chip, Tooltip, Typography } from \"@mui/material\";\n\nconst ChipList = ({ chips, maxLength }) => {\n const shownItems = chips.slice(0, maxLength);\n const rest = chips.slice(maxLength);\n\n return (\n <Box>\n {shownItems.map((chip) => (\n <Chip key={`chip-${chip}`} label={chip} size=\"small\" sx={{ mr: 1 }} />\n ))}\n {rest.length > 0 && (\n <Tooltip\n title={rest.map((r) => (\n <Typography key={`cl-tt-${r}`} variant=\"body1\" component=\"div\">\n {r}\n </Typography>\n ))}\n arrow\n >\n <Chip label=\"...\" size=\"small\" sx={{ cursor: \"pointer\" }} />\n </Tooltip>\n )}\n </Box>\n );\n};\n\nexport default ChipList;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ChipList","chips","maxLength","shownItems","slice","rest","React","Box","map","chip","Chip","label","size","sx","mr","length","Tooltip","title","Typography","variant","component","arrow","cursor"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],r):"object"==typeof exports?exports["openstack-uicore-foundation"]=r():e["openstack-uicore-foundation"]=r()}(this,(()=>(()=>{"use strict";var e={6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8881:e=>{e.exports=require("@mui/icons-material/Notifications")},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}(()=>{t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r}})(),(()=>{t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})}})(),(()=>{t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};t.r(o),t.d(o,{default:()=>b});var n=t(6031),i=t.n(n),a=t(2462),u=t.n(a),l=t(2015),p=t.n(l),c=t(8619),s=t(8881),d=t.n(s);const f=["label","color","Icon"],b=e=>{let{label:r,color:t="warning",Icon:o=d()}=e,n=u()(e,f);return p().createElement(c.Chip,i()({icon:p().createElement(o,null),color:t,label:r.toUpperCase(),variant:"outlined"},n))};return o})()));
|
|
2
|
+
//# sourceMappingURL=chip-notify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/chip-notify.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,iC,WCAzBJ,EAAOD,QAAUK,QAAQ,iD,WCAzBJ,EAAOD,QAAUK,QAAQ,oC,WCAzBJ,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,uKCsB9D,EAVmBC,IAAA,IAAC,MAAEC,EAAK,MAAEC,EAAQ,UAAS,KAAEC,EAAOC,KAA6BJ,EAAPK,EAAKC,IAAAN,EAAAO,GAAA,OAChFC,IAAAA,cAACC,EAAAA,KAAIC,IAAA,CACHC,KAAMH,IAAAA,cAACL,EAAI,MACXD,MAAOA,EACPD,MAAOA,EAAMW,cACbC,QAAQ,YACJR,GACJ,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/extends\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/objectWithoutProperties\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Notifications\"","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/chip-notify.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@babel/runtime/helpers/objectWithoutProperties\");","module.exports = require(\"@mui/icons-material/Notifications\");","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 { Chip } from \"@mui/material\";\nimport NotificationsIcon from \"@mui/icons-material/Notifications\";\n\nconst ChipNotify = ({ label, color = \"warning\", Icon = NotificationsIcon, ...props }) => (\n <Chip\n icon={<Icon />}\n color={color}\n label={label.toUpperCase()}\n variant=\"outlined\"\n {...props}\n />\n);\n\nexport default ChipNotify;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","_ref","label","color","Icon","NotificationsIcon","props","_objectWithoutProperties","_excluded","React","Chip","_extends","icon","toUpperCase","variant"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function n(l){var o=t[l];if(void 0!==o)return o.exports;var r=t[l]={exports:{}};return e[l](r,r.exports,n),r.exports}(()=>{n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t}})(),(()=>{n.d=(e,t)=>{for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})}})(),(()=>{n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var l={};n.r(l),n.d(l,{default:()=>i});var o=n(2015),r=n.n(o),a=n(8619);const u=require("@mui/x-date-pickers"),i=({availableOptions:e=[],canAdd:t=!1,canEdit:n=!1,inputLabel:l="",currentSettings:i=null,onGetSettingsMeta:c,onGetSettings:s,onUpsertSettings:p,renderSelectedOptions:d,denormalizeSettings:m})=>{const[f,b]=(0,o.useState)([]),[v,g]=(0,o.useState)(!1);(0,o.useEffect)((()=>{s&&s()}),[s]),(0,o.useEffect)((()=>{if(i&&(c&&c(),i&&d&&m)){const e=d(m(i.columns)).map((e=>e.value));b(e)}}),[i]);const x=e=>{b(e),p(e),g(!1)};return t&&n&&0!==e.length?r().createElement(a.Box,null,r().createElement(a.FormControl,{fullWidth:!0},r().createElement(a.InputLabel,{id:"multi-select-label"},l),r().createElement(a.Select,{labelId:"multi-select-label",id:"multi-select",multiple:!0,fullWidth:!0,value:f,onChange:e=>(e=>{b(e),g(!0)})(e.target.value),onClose:()=>v?x(f):null,input:r().createElement(a.OutlinedInput,{label:l}),renderValue:t=>r().createElement(a.Box,{sx:{display:"flex",flexWrap:"wrap",gap:.5}},t.map((t=>{const n=e.find((e=>e.value===t));return n?r().createElement(a.Chip,{key:n.value,label:n.label,onDelete:()=>{(e=>{const t=f.filter((t=>t!==e));b(t),p(t)})(n.value)},deleteIcon:r().createElement(u.ClearIcon,{onMouseDown:e=>{e.stopPropagation()}})}):null}))),endAdornment:f.length>0&&r().createElement(a.InputAdornment,{sx:{marginRight:"10px"},position:"end"},r().createElement(a.IconButton,{onClick:()=>{x([])}},r().createElement(u.ClearIcon,null)))},e.map((({value:e,label:t})=>r().createElement(a.MenuItem,{key:e,value:e},t)))))):null};return l})()));
|
|
2
|
+
//# sourceMappingURL=chip-select-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/chip-select-input.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE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AAOvB,EAAUO,EAAiBV,GAAmB,KAC9D2B,MAAOd,IAAAA,cAACe,EAAAA,cAAa,CAACC,MAAOpC,IAC7BqC,YAAcC,GACZlB,IAAAA,cAACC,EAAAA,IAAG,CAACkB,GAAI,CAAEC,QAAS,OAAQC,SAAU,OAAQC,IAAK,KAChDJ,EAASvB,KAAKpB,IACb,MAAMgD,EAAK9C,EAAiB+C,MAAMC,GAAQA,EAAIlD,QAAUA,IACxD,OAAKgD,EAEHvB,IAAAA,cAAC0B,EAAAA,KAAI,CACHjE,IAAK8D,EAAGhD,MACRyC,MAAOO,EAAGP,MACVW,SAAUA,KAhCFpD,KACxB,MAAMqD,EAAYzC,EAAgB0C,QAAQjC,GAAMA,IAAMrB,IACtDa,EAAmBwC,GACnB5C,EAAiB4C,EAAU,EA8BTE,CAAiBP,EAAGhD,MAAM,EAE5BwD,WACE/B,IAAAA,cAACgC,EAAAA,UAAS,CACRC,YAAcC,IACZA,EAAEC,iBAAiB,MAXb,IAeZ,KAKVC,aACEjD,EAAgBY,OAAS,GACvBC,IAAAA,cAACqC,EAAAA,eAAc,CAAClB,GAAI,CAAEmB,YAAa,QAAUC,SAAS,OACpDvC,IAAAA,cAACwC,EAAAA,WAAU,CACTC,QAASA,KACP5C,EAAiB,GAAG,GAGtBG,IAAAA,cAACgC,EAAAA,UAAS,SAMjBvD,EAAiBkB,KAAI,EAAGpB,QAAOyC,WAC9BhB,IAAAA,cAAC0C,EAAAA,SAAQ,CAACjF,IAAKc,EAAOA,MAAOA,GAC1ByC,QAxDJ,IA6DD,E","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/x-date-pickers\"","webpack://openstack-uicore-foundation/./src/components/mui/chip-select-input.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/material\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/x-date-pickers\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React, { useEffect, useState } from \"react\";\nimport {\n Box,\n Chip,\n FormControl,\n IconButton,\n InputAdornment,\n InputLabel,\n MenuItem,\n OutlinedInput,\n Select\n} from \"@mui/material\";\nimport { ClearIcon } from \"@mui/x-date-pickers\";\n\nconst ChipSelectInput = ({\n availableOptions = [],\n canAdd = false,\n canEdit = false,\n inputLabel = \"\",\n currentSettings = null,\n onGetSettingsMeta,\n onGetSettings,\n onUpsertSettings,\n renderSelectedOptions,\n denormalizeSettings\n}) => {\n const [selectedColumns, setSelectedColumns] = useState([]);\n const [isDirty, setIsDirty] = useState(false);\n\n // get current selected options\n useEffect(() => {\n if (onGetSettings) {\n onGetSettings();\n }\n }, [onGetSettings]);\n\n useEffect(() => {\n if (currentSettings) {\n if (onGetSettingsMeta) {\n onGetSettingsMeta();\n }\n\n if (currentSettings && renderSelectedOptions && denormalizeSettings) {\n const selectedColumnsTmp = renderSelectedOptions(\n denormalizeSettings(currentSettings.columns)\n ).map((c) => c.value);\n setSelectedColumns(selectedColumnsTmp);\n }\n }\n }, [currentSettings]);\n\n const submitNewColumns = (newValue) => {\n setSelectedColumns(newValue);\n onUpsertSettings(newValue);\n setIsDirty(false);\n };\n\n const handleColumnChange = (value) => {\n setSelectedColumns(value);\n setIsDirty(true);\n };\n\n const handleRemoveItem = (value) => {\n const newValues = selectedColumns.filter((c) => c !== value);\n setSelectedColumns(newValues);\n onUpsertSettings(newValues);\n };\n\n if (!canAdd || !canEdit || availableOptions.length === 0) {\n return null;\n }\n\n return (\n <Box>\n <FormControl fullWidth>\n <InputLabel id=\"multi-select-label\">{inputLabel}</InputLabel>\n <Select\n labelId=\"multi-select-label\"\n id=\"multi-select\"\n multiple\n fullWidth\n value={selectedColumns}\n onChange={(ev) => handleColumnChange(ev.target.value)}\n onClose={() => (isDirty ? submitNewColumns(selectedColumns) : null)}\n input={<OutlinedInput label={inputLabel} />}\n renderValue={(selected) => (\n <Box sx={{ display: \"flex\", flexWrap: \"wrap\", gap: 0.5 }}>\n {selected.map((value) => {\n const op = availableOptions.find((opt) => opt.value === value);\n if (!op) return null;\n return (\n <Chip\n key={op.value}\n label={op.label}\n onDelete={() => {\n handleRemoveItem(op.value);\n }}\n deleteIcon={\n <ClearIcon\n onMouseDown={(e) => {\n e.stopPropagation();\n }}\n />\n }\n />\n );\n })}\n </Box>\n )}\n endAdornment={\n selectedColumns.length > 0 && (\n <InputAdornment sx={{ marginRight: \"10px\" }} position=\"end\">\n <IconButton\n onClick={() => {\n submitNewColumns([]);\n }}\n >\n <ClearIcon />\n </IconButton>\n </InputAdornment>\n )\n }\n >\n {availableOptions.map(({ value, label }) => (\n <MenuItem key={value} value={value}>\n {label}\n </MenuItem>\n ))}\n </Select>\n </FormControl>\n </Box>\n );\n};\n\nexport default ChipSelectInput;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ChipSelectInput","availableOptions","canAdd","canEdit","inputLabel","currentSettings","onGetSettingsMeta","onGetSettings","onUpsertSettings","renderSelectedOptions","denormalizeSettings","selectedColumns","setSelectedColumns","useState","isDirty","setIsDirty","useEffect","selectedColumnsTmp","columns","map","c","submitNewColumns","newValue","length","React","Box","FormControl","fullWidth","InputLabel","id","Select","labelId","multiple","onChange","ev","handleColumnChange","target","onClose","input","OutlinedInput","label","renderValue","selected","sx","display","flexWrap","gap","op","find","opt","Chip","onDelete","newValues","filter","handleRemoveItem","deleteIcon","ClearIcon","onMouseDown","e","stopPropagation","endAdornment","InputAdornment","marginRight","position","IconButton","onClick","MenuItem"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},9870:e=>{e.exports=require("i18n-react")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>p});var n=o(2015),a=o.n(n),l=o(9825),i=o.n(l),s=o(8619),c=o(9870),u=o.n(c);const d=({open:e,onClose:t,onConfirm:o,message:r})=>a().createElement(s.Dialog,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description"},a().createElement(s.DialogTitle,{id:"alert-dialog-title"},u().translate("alerts.confirm_delete_title")),a().createElement(s.DialogContent,null,a().createElement(s.DialogContentText,{id:"alert-dialog-description"},r||u().translate("alerts.confirm_delete"))),a().createElement(s.DialogActions,null,a().createElement(s.Button,{onClick:t,color:"primary"},u().translate("general.cancel")),a().createElement(s.Button,{onClick:o,color:"error",autoFocus:!0},u().translate("general.delete"))));d.propTypes={open:i().bool.isRequired,onClose:i().func.isRequired,onConfirm:i().func.isRequired,message:i().string},d.defaultProps={message:""};const p=d;return r})()));
|
|
2
|
+
//# sourceMappingURL=confirm-delete-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/confirm-delete-dialog.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,a,WCAzBJ,EAAOD,QAAUK,QAAQ,a,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,mHCa9D,MAAMC,EAAsBA,EAAGC,OAAMC,UAASC,YAAWC,aAErDC,IAAAA,cAACC,EAAAA,OAAM,CACLL,KAAMA,EACNC,QAASA,EACT,kBAAgB,qBAChB,mBAAiB,4BAEjBG,IAAAA,cAACE,EAAAA,YAAW,CAACC,GAAG,sBACbC,IAAAA,UAAY,gCAEfJ,IAAAA,cAACK,EAAAA,cAAa,KACZL,IAAAA,cAACM,EAAAA,kBAAiB,CAACH,GAAG,4BACnBJ,GAAWK,IAAAA,UAAY,2BAG5BJ,IAAAA,cAACO,EAAAA,cAAa,KACZP,IAAAA,cAACQ,EAAAA,OAAM,CAACC,QAASZ,EAASa,MAAM,WAC7BN,IAAAA,UAAY,mBAEfJ,IAAAA,cAACQ,EAAAA,OAAM,CAACC,QAASX,EAAWY,MAAM,QAAQC,WAAS,GAChDP,IAAAA,UAAY,qBAOvBT,EAAoBiB,UAAY,CAC9BhB,KAAMiB,IAAAA,KAAeC,WACrBjB,QAASgB,IAAAA,KAAeC,WACxBhB,UAAWe,IAAAA,KAAeC,WAC1Bf,QAASc,IAAAA,QAGXlB,EAAoBoB,aAAe,CACjChB,QAAS,IAGX,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/mui/ConfirmDeleteDialog/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/material\");","module.exports = require(\"i18n-react\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle} from \"@mui/material\";\nimport T from \"i18n-react\";\n\nconst ConfirmDeleteDialog = ({ open, onClose, onConfirm, message }) => {\n return (\n <Dialog\n open={open}\n onClose={onClose}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n <DialogTitle id=\"alert-dialog-title\">\n {T.translate(\"alerts.confirm_delete_title\")}\n </DialogTitle>\n <DialogContent>\n <DialogContentText id=\"alert-dialog-description\">\n {message || T.translate(\"alerts.confirm_delete\")}\n </DialogContentText>\n </DialogContent>\n <DialogActions>\n <Button onClick={onClose} color=\"primary\">\n {T.translate(\"general.cancel\")}\n </Button>\n <Button onClick={onConfirm} color=\"error\" autoFocus>\n {T.translate(\"general.delete\")}\n </Button>\n </DialogActions>\n </Dialog>\n );\n};\n\nConfirmDeleteDialog.propTypes = {\n open: PropTypes.bool.isRequired,\n onClose: PropTypes.func.isRequired,\n onConfirm: PropTypes.func.isRequired,\n message: PropTypes.string\n};\n\nConfirmDeleteDialog.defaultProps = {\n message: \"\"\n};\n\nexport default ConfirmDeleteDialog;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","ConfirmDeleteDialog","open","onClose","onConfirm","message","React","Dialog","DialogTitle","id","T","DialogContent","DialogContentText","DialogActions","Button","onClick","color","autoFocus","propTypes","PropTypes","isRequired","defaultProps"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8177:e=>{e.exports=require("@mui/icons-material/CheckCircle")},1519:e=>{e.exports=require("@mui/icons-material/Error")},8619:e=>{e.exports=require("@mui/material")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>C});var n=o(2015),i=o.n(n),a=o(9825),c=o.n(a),l=o(8619),u=o(8177),s=o.n(u),p=o(1519),m=o.n(p);const d=require("@mui/icons-material/Info");var f=o.n(d);const x=require("@mui/icons-material/Warning");var y=o.n(x);const g={warning:i().createElement(y(),{color:"warning"}),success:i().createElement(s(),{color:"success"}),error:i().createElement(m(),{color:"error"}),info:i().createElement(f(),{color:"info"})},v=({open:e,title:t,text:o,iconType:r="",onConfirm:n,onCancel:a,confirmButtonText:c="Confirm",confirmButtonColor:u="primary",cancelButtonText:s="Cancel",cancelButtonColor:p="primary"})=>i().createElement(l.Dialog,{open:e,onClose:a},i().createElement(l.DialogTitle,{sx:{p:2},component:"div"},i().createElement(l.Typography,{variant:"h5"},t)),i().createElement(l.Divider,null),i().createElement(l.DialogContent,{sx:{p:2}},i().createElement("div",{style:{display:"flex",alignItems:"center"}},g[r]&&i().createElement("div",{style:{marginRight:10}},g[r]),i().createElement(l.Typography,{variant:"body1"},o))),i().createElement(l.Divider,{sx:{margin:"10px 0px 10px 0px"}}),i().createElement(l.DialogActions,null,i().createElement(l.Button,{fullWidth:!0,onClick:a,color:p,variant:"outlined",sx:{whiteSpace:"nowrap",minWidth:100}},s),i().createElement(l.Button,{fullWidth:!0,onClick:n,color:u,variant:"contained",sx:{whiteSpace:"nowrap",minWidth:100}},c)));v.propTypes={open:c().bool,title:c().string.isRequired,text:c().string.isRequired,iconType:c().string,onConfirm:c().func.isRequired,onCancel:c().func.isRequired,confirmButtonText:c().string,confirmButtonColor:c().string,cancelButtonText:c().string,cancelButtonColor:c().string},v.defaultProps={open:!1,iconType:"warning",confirmButtonText:"Confirm",confirmButtonColor:"primary",cancelButtonText:"Cancel",cancelButtonColor:"default"};const C=v;return r})()));
|
|
2
|
+
//# sourceMappingURL=confirm-dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/confirm-dialog.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,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ACxB/B,KAAM8B,IAAAA,OAAiBC,WACvB9B,SAAU6B,IAAAA,OACV5B,UAAW4B,IAAAA,KAAeC,WAC1B5B,SAAU2B,IAAAA,KAAeC,WACzB3B,kBAAmB0B,IAAAA,OACnBzB,mBAAoByB,IAAAA,OACpBxB,iBAAkBwB,IAAAA,OAClBvB,kBAAmBuB,IAAAA,QAGrBjC,EAAcmC,aAAe,CAC3BlC,MAAM,EACNG,SAAU,UACVG,kBAAmB,UACnBC,mBAAoB,UACpBC,iBAAkB,SAClBC,kBAAmB,WAGrB,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/CheckCircle\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Error\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Info\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/Warning\"","webpack://openstack-uicore-foundation/./src/components/mui/confirm-dialog.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/icons-material/CheckCircle\");","module.exports = require(\"@mui/icons-material/Error\");","module.exports = require(\"@mui/material\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Info\");","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/Warning\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Button,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Divider,\n Typography\n} from \"@mui/material\";\nimport CheckCircle from \"@mui/icons-material/CheckCircle\";\nimport Error from \"@mui/icons-material/Error\";\nimport Info from \"@mui/icons-material/Info\";\nimport Warning from \"@mui/icons-material/Warning\";\n\nconst iconMap = {\n warning: <Warning color=\"warning\" />,\n success: <CheckCircle color=\"success\" />,\n error: <Error color=\"error\" />,\n info: <Info color=\"info\" />\n};\n\nconst ConfirmDialog = ({\n open,\n title,\n text,\n iconType = \"\",\n onConfirm,\n onCancel,\n confirmButtonText = \"Confirm\",\n confirmButtonColor = \"primary\",\n cancelButtonText = \"Cancel\",\n cancelButtonColor = \"primary\"\n}) => (\n <Dialog open={open} onClose={onCancel}>\n <DialogTitle sx={{ p: 2 }} component=\"div\">\n <Typography variant=\"h5\">{title}</Typography>\n </DialogTitle>\n <Divider />\n <DialogContent sx={{ p: 2 }}>\n <div style={{ display: \"flex\", alignItems: \"center\" }}>\n {iconMap[iconType] && (\n <div style={{ marginRight: 10 }}>{iconMap[iconType]}</div>\n )}\n <Typography variant=\"body1\">{text}</Typography>\n </div>\n </DialogContent>\n <Divider sx={{ margin: \"10px 0px 10px 0px\" }} />\n <DialogActions>\n <Button\n fullWidth\n onClick={onCancel}\n color={cancelButtonColor}\n variant=\"outlined\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {cancelButtonText}\n </Button>\n <Button\n fullWidth\n onClick={onConfirm}\n color={confirmButtonColor}\n variant=\"contained\"\n sx={{ whiteSpace: \"nowrap\", minWidth: 100 }}\n >\n {confirmButtonText}\n </Button>\n </DialogActions>\n </Dialog>\n);\n\nConfirmDialog.propTypes = {\n open: PropTypes.bool,\n title: PropTypes.string.isRequired,\n text: PropTypes.string.isRequired,\n iconType: PropTypes.string,\n onConfirm: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n confirmButtonText: PropTypes.string,\n confirmButtonColor: PropTypes.string,\n cancelButtonText: PropTypes.string,\n cancelButtonColor: PropTypes.string\n};\n\nConfirmDialog.defaultProps = {\n open: false,\n iconType: \"warning\",\n confirmButtonText: \"Confirm\",\n confirmButtonColor: \"primary\",\n cancelButtonText: \"Cancel\",\n cancelButtonColor: \"default\"\n};\n\nexport default ConfirmDialog;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","iconMap","warning","React","Warning","color","success","CheckCircle","error","Error","info","Info","ConfirmDialog","open","title","text","iconType","onConfirm","onCancel","confirmButtonText","confirmButtonColor","cancelButtonText","cancelButtonColor","Dialog","onClose","DialogTitle","sx","p","component","Typography","variant","Divider","DialogContent","style","display","alignItems","marginRight","margin","DialogActions","Button","fullWidth","onClick","whiteSpace","minWidth","propTypes","PropTypes","isRequired","defaultProps"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var r={};o.r(r),o.d(r,{default:()=>u});var n=o(2015),i=o.n(n),a=o(8619);const u=({severity:e="info",message:t="",hideIcon:o=!1})=>i().createElement(a.Alert,{severity:e,icon:!o,sx:{justifyContent:"start",alignItems:"center",mb:2}},t);return r})()));
|
|
2
|
+
//# sourceMappingURL=custom-alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/custom-alert.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,mCCTTH,EAAOD,QAAUK,QAAQ,gB,WCAzBJ,EAAOD,QAAUK,QAAQ,Q,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaT,QAGrB,IAAIC,EAASK,EAAyBE,GAAY,CAGjDR,QAAS,CAAC,GAOX,OAHAW,EAAoBH,GAAUP,EAAQA,EAAOD,QAASO,GAG/CN,EAAOD,OACf,C,MCrBAO,EAAoBK,EAAKX,IACxB,IAAIY,EAASZ,GAAUA,EAAOa,WAC7B,IAAOb,EAAiB,QACxB,IAAM,EAEP,OADAM,EAAoBQ,EAAEF,EAAQ,CAAEG,EAAGH,IAC5BA,CAAM,C,WCLdN,EAAoBQ,EAAI,CAACf,EAASiB,KACjC,IAAI,IAAIC,KAAOD,EACXV,EAAoBY,EAAEF,EAAYC,KAASX,EAAoBY,EAAEnB,EAASkB,IAC5EE,OAAOC,eAAerB,EAASkB,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,C,WCNDX,EAAoBY,EAAI,CAACK,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,E,WCClFlB,EAAoBsB,EAAK7B,IACH,oBAAX8B,QAA0BA,OAAOC,aAC1CX,OAAOC,eAAerB,EAAS8B,OAAOC,YAAa,CAAEC,MAAO,WAE7DZ,OAAOC,eAAerB,EAAS,aAAc,CAAEgC,OAAO,GAAO,C,6ECW9D,MAcA,EAdoBC,EAAGC,WAAW,OAAQC,UAAU,GAAIC,YAAW,KACjEC,IAAAA,cAACC,EAAAA,MAAK,CACJJ,SAAUA,EACVK,MAAOH,EACPI,GAAI,CACFC,eAAgB,QAChBC,WAAY,SACZC,GAAI,IAGLR,G","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","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/custom-alert.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/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 { Alert } from \"@mui/material\";\n\nconst CustomAlert = ({ severity = \"info\", message = \"\", hideIcon = false }) => (\n <Alert\n severity={severity}\n icon={!hideIcon}\n sx={{\n justifyContent: \"start\",\n alignItems: \"center\",\n mb: 2\n }}\n >\n {message}\n </Alert>\n);\n\nexport default CustomAlert;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","CustomAlert","severity","message","hideIcon","React","Alert","icon","sx","justifyContent","alignItems","mb"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],r):"object"==typeof exports?exports["openstack-uicore-foundation"]=r():e["openstack-uicore-foundation"]=r()}(this,(()=>(()=>{"use strict";var e={1116:e=>{e.exports=require("@babel/runtime/helpers/defineProperty")},6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},8619:e=>{e.exports=require("@mui/material")},9825:e=>{e.exports=require("prop-types")},2015:e=>{e.exports=require("react")}},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var i=r[o]={exports:{}};return e[o](i,i.exports,t),i.exports}(()=>{t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r}})(),(()=>{t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})}})(),(()=>{t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};t.r(o),t.d(o,{default:()=>m});var n=t(6031),i=t.n(n),a=t(1116),p=t.n(a),d=t(2015),s=t.n(d),u=t(9825),c=t.n(u);const l=require("react-beautiful-dnd");var f=t(8619);function b(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function y(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?b(Object(t),!0).forEach((function(r){p()(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}const g=({items:e,onReorder:r,renderItem:t,idKey:o,updateOrderKey:n,droppableId:a})=>s().createElement(l.DragDropContext,{onDragEnd:t=>{if(!t.destination)return;const o=((e,r,t,o)=>{const n=Array.from(e),[i]=n.splice(r,1);return n.splice(t,0,i),n.map(((e,r)=>y(y({},e),{},{[o]:r+1})))})(e,t.source.index,t.destination.index,n);r(o,t)}},s().createElement(l.Droppable,{droppableId:a},(r=>s().createElement(f.Box,i()({ref:r.innerRef},r.droppableProps,{sx:{width:"100%"}}),e.map(((e,r)=>s().createElement(l.Draggable,{key:String(e[o]||`new-${r}`),draggableId:String(e[o]||`new-${r}`),index:r},((o,n)=>s().createElement(f.Box,i()({ref:o.innerRef},o.draggableProps,o.dragHandleProps,{sx:{background:n.isDragging?"#f0f0f0":"inherit",transition:"background 0.2s ease"}}),t(e,r,o,n)))))),r.placeholder))));g.propTypes={items:c().array.isRequired,onReorder:c().func.isRequired,renderItem:c().func.isRequired,idKey:c().string,updateOrderKey:c().string,droppableId:c().string},g.defaultProps={idKey:"id",updateOrderKey:"order",droppableId:"droppable"};const m=g;return o})()));
|
|
2
|
+
//# sourceMappingURL=dnd-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/dnd-list.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA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QAGf9C,EAAgBgD,aAAe,CAC7B5C,MAAO,KACPC,eAAgB,QAChBC,YAAa,aAGf,U","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/defineProperty\"","webpack://openstack-uicore-foundation/external commonjs \"@babel/runtime/helpers/extends\"","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"react-beautiful-dnd\"","webpack://openstack-uicore-foundation/./src/components/mui/dnd-list.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@babel/runtime/helpers/defineProperty\");","module.exports = require(\"@babel/runtime/helpers/extends\");","module.exports = require(\"@mui/material\");","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"react-beautiful-dnd\");","/**\n * Copyright 2026 OpenStack Foundation\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * */\n\nimport React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\";\nimport { Box } from \"@mui/material\";\n\nconst reorder = (list, startIndex, endIndex, updateOrderKey) => {\n const result = Array.from(list);\n const [removed] = result.splice(startIndex, 1);\n result.splice(endIndex, 0, removed);\n return result.map((item, index) => ({\n ...item,\n [updateOrderKey]: index + 1\n }));\n};\n\nconst DragAndDropList = ({\n items,\n onReorder,\n renderItem,\n idKey,\n updateOrderKey,\n droppableId\n}) => {\n const handleDragEnd = (result) => {\n if (!result.destination) return;\n\n const newItems = reorder(\n items,\n result.source.index,\n result.destination.index,\n updateOrderKey\n );\n onReorder(newItems, result);\n };\n\n return (\n <DragDropContext onDragEnd={handleDragEnd}>\n <Droppable droppableId={droppableId}>\n {(provided) => (\n <Box\n ref={provided.innerRef}\n {...provided.droppableProps}\n sx={{ width: \"100%\" }}\n >\n {items.map((item, index) => (\n <Draggable\n key={String(item[idKey] || `new-${index}`)}\n draggableId={String(item[idKey] || `new-${index}`)}\n index={index}\n >\n {(provided, snapshot) => (\n <Box\n ref={provided.innerRef}\n {...provided.draggableProps}\n {...provided.dragHandleProps}\n sx={{\n background: snapshot.isDragging ? \"#f0f0f0\" : \"inherit\",\n transition: \"background 0.2s ease\"\n }}\n >\n {renderItem(item, index, provided, snapshot)}\n </Box>\n )}\n </Draggable>\n ))}\n {provided.placeholder}\n </Box>\n )}\n </Droppable>\n </DragDropContext>\n );\n};\n\nDragAndDropList.propTypes = {\n items: PropTypes.array.isRequired,\n onReorder: PropTypes.func.isRequired,\n renderItem: PropTypes.func.isRequired,\n idKey: PropTypes.string,\n updateOrderKey: PropTypes.string,\n droppableId: PropTypes.string\n};\n\nDragAndDropList.defaultProps = {\n idKey: \"id\",\n updateOrderKey: \"order\",\n droppableId: \"droppable\"\n};\n\nexport default DragAndDropList;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","DragAndDropList","items","onReorder","renderItem","idKey","updateOrderKey","droppableId","React","DragDropContext","onDragEnd","result","destination","newItems","reorder","list","startIndex","endIndex","Array","from","removed","splice","map","item","index","_objectSpread","source","Droppable","provided","Box","_extends","ref","innerRef","droppableProps","sx","width","Draggable","String","draggableId","snapshot","draggableProps","dragHandleProps","background","isDragging","transition","placeholder","propTypes","PropTypes","isRequired","defaultProps"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={8619:e=>{e.exports=require("@mui/material")},9870:e=>{e.exports=require("i18n-react")},2015:e=>{e.exports=require("react")}},t={};function r(o){var n=t[o];if(void 0!==n)return n.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,r),a.exports}(()=>{r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t}})(),(()=>{r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})();var o={};r.r(o),r.d(o,{default:()=>p});var n=r(2015),a=r.n(n),i=r(9870),u=r.n(i);const d=require("@mui/icons-material/ArrowDownward");var s=r.n(d),c=r(8619);const p=({url:e})=>a().createElement(c.Button,{startIcon:a().createElement(s(),{sx:{fontSize:16}}),href:e,target:"_blank",rel:"noopener noreferrer",variant:"contained",size:"medium",sx:{width:180,height:36}},u().translate("buttons.download"));return o})()));
|
|
2
|
+
//# sourceMappingURL=download-btn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/mui/download-btn.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IA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EC,SAAU,MAC9CC,KAAMP,EACNQ,OAAO,SACPC,IAAI,sBACJC,QAAQ,YACRC,KAAK,SACLN,GAAI,CAAEO,MAAO,IAAKC,OAAQ,KAEzBC,IAAAA,UAAY,qB","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/external commonjs \"@mui/material\"","webpack://openstack-uicore-foundation/external commonjs \"i18n-react\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/external commonjs \"@mui/icons-material/ArrowDownward\"","webpack://openstack-uicore-foundation/./src/components/mui/DownloadBtn/index.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","module.exports = require(\"@mui/material\");","module.exports = require(\"i18n-react\");","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = require(\"@mui/icons-material/ArrowDownward\");","/**\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 T from \"i18n-react\";\nimport ArrowDownwardIcon from \"@mui/icons-material/ArrowDownward\";\nimport { Button } from \"@mui/material\";\n\nconst DownloadBtn = ({ url }) => {\n return (\n <Button\n startIcon={<ArrowDownwardIcon sx={{ fontSize: 16 }} />}\n href={url}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n variant=\"contained\"\n size=\"medium\"\n sx={{ width: 180, height: 36 }}\n >\n {T.translate(\"buttons.download\")}\n </Button>\n );\n};\n\nexport default DownloadBtn;\n"],"names":["root","factory","exports","module","define","amd","this","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","DownloadBtn","url","React","Button","startIcon","ArrowDownwardIcon","sx","fontSize","href","target","rel","variant","size","width","height","T"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("openstack-uicore-foundation",[],t):"object"==typeof exports?exports["openstack-uicore-foundation"]=t():e["openstack-uicore-foundation"]=t()}(this,(()=>(()=>{"use strict";var e={6031:e=>{e.exports=require("@babel/runtime/helpers/extends")},2462:e=>{e.exports=require("@babel/runtime/helpers/objectWithoutProperties")},8619:e=>{e.exports=require("@mui/material")},2015:e=>{e.exports=require("react")}},t={};function r(l){var a=t[l];if(void 0!==a)return a.exports;var n=t[l]={exports:{}};return e[l](n,n.exports,r),n.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,{default:()=>d});var a=r(6031),n=r.n(a),o=r(2462),i=r.n(o),u=r(2015),c=r.n(u),m=r(8619);const p=["name","label","allLabel","value","options","onChange"],d=e=>{let{name:t,label:r,allLabel:l,value:a=[],options:o,onChange:u}=e,d=i()(e,p);return c().createElement(m.FormControl,{fullWidth:!0,margin:"normal"},c().createElement(m.InputLabel,{id:`${t}_label`},r),c().createElement(m.Select,n()({labelId:`${t}_label`,name:t,multiple:!0,value:a,onChange:e=>{const r=e.target.value,l=Array.isArray(r)?r:"string"==typeof r?r.split(","):[];l.includes("all")?a.includes("all")&&l.length>1?u({target:{name:t,value:l.filter((e=>"all"!==e))}}):u({target:{name:t,value:["all"]}}):u({target:{name:t,value:l}})}},d,{input:c().createElement(m.OutlinedInput,{label:r}),renderValue:e=>{if(e.includes("all"))return l;return o.filter((({id:t})=>e.includes(t))).map((({name:e})=>e)).join(", ")}}),c().createElement(m.MenuItem,{key:"all",value:"all"},c().createElement(m.Checkbox,{checked:a.includes("all")}),c().createElement(m.ListItemText,{primary:l})),c().createElement(m.Divider,null),o.map((({name:e,id:t})=>c().createElement(m.MenuItem,{key:t,value:t},c().createElement(m.Checkbox,{checked:a.includes(t)}),c().createElement(m.ListItemText,{primary:e}))))))};return l})()));
|
|
2
|
+
//# sourceMappingURL=dropdown-checkbox.js.map
|