plutonium 0.6.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.node-version +1 -0
- data/README copy.md +1 -2
- data/README.md +25 -5
- data/app/assets/css/plutonium.css +3 -0
- data/app/assets/icons/flags/ghana.svg +49 -0
- data/app/assets/icons/outline/address-book.svg +3 -0
- data/app/assets/icons/outline/adjustments-horizontal.svg +3 -0
- data/app/assets/icons/outline/adjustments-vertical.svg +3 -0
- data/app/assets/icons/outline/align-center.svg +3 -0
- data/app/assets/icons/outline/angle-down.svg +3 -0
- data/app/assets/icons/outline/angle-left.svg +3 -0
- data/app/assets/icons/outline/angle-right.svg +3 -0
- data/app/assets/icons/outline/angle-up.svg +3 -0
- data/app/assets/icons/outline/annotation.svg +3 -0
- data/app/assets/icons/outline/archive-arrow-down.svg +3 -0
- data/app/assets/icons/outline/archive.svg +3 -0
- data/app/assets/icons/outline/arrow-down-to-bracket.svg +3 -0
- data/app/assets/icons/outline/arrow-down.svg +3 -0
- data/app/assets/icons/outline/arrow-left-to-bracket.svg +3 -0
- data/app/assets/icons/outline/arrow-left.svg +3 -0
- data/app/assets/icons/outline/arrow-right-alt.svg +3 -0
- data/app/assets/icons/outline/arrow-right-to-bracket.svg +3 -0
- data/app/assets/icons/outline/arrow-right.svg +3 -0
- data/app/assets/icons/outline/arrow-sort-letters.svg +3 -0
- data/app/assets/icons/outline/arrow-up-down.svg +3 -0
- data/app/assets/icons/outline/arrow-up-from-bracket.svg +3 -0
- data/app/assets/icons/outline/arrow-up-right-down-left.svg +3 -0
- data/app/assets/icons/outline/arrow-up-right-from-square.svg +3 -0
- data/app/assets/icons/outline/arrow-up.svg +3 -0
- data/app/assets/icons/outline/arrows-repeat-count.svg +3 -0
- data/app/assets/icons/outline/arrows-repeat.svg +3 -0
- data/app/assets/icons/outline/atom.svg +3 -0
- data/app/assets/icons/outline/backward-step.svg +3 -0
- data/app/assets/icons/outline/badge-check.svg +3 -0
- data/app/assets/icons/outline/bars-from-left.svg +3 -0
- data/app/assets/icons/outline/bars.svg +3 -0
- data/app/assets/icons/outline/bell-active-alt.svg +3 -0
- data/app/assets/icons/outline/bell-active.svg +3 -0
- data/app/assets/icons/outline/bell-ring.svg +3 -0
- data/app/assets/icons/outline/bell.svg +3 -0
- data/app/assets/icons/outline/blender-phone.svg +3 -0
- data/app/assets/icons/outline/book-open.svg +3 -0
- data/app/assets/icons/outline/book.svg +3 -0
- data/app/assets/icons/outline/bookmark.svg +3 -0
- data/app/assets/icons/outline/brain.svg +3 -0
- data/app/assets/icons/outline/briefcase.svg +3 -0
- data/app/assets/icons/outline/bug.svg +3 -0
- data/app/assets/icons/outline/building.svg +3 -0
- data/app/assets/icons/outline/bullhorn.svg +3 -0
- data/app/assets/icons/outline/calendar-edit.svg +3 -0
- data/app/assets/icons/outline/calendar-month.svg +3 -0
- data/app/assets/icons/outline/calendar-plus.svg +3 -0
- data/app/assets/icons/outline/calendar-week.svg +3 -0
- data/app/assets/icons/outline/camera-photo.svg +4 -0
- data/app/assets/icons/outline/caption.svg +3 -0
- data/app/assets/icons/outline/caret-down.svg +3 -0
- data/app/assets/icons/outline/caret-left.svg +3 -0
- data/app/assets/icons/outline/caret-right.svg +3 -0
- data/app/assets/icons/outline/caret-sort.svg +3 -0
- data/app/assets/icons/outline/caret-up.svg +3 -0
- data/app/assets/icons/outline/cart-plus-alt.svg +3 -0
- data/app/assets/icons/outline/cart-plus.svg +3 -0
- data/app/assets/icons/outline/cart.svg +3 -0
- data/app/assets/icons/outline/cash.svg +3 -0
- data/app/assets/icons/outline/chart-line-down.svg +3 -0
- data/app/assets/icons/outline/chart-line-up.svg +3 -0
- data/app/assets/icons/outline/chart-mixed-dollar.svg +3 -0
- data/app/assets/icons/outline/chart-mixed.svg +3 -0
- data/app/assets/icons/outline/chart-pie.svg +4 -0
- data/app/assets/icons/outline/chart.svg +3 -0
- data/app/assets/icons/outline/check-circle.svg +3 -0
- data/app/assets/icons/outline/check-plus-circle.svg +3 -0
- data/app/assets/icons/outline/check.svg +3 -0
- data/app/assets/icons/outline/chevron-double-down.svg +3 -0
- data/app/assets/icons/outline/chevron-double-left.svg +3 -0
- data/app/assets/icons/outline/chevron-double-right.svg +3 -0
- data/app/assets/icons/outline/chevron-double-up.svg +3 -0
- data/app/assets/icons/outline/chevron-down.svg +3 -0
- data/app/assets/icons/outline/chevron-left.svg +3 -0
- data/app/assets/icons/outline/chevron-right.svg +3 -0
- data/app/assets/icons/outline/chevron-sort.svg +3 -0
- data/app/assets/icons/outline/chevron-up.svg +3 -0
- data/app/assets/icons/outline/circle-pause.svg +3 -0
- data/app/assets/icons/outline/circle-plus.svg +3 -0
- data/app/assets/icons/outline/clapperboard-play.svg +3 -0
- data/app/assets/icons/outline/clipboard-check.svg +3 -0
- data/app/assets/icons/outline/clipboard-list.svg +3 -0
- data/app/assets/icons/outline/clipboard.svg +3 -0
- data/app/assets/icons/outline/clock.svg +3 -0
- data/app/assets/icons/outline/close-circle.svg +3 -0
- data/app/assets/icons/outline/close.svg +3 -0
- data/app/assets/icons/outline/cloud-arrow-up.svg +3 -0
- data/app/assets/icons/outline/code-branch.svg +3 -0
- data/app/assets/icons/outline/code-fork.svg +3 -0
- data/app/assets/icons/outline/code-merge.svg +3 -0
- data/app/assets/icons/outline/code-pull-request.svg +3 -0
- data/app/assets/icons/outline/code.svg +3 -0
- data/app/assets/icons/outline/cog.svg +4 -0
- data/app/assets/icons/outline/column.svg +3 -0
- data/app/assets/icons/outline/command.svg +3 -0
- data/app/assets/icons/outline/compress.svg +3 -0
- data/app/assets/icons/outline/computer-speaker.svg +3 -0
- data/app/assets/icons/outline/credit-card.svg +3 -0
- data/app/assets/icons/outline/database.svg +3 -0
- data/app/assets/icons/outline/desktop-pc.svg +3 -0
- data/app/assets/icons/outline/dna.svg +3 -0
- data/app/assets/icons/outline/dollar.svg +3 -0
- data/app/assets/icons/outline/dots-horizontal.svg +3 -0
- data/app/assets/icons/outline/dots-vertical.svg +3 -0
- data/app/assets/icons/outline/download.svg +3 -0
- data/app/assets/icons/outline/draw-square.svg +3 -0
- data/app/assets/icons/outline/edit.svg +3 -0
- data/app/assets/icons/outline/envelope-open.svg +3 -0
- data/app/assets/icons/outline/envelope.svg +3 -0
- data/app/assets/icons/outline/euro.svg +3 -0
- data/app/assets/icons/outline/exclamation-circle.svg +3 -0
- data/app/assets/icons/outline/expand.svg +3 -0
- data/app/assets/icons/outline/eye-slash.svg +3 -0
- data/app/assets/icons/outline/eye.svg +4 -0
- data/app/assets/icons/outline/face-explode.svg +4 -0
- data/app/assets/icons/outline/face-grin-stars.svg +6 -0
- data/app/assets/icons/outline/face-grin.svg +3 -0
- data/app/assets/icons/outline/face-laugh.svg +3 -0
- data/app/assets/icons/outline/file-chart-bar.svg +3 -0
- data/app/assets/icons/outline/file-check.svg +3 -0
- data/app/assets/icons/outline/file-circle-plus.svg +3 -0
- data/app/assets/icons/outline/file-clone.svg +3 -0
- data/app/assets/icons/outline/file-code.svg +3 -0
- data/app/assets/icons/outline/file-copy-alt.svg +3 -0
- data/app/assets/icons/outline/file-copy.svg +3 -0
- data/app/assets/icons/outline/file-csv.svg +3 -0
- data/app/assets/icons/outline/file-export.svg +3 -0
- data/app/assets/icons/outline/file-image.svg +4 -0
- data/app/assets/icons/outline/file-import.svg +3 -0
- data/app/assets/icons/outline/file-invoice.svg +3 -0
- data/app/assets/icons/outline/file-lines.svg +3 -0
- data/app/assets/icons/outline/file-music.svg +3 -0
- data/app/assets/icons/outline/file-paste.svg +3 -0
- data/app/assets/icons/outline/file-pdf.svg +3 -0
- data/app/assets/icons/outline/file-pen.svg +3 -0
- data/app/assets/icons/outline/file-ppt.svg +3 -0
- data/app/assets/icons/outline/file-search.svg +3 -0
- data/app/assets/icons/outline/file-shield.svg +3 -0
- data/app/assets/icons/outline/file-video.svg +3 -0
- data/app/assets/icons/outline/file-word.svg +3 -0
- data/app/assets/icons/outline/file-zip.svg +3 -0
- data/app/assets/icons/outline/file.svg +3 -0
- data/app/assets/icons/outline/filter.svg +3 -0
- data/app/assets/icons/outline/fingerprint.svg +3 -0
- data/app/assets/icons/outline/fire.svg +3 -0
- data/app/assets/icons/outline/flag.svg +3 -0
- data/app/assets/icons/outline/folder-arrow-right.svg +3 -0
- data/app/assets/icons/outline/folder-duplicate.svg +3 -0
- data/app/assets/icons/outline/folder-open.svg +3 -0
- data/app/assets/icons/outline/folder-plus.svg +3 -0
- data/app/assets/icons/outline/folder.svg +3 -0
- data/app/assets/icons/outline/forward-step.svg +3 -0
- data/app/assets/icons/outline/forward.svg +3 -0
- data/app/assets/icons/outline/gift-box.svg +3 -0
- data/app/assets/icons/outline/globe.svg +3 -0
- data/app/assets/icons/outline/grid-plus.svg +3 -0
- data/app/assets/icons/outline/grid.svg +3 -0
- data/app/assets/icons/outline/headphones.svg +3 -0
- data/app/assets/icons/outline/heart.svg +3 -0
- data/app/assets/icons/outline/home.svg +3 -0
- data/app/assets/icons/outline/hourglass.svg +3 -0
- data/app/assets/icons/outline/image.svg +3 -0
- data/app/assets/icons/outline/inbox-full.svg +3 -0
- data/app/assets/icons/outline/inbox.svg +3 -0
- data/app/assets/icons/outline/indent.svg +3 -0
- data/app/assets/icons/outline/info-circle.svg +3 -0
- data/app/assets/icons/outline/keyboard.svg +5 -0
- data/app/assets/icons/outline/label.svg +3 -0
- data/app/assets/icons/outline/landmark.svg +3 -0
- data/app/assets/icons/outline/layers.svg +3 -0
- data/app/assets/icons/outline/letter-bold.svg +3 -0
- data/app/assets/icons/outline/letter-italic.svg +3 -0
- data/app/assets/icons/outline/letter-underline.svg +3 -0
- data/app/assets/icons/outline/life-saver.svg +3 -0
- data/app/assets/icons/outline/lightbulb.svg +3 -0
- data/app/assets/icons/outline/link.svg +3 -0
- data/app/assets/icons/outline/list-music.svg +3 -0
- data/app/assets/icons/outline/list.svg +3 -0
- data/app/assets/icons/outline/lock-open.svg +3 -0
- data/app/assets/icons/outline/lock-time.svg +3 -0
- data/app/assets/icons/outline/lock.svg +3 -0
- data/app/assets/icons/outline/mail-box.svg +3 -0
- data/app/assets/icons/outline/map-pin-alt.svg +4 -0
- data/app/assets/icons/outline/map-pin.svg +3 -0
- data/app/assets/icons/outline/message-caption.svg +3 -0
- data/app/assets/icons/outline/message-dots.svg +3 -0
- data/app/assets/icons/outline/messages.svg +3 -0
- data/app/assets/icons/outline/microphone.svg +3 -0
- data/app/assets/icons/outline/minimize.svg +3 -0
- data/app/assets/icons/outline/minus.svg +3 -0
- data/app/assets/icons/outline/mobile-phone.svg +3 -0
- data/app/assets/icons/outline/moon.svg +3 -0
- data/app/assets/icons/outline/newspaper.svg +3 -0
- data/app/assets/icons/outline/ordered-list.svg +3 -0
- data/app/assets/icons/outline/outdent.svg +3 -0
- data/app/assets/icons/outline/palette.svg +3 -0
- data/app/assets/icons/outline/paper-clip.svg +3 -0
- data/app/assets/icons/outline/paper-plane.svg +3 -0
- data/app/assets/icons/outline/paragraph.svg +3 -0
- data/app/assets/icons/outline/pause.svg +3 -0
- data/app/assets/icons/outline/pen-nib.svg +3 -0
- data/app/assets/icons/outline/pen.svg +3 -0
- data/app/assets/icons/outline/phone.svg +3 -0
- data/app/assets/icons/outline/play.svg +3 -0
- data/app/assets/icons/outline/plus.svg +3 -0
- data/app/assets/icons/outline/printer.svg +3 -0
- data/app/assets/icons/outline/profile-card.svg +3 -0
- data/app/assets/icons/outline/question-circle.svg +3 -0
- data/app/assets/icons/outline/quote.svg +3 -0
- data/app/assets/icons/outline/receipt.svg +3 -0
- data/app/assets/icons/outline/rectangle-list.svg +3 -0
- data/app/assets/icons/outline/redo.svg +3 -0
- data/app/assets/icons/outline/refresh.svg +3 -0
- data/app/assets/icons/outline/reply-all.svg +3 -0
- data/app/assets/icons/outline/reply.svg +3 -0
- data/app/assets/icons/outline/restore-window.svg +3 -0
- data/app/assets/icons/outline/rocket.svg +3 -0
- data/app/assets/icons/outline/ruler-combined.svg +3 -0
- data/app/assets/icons/outline/sale-percent.svg +3 -0
- data/app/assets/icons/outline/scale-balanced.svg +3 -0
- data/app/assets/icons/outline/search.svg +3 -0
- data/app/assets/icons/outline/share-all.svg +3 -0
- data/app/assets/icons/outline/share-nodes.svg +3 -0
- data/app/assets/icons/outline/shield-check.svg +3 -0
- data/app/assets/icons/outline/shield.svg +3 -0
- data/app/assets/icons/outline/shopping-bag.svg +3 -0
- data/app/assets/icons/outline/shuffle.svg +3 -0
- data/app/assets/icons/outline/sort-horizontal.svg +3 -0
- data/app/assets/icons/outline/sort.svg +3 -0
- data/app/assets/icons/outline/star-half-stroke.svg +3 -0
- data/app/assets/icons/outline/star-half.svg +3 -0
- data/app/assets/icons/outline/star.svg +3 -0
- data/app/assets/icons/outline/store.svg +3 -0
- data/app/assets/icons/outline/sun.svg +3 -0
- data/app/assets/icons/outline/swatchbook.svg +3 -0
- data/app/assets/icons/outline/table-column.svg +3 -0
- data/app/assets/icons/outline/table-row.svg +3 -0
- data/app/assets/icons/outline/tablet.svg +3 -0
- data/app/assets/icons/outline/tag.svg +3 -0
- data/app/assets/icons/outline/terminal.svg +3 -0
- data/app/assets/icons/outline/text-size.svg +3 -0
- data/app/assets/icons/outline/text-slash.svg +3 -0
- data/app/assets/icons/outline/thumbs-down.svg +3 -0
- data/app/assets/icons/outline/thumbs-up.svg +3 -0
- data/app/assets/icons/outline/ticket.svg +3 -0
- data/app/assets/icons/outline/trash-bin.svg +3 -0
- data/app/assets/icons/outline/truck.svg +3 -0
- data/app/assets/icons/outline/undo.svg +3 -0
- data/app/assets/icons/outline/upload.svg +3 -0
- data/app/assets/icons/outline/user-add.svg +3 -0
- data/app/assets/icons/outline/user-circle.svg +3 -0
- data/app/assets/icons/outline/user-edit.svg +3 -0
- data/app/assets/icons/outline/user-headset.svg +3 -0
- data/app/assets/icons/outline/user-remove.svg +3 -0
- data/app/assets/icons/outline/user-settings.svg +3 -0
- data/app/assets/icons/outline/user.svg +3 -0
- data/app/assets/icons/outline/users-group.svg +3 -0
- data/app/assets/icons/outline/users.svg +3 -0
- data/app/assets/icons/outline/video-camera.svg +3 -0
- data/app/assets/icons/outline/volume-down.svg +3 -0
- data/app/assets/icons/outline/volume-up.svg +3 -0
- data/app/assets/icons/outline/wallet.svg +3 -0
- data/app/assets/icons/outline/wand-magic-sparkles.svg +3 -0
- data/app/assets/icons/outline/window.svg +3 -0
- data/app/assets/icons/outline/zoom-in.svg +3 -0
- data/app/assets/icons/outline/zoom-out.svg +3 -0
- data/app/assets/icons/solid/X.svg +3 -0
- data/app/assets/icons/solid/address-book.svg +3 -0
- data/app/assets/icons/solid/adjustments-horizontal.svg +3 -0
- data/app/assets/icons/solid/adjustments-vertical.svg +3 -0
- data/app/assets/icons/solid/annotation.svg +3 -0
- data/app/assets/icons/solid/apple.svg +3 -0
- data/app/assets/icons/solid/archive-arrow-down.svg +3 -0
- data/app/assets/icons/solid/archive.svg +4 -0
- data/app/assets/icons/solid/arrow-right-alt.svg +3 -0
- data/app/assets/icons/solid/arrow-up-right-from-square.svg +4 -0
- data/app/assets/icons/solid/backward-step.svg +3 -0
- data/app/assets/icons/solid/badge-check.svg +3 -0
- data/app/assets/icons/solid/bell-active-alt.svg +3 -0
- data/app/assets/icons/solid/bell-active.svg +5 -0
- data/app/assets/icons/solid/bell-ring.svg +3 -0
- data/app/assets/icons/solid/bell.svg +3 -0
- data/app/assets/icons/solid/blender-phone.svg +3 -0
- data/app/assets/icons/solid/book-open.svg +3 -0
- data/app/assets/icons/solid/book.svg +3 -0
- data/app/assets/icons/solid/bookmark.svg +3 -0
- data/app/assets/icons/solid/brain.svg +3 -0
- data/app/assets/icons/solid/briefcase.svg +3 -0
- data/app/assets/icons/solid/bug.svg +3 -0
- data/app/assets/icons/solid/building.svg +3 -0
- data/app/assets/icons/solid/bullhorn.svg +3 -0
- data/app/assets/icons/solid/calendar-edit.svg +4 -0
- data/app/assets/icons/solid/calendar-month.svg +3 -0
- data/app/assets/icons/solid/calendar-plus.svg +3 -0
- data/app/assets/icons/solid/calendar-week.svg +3 -0
- data/app/assets/icons/solid/camera-photo.svg +3 -0
- data/app/assets/icons/solid/caption.svg +3 -0
- data/app/assets/icons/solid/caret-down.svg +3 -0
- data/app/assets/icons/solid/caret-left.svg +3 -0
- data/app/assets/icons/solid/caret-right.svg +3 -0
- data/app/assets/icons/solid/caret-sort.svg +3 -0
- data/app/assets/icons/solid/caret-up.svg +3 -0
- data/app/assets/icons/solid/cart-plus-alt.svg +4 -0
- data/app/assets/icons/solid/cart-plus.svg +4 -0
- data/app/assets/icons/solid/cart.svg +3 -0
- data/app/assets/icons/solid/cash.svg +5 -0
- data/app/assets/icons/solid/chart-mixed-dollar.svg +3 -0
- data/app/assets/icons/solid/chart-pie.svg +4 -0
- data/app/assets/icons/solid/check-circle.svg +3 -0
- data/app/assets/icons/solid/check-plus-circle.svg +4 -0
- data/app/assets/icons/solid/circle-pause.svg +3 -0
- data/app/assets/icons/solid/circle-plus.svg +3 -0
- data/app/assets/icons/solid/clapperboard-play.svg +3 -0
- data/app/assets/icons/solid/clipboard-check.svg +3 -0
- data/app/assets/icons/solid/clipboard-list.svg +3 -0
- data/app/assets/icons/solid/clipboard.svg +3 -0
- data/app/assets/icons/solid/clock.svg +3 -0
- data/app/assets/icons/solid/close-circle.svg +3 -0
- data/app/assets/icons/solid/cloud-arrow-up.svg +4 -0
- data/app/assets/icons/solid/code-branch.svg +3 -0
- data/app/assets/icons/solid/code-fork.svg +3 -0
- data/app/assets/icons/solid/code-merge.svg +3 -0
- data/app/assets/icons/solid/code-pull-request.svg +3 -0
- data/app/assets/icons/solid/cog.svg +3 -0
- data/app/assets/icons/solid/column.svg +3 -0
- data/app/assets/icons/solid/computer-speaker.svg +4 -0
- data/app/assets/icons/solid/credit-card.svg +4 -0
- data/app/assets/icons/solid/css.svg +3 -0
- data/app/assets/icons/solid/database.svg +3 -0
- data/app/assets/icons/solid/desktop-pc.svg +3 -0
- data/app/assets/icons/solid/discord.svg +3 -0
- data/app/assets/icons/solid/download.svg +4 -0
- data/app/assets/icons/solid/draw-square.svg +4 -0
- data/app/assets/icons/solid/dribbble.svg +3 -0
- data/app/assets/icons/solid/dropbox.svg +4 -0
- data/app/assets/icons/solid/edit.svg +4 -0
- data/app/assets/icons/solid/envelope-open.svg +4 -0
- data/app/assets/icons/solid/envelope.svg +4 -0
- data/app/assets/icons/solid/exclamation-circle.svg +3 -0
- data/app/assets/icons/solid/eye-slash.svg +5 -0
- data/app/assets/icons/solid/eye.svg +3 -0
- data/app/assets/icons/solid/face-explode.svg +3 -0
- data/app/assets/icons/solid/face-grin-stars.svg +3 -0
- data/app/assets/icons/solid/face-grin.svg +3 -0
- data/app/assets/icons/solid/face-laugh.svg +3 -0
- data/app/assets/icons/solid/facebook.svg +3 -0
- data/app/assets/icons/solid/file-chart-bar.svg +3 -0
- data/app/assets/icons/solid/file-check.svg +4 -0
- data/app/assets/icons/solid/file-circle-plus.svg +4 -0
- data/app/assets/icons/solid/file-clone.svg +4 -0
- data/app/assets/icons/solid/file-code.svg +3 -0
- data/app/assets/icons/solid/file-copy-alt.svg +4 -0
- data/app/assets/icons/solid/file-copy.svg +4 -0
- data/app/assets/icons/solid/file-csv.svg +3 -0
- data/app/assets/icons/solid/file-export.svg +3 -0
- data/app/assets/icons/solid/file-image.svg +3 -0
- data/app/assets/icons/solid/file-import.svg +3 -0
- data/app/assets/icons/solid/file-invoice.svg +3 -0
- data/app/assets/icons/solid/file-lines.svg +3 -0
- data/app/assets/icons/solid/file-music.svg +3 -0
- data/app/assets/icons/solid/file-paste.svg +4 -0
- data/app/assets/icons/solid/file-pdf.svg +3 -0
- data/app/assets/icons/solid/file-pen.svg +4 -0
- data/app/assets/icons/solid/file-ppt.svg +3 -0
- data/app/assets/icons/solid/file-search.svg +3 -0
- data/app/assets/icons/solid/file-shield.svg +4 -0
- data/app/assets/icons/solid/file-video.svg +3 -0
- data/app/assets/icons/solid/file-word.svg +3 -0
- data/app/assets/icons/solid/file-zip.svg +3 -0
- data/app/assets/icons/solid/file.svg +3 -0
- data/app/assets/icons/solid/filter.svg +3 -0
- data/app/assets/icons/solid/fire.svg +3 -0
- data/app/assets/icons/solid/flag.svg +3 -0
- data/app/assets/icons/solid/flowbite.svg +6 -0
- data/app/assets/icons/solid/folder-arrow-right.svg +3 -0
- data/app/assets/icons/solid/folder-duplicate.svg +4 -0
- data/app/assets/icons/solid/folder-open.svg +3 -0
- data/app/assets/icons/solid/folder-plus.svg +3 -0
- data/app/assets/icons/solid/folder.svg +3 -0
- data/app/assets/icons/solid/forward-step.svg +3 -0
- data/app/assets/icons/solid/forward.svg +3 -0
- data/app/assets/icons/solid/gift-box.svg +3 -0
- data/app/assets/icons/solid/github.svg +3 -0
- data/app/assets/icons/solid/globe.svg +3 -0
- data/app/assets/icons/solid/google.svg +3 -0
- data/app/assets/icons/solid/grid-plus.svg +3 -0
- data/app/assets/icons/solid/grid.svg +3 -0
- data/app/assets/icons/solid/headphones.svg +3 -0
- data/app/assets/icons/solid/heart.svg +3 -0
- data/app/assets/icons/solid/home.svg +3 -0
- data/app/assets/icons/solid/hourglass.svg +3 -0
- data/app/assets/icons/solid/html.svg +3 -0
- data/app/assets/icons/solid/image.svg +4 -0
- data/app/assets/icons/solid/inbox-full.svg +3 -0
- data/app/assets/icons/solid/inbox.svg +3 -0
- data/app/assets/icons/solid/indent.svg +3 -0
- data/app/assets/icons/solid/info-circle.svg +3 -0
- data/app/assets/icons/solid/keyboard.svg +3 -0
- data/app/assets/icons/solid/label.svg +3 -0
- data/app/assets/icons/solid/landmark.svg +4 -0
- data/app/assets/icons/solid/layers.svg +4 -0
- data/app/assets/icons/solid/life-saver.svg +3 -0
- data/app/assets/icons/solid/lightbulb.svg +3 -0
- data/app/assets/icons/solid/linkedin.svg +4 -0
- data/app/assets/icons/solid/list-music.svg +3 -0
- data/app/assets/icons/solid/lock-open.svg +3 -0
- data/app/assets/icons/solid/lock-time.svg +4 -0
- data/app/assets/icons/solid/lock.svg +3 -0
- data/app/assets/icons/solid/mail-box.svg +3 -0
- data/app/assets/icons/solid/map-pin-alt.svg +3 -0
- data/app/assets/icons/solid/map-pin.svg +3 -0
- data/app/assets/icons/solid/message-caption.svg +3 -0
- data/app/assets/icons/solid/message-dots.svg +3 -0
- data/app/assets/icons/solid/messages.svg +4 -0
- data/app/assets/icons/solid/microphone.svg +4 -0
- data/app/assets/icons/solid/mobile-phone.svg +3 -0
- data/app/assets/icons/solid/moon.svg +3 -0
- data/app/assets/icons/solid/newspaper.svg +3 -0
- data/app/assets/icons/solid/npm.svg +3 -0
- data/app/assets/icons/solid/outdent.svg +3 -0
- data/app/assets/icons/solid/palette.svg +3 -0
- data/app/assets/icons/solid/paper-plane.svg +3 -0
- data/app/assets/icons/solid/paragraph.svg +3 -0
- data/app/assets/icons/solid/pause.svg +3 -0
- data/app/assets/icons/solid/pen-nib.svg +3 -0
- data/app/assets/icons/solid/pen.svg +3 -0
- data/app/assets/icons/solid/phone.svg +3 -0
- data/app/assets/icons/solid/play.svg +3 -0
- data/app/assets/icons/solid/printer.svg +3 -0
- data/app/assets/icons/solid/profile-card.svg +3 -0
- data/app/assets/icons/solid/question-circle.svg +3 -0
- data/app/assets/icons/solid/quote.svg +3 -0
- data/app/assets/icons/solid/react.svg +4 -0
- data/app/assets/icons/solid/receipt.svg +3 -0
- data/app/assets/icons/solid/rectangle-list.svg +3 -0
- data/app/assets/icons/solid/reply-all.svg +3 -0
- data/app/assets/icons/solid/reply.svg +3 -0
- data/app/assets/icons/solid/rocket.svg +3 -0
- data/app/assets/icons/solid/sale-percent.svg +3 -0
- data/app/assets/icons/solid/scale-balanced.svg +3 -0
- data/app/assets/icons/solid/search.svg +4 -0
- data/app/assets/icons/solid/share-all.svg +3 -0
- data/app/assets/icons/solid/share-nodes.svg +3 -0
- data/app/assets/icons/solid/shield-check.svg +3 -0
- data/app/assets/icons/solid/shield.svg +3 -0
- data/app/assets/icons/solid/shopping-bag.svg +3 -0
- data/app/assets/icons/solid/stackoverflow.svg +4 -0
- data/app/assets/icons/solid/star-half-stroke.svg +3 -0
- data/app/assets/icons/solid/star-half.svg +3 -0
- data/app/assets/icons/solid/star.svg +3 -0
- data/app/assets/icons/solid/store.svg +3 -0
- data/app/assets/icons/solid/sun.svg +3 -0
- data/app/assets/icons/solid/swatchbook.svg +3 -0
- data/app/assets/icons/solid/table-column.svg +3 -0
- data/app/assets/icons/solid/table-row.svg +3 -0
- data/app/assets/icons/solid/tablet.svg +3 -0
- data/app/assets/icons/solid/tag.svg +3 -0
- data/app/assets/icons/solid/tailwind.svg +3 -0
- data/app/assets/icons/solid/terminal.svg +3 -0
- data/app/assets/icons/solid/thumbs-down.svg +3 -0
- data/app/assets/icons/solid/thumbs-up.svg +3 -0
- data/app/assets/icons/solid/ticket.svg +3 -0
- data/app/assets/icons/solid/trash-bin.svg +3 -0
- data/app/assets/icons/solid/truck.svg +3 -0
- data/app/assets/icons/solid/twitter.svg +3 -0
- data/app/assets/icons/solid/upload.svg +3 -0
- data/app/assets/icons/solid/user-add.svg +3 -0
- data/app/assets/icons/solid/user-circle.svg +3 -0
- data/app/assets/icons/solid/user-edit.svg +3 -0
- data/app/assets/icons/solid/user-headset.svg +3 -0
- data/app/assets/icons/solid/user-remove.svg +3 -0
- data/app/assets/icons/solid/user-settings.svg +3 -0
- data/app/assets/icons/solid/user.svg +3 -0
- data/app/assets/icons/solid/users-group.svg +3 -0
- data/app/assets/icons/solid/users.svg +3 -0
- data/app/assets/icons/solid/video-camera.svg +3 -0
- data/app/assets/icons/solid/volume-down.svg +4 -0
- data/app/assets/icons/solid/volume-up.svg +5 -0
- data/app/assets/icons/solid/vue.svg +3 -0
- data/app/assets/icons/solid/wallet.svg +4 -0
- data/app/assets/icons/solid/wand-magic-sparkles.svg +4 -0
- data/app/assets/icons/solid/window-restore.svg +4 -0
- data/app/assets/icons/solid/window.svg +3 -0
- data/app/assets/icons/solid/youtube.svg +3 -0
- data/app/assets/icons/solid/zoom-in.svg +3 -0
- data/app/assets/icons/solid/zoom-out.svg +3 -0
- data/app/assets/js/controllers/application.js +7 -0
- data/app/assets/js/controllers/index.js +30 -0
- data/app/assets/js/controllers/resource_dismiss_controller.js +37 -0
- data/app/assets/js/controllers/resource_drop_down_controller.js +29 -0
- data/app/assets/js/plutonium.js +2 -0
- data/app/assets/js/turbo/index.js +5 -0
- data/app/assets/js/turbo/turbo_actions.js +8 -0
- data/app/assets/js/turbo/turbo_debug.js +30 -0
- data/app/assets/js/turbo/turbo_frame_monkey_patch.js +23 -0
- data/app/views/{resource → application}/_color_modes.html.erb +3 -1
- data/app/views/application/_flash.html.erb +1 -0
- data/app/views/application/_flash_alerts.html.erb +53 -0
- data/app/views/application/_flash_toasts.html.erb +56 -0
- data/app/views/application/_resource_header.html.erb +723 -0
- data/app/views/application/_resource_sidebar.html.erb +12 -0
- data/app/views/components/action_button/action_button_component.html.erb +7 -0
- data/app/views/components/action_button/action_button_component.rb +15 -0
- data/app/views/components/base.rb +50 -0
- data/app/views/components/block/block_component.html.erb +3 -0
- data/app/views/components/block/block_component.rb +40 -0
- data/app/views/components/breadcrumbs/breadcrumbs_component.html.erb +96 -0
- data/app/views/components/breadcrumbs/breadcrumbs_component.rb +9 -0
- data/app/views/components/button/button_component.html.erb +11 -0
- data/app/views/components/button/button_component.rb +123 -0
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.html.erb +7 -0
- data/app/views/components/dyna_frame_content/dyna_frame_content_component.rb +6 -0
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.html.erb +4 -0
- data/app/views/components/dyna_frame_host/dyna_frame_host_component.rb +11 -0
- data/app/views/components/empty_card/empty_card_component.html.erb +6 -0
- data/app/views/components/empty_card/empty_card_component.rb +7 -0
- data/app/views/components/form/form_builder.rb +71 -0
- data/app/views/components/form/form_component.html.erb +76 -0
- data/app/views/components/form/form_component.rb +23 -0
- data/app/views/components/form/form_controller.js +13 -0
- data/app/views/components/header/header_component.html.erb +1 -0
- data/app/views/components/header/header_component.rb +7 -0
- data/app/views/components/interactive_action_form/interactive_action_form_component.html.erb +41 -0
- data/app/views/components/interactive_action_form/interactive_action_form_component.rb +8 -0
- data/app/views/components/interactive_action_form/interactive_action_form_controller.js +13 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.html.erb +66 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_component.rb +23 -0
- data/app/views/components/nested_resource_form_fields/nested_resource_form_fields_controller.js +64 -0
- data/app/views/components/pagination/pagination_component.html.erb +6 -0
- data/app/views/components/pagination/pagination_component.rb +91 -0
- data/app/views/components/panel/panel_component.html.erb +10 -0
- data/app/views/components/panel/panel_component.rb +11 -0
- data/app/views/components/sidebar/sidebar_component.html.erb +152 -0
- data/app/views/components/sidebar/sidebar_component.rb +15 -0
- data/app/views/components/sidebar_menu/sidebar_menu_component.html.erb +3 -0
- data/app/views/components/sidebar_menu/sidebar_menu_component.rb +13 -0
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.html.erb +72 -0
- data/app/views/components/sidebar_menu_item/sidebar_menu_item_component.rb +23 -0
- data/app/views/components/skeleton/table/table_component.html.erb +18 -0
- data/app/views/components/skeleton/table/table_component.rb +6 -0
- data/app/views/components/tab_bar/tab_bar_component.html.erb +11 -0
- data/app/views/components/tab_bar/tab_bar_component.rb +9 -0
- data/app/views/components/tab_bar/tab_bar_controller.js +8 -0
- data/app/views/components/table/table_component.html.erb +92 -0
- data/app/views/components/table/table_component.rb +63 -0
- data/app/views/components/table/table_controller.js +8 -0
- data/app/views/components/table_search_input/table_search_input_component.html.erb +42 -0
- data/app/views/components/table_search_input/table_search_input_component.rb +10 -0
- data/app/views/components/table_search_input/table_search_input_controller.js +8 -0
- data/app/views/components/table_toolbar/table_toolbar_component.html.erb +7 -0
- data/app/views/components/table_toolbar/table_toolbar_component.rb +9 -0
- data/app/views/components/table_toolbar/table_toolbar_controller.js +8 -0
- data/app/views/components/toolbar/toolbar_component.html.erb +67 -0
- data/app/views/components/toolbar/toolbar_component.rb +18 -0
- data/app/views/components/toolbar/toolbar_controller.js +8 -0
- data/app/views/layouts/resource.html copy.erb +49 -0
- data/app/views/layouts/resource.html.erb +30 -25
- data/app/views/layouts/rodauth.html.erb +31 -0
- data/app/views/resource/_interactive_resource_action_form.html.erb +5 -27
- data/app/views/resource/_resource_details.html.erb +26 -0
- data/app/views/resource/{_resource.rabl → _resource_details.rabl} +1 -1
- data/app/views/resource/_resource_form.html.erb +5 -0
- data/app/views/resource/_resource_table.html.erb +15 -0
- data/app/views/resource/edit.html.erb +4 -9
- data/app/views/resource/index.html.erb +4 -18
- data/app/views/resource/interactive_resource_collection_action.html.erb +3 -10
- data/app/views/resource/interactive_resource_record_action.html.erb +3 -10
- data/app/views/resource/interactive_resource_recordless_action.html.erb +3 -10
- data/app/views/resource/new.html.erb +3 -10
- data/app/views/resource/show.html.erb +4 -13
- data/app/views/resource/show.rabl +1 -1
- data/brakeman.ignore +5 -5
- data/build.js +12 -0
- data/config/initializers/hotwire_turbo_monkey_patches.rb +12 -0
- data/{lib/plutonium → config}/initializers/pagy.rb +0 -1
- data/config/initializers/simple_form.rb +54 -0
- data/exe/pug +6 -0
- data/lib/active_model/validations/array_validator.rb +1 -1
- data/lib/active_model/validations/attached_validator.rb +1 -1
- data/lib/active_model/validations/url_validator.rb +1 -1
- data/lib/generators/pu/core/install/install_generator.rb +1 -1
- data/lib/generators/pu/core/install/templates/app/controllers/resource_controller.rb.tt +2 -1
- data/lib/generators/pu/core/install/templates/app/interactions/resource_interaction.rb.tt +1 -1
- data/lib/generators/pu/core/install/templates/app/models/resource_record.rb.tt +1 -1
- data/lib/generators/pu/core/install/templates/app/policies/resource_policy.rb.tt +1 -1
- data/lib/generators/pu/core/install/templates/app/presenters/resource_presenter.rb.tt +1 -1
- data/lib/generators/pu/core/install/templates/app/query_objects/resource_query_object.rb.tt +2 -0
- data/lib/generators/pu/core/install/templates/config/packages.rb +1 -3
- data/lib/generators/pu/gem/pagy/pagy_generator.rb +1 -1
- data/lib/generators/pu/gem/rabl/rabl_generator.rb +1 -1
- data/lib/generators/pu/gem/simple_form/simple_form_generator.rb +1 -1
- data/lib/generators/pu/gen/component/component_generator.rb +87 -0
- data/lib/generators/pu/gen/component/templates/component.html.erb.tt +3 -0
- data/lib/generators/pu/gen/component/templates/component.rb.tt +9 -0
- data/lib/generators/pu/gen/component/templates/controller.js.tt +8 -0
- data/lib/generators/pu/gen/pug/pug_generator.rb +1 -1
- data/lib/generators/pu/lib/plutonium_generators/cli.rb +42 -0
- data/lib/generators/pu/lib/plutonium_generators/concerns/actions.rb +353 -0
- data/lib/generators/pu/lib/plutonium_generators/concerns/config.rb +39 -0
- data/lib/generators/pu/lib/plutonium_generators/concerns/logger.rb +36 -0
- data/lib/generators/pu/lib/plutonium_generators/concerns/serializer.rb +39 -0
- data/lib/generators/pu/lib/plutonium_generators/generator.rb +82 -0
- data/lib/generators/pu/lib/plutonium_generators/installer.rb +205 -0
- data/lib/generators/pu/lib/plutonium_generators/model_generator.rb +151 -0
- data/lib/generators/pu/lib/plutonium_generators.rb +15 -0
- data/lib/generators/pu/pkg/app/app_generator.rb +14 -4
- data/lib/generators/pu/pkg/app/templates/app/controllers/app_controller.rb.tt +5 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/dashboard_controller.rb.tt +6 -0
- data/lib/generators/pu/pkg/app/templates/app/controllers/{resource_controller.rb.tt → package_controller.rb.tt} +3 -3
- data/lib/generators/pu/pkg/app/templates/app/{interactions/resource_interaction.rb.tt → query_objects/resource_query_object.rb.tt} +1 -1
- data/lib/generators/pu/pkg/app/templates/app/views/package/dashboard/index.html.erb +23 -0
- data/lib/generators/pu/pkg/app/templates/config/routes.rb.tt +5 -3
- data/lib/generators/pu/pkg/feature/feature_generator.rb +4 -4
- data/lib/generators/pu/pkg/feature/templates/app/query_objects/resource_query_object.rb.tt +4 -0
- data/lib/generators/pu/{resource → res}/conn/conn_generator.rb +3 -2
- data/lib/generators/pu/res/conn/templates/.keep +0 -0
- data/lib/generators/pu/{resource → res}/conn/templates/app/controllers/resource_controller.rb.tt +1 -1
- data/lib/generators/pu/res/conn/templates/app/query_objects/resource_query_object.rb.tt +3 -0
- data/lib/generators/pu/res/model/model_generator.rb +36 -0
- data/lib/generators/pu/{resource → res}/model/templates/model.rb.tt +1 -1
- data/lib/generators/pu/res/scaffold/scaffold_generator.rb +43 -0
- data/lib/generators/pu/res/scaffold/templates/.keep +0 -0
- data/lib/generators/pu/{resource/model → res/scaffold}/templates/policy.rb.tt +2 -2
- data/lib/generators/pu/{resource/model → res/scaffold}/templates/presenter.rb.tt +0 -5
- data/lib/generators/pu/res/scaffold/templates/query_object.rb.tt +17 -0
- data/lib/generators/pu/rodauth/account_generator.rb +6 -17
- data/lib/generators/pu/rodauth/concerns/account_selector.rb +5 -1
- data/lib/generators/pu/rodauth/migration/active_record/base.erb +0 -4
- data/lib/generators/pu/rodauth/migration_generator.rb +2 -4
- data/lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt +11 -1
- data/lib/generators/pu/rodauth/templates/app/controllers/rodauth_controller.rb.tt +2 -1
- data/lib/generators/pu/rodauth/templates/app/mailers/account_mailer.rb.tt +1 -1
- data/lib/generators/pu/rodauth/templates/app/misc/account_rodauth_plugin.rb.tt +26 -11
- data/lib/generators/pu/rodauth/templates/app/misc/rodauth_plugin.rb.tt +1 -1
- data/lib/generators/pu/rodauth/templates/app/models/account.rb.tt +4 -1
- data/lib/generators/pu/rodauth/views_generator.rb +1 -14
- data/lib/plutonium/application/controller.rb +43 -0
- data/lib/plutonium/auth/{public_access.rb → public.rb} +1 -1
- data/lib/plutonium/auth.rb +0 -5
- data/lib/plutonium/builders/menus/sidebar_menu.rb.bk +26 -0
- data/lib/plutonium/builders/menus/sidebar_menu_item.rb.bk +28 -0
- data/lib/plutonium/component_registry.rb +19 -0
- data/lib/plutonium/config.rb +17 -2
- data/lib/plutonium/core/action.rb +9 -6
- data/lib/plutonium/core/actions/collection.rb +5 -1
- data/lib/plutonium/core/actions/destroy_action.rb +5 -3
- data/lib/plutonium/core/actions/edit_action.rb +5 -3
- data/lib/plutonium/core/actions/interactive_action.rb +1 -1
- data/lib/plutonium/core/actions/new_action.rb +5 -3
- data/lib/plutonium/core/actions/show_action.rb +5 -3
- data/lib/plutonium/core/autodiscovery/input_discoverer.rb +0 -2
- data/lib/plutonium/core/autodiscovery/renderer_discoverer.rb +0 -2
- data/lib/plutonium/core/controllers/authorizable.rb +7 -9
- data/lib/plutonium/core/controllers/base.rb +86 -0
- data/lib/plutonium/core/controllers/bootable.rb +5 -24
- data/lib/plutonium/core/controllers/crud_actions.rb +43 -8
- data/lib/plutonium/core/controllers/entity_scoping.rb +16 -5
- data/lib/plutonium/core/controllers/interactive_actions.rb +9 -7
- data/lib/plutonium/core/controllers/presentable.rb +11 -11
- data/lib/plutonium/core/controllers/queryable.rb +26 -0
- data/lib/plutonium/core/definers/input_definer.rb +47 -7
- data/lib/plutonium/core/definers/renderer_definer.rb +5 -3
- data/lib/plutonium/core/fields/inputs/base.rb +3 -3
- data/lib/plutonium/core/fields/inputs/date_time_input.rb +13 -0
- data/lib/plutonium/core/fields/inputs/factory.rb +13 -4
- data/lib/plutonium/core/fields/inputs/nested_input.rb +57 -0
- data/lib/plutonium/core/fields/inputs/noop_input.rb +1 -1
- data/lib/plutonium/core/fields/inputs/phone_input.rb +22 -0
- data/lib/plutonium/core/fields/inputs/polymorphic_belongs_to_association_input.rb +47 -0
- data/lib/plutonium/core/fields/inputs/simple_form_association_input.rb +3 -2
- data/lib/plutonium/core/fields/inputs/simple_form_input.rb +4 -1
- data/lib/plutonium/core/fields/renderers/association_renderer.rb +4 -7
- data/lib/plutonium/core/fields/renderers/factory.rb +1 -0
- data/lib/plutonium/core/fields/renderers/map_renderer.rb +19 -0
- data/lib/plutonium/core/ui/collection.rb +12 -8
- data/lib/plutonium/core/ui/detail.rb +8 -5
- data/lib/plutonium/core/ui/form.rb +6 -5
- data/lib/plutonium/helpers/action_buttons_helper.rb +23 -23
- data/lib/plutonium/helpers/application_helper.rb +0 -4
- data/lib/plutonium/helpers/attachment_helper.rb +1 -1
- data/lib/plutonium/helpers/component_helper.rb +14 -0
- data/lib/plutonium/helpers/display_helper.rb +6 -6
- data/lib/plutonium/helpers/form_helper.rb +29 -10
- data/lib/plutonium/helpers/table_helper.rb +35 -0
- data/lib/plutonium/helpers/turbo_helper.rb +2 -2
- data/lib/plutonium/helpers.rb +6 -19
- data/lib/plutonium/icons.rb +25 -0
- data/lib/plutonium/lib/after_commit.rb +2 -2
- data/lib/plutonium/{packaging → pkg}/app.rb +8 -6
- data/lib/plutonium/{packaging/package.rb → pkg/base.rb} +6 -2
- data/lib/plutonium/{packaging → pkg}/feature.rb +2 -2
- data/lib/plutonium/preserved__/{field.rb → field.rb.bk} +1 -1
- data/lib/plutonium/preserved__/{input.rb → input.rb.bk} +1 -1
- data/lib/plutonium/railtie.rb +17 -3
- data/lib/plutonium/reactor/core.rb +34 -19
- data/lib/plutonium/refinements/parameter_refinements.rb +2 -0
- data/lib/plutonium/resource/context.rb +5 -0
- data/lib/plutonium/resource/controller.rb +138 -0
- data/lib/plutonium/resource/interaction.rb +8 -0
- data/lib/plutonium/{reactor/resource_policy.rb → resource/policy.rb} +16 -3
- data/lib/plutonium/{reactor → resource}/policy_context.rb +1 -1
- data/lib/plutonium/resource/presenter.rb +78 -0
- data/lib/plutonium/resource/query_object.rb +219 -0
- data/lib/plutonium/{reactor/resource_record.rb → resource/record.rb} +95 -42
- data/lib/plutonium/rodauth/controller_methods.rb +12 -0
- data/lib/plutonium/{simple_form_components → simple_form}/attachment_component.rb +2 -0
- data/lib/plutonium/{simple_form_components → simple_form}/input_group_component.rb +2 -0
- data/lib/plutonium/version.rb +1 -1
- data/lib/plutonium.rb +33 -16
- data/package-lock.json +2530 -0
- data/package.json +22 -0
- data/postcss.config.js +11 -0
- data/public/plutonium-assets/application.css +1617 -811
- data/public/plutonium-assets/application.js +299 -300
- data/tailwind.config.js +91 -0
- data/templates/base.rb +8 -0
- metadata +765 -177
- data/app/views/resource/_details.html.erb +0 -6
- data/app/views/resource/_empty_card.html.erb +0 -12
- data/app/views/resource/_flash.html.erb +0 -9
- data/app/views/resource/_form.html.erb +0 -32
- data/app/views/resource/_header.html.erb +0 -8
- data/app/views/resource/_messages.html.erb +0 -1
- data/app/views/resource/_pagination.html.erb +0 -6
- data/app/views/resource/_pagy_pagination.html.erb +0 -15
- data/app/views/resource/_resource.html.erb +0 -1
- data/app/views/resource/_sidebar.html.erb +0 -11
- data/app/views/resource/_sidebar_menu.html.erb +0 -1
- data/app/views/resource/_table.html.erb +0 -78
- data/app/views/resource/_table_actions.html.erb +0 -15
- data/app/views/resource/_toast.html.erb +0 -26
- data/app/views/resource/_toolbar.html.erb +0 -22
- data/app/views/resource/_toolbar_actions.html.erb +0 -16
- data/app/views/resource/_toolbar_breadcrumbs.html.erb +0 -32
- data/app/views/resource/_toolbar_search_input.erb +0 -27
- data/lib/generators/pu/resource/model/model_generator.rb +0 -163
- data/lib/generators/pu/resource/scaffold/scaffold_generator.rb +0 -219
- data/lib/generators/pu/resource/scaffold/templates/app/controllers/admin_resources/resource_controller.rb.tt +0 -7
- data/lib/generators/pu/resource/scaffold/templates/app/controllers/entity_resources/resource_controller.rb.tt +0 -7
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/admin/resource_policy.rb.tt +0 -22
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/entity/resource_policy.rb.tt +0 -22
- data/lib/generators/pu/resource/scaffold/templates/app/policies/resources/resource_policy.rb.tt +0 -13
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/admin_presenter.rb.tt +0 -7
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/entity_presenter.rb.tt +0 -7
- data/lib/generators/pu/resource/scaffold/templates/app/resources/resource/presenter.rb.tt +0 -23
- data/lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.html.erb.tt +0 -3
- data/lib/generators/pu/resource/scaffold/templates/app/views/resources/resource/_resource.rabl +0 -7
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_email_auth_request_form.html.erb +0 -7
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form.html.erb +0 -26
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/_login_form_footer.html.erb +0 -9
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/add_recovery_codes.html.erb +0 -6
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/change_login.html.erb +0 -27
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/change_password.html.erb +0 -27
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/close_account.html.erb +0 -13
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/confirm_password.html.erb +0 -11
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/create_account.html.erb +0 -35
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/email_auth.html.erb +0 -5
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/login.html.erb +0 -4
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/logout.html.erb +0 -14
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/multi_phase_login.html.erb +0 -3
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_auth.html.erb +0 -15
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_disable.html.erb +0 -13
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/otp_setup.html.erb +0 -41
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_auth.html.erb +0 -11
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/recovery_codes.html.erb +0 -13
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/remember.html.erb +0 -22
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password.html.erb +0 -19
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/reset_password_request.html.erb +0 -17
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_auth.html.erb +0 -15
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_confirm.html.erb +0 -15
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_disable.html.erb +0 -13
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_request.html.erb +0 -5
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/sms_setup.html.erb +0 -23
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_auth.html.erb +0 -5
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_disable.html.erb +0 -13
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/two_factor_manage.html.erb +0 -22
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account.html.erb +0 -15
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/unlock_account_request.html.erb +0 -9
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account.html.erb +0 -21
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_account_resend.html.erb +0 -17
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/verify_login_change.html.erb +0 -5
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_auth.html.erb +0 -15
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_autofill.html.erb +0 -10
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_remove.html.erb +0 -23
- data/lib/generators/pu/rodauth/templates/app/views/rodauth/webauthn_setup.html.erb +0 -23
- data/lib/plutonium/core/actions.rb +0 -17
- data/lib/plutonium/core/app_controller.rb +0 -121
- data/lib/plutonium/core/autodiscovery.rb +0 -13
- data/lib/plutonium/core/controllers.rb +0 -16
- data/lib/plutonium/core/definers.rb +0 -14
- data/lib/plutonium/core/fields/inputs.rb +0 -20
- data/lib/plutonium/core/fields/renderers.rb +0 -16
- data/lib/plutonium/core/fields.rb +0 -12
- data/lib/plutonium/core/ui.rb +0 -13
- data/lib/plutonium/core.rb +0 -16
- data/lib/plutonium/helpers/menu_helper.rb +0 -69
- data/lib/plutonium/helpers/pagination_helper.rb +0 -9
- data/lib/plutonium/initializers/TODO +0 -2
- data/lib/plutonium/initializers/patches.rb +0 -2
- data/lib/plutonium/initializers/simple_form.rb +0 -405
- data/lib/plutonium/packaging.rb +0 -9
- data/lib/plutonium/policy.rb +0 -8
- data/lib/plutonium/reactor/resource_context.rb +0 -5
- data/lib/plutonium/reactor/resource_controller.rb +0 -131
- data/lib/plutonium/reactor/resource_interaction.rb +0 -8
- data/lib/plutonium/reactor/resource_presenter.rb +0 -47
- data/lib/plutonium/reactor.rb +0 -14
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/_email_auth_request_form.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/_login_form.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/_login_form_footer.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/add_recovery_codes.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/change_login.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/change_password.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/close_account.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/confirm_password.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/create_account.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/email_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/login.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/logout.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/multi_phase_login.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/otp_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/otp_disable.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/otp_setup.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/recovery_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/recovery_codes.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/remember.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/reset_password.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/reset_password_request.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/sms_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/sms_confirm.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/sms_disable.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/sms_request.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/sms_setup.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/two_factor_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/two_factor_disable.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/two_factor_manage.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/unlock_account.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/unlock_account_request.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/verify_account.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/verify_account_resend.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/verify_login_change.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/webauthn_auth.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/webauthn_autofill.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/webauthn_remove.html.erb +0 -0
- /data/{lib/generators/pu/rodauth/templates/app/views/rodauth/tailwind → app/views/rodauth}/webauthn_setup.html.erb +0 -0
- /data/{lib/plutonium → config}/initializers/rabl.rb +0 -0
- /data/lib/generators/pu/{resource/conn/templates → pkg/app/templates/app/views/package}/.keep +0 -0
- /data/lib/generators/pu/{resource → res}/conn/templates/app/policies/resource_policy.rb.tt +0 -0
- /data/lib/generators/pu/{resource → res}/conn/templates/app/presenters/resource_presenter.rb.tt +0 -0
- /data/lib/generators/pu/{resource → res}/model/USAGE +0 -0
- /data/lib/generators/pu/{resource → res}/model/templates/create_table_migration.rb.tt +0 -0
- /data/lib/generators/pu/{resource → res}/model/templates/module.rb.tt +0 -0
- /data/lib/generators/pu/{resource/model → res/scaffold}/templates/controller.rb.tt +0 -0
@@ -1,11 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.recovery_auth_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<div class="form-group mb-3">
|
3
|
-
<%= form.label "recovery-code", rodauth.recovery_codes_label, class: "form-label" %>
|
4
|
-
<%= form.text_field rodauth.recovery_codes_param, value: "", id: "recovery-code", autocomplete: "off", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.recovery_codes_param)}", aria: ({ invalid: true, describedby: "recovery-code_error_message" } if rodauth.field_error(rodauth.recovery_codes_param)) %>
|
5
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.recovery_codes_param), class: "invalid-feedback", id: "recovery-code_error_message") if rodauth.field_error(rodauth.recovery_codes_param) %>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div class="form-group mb-3">
|
9
|
-
<%= form.submit rodauth.recovery_auth_button, class: "btn btn-primary" %>
|
10
|
-
</div>
|
11
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.recovery_codes_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<div class="form-group mb-3">
|
11
|
-
<%= form.submit rodauth.recovery_codes_button || rodauth.view_recovery_codes_button, name: (rodauth.add_recovery_codes_param if rodauth.recovery_codes_button), class: "btn btn-primary" %>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.remember_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<fieldset class="form-group mb-3">
|
3
|
-
<div class="form-check">
|
4
|
-
<%= form.radio_button rodauth.remember_param, rodauth.remember_remember_param_value, id: "remember-remember", class: "form-check-input" %>
|
5
|
-
<%= form.label "remember-remember", rodauth.remember_remember_label, class: "form-check-label" %>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<div class="form-check">
|
9
|
-
<%= form.radio_button rodauth.remember_param, rodauth.remember_forget_param_value, id: "remember-forget", class: "form-check-input" %>
|
10
|
-
<%= form.label "remember-forget", rodauth.remember_forget_label, class: "form-check-label" %>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div class="form-check">
|
14
|
-
<%= form.radio_button rodauth.remember_param, rodauth.remember_disable_param_value, id: "remember-disable", class: "form-check-input" %>
|
15
|
-
<%= form.label "remember-disable", rodauth.remember_disable_label, class: "form-check-label" %>
|
16
|
-
</div>
|
17
|
-
</fieldset>
|
18
|
-
|
19
|
-
<div class="form-group mb-3">
|
20
|
-
<%= form.submit rodauth.remember_button, class: "btn btn-primary" %>
|
21
|
-
</div>
|
22
|
-
<% end %>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.reset_password_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<div class="form-group mb-3">
|
3
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
4
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
5
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
6
|
-
</div>
|
7
|
-
|
8
|
-
<% if rodauth.require_password_confirmation? %>
|
9
|
-
<div class="form-group mb-3">
|
10
|
-
<%= form.label "password-confirm", rodauth.password_confirm_label, class: "form-label" %>
|
11
|
-
<%= form.password_field rodauth.password_confirm_param, value: "", id: "password-confirm", autocomplete: "new-password", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_confirm_param)}", aria: ({ invalid: true, describedby: "password-confirm_error_message" } if rodauth.field_error(rodauth.password_confirm_param)) %>
|
12
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_confirm_param), class: "invalid-feedback", id: "password-confirm_error_message") if rodauth.field_error(rodauth.password_confirm_param) %>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<div class="form-group mb-3">
|
17
|
-
<%= form.submit rodauth.reset_password_button, class: "btn btn-primary" %>
|
18
|
-
</div>
|
19
|
-
<% end %>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.reset_password_request_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<%== rodauth.reset_password_explanatory_text %>
|
3
|
-
|
4
|
-
<% if params[rodauth.login_param] && !rodauth.field_error(rodauth.login_param) %>
|
5
|
-
<%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %>
|
6
|
-
<% else %>
|
7
|
-
<div class="form-group mb-3">
|
8
|
-
<%= form.label "login", rodauth.login_label, class: "form-label" %>
|
9
|
-
<%= form.email_field rodauth.login_param, value: params[rodauth.login_param], id: "login", autocomplete: "email", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.login_param)}", aria: ({ invalid: true, describedby: "login_error_message" } if rodauth.field_error(rodauth.login_param)) %>
|
10
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.login_param), class: "invalid-feedback", id: "login_error_message") if rodauth.field_error(rodauth.login_param) %>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<div class="form-group mb-3">
|
15
|
-
<%= form.submit rodauth.reset_password_request_button, class: "btn btn-primary" %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.sms_auth_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<div class="form-group mb-3">
|
3
|
-
<%= form.label "sms-code", rodauth.sms_code_label, class: "form-label" %>
|
4
|
-
<div class="row">
|
5
|
-
<div class="col-sm-3">
|
6
|
-
<%= form.text_field rodauth.sms_code_param, value: "", id: "sms-code", autocomplete: "one-time-code", inputmode: "numeric", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.sms_code_param)}", aria: ({ invalid: true, describedby: "sms-code_error_message" } if rodauth.field_error(rodauth.sms_code_param)) %>
|
7
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.sms_code_param), class: "invalid-feedback", id: "sms-code_error_message") if rodauth.field_error(rodauth.sms_code_param) %>
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="form-group mb-3">
|
13
|
-
<%= form.submit rodauth.sms_auth_button, class: "btn btn-primary" %>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.sms_confirm_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<div class="form-group mb-3">
|
3
|
-
<%= form.label "sms-code", rodauth.sms_code_label, class: "form-label" %>
|
4
|
-
<div class="row">
|
5
|
-
<div class="col-sm-3">
|
6
|
-
<%= form.text_field rodauth.sms_code_param, value: "", id: "sms-code", autocomplete: "one-time-code", inputmode: "numeric", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.sms_code_param)}", aria: ({ invalid: true, describedby: "sms-code_error_message" } if rodauth.field_error(rodauth.sms_code_param)) %>
|
7
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.sms_code_param), class: "invalid-feedback", id: "sms-code_error_message") if rodauth.field_error(rodauth.sms_code_param) %>
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="form-group mb-3">
|
13
|
-
<%= form.submit rodauth.sms_confirm_button, class: "btn btn-primary" %>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.sms_disable_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<div class="form-group mb-3">
|
11
|
-
<%= form.submit rodauth.sms_disable_button, class: "btn btn-primary" %>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.sms_setup_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<div class="form-group mb-3">
|
11
|
-
<%= form.label "sms-phone", rodauth.sms_phone_label, class: "form-label" %>
|
12
|
-
<div class="row">
|
13
|
-
<div class="col-sm-3">
|
14
|
-
<%= form.telephone_field rodauth.sms_phone_param, value: "", id: "sms-phone", autocomplete: "tel", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.sms_phone_param)}", aria: ({ invalid: true, describedby: "sms-phone_error_message" } if rodauth.field_error(rodauth.sms_phone_param)) %>
|
15
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.sms_phone_param), class: "invalid-feedback", id: "sms-phone_error_message") if rodauth.field_error(rodauth.sms_phone_param) %>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
|
20
|
-
<div class="form-group mb-3">
|
21
|
-
<%= form.submit rodauth.sms_setup_button, class: "btn btn-primary" %>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.two_factor_disable_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<div class="form-group mb-3">
|
11
|
-
<%= form.submit rodauth.two_factor_disable_button, class: "btn btn-primary" %>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<% if rodauth.two_factor_setup_links.any? %>
|
2
|
-
<%== rodauth.two_factor_setup_heading %>
|
3
|
-
|
4
|
-
<ul>
|
5
|
-
<% rodauth.two_factor_setup_links.sort.each do |_, link, text| %>
|
6
|
-
<li><%= link_to text, link %></li>
|
7
|
-
<% end %>
|
8
|
-
</ul>
|
9
|
-
<% end %>
|
10
|
-
|
11
|
-
<% if rodauth.two_factor_remove_links.any? %>
|
12
|
-
<%== rodauth.two_factor_remove_heading %>
|
13
|
-
|
14
|
-
<ul>
|
15
|
-
<% rodauth.two_factor_remove_links.sort.each do |_, link, text| %>
|
16
|
-
<li><%= link_to text, link %></li>
|
17
|
-
<% end %>
|
18
|
-
<% if rodauth.two_factor_remove_links.length > 1 %>
|
19
|
-
<li><%= link_to rodauth.two_factor_disable_link_text, rodauth.two_factor_disable_path %></li>
|
20
|
-
<% end %>
|
21
|
-
</ul>
|
22
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.unlock_account_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<%== rodauth.unlock_account_explanatory_text %>
|
3
|
-
|
4
|
-
<% if rodauth.unlock_account_requires_password? %>
|
5
|
-
<div class="form-group mb-3">
|
6
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
7
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
8
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
9
|
-
</div>
|
10
|
-
<% end %>
|
11
|
-
|
12
|
-
<div class="form-group mb-3">
|
13
|
-
<%= form.submit rodauth.unlock_account_button, class: "btn btn-primary" %>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.unlock_account_request_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %>
|
3
|
-
|
4
|
-
<%== rodauth.unlock_account_request_explanatory_text %>
|
5
|
-
|
6
|
-
<div class="form-group mb-3">
|
7
|
-
<%= form.submit rodauth.unlock_account_request_button, class: "btn btn-primary" %>
|
8
|
-
</div>
|
9
|
-
<% end %>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.verify_account_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.verify_account_set_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<% if rodauth.require_password_confirmation? %>
|
10
|
-
<div class="form-group mb-3">
|
11
|
-
<%= form.label "password-confirm", rodauth.password_confirm_label, class: "form-label" %>
|
12
|
-
<%= form.password_field rodauth.password_confirm_param, value: "", id: "password-confirm", autocomplete: "new-password", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_confirm_param)}", aria: ({ invalid: true, describedby: "password-confirm_error_message" } if rodauth.field_error(rodauth.password_confirm_param)) %>
|
13
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_confirm_param), class: "invalid-feedback", id: "password-confirm_error_message") if rodauth.field_error(rodauth.password_confirm_param) %>
|
14
|
-
</div>
|
15
|
-
<% end %>
|
16
|
-
<% end %>
|
17
|
-
|
18
|
-
<div class="form-group mb-3">
|
19
|
-
<%= form.submit rodauth.verify_account_button, class: "btn btn-primary" %>
|
20
|
-
</div>
|
21
|
-
<% end %>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.verify_account_resend_path, method: :post, data: { turbo: false } do |form| %>
|
2
|
-
<%== rodauth.verify_account_resend_explanatory_text %>
|
3
|
-
|
4
|
-
<% if params[rodauth.login_param] %>
|
5
|
-
<%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %>
|
6
|
-
<% else %>
|
7
|
-
<div class="form-group mb-3">
|
8
|
-
<%= form.label "login", rodauth.login_label, class: "form-label" %>
|
9
|
-
<%= form.email_field rodauth.login_param, value: params[rodauth.login_param], id: "login", autocomplete: "email", required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.login_param)}", aria: ({ invalid: true, describedby: "login_error_message" } if rodauth.field_error(rodauth.login_param)) %>
|
10
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.login_param), class: "invalid-feedback", id: "login_error_message") if rodauth.field_error(rodauth.login_param) %>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<div class="form-group mb-3">
|
15
|
-
<%= form.submit rodauth.verify_account_resend_button, class: "btn btn-primary" %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<% cred = rodauth.webauthn_credential_options_for_get %>
|
2
|
-
|
3
|
-
<%= form_with url: rodauth.webauthn_auth_form_path, method: :post, id: "webauthn-auth-form", data: { credential_options: cred.as_json.to_json, turbo: false } do |form| %>
|
4
|
-
<%= form.hidden_field rodauth.login_param, value: params[rodauth.login_param] %>
|
5
|
-
<%= form.hidden_field rodauth.webauthn_auth_challenge_param, value: cred.challenge %>
|
6
|
-
<%= form.hidden_field rodauth.webauthn_auth_challenge_hmac_param, value: rodauth.compute_hmac(cred.challenge) %>
|
7
|
-
<%= form.text_field rodauth.webauthn_auth_param, value: "", id: "webauthn-auth", class: "d-none", aria: { hidden: "true" } %>
|
8
|
-
<div id="webauthn-auth-button">
|
9
|
-
<div class="form-group mb-3">
|
10
|
-
<%= form.submit rodauth.webauthn_auth_button, class: "btn btn-primary" %>
|
11
|
-
</div>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
14
|
-
|
15
|
-
<%= javascript_include_tag rodauth.webauthn_auth_js_path, extname: false %>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<% cred = rodauth.webauthn_credential_options_for_get %>
|
2
|
-
|
3
|
-
<%= form_with url: rodauth.webauthn_login_path, method: :post, id: "webauthn-login-form", data: { credential_options: cred.as_json.to_json, turbo: false } do |form| %>
|
4
|
-
<%= form.hidden_field rodauth.webauthn_auth_challenge_param, value: cred.challenge %>
|
5
|
-
<%= form.hidden_field rodauth.webauthn_auth_challenge_hmac_param, value: rodauth.compute_hmac(cred.challenge) %>
|
6
|
-
<%= form.text_field rodauth.webauthn_auth_param, value: "", id: "webauthn-auth", class: "d-none", aria: { hidden: "true" } %>
|
7
|
-
<%= form.submit rodauth.webauthn_auth_button, class: "d-none" %>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<%= javascript_include_tag rodauth.webauthn_autofill_js_path, extname: false %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<%= form_with url: rodauth.webauthn_remove_path, method: :post, id: "webauthn-remove-form", data: { turbo: false } do |form| %>
|
2
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
3
|
-
<div class="form-group mb-3">
|
4
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
5
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
6
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
7
|
-
</div>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<fieldset class="form-group mb-3">
|
11
|
-
<% (usage = rodauth.account_webauthn_usage).each do |id, last_use| %>
|
12
|
-
<div class="form-check">
|
13
|
-
<%= form.radio_button rodauth.webauthn_remove_param, id, id: "webauthn-remove-#{id}", class: "form-check-input #{"is-invalid" if rodauth.field_error(rodauth.webauthn_remove_param)}", aria: ({ invalid: true, describedby: "webauthn_remove_error_message" } if rodauth.field_error(rodauth.webauthn_remove_param)) %>
|
14
|
-
<%= form.label "webauthn-remove-#{id}", "Last use: #{last_use}", class: "form-check-label" %>
|
15
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.webauthn_remove_param), class: "invalid-feedback", id: "webauthn_remove_error_message") if rodauth.field_error(rodauth.webauthn_remove_param) && id == usage.keys.last %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
18
|
-
</fieldset>
|
19
|
-
|
20
|
-
<div class="form-group mb-3">
|
21
|
-
<%= form.submit rodauth.webauthn_remove_button, class: "btn btn-primary" %>
|
22
|
-
</div>
|
23
|
-
<% end %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<% cred = rodauth.new_webauthn_credential %>
|
2
|
-
|
3
|
-
<%= form_with url: request.path, method: :post, id: "webauthn-setup-form", data: { credential_options: cred.as_json.to_json, turbo: false } do |form| %>
|
4
|
-
<%= form.hidden_field rodauth.webauthn_setup_challenge_param, value: cred.challenge %>
|
5
|
-
<%= form.hidden_field rodauth.webauthn_setup_challenge_hmac_param, value: rodauth.compute_hmac(cred.challenge) %>
|
6
|
-
<%= form.text_field rodauth.webauthn_setup_param, value: "", id: "webauthn-setup", class: "d-none", aria: { hidden: "true" } %>
|
7
|
-
|
8
|
-
<% if rodauth.two_factor_modifications_require_password? %>
|
9
|
-
<div class="form-group mb-3">
|
10
|
-
<%= form.label "password", rodauth.password_label, class: "form-label" %>
|
11
|
-
<%= form.password_field rodauth.password_param, value: "", id: "password", autocomplete: rodauth.password_field_autocomplete_value, required: true, class: "form-control #{"is-invalid" if rodauth.field_error(rodauth.password_param)}", aria: ({ invalid: true, describedby: "password_error_message" } if rodauth.field_error(rodauth.password_param)) %>
|
12
|
-
<%= content_tag(:span, rodauth.field_error(rodauth.password_param), class: "invalid-feedback", id: "password_error_message") if rodauth.field_error(rodauth.password_param) %>
|
13
|
-
</div>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<div id="webauthn-setup-button">
|
17
|
-
<div class="form-group mb-3">
|
18
|
-
<%= form.submit rodauth.webauthn_setup_button, class: "btn btn-primary" %>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
<% end %>
|
22
|
-
|
23
|
-
<%= javascript_include_tag rodauth.webauthn_setup_js_path, extname: false %>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module Plutonium
|
2
|
-
module Core
|
3
|
-
module Actions
|
4
|
-
extend ActiveSupport::Autoload
|
5
|
-
|
6
|
-
eager_autoload do
|
7
|
-
autoload :BasicAction
|
8
|
-
autoload :Collection
|
9
|
-
autoload :NewAction
|
10
|
-
autoload :DestroyAction
|
11
|
-
autoload :EditAction
|
12
|
-
autoload :InteractiveAction
|
13
|
-
autoload :ShowAction
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,121 +0,0 @@
|
|
1
|
-
module Plutonium
|
2
|
-
module Core
|
3
|
-
module AppController
|
4
|
-
extend ActiveSupport::Concern
|
5
|
-
include Plutonium::Core::Controllers::EntityScoping
|
6
|
-
|
7
|
-
included do
|
8
|
-
helper_method :current_parent
|
9
|
-
helper_method :adapt_route_args
|
10
|
-
end
|
11
|
-
|
12
|
-
private
|
13
|
-
|
14
|
-
def resource_presenter(resource_class, resource_record)
|
15
|
-
presenter_class = "#{current_package}::#{resource_class}Presenter".constantize
|
16
|
-
presenter_class.new resource_context, resource_record
|
17
|
-
end
|
18
|
-
|
19
|
-
def policy_namespace(scope)
|
20
|
-
[current_package.to_s.underscore.to_sym, scope]
|
21
|
-
end
|
22
|
-
|
23
|
-
# Menu Builder
|
24
|
-
def build_namespace_node(namespaces, resource, parent)
|
25
|
-
current = namespaces.shift
|
26
|
-
if namespaces.size.zero?
|
27
|
-
parent[current.pluralize] = url_for(adapt_route_args(resource, use_parent: false))
|
28
|
-
else
|
29
|
-
parent[current] = {}
|
30
|
-
build_namespace_node(namespaces, resource, parent[current])
|
31
|
-
end
|
32
|
-
# parent.sort!
|
33
|
-
end
|
34
|
-
|
35
|
-
def build_namespace_tree(resources)
|
36
|
-
root = {}
|
37
|
-
resources.each do |resource|
|
38
|
-
namespaces = resource.name.split("::")
|
39
|
-
build_namespace_node(namespaces, resource, root)
|
40
|
-
end
|
41
|
-
root
|
42
|
-
end
|
43
|
-
|
44
|
-
def build_sidebar_menu
|
45
|
-
build_namespace_tree(current_engine.resource_register)
|
46
|
-
end
|
47
|
-
|
48
|
-
# Menu Builder
|
49
|
-
|
50
|
-
def current_parent
|
51
|
-
return unless parent_route_param.present?
|
52
|
-
|
53
|
-
@current_parent ||= begin
|
54
|
-
parent_route_key = parent_route_param.to_s.gsub(/_id$/, "").to_sym
|
55
|
-
parent_class = current_engine.registered_resource_route_key_lookup[parent_route_key]
|
56
|
-
parent_scope = parent_class.from_path_param(params[parent_route_param])
|
57
|
-
parent_scope = parent_scope.associated_with(current_scoped_entity) if scoped_to_entity?
|
58
|
-
parent_scope.first!
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
def parent_route_param
|
63
|
-
@parent_route_param ||= request.path_parameters.keys.reverse.find { |key| /_id$/.match? key }
|
64
|
-
end
|
65
|
-
|
66
|
-
#
|
67
|
-
# Returns the attribute on the resource if there is a current parent and the resource has a belongs to association to it
|
68
|
-
#
|
69
|
-
def parent_input_param
|
70
|
-
return unless current_parent.present?
|
71
|
-
|
72
|
-
resource_class.reflect_on_all_associations(:belongs_to).find { |assoc| assoc.klass == current_parent.class }&.name&.to_sym
|
73
|
-
end
|
74
|
-
|
75
|
-
#
|
76
|
-
# Returns a dynamic list of args to be used with `url_for` which considers the route namespace and nesting.
|
77
|
-
# The current entity and parent record (for nested routes) are inserted appropriately, ensuring that generated urls
|
78
|
-
# obey the current routing.
|
79
|
-
#
|
80
|
-
# e.g. of route helpers that will be invoked given the output of this method
|
81
|
-
#
|
82
|
-
# - when invoked in a root route (/acme/dashboard/users)
|
83
|
-
#
|
84
|
-
# `adapt_route_args User` => `entity_users_*`
|
85
|
-
# `adapt_route_args @user` => `entity_user_*`
|
86
|
-
# `adapt_route_args @user, action: :edit` => `edit_entity_user_*`
|
87
|
-
# `adapt_route_args @user, Post => `entity_user_posts_*`
|
88
|
-
#
|
89
|
-
# - when invoked in a nested route (/acme/dashboard/users/1/post/1)
|
90
|
-
#
|
91
|
-
# `adapt_route_args Post` => `entity_user_posts_*`
|
92
|
-
# `adapt_route_args @post` => `entity_user_post_*`
|
93
|
-
# `adapt_route_args @post, action: :edit` => `edit_entity_user_post_*`
|
94
|
-
#
|
95
|
-
# @param [Class, ApplicationRecord] *args arguments you would normally pass to `url_for`
|
96
|
-
# @param [Symbol] action optional action to invoke e.g. :new, :edit
|
97
|
-
#
|
98
|
-
# @return [Array[Class, ApplicationRecord, Symbol]] args to pass to `url_for`
|
99
|
-
#
|
100
|
-
def adapt_route_args(*args, action: nil, use_parent: true, **kwargs)
|
101
|
-
# If the last item is a class and the action is :new e.g. `adapt_route_args User, action: :new`,
|
102
|
-
# it must be converted into a symbol to generate the appropriate helper i.e `new_user_*`
|
103
|
-
# to match the url helper generated by `resources :users`
|
104
|
-
resource = args.pop
|
105
|
-
resource = resource.model_name.singular_route_key.to_sym if action == :new && resource.is_a?(Class)
|
106
|
-
args.push resource
|
107
|
-
|
108
|
-
parent = use_parent ? current_parent : nil
|
109
|
-
|
110
|
-
base_args = if scoped_to_entity?
|
111
|
-
[action, current_scoped_entity.becomes(scoped_entity_class), parent]
|
112
|
-
else
|
113
|
-
[action, parent]
|
114
|
-
end
|
115
|
-
|
116
|
-
# rails compacts this list. no need to handle nils
|
117
|
-
base_args + args + [**kwargs]
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Plutonium
|
2
|
-
module Core
|
3
|
-
module Controllers
|
4
|
-
extend ActiveSupport::Autoload
|
5
|
-
|
6
|
-
eager_autoload do
|
7
|
-
autoload :Authorizable
|
8
|
-
autoload :Bootable
|
9
|
-
autoload :CrudActions
|
10
|
-
autoload :EntityScoping
|
11
|
-
autoload :Presentable
|
12
|
-
autoload :InteractiveActions
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
module Plutonium
|
2
|
-
module Core
|
3
|
-
module Fields
|
4
|
-
module Inputs
|
5
|
-
extend ActiveSupport::Autoload
|
6
|
-
|
7
|
-
eager_autoload do
|
8
|
-
autoload :AttachmentInput
|
9
|
-
autoload :Base
|
10
|
-
autoload :BelongsToAssociationInput
|
11
|
-
autoload :Factory
|
12
|
-
autoload :HasManyAssociationInput
|
13
|
-
autoload :NoopInput
|
14
|
-
autoload :SimpleFormAssociationInput
|
15
|
-
autoload :SimpleFormInput
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Plutonium
|
2
|
-
module Core
|
3
|
-
module Fields
|
4
|
-
module Renderers
|
5
|
-
extend ActiveSupport::Autoload
|
6
|
-
|
7
|
-
eager_autoload do
|
8
|
-
autoload :AssociationRenderer
|
9
|
-
autoload :AttachmentRenderer
|
10
|
-
autoload :BasicRenderer
|
11
|
-
autoload :Factory
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|