coveragebook_components 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/assets/build/coco/app.css +3427 -0
- data/app/assets/build/coco/app.dev.css +3427 -0
- data/app/assets/build/coco/app.dev.js +24891 -0
- data/app/assets/build/coco/app.js +24871 -0
- data/app/assets/build/coco/book.css +992 -0
- data/app/assets/build/coco/book.dev.css +992 -0
- data/app/assets/build/coco/book.dev.js +19840 -0
- data/app/assets/build/coco/book.js +19840 -0
- data/app/assets/build/coco/icons/accessibility.svg +1 -0
- data/app/assets/build/coco/icons/activity.svg +1 -0
- data/app/assets/build/coco/icons/air-vent.svg +1 -0
- data/app/assets/build/coco/icons/airplay.svg +1 -0
- data/app/assets/build/coco/icons/alarm-check.svg +1 -0
- data/app/assets/build/coco/icons/alarm-clock-off.svg +1 -0
- data/app/assets/build/coco/icons/alarm-clock.svg +1 -0
- data/app/assets/build/coco/icons/alarm-minus.svg +1 -0
- data/app/assets/build/coco/icons/alarm-plus.svg +1 -0
- data/app/assets/build/coco/icons/album.svg +1 -0
- data/app/assets/build/coco/icons/alert-circle.svg +1 -0
- data/app/assets/build/coco/icons/alert-octagon.svg +1 -0
- data/app/assets/build/coco/icons/alert-triangle.svg +1 -0
- data/app/assets/build/coco/icons/align-center-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/align-center-vertical.svg +1 -0
- data/app/assets/build/coco/icons/align-center.svg +1 -0
- data/app/assets/build/coco/icons/align-end-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/align-end-vertical.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-distribute-center.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-distribute-end.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-distribute-start.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-justify-center.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-justify-end.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-justify-start.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-space-around.svg +1 -0
- data/app/assets/build/coco/icons/align-horizontal-space-between.svg +1 -0
- data/app/assets/build/coco/icons/align-justify.svg +1 -0
- data/app/assets/build/coco/icons/align-left.svg +1 -0
- data/app/assets/build/coco/icons/align-right.svg +1 -0
- data/app/assets/build/coco/icons/align-start-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/align-start-vertical.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-distribute-center.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-distribute-end.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-distribute-start.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-justify-center.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-justify-end.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-justify-start.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-space-around.svg +1 -0
- data/app/assets/build/coco/icons/align-vertical-space-between.svg +1 -0
- data/app/assets/build/coco/icons/anchor.svg +1 -0
- data/app/assets/build/coco/icons/angry.svg +1 -0
- data/app/assets/build/coco/icons/annoyed.svg +1 -0
- data/app/assets/build/coco/icons/aperture.svg +1 -0
- data/app/assets/build/coco/icons/apple.svg +1 -0
- data/app/assets/build/coco/icons/archive-restore.svg +1 -0
- data/app/assets/build/coco/icons/archive.svg +1 -0
- data/app/assets/build/coco/icons/armchair.svg +1 -0
- data/app/assets/build/coco/icons/arrow-big-down.svg +1 -0
- data/app/assets/build/coco/icons/arrow-big-left.svg +1 -0
- data/app/assets/build/coco/icons/arrow-big-right.svg +1 -0
- data/app/assets/build/coco/icons/arrow-big-up.svg +1 -0
- data/app/assets/build/coco/icons/arrow-down-circle.svg +1 -0
- data/app/assets/build/coco/icons/arrow-down-left.svg +1 -0
- data/app/assets/build/coco/icons/arrow-down-right.svg +1 -0
- data/app/assets/build/coco/icons/arrow-down.svg +1 -0
- data/app/assets/build/coco/icons/arrow-left-circle.svg +1 -0
- data/app/assets/build/coco/icons/arrow-left-right.svg +1 -0
- data/app/assets/build/coco/icons/arrow-left.svg +1 -0
- data/app/assets/build/coco/icons/arrow-right-circle.svg +1 -0
- data/app/assets/build/coco/icons/arrow-right.svg +1 -0
- data/app/assets/build/coco/icons/arrow-up-circle.svg +1 -0
- data/app/assets/build/coco/icons/arrow-up-down.svg +1 -0
- data/app/assets/build/coco/icons/arrow-up-left.svg +1 -0
- data/app/assets/build/coco/icons/arrow-up-right.svg +1 -0
- data/app/assets/build/coco/icons/arrow-up.svg +1 -0
- data/app/assets/build/coco/icons/asterisk.svg +1 -0
- data/app/assets/build/coco/icons/at-sign.svg +1 -0
- data/app/assets/build/coco/icons/award.svg +1 -0
- data/app/assets/build/coco/icons/axe.svg +1 -0
- data/app/assets/build/coco/icons/axis-3d.svg +1 -0
- data/app/assets/build/coco/icons/baby.svg +1 -0
- data/app/assets/build/coco/icons/backpack.svg +1 -0
- data/app/assets/build/coco/icons/baggage-claim.svg +1 -0
- data/app/assets/build/coco/icons/banana.svg +1 -0
- data/app/assets/build/coco/icons/banknote.svg +1 -0
- data/app/assets/build/coco/icons/bar-chart-2.svg +1 -0
- data/app/assets/build/coco/icons/bar-chart-3.svg +1 -0
- data/app/assets/build/coco/icons/bar-chart-4.svg +1 -0
- data/app/assets/build/coco/icons/bar-chart-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/bar-chart.svg +1 -0
- data/app/assets/build/coco/icons/baseline.svg +1 -0
- data/app/assets/build/coco/icons/bath.svg +1 -0
- data/app/assets/build/coco/icons/battery-charging.svg +1 -0
- data/app/assets/build/coco/icons/battery-full.svg +1 -0
- data/app/assets/build/coco/icons/battery-low.svg +1 -0
- data/app/assets/build/coco/icons/battery-medium.svg +1 -0
- data/app/assets/build/coco/icons/battery-warning.svg +1 -0
- data/app/assets/build/coco/icons/battery.svg +1 -0
- data/app/assets/build/coco/icons/beaker.svg +1 -0
- data/app/assets/build/coco/icons/bean-off.svg +1 -0
- data/app/assets/build/coco/icons/bean.svg +1 -0
- data/app/assets/build/coco/icons/bed-double.svg +1 -0
- data/app/assets/build/coco/icons/bed-single.svg +1 -0
- data/app/assets/build/coco/icons/bed.svg +1 -0
- data/app/assets/build/coco/icons/beef.svg +1 -0
- data/app/assets/build/coco/icons/beer.svg +1 -0
- data/app/assets/build/coco/icons/bell-minus.svg +1 -0
- data/app/assets/build/coco/icons/bell-off.svg +1 -0
- data/app/assets/build/coco/icons/bell-plus.svg +1 -0
- data/app/assets/build/coco/icons/bell-ring.svg +1 -0
- data/app/assets/build/coco/icons/bell.svg +1 -0
- data/app/assets/build/coco/icons/bike.svg +1 -0
- data/app/assets/build/coco/icons/binary.svg +1 -0
- data/app/assets/build/coco/icons/bitcoin.svg +1 -0
- data/app/assets/build/coco/icons/bluetooth-connected.svg +1 -0
- data/app/assets/build/coco/icons/bluetooth-off.svg +1 -0
- data/app/assets/build/coco/icons/bluetooth-searching.svg +1 -0
- data/app/assets/build/coco/icons/bluetooth.svg +1 -0
- data/app/assets/build/coco/icons/bold.svg +1 -0
- data/app/assets/build/coco/icons/bomb.svg +1 -0
- data/app/assets/build/coco/icons/bone.svg +1 -0
- data/app/assets/build/coco/icons/book-open-check.svg +1 -0
- data/app/assets/build/coco/icons/book-open.svg +1 -0
- data/app/assets/build/coco/icons/book.svg +1 -0
- data/app/assets/build/coco/icons/bookmark-minus.svg +1 -0
- data/app/assets/build/coco/icons/bookmark-plus.svg +1 -0
- data/app/assets/build/coco/icons/bookmark.svg +1 -0
- data/app/assets/build/coco/icons/bot.svg +1 -0
- data/app/assets/build/coco/icons/box-select.svg +1 -0
- data/app/assets/build/coco/icons/box.svg +1 -0
- data/app/assets/build/coco/icons/boxes.svg +1 -0
- data/app/assets/build/coco/icons/briefcase.svg +1 -0
- data/app/assets/build/coco/icons/brush.svg +1 -0
- data/app/assets/build/coco/icons/bug.svg +1 -0
- data/app/assets/build/coco/icons/building-2.svg +1 -0
- data/app/assets/build/coco/icons/building.svg +1 -0
- data/app/assets/build/coco/icons/bus.svg +1 -0
- data/app/assets/build/coco/icons/cake.svg +1 -0
- data/app/assets/build/coco/icons/calculator.svg +1 -0
- data/app/assets/build/coco/icons/calendar-check-2.svg +1 -0
- data/app/assets/build/coco/icons/calendar-check.svg +1 -0
- data/app/assets/build/coco/icons/calendar-clock.svg +1 -0
- data/app/assets/build/coco/icons/calendar-days.svg +1 -0
- data/app/assets/build/coco/icons/calendar-heart.svg +1 -0
- data/app/assets/build/coco/icons/calendar-minus.svg +1 -0
- data/app/assets/build/coco/icons/calendar-off.svg +1 -0
- data/app/assets/build/coco/icons/calendar-plus.svg +1 -0
- data/app/assets/build/coco/icons/calendar-range.svg +1 -0
- data/app/assets/build/coco/icons/calendar-search.svg +1 -0
- data/app/assets/build/coco/icons/calendar-x-2.svg +1 -0
- data/app/assets/build/coco/icons/calendar-x.svg +1 -0
- data/app/assets/build/coco/icons/calendar.svg +1 -0
- data/app/assets/build/coco/icons/camera-off.svg +1 -0
- data/app/assets/build/coco/icons/camera.svg +1 -0
- data/app/assets/build/coco/icons/candy-off.svg +1 -0
- data/app/assets/build/coco/icons/candy.svg +1 -0
- data/app/assets/build/coco/icons/car.svg +1 -0
- data/app/assets/build/coco/icons/carrot.svg +1 -0
- data/app/assets/build/coco/icons/cast.svg +1 -0
- data/app/assets/build/coco/icons/cat.svg +1 -0
- data/app/assets/build/coco/icons/check-check.svg +1 -0
- data/app/assets/build/coco/icons/check-circle-2.svg +1 -0
- data/app/assets/build/coco/icons/check-circle.svg +1 -0
- data/app/assets/build/coco/icons/check-square.svg +1 -0
- data/app/assets/build/coco/icons/check.svg +1 -0
- data/app/assets/build/coco/icons/chef-hat.svg +1 -0
- data/app/assets/build/coco/icons/cherry.svg +1 -0
- data/app/assets/build/coco/icons/chevron-down.svg +1 -0
- data/app/assets/build/coco/icons/chevron-first.svg +1 -0
- data/app/assets/build/coco/icons/chevron-last.svg +1 -0
- data/app/assets/build/coco/icons/chevron-left.svg +1 -0
- data/app/assets/build/coco/icons/chevron-right.svg +1 -0
- data/app/assets/build/coco/icons/chevron-up.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-down-up.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-down.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-left-right.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-left.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-right-left.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-right.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-up-down.svg +1 -0
- data/app/assets/build/coco/icons/chevrons-up.svg +1 -0
- data/app/assets/build/coco/icons/chrome.svg +1 -0
- data/app/assets/build/coco/icons/cigarette-off.svg +1 -0
- data/app/assets/build/coco/icons/cigarette.svg +1 -0
- data/app/assets/build/coco/icons/circle-dot.svg +1 -0
- data/app/assets/build/coco/icons/circle-ellipsis.svg +1 -0
- data/app/assets/build/coco/icons/circle-slashed.svg +1 -0
- data/app/assets/build/coco/icons/circle.svg +1 -0
- data/app/assets/build/coco/icons/citrus.svg +1 -0
- data/app/assets/build/coco/icons/clapperboard.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-check.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-copy.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-edit.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-list.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-signature.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-type.svg +1 -0
- data/app/assets/build/coco/icons/clipboard-x.svg +1 -0
- data/app/assets/build/coco/icons/clipboard.svg +1 -0
- data/app/assets/build/coco/icons/clock-1.svg +1 -0
- data/app/assets/build/coco/icons/clock-10.svg +1 -0
- data/app/assets/build/coco/icons/clock-11.svg +1 -0
- data/app/assets/build/coco/icons/clock-12.svg +1 -0
- data/app/assets/build/coco/icons/clock-2.svg +1 -0
- data/app/assets/build/coco/icons/clock-3.svg +1 -0
- data/app/assets/build/coco/icons/clock-4.svg +1 -0
- data/app/assets/build/coco/icons/clock-5.svg +1 -0
- data/app/assets/build/coco/icons/clock-6.svg +1 -0
- data/app/assets/build/coco/icons/clock-7.svg +1 -0
- data/app/assets/build/coco/icons/clock-8.svg +1 -0
- data/app/assets/build/coco/icons/clock-9.svg +1 -0
- data/app/assets/build/coco/icons/clock.svg +1 -0
- data/app/assets/build/coco/icons/cloud-cog.svg +1 -0
- data/app/assets/build/coco/icons/cloud-drizzle.svg +1 -0
- data/app/assets/build/coco/icons/cloud-fog.svg +1 -0
- data/app/assets/build/coco/icons/cloud-hail.svg +1 -0
- data/app/assets/build/coco/icons/cloud-lightning.svg +1 -0
- data/app/assets/build/coco/icons/cloud-moon-rain.svg +1 -0
- data/app/assets/build/coco/icons/cloud-moon.svg +1 -0
- data/app/assets/build/coco/icons/cloud-off.svg +1 -0
- data/app/assets/build/coco/icons/cloud-rain-wind.svg +1 -0
- data/app/assets/build/coco/icons/cloud-rain.svg +1 -0
- data/app/assets/build/coco/icons/cloud-snow.svg +1 -0
- data/app/assets/build/coco/icons/cloud-sun-rain.svg +1 -0
- data/app/assets/build/coco/icons/cloud-sun.svg +1 -0
- data/app/assets/build/coco/icons/cloud.svg +1 -0
- data/app/assets/build/coco/icons/cloudy.svg +1 -0
- data/app/assets/build/coco/icons/clover.svg +1 -0
- data/app/assets/build/coco/icons/code-2.svg +1 -0
- data/app/assets/build/coco/icons/code.svg +1 -0
- data/app/assets/build/coco/icons/codepen.svg +1 -0
- data/app/assets/build/coco/icons/codesandbox.svg +1 -0
- data/app/assets/build/coco/icons/coffee.svg +1 -0
- data/app/assets/build/coco/icons/cog.svg +1 -0
- data/app/assets/build/coco/icons/coins.svg +1 -0
- data/app/assets/build/coco/icons/columns.svg +1 -0
- data/app/assets/build/coco/icons/command.svg +1 -0
- data/app/assets/build/coco/icons/compass.svg +1 -0
- data/app/assets/build/coco/icons/component.svg +1 -0
- data/app/assets/build/coco/icons/concierge-bell.svg +1 -0
- data/app/assets/build/coco/icons/contact.svg +1 -0
- data/app/assets/build/coco/icons/contrast.svg +1 -0
- data/app/assets/build/coco/icons/cookie.svg +1 -0
- data/app/assets/build/coco/icons/copy.svg +1 -0
- data/app/assets/build/coco/icons/copyleft.svg +1 -0
- data/app/assets/build/coco/icons/copyright.svg +1 -0
- data/app/assets/build/coco/icons/corner-down-left.svg +1 -0
- data/app/assets/build/coco/icons/corner-down-right.svg +1 -0
- data/app/assets/build/coco/icons/corner-left-down.svg +1 -0
- data/app/assets/build/coco/icons/corner-left-up.svg +1 -0
- data/app/assets/build/coco/icons/corner-right-down.svg +1 -0
- data/app/assets/build/coco/icons/corner-right-up.svg +1 -0
- data/app/assets/build/coco/icons/corner-up-left.svg +1 -0
- data/app/assets/build/coco/icons/corner-up-right.svg +1 -0
- data/app/assets/build/coco/icons/cpu.svg +1 -0
- data/app/assets/build/coco/icons/creative-commons.svg +1 -0
- data/app/assets/build/coco/icons/credit-card.svg +1 -0
- data/app/assets/build/coco/icons/croissant.svg +1 -0
- data/app/assets/build/coco/icons/crop.svg +1 -0
- data/app/assets/build/coco/icons/cross.svg +1 -0
- data/app/assets/build/coco/icons/crosshair.svg +1 -0
- data/app/assets/build/coco/icons/crown.svg +1 -0
- data/app/assets/build/coco/icons/cup-soda.svg +1 -0
- data/app/assets/build/coco/icons/curly-braces.svg +1 -0
- data/app/assets/build/coco/icons/currency.svg +1 -0
- data/app/assets/build/coco/icons/database-backup.svg +1 -0
- data/app/assets/build/coco/icons/database.svg +1 -0
- data/app/assets/build/coco/icons/delete.svg +1 -0
- data/app/assets/build/coco/icons/diamond.svg +1 -0
- data/app/assets/build/coco/icons/dice-1.svg +1 -0
- data/app/assets/build/coco/icons/dice-2.svg +1 -0
- data/app/assets/build/coco/icons/dice-3.svg +1 -0
- data/app/assets/build/coco/icons/dice-4.svg +1 -0
- data/app/assets/build/coco/icons/dice-5.svg +1 -0
- data/app/assets/build/coco/icons/dice-6.svg +1 -0
- data/app/assets/build/coco/icons/dices.svg +1 -0
- data/app/assets/build/coco/icons/diff.svg +1 -0
- data/app/assets/build/coco/icons/disc.svg +1 -0
- data/app/assets/build/coco/icons/divide-circle.svg +1 -0
- data/app/assets/build/coco/icons/divide-square.svg +1 -0
- data/app/assets/build/coco/icons/divide.svg +1 -0
- data/app/assets/build/coco/icons/dna-off.svg +1 -0
- data/app/assets/build/coco/icons/dna.svg +1 -0
- data/app/assets/build/coco/icons/dog.svg +1 -0
- data/app/assets/build/coco/icons/dollar-sign.svg +1 -0
- data/app/assets/build/coco/icons/download-cloud.svg +1 -0
- data/app/assets/build/coco/icons/download.svg +1 -0
- data/app/assets/build/coco/icons/dribbble.svg +1 -0
- data/app/assets/build/coco/icons/droplet.svg +1 -0
- data/app/assets/build/coco/icons/droplets.svg +1 -0
- data/app/assets/build/coco/icons/drumstick.svg +1 -0
- data/app/assets/build/coco/icons/dumbbell.svg +1 -0
- data/app/assets/build/coco/icons/ear-off.svg +1 -0
- data/app/assets/build/coco/icons/ear.svg +1 -0
- data/app/assets/build/coco/icons/edit-2.svg +1 -0
- data/app/assets/build/coco/icons/edit-3.svg +1 -0
- data/app/assets/build/coco/icons/edit.svg +1 -0
- data/app/assets/build/coco/icons/egg-fried.svg +1 -0
- data/app/assets/build/coco/icons/egg-off.svg +1 -0
- data/app/assets/build/coco/icons/egg.svg +1 -0
- data/app/assets/build/coco/icons/equal-not.svg +1 -0
- data/app/assets/build/coco/icons/equal.svg +1 -0
- data/app/assets/build/coco/icons/eraser.svg +1 -0
- data/app/assets/build/coco/icons/euro.svg +1 -0
- data/app/assets/build/coco/icons/expand.svg +1 -0
- data/app/assets/build/coco/icons/external-link.svg +1 -0
- data/app/assets/build/coco/icons/eye-off.svg +1 -0
- data/app/assets/build/coco/icons/eye.svg +1 -0
- data/app/assets/build/coco/icons/facebook.svg +1 -0
- data/app/assets/build/coco/icons/factory.svg +1 -0
- data/app/assets/build/coco/icons/fan.svg +1 -0
- data/app/assets/build/coco/icons/fast-forward.svg +1 -0
- data/app/assets/build/coco/icons/feather.svg +1 -0
- data/app/assets/build/coco/icons/figma.svg +1 -0
- data/app/assets/build/coco/icons/file-archive.svg +1 -0
- data/app/assets/build/coco/icons/file-audio-2.svg +1 -0
- data/app/assets/build/coco/icons/file-audio.svg +1 -0
- data/app/assets/build/coco/icons/file-axis-3d.svg +1 -0
- data/app/assets/build/coco/icons/file-badge-2.svg +1 -0
- data/app/assets/build/coco/icons/file-badge.svg +1 -0
- data/app/assets/build/coco/icons/file-bar-chart-2.svg +1 -0
- data/app/assets/build/coco/icons/file-bar-chart.svg +1 -0
- data/app/assets/build/coco/icons/file-box.svg +1 -0
- data/app/assets/build/coco/icons/file-check-2.svg +1 -0
- data/app/assets/build/coco/icons/file-check.svg +1 -0
- data/app/assets/build/coco/icons/file-clock.svg +1 -0
- data/app/assets/build/coco/icons/file-code.svg +1 -0
- data/app/assets/build/coco/icons/file-cog-2.svg +1 -0
- data/app/assets/build/coco/icons/file-cog.svg +1 -0
- data/app/assets/build/coco/icons/file-diff.svg +1 -0
- data/app/assets/build/coco/icons/file-digit.svg +1 -0
- data/app/assets/build/coco/icons/file-down.svg +1 -0
- data/app/assets/build/coco/icons/file-edit.svg +1 -0
- data/app/assets/build/coco/icons/file-heart.svg +1 -0
- data/app/assets/build/coco/icons/file-image.svg +1 -0
- data/app/assets/build/coco/icons/file-input.svg +1 -0
- data/app/assets/build/coco/icons/file-json-2.svg +1 -0
- data/app/assets/build/coco/icons/file-json.svg +1 -0
- data/app/assets/build/coco/icons/file-key-2.svg +1 -0
- data/app/assets/build/coco/icons/file-key.svg +1 -0
- data/app/assets/build/coco/icons/file-line-chart.svg +1 -0
- data/app/assets/build/coco/icons/file-lock-2.svg +1 -0
- data/app/assets/build/coco/icons/file-lock.svg +1 -0
- data/app/assets/build/coco/icons/file-minus-2.svg +1 -0
- data/app/assets/build/coco/icons/file-minus.svg +1 -0
- data/app/assets/build/coco/icons/file-output.svg +1 -0
- data/app/assets/build/coco/icons/file-pie-chart.svg +1 -0
- data/app/assets/build/coco/icons/file-plus-2.svg +1 -0
- data/app/assets/build/coco/icons/file-plus.svg +1 -0
- data/app/assets/build/coco/icons/file-question.svg +1 -0
- data/app/assets/build/coco/icons/file-scan.svg +1 -0
- data/app/assets/build/coco/icons/file-search-2.svg +1 -0
- data/app/assets/build/coco/icons/file-search.svg +1 -0
- data/app/assets/build/coco/icons/file-signature.svg +1 -0
- data/app/assets/build/coco/icons/file-spreadsheet.svg +1 -0
- data/app/assets/build/coco/icons/file-symlink.svg +1 -0
- data/app/assets/build/coco/icons/file-terminal.svg +1 -0
- data/app/assets/build/coco/icons/file-text.svg +1 -0
- data/app/assets/build/coco/icons/file-type-2.svg +1 -0
- data/app/assets/build/coco/icons/file-type.svg +1 -0
- data/app/assets/build/coco/icons/file-up.svg +1 -0
- data/app/assets/build/coco/icons/file-video-2.svg +1 -0
- data/app/assets/build/coco/icons/file-video.svg +1 -0
- data/app/assets/build/coco/icons/file-volume-2.svg +1 -0
- data/app/assets/build/coco/icons/file-volume.svg +1 -0
- data/app/assets/build/coco/icons/file-warning.svg +1 -0
- data/app/assets/build/coco/icons/file-x-2.svg +1 -0
- data/app/assets/build/coco/icons/file-x.svg +1 -0
- data/app/assets/build/coco/icons/file.svg +1 -0
- data/app/assets/build/coco/icons/files.svg +1 -0
- data/app/assets/build/coco/icons/film.svg +1 -0
- data/app/assets/build/coco/icons/filter.svg +1 -0
- data/app/assets/build/coco/icons/fingerprint.svg +1 -0
- data/app/assets/build/coco/icons/fish-off.svg +1 -0
- data/app/assets/build/coco/icons/fish.svg +1 -0
- data/app/assets/build/coco/icons/flag-off.svg +1 -0
- data/app/assets/build/coco/icons/flag-triangle-left.svg +1 -0
- data/app/assets/build/coco/icons/flag-triangle-right.svg +1 -0
- data/app/assets/build/coco/icons/flag.svg +1 -0
- data/app/assets/build/coco/icons/flame.svg +1 -0
- data/app/assets/build/coco/icons/flashlight-off.svg +1 -0
- data/app/assets/build/coco/icons/flashlight.svg +1 -0
- data/app/assets/build/coco/icons/flask-conical-off.svg +1 -0
- data/app/assets/build/coco/icons/flask-conical.svg +1 -0
- data/app/assets/build/coco/icons/flask-round.svg +1 -0
- data/app/assets/build/coco/icons/flip-horizontal-2.svg +1 -0
- data/app/assets/build/coco/icons/flip-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/flip-vertical-2.svg +1 -0
- data/app/assets/build/coco/icons/flip-vertical.svg +1 -0
- data/app/assets/build/coco/icons/flower-2.svg +1 -0
- data/app/assets/build/coco/icons/flower.svg +1 -0
- data/app/assets/build/coco/icons/focus.svg +1 -0
- data/app/assets/build/coco/icons/folder-archive.svg +1 -0
- data/app/assets/build/coco/icons/folder-check.svg +1 -0
- data/app/assets/build/coco/icons/folder-clock.svg +1 -0
- data/app/assets/build/coco/icons/folder-closed.svg +1 -0
- data/app/assets/build/coco/icons/folder-cog-2.svg +1 -0
- data/app/assets/build/coco/icons/folder-cog.svg +1 -0
- data/app/assets/build/coco/icons/folder-down.svg +1 -0
- data/app/assets/build/coco/icons/folder-edit.svg +1 -0
- data/app/assets/build/coco/icons/folder-heart.svg +1 -0
- data/app/assets/build/coco/icons/folder-input.svg +1 -0
- data/app/assets/build/coco/icons/folder-key.svg +1 -0
- data/app/assets/build/coco/icons/folder-lock.svg +1 -0
- data/app/assets/build/coco/icons/folder-minus.svg +1 -0
- data/app/assets/build/coco/icons/folder-open.svg +1 -0
- data/app/assets/build/coco/icons/folder-output.svg +1 -0
- data/app/assets/build/coco/icons/folder-plus.svg +1 -0
- data/app/assets/build/coco/icons/folder-search-2.svg +1 -0
- data/app/assets/build/coco/icons/folder-search.svg +1 -0
- data/app/assets/build/coco/icons/folder-symlink.svg +1 -0
- data/app/assets/build/coco/icons/folder-tree.svg +1 -0
- data/app/assets/build/coco/icons/folder-up.svg +1 -0
- data/app/assets/build/coco/icons/folder-x.svg +1 -0
- data/app/assets/build/coco/icons/folder.svg +1 -0
- data/app/assets/build/coco/icons/folders.svg +1 -0
- data/app/assets/build/coco/icons/form-input.svg +1 -0
- data/app/assets/build/coco/icons/forward.svg +1 -0
- data/app/assets/build/coco/icons/frame.svg +1 -0
- data/app/assets/build/coco/icons/framer.svg +1 -0
- data/app/assets/build/coco/icons/frown.svg +1 -0
- data/app/assets/build/coco/icons/fuel.svg +1 -0
- data/app/assets/build/coco/icons/function-square.svg +1 -0
- data/app/assets/build/coco/icons/gamepad-2.svg +1 -0
- data/app/assets/build/coco/icons/gamepad.svg +1 -0
- data/app/assets/build/coco/icons/gauge.svg +1 -0
- data/app/assets/build/coco/icons/gavel.svg +1 -0
- data/app/assets/build/coco/icons/gem.svg +1 -0
- data/app/assets/build/coco/icons/ghost.svg +1 -0
- data/app/assets/build/coco/icons/gift.svg +1 -0
- data/app/assets/build/coco/icons/git-branch-plus.svg +1 -0
- data/app/assets/build/coco/icons/git-branch.svg +1 -0
- data/app/assets/build/coco/icons/git-commit.svg +1 -0
- data/app/assets/build/coco/icons/git-compare.svg +1 -0
- data/app/assets/build/coco/icons/git-fork.svg +1 -0
- data/app/assets/build/coco/icons/git-merge.svg +1 -0
- data/app/assets/build/coco/icons/git-pull-request-closed.svg +1 -0
- data/app/assets/build/coco/icons/git-pull-request-draft.svg +1 -0
- data/app/assets/build/coco/icons/git-pull-request.svg +1 -0
- data/app/assets/build/coco/icons/github.svg +1 -0
- data/app/assets/build/coco/icons/gitlab.svg +1 -0
- data/app/assets/build/coco/icons/glass-water.svg +1 -0
- data/app/assets/build/coco/icons/glasses.svg +1 -0
- data/app/assets/build/coco/icons/globe-2.svg +1 -0
- data/app/assets/build/coco/icons/globe.svg +1 -0
- data/app/assets/build/coco/icons/grab.svg +1 -0
- data/app/assets/build/coco/icons/graduation-cap.svg +1 -0
- data/app/assets/build/coco/icons/grape.svg +1 -0
- data/app/assets/build/coco/icons/grid.svg +1 -0
- data/app/assets/build/coco/icons/grip-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/grip-vertical.svg +1 -0
- data/app/assets/build/coco/icons/grip.svg +1 -0
- data/app/assets/build/coco/icons/hammer.svg +1 -0
- data/app/assets/build/coco/icons/hand-metal.svg +1 -0
- data/app/assets/build/coco/icons/hand.svg +1 -0
- data/app/assets/build/coco/icons/hard-drive.svg +1 -0
- data/app/assets/build/coco/icons/hard-hat.svg +1 -0
- data/app/assets/build/coco/icons/hash.svg +1 -0
- data/app/assets/build/coco/icons/haze.svg +1 -0
- data/app/assets/build/coco/icons/heading-1.svg +1 -0
- data/app/assets/build/coco/icons/heading-2.svg +1 -0
- data/app/assets/build/coco/icons/heading-3.svg +1 -0
- data/app/assets/build/coco/icons/heading-4.svg +1 -0
- data/app/assets/build/coco/icons/heading-5.svg +1 -0
- data/app/assets/build/coco/icons/heading-6.svg +1 -0
- data/app/assets/build/coco/icons/heading.svg +1 -0
- data/app/assets/build/coco/icons/headphones.svg +1 -0
- data/app/assets/build/coco/icons/heart-crack.svg +1 -0
- data/app/assets/build/coco/icons/heart-handshake.svg +1 -0
- data/app/assets/build/coco/icons/heart-off.svg +1 -0
- data/app/assets/build/coco/icons/heart-pulse.svg +1 -0
- data/app/assets/build/coco/icons/heart.svg +1 -0
- data/app/assets/build/coco/icons/help-circle.svg +1 -0
- data/app/assets/build/coco/icons/hexagon.svg +1 -0
- data/app/assets/build/coco/icons/highlighter.svg +1 -0
- data/app/assets/build/coco/icons/history.svg +1 -0
- data/app/assets/build/coco/icons/home.svg +1 -0
- data/app/assets/build/coco/icons/hop-off.svg +1 -0
- data/app/assets/build/coco/icons/hop.svg +1 -0
- data/app/assets/build/coco/icons/hourglass.svg +1 -0
- data/app/assets/build/coco/icons/ice-cream-2.svg +1 -0
- data/app/assets/build/coco/icons/ice-cream.svg +1 -0
- data/app/assets/build/coco/icons/image-minus.svg +1 -0
- data/app/assets/build/coco/icons/image-off.svg +1 -0
- data/app/assets/build/coco/icons/image-plus.svg +1 -0
- data/app/assets/build/coco/icons/image.svg +1 -0
- data/app/assets/build/coco/icons/import.svg +1 -0
- data/app/assets/build/coco/icons/inbox.svg +1 -0
- data/app/assets/build/coco/icons/indent.svg +1 -0
- data/app/assets/build/coco/icons/indian-rupee.svg +1 -0
- data/app/assets/build/coco/icons/infinity.svg +1 -0
- data/app/assets/build/coco/icons/info.svg +1 -0
- data/app/assets/build/coco/icons/inspect.svg +1 -0
- data/app/assets/build/coco/icons/instagram.svg +1 -0
- data/app/assets/build/coco/icons/italic.svg +1 -0
- data/app/assets/build/coco/icons/japanese-yen.svg +1 -0
- data/app/assets/build/coco/icons/joystick.svg +1 -0
- data/app/assets/build/coco/icons/key.svg +1 -0
- data/app/assets/build/coco/icons/keyboard.svg +1 -0
- data/app/assets/build/coco/icons/lamp-ceiling.svg +1 -0
- data/app/assets/build/coco/icons/lamp-desk.svg +1 -0
- data/app/assets/build/coco/icons/lamp-floor.svg +1 -0
- data/app/assets/build/coco/icons/lamp-wall-down.svg +1 -0
- data/app/assets/build/coco/icons/lamp-wall-up.svg +1 -0
- data/app/assets/build/coco/icons/lamp.svg +1 -0
- data/app/assets/build/coco/icons/landmark.svg +1 -0
- data/app/assets/build/coco/icons/languages.svg +1 -0
- data/app/assets/build/coco/icons/laptop-2.svg +1 -0
- data/app/assets/build/coco/icons/laptop.svg +1 -0
- data/app/assets/build/coco/icons/lasso-select.svg +1 -0
- data/app/assets/build/coco/icons/lasso.svg +1 -0
- data/app/assets/build/coco/icons/laugh.svg +1 -0
- data/app/assets/build/coco/icons/layers.svg +1 -0
- data/app/assets/build/coco/icons/layout-dashboard.svg +1 -0
- data/app/assets/build/coco/icons/layout-grid.svg +1 -0
- data/app/assets/build/coco/icons/layout-list.svg +1 -0
- data/app/assets/build/coco/icons/layout-template.svg +1 -0
- data/app/assets/build/coco/icons/layout.svg +1 -0
- data/app/assets/build/coco/icons/leaf.svg +1 -0
- data/app/assets/build/coco/icons/library.svg +1 -0
- data/app/assets/build/coco/icons/life-buoy.svg +1 -0
- data/app/assets/build/coco/icons/lightbulb-off.svg +1 -0
- data/app/assets/build/coco/icons/lightbulb.svg +1 -0
- data/app/assets/build/coco/icons/line-chart.svg +1 -0
- data/app/assets/build/coco/icons/link-2-off.svg +1 -0
- data/app/assets/build/coco/icons/link-2.svg +1 -0
- data/app/assets/build/coco/icons/link.svg +1 -0
- data/app/assets/build/coco/icons/linkedin.svg +1 -0
- data/app/assets/build/coco/icons/list-checks.svg +1 -0
- data/app/assets/build/coco/icons/list-end.svg +1 -0
- data/app/assets/build/coco/icons/list-minus.svg +1 -0
- data/app/assets/build/coco/icons/list-music.svg +1 -0
- data/app/assets/build/coco/icons/list-ordered.svg +1 -0
- data/app/assets/build/coco/icons/list-plus.svg +1 -0
- data/app/assets/build/coco/icons/list-start.svg +1 -0
- data/app/assets/build/coco/icons/list-video.svg +1 -0
- data/app/assets/build/coco/icons/list-x.svg +1 -0
- data/app/assets/build/coco/icons/list.svg +1 -0
- data/app/assets/build/coco/icons/loader-2.svg +1 -0
- data/app/assets/build/coco/icons/loader.svg +1 -0
- data/app/assets/build/coco/icons/locate-fixed.svg +1 -0
- data/app/assets/build/coco/icons/locate-off.svg +1 -0
- data/app/assets/build/coco/icons/locate.svg +1 -0
- data/app/assets/build/coco/icons/lock.svg +1 -0
- data/app/assets/build/coco/icons/log-in.svg +1 -0
- data/app/assets/build/coco/icons/log-out.svg +1 -0
- data/app/assets/build/coco/icons/luggage.svg +1 -0
- data/app/assets/build/coco/icons/magnet.svg +1 -0
- data/app/assets/build/coco/icons/mail-check.svg +1 -0
- data/app/assets/build/coco/icons/mail-minus.svg +1 -0
- data/app/assets/build/coco/icons/mail-open.svg +1 -0
- data/app/assets/build/coco/icons/mail-plus.svg +1 -0
- data/app/assets/build/coco/icons/mail-question.svg +1 -0
- data/app/assets/build/coco/icons/mail-search.svg +1 -0
- data/app/assets/build/coco/icons/mail-warning.svg +1 -0
- data/app/assets/build/coco/icons/mail-x.svg +1 -0
- data/app/assets/build/coco/icons/mail.svg +1 -0
- data/app/assets/build/coco/icons/mails.svg +1 -0
- data/app/assets/build/coco/icons/map-pin-off.svg +1 -0
- data/app/assets/build/coco/icons/map-pin.svg +1 -0
- data/app/assets/build/coco/icons/map.svg +1 -0
- data/app/assets/build/coco/icons/martini.svg +1 -0
- data/app/assets/build/coco/icons/maximize-2.svg +1 -0
- data/app/assets/build/coco/icons/maximize.svg +1 -0
- data/app/assets/build/coco/icons/medal.svg +1 -0
- data/app/assets/build/coco/icons/megaphone-off.svg +1 -0
- data/app/assets/build/coco/icons/megaphone.svg +1 -0
- data/app/assets/build/coco/icons/meh.svg +1 -0
- data/app/assets/build/coco/icons/menu.svg +1 -0
- data/app/assets/build/coco/icons/message-circle.svg +1 -0
- data/app/assets/build/coco/icons/message-square.svg +1 -0
- data/app/assets/build/coco/icons/mic-2.svg +1 -0
- data/app/assets/build/coco/icons/mic-off.svg +1 -0
- data/app/assets/build/coco/icons/mic.svg +1 -0
- data/app/assets/build/coco/icons/microscope.svg +1 -0
- data/app/assets/build/coco/icons/microwave.svg +1 -0
- data/app/assets/build/coco/icons/milestone.svg +1 -0
- data/app/assets/build/coco/icons/milk-off.svg +1 -0
- data/app/assets/build/coco/icons/milk.svg +1 -0
- data/app/assets/build/coco/icons/minimize-2.svg +1 -0
- data/app/assets/build/coco/icons/minimize.svg +1 -0
- data/app/assets/build/coco/icons/minus-circle.svg +1 -0
- data/app/assets/build/coco/icons/minus-square.svg +1 -0
- data/app/assets/build/coco/icons/minus.svg +1 -0
- data/app/assets/build/coco/icons/monitor-off.svg +1 -0
- data/app/assets/build/coco/icons/monitor-smartphone.svg +1 -0
- data/app/assets/build/coco/icons/monitor-speaker.svg +1 -0
- data/app/assets/build/coco/icons/monitor.svg +1 -0
- data/app/assets/build/coco/icons/moon.svg +1 -0
- data/app/assets/build/coco/icons/more-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/more-vertical.svg +1 -0
- data/app/assets/build/coco/icons/mountain-snow.svg +1 -0
- data/app/assets/build/coco/icons/mountain.svg +1 -0
- data/app/assets/build/coco/icons/mouse-pointer-2.svg +1 -0
- data/app/assets/build/coco/icons/mouse-pointer-click.svg +1 -0
- data/app/assets/build/coco/icons/mouse-pointer.svg +1 -0
- data/app/assets/build/coco/icons/mouse.svg +1 -0
- data/app/assets/build/coco/icons/move-3d.svg +1 -0
- data/app/assets/build/coco/icons/move-diagonal-2.svg +1 -0
- data/app/assets/build/coco/icons/move-diagonal.svg +1 -0
- data/app/assets/build/coco/icons/move-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/move-vertical.svg +1 -0
- data/app/assets/build/coco/icons/move.svg +1 -0
- data/app/assets/build/coco/icons/music-2.svg +1 -0
- data/app/assets/build/coco/icons/music-3.svg +1 -0
- data/app/assets/build/coco/icons/music-4.svg +1 -0
- data/app/assets/build/coco/icons/music.svg +1 -0
- data/app/assets/build/coco/icons/navigation-2-off.svg +1 -0
- data/app/assets/build/coco/icons/navigation-2.svg +1 -0
- data/app/assets/build/coco/icons/navigation-off.svg +1 -0
- data/app/assets/build/coco/icons/navigation.svg +1 -0
- data/app/assets/build/coco/icons/network.svg +1 -0
- data/app/assets/build/coco/icons/newspaper.svg +1 -0
- data/app/assets/build/coco/icons/nut-off.svg +1 -0
- data/app/assets/build/coco/icons/nut.svg +1 -0
- data/app/assets/build/coco/icons/octagon.svg +1 -0
- data/app/assets/build/coco/icons/option.svg +1 -0
- data/app/assets/build/coco/icons/outdent.svg +1 -0
- data/app/assets/build/coco/icons/package-2.svg +1 -0
- data/app/assets/build/coco/icons/package-check.svg +1 -0
- data/app/assets/build/coco/icons/package-minus.svg +1 -0
- data/app/assets/build/coco/icons/package-open.svg +1 -0
- data/app/assets/build/coco/icons/package-plus.svg +1 -0
- data/app/assets/build/coco/icons/package-search.svg +1 -0
- data/app/assets/build/coco/icons/package-x.svg +1 -0
- data/app/assets/build/coco/icons/package.svg +1 -0
- data/app/assets/build/coco/icons/paint-bucket.svg +1 -0
- data/app/assets/build/coco/icons/paintbrush-2.svg +1 -0
- data/app/assets/build/coco/icons/paintbrush.svg +1 -0
- data/app/assets/build/coco/icons/palette.svg +1 -0
- data/app/assets/build/coco/icons/palmtree.svg +1 -0
- data/app/assets/build/coco/icons/paperclip.svg +1 -0
- data/app/assets/build/coco/icons/party-popper.svg +1 -0
- data/app/assets/build/coco/icons/pause-circle.svg +1 -0
- data/app/assets/build/coco/icons/pause-octagon.svg +1 -0
- data/app/assets/build/coco/icons/pause.svg +1 -0
- data/app/assets/build/coco/icons/pen-tool.svg +1 -0
- data/app/assets/build/coco/icons/pencil.svg +1 -0
- data/app/assets/build/coco/icons/percent.svg +1 -0
- data/app/assets/build/coco/icons/person-standing.svg +1 -0
- data/app/assets/build/coco/icons/phone-call.svg +1 -0
- data/app/assets/build/coco/icons/phone-forwarded.svg +1 -0
- data/app/assets/build/coco/icons/phone-incoming.svg +1 -0
- data/app/assets/build/coco/icons/phone-missed.svg +1 -0
- data/app/assets/build/coco/icons/phone-off.svg +1 -0
- data/app/assets/build/coco/icons/phone-outgoing.svg +1 -0
- data/app/assets/build/coco/icons/phone.svg +1 -0
- data/app/assets/build/coco/icons/picture-in-picture-2.svg +1 -0
- data/app/assets/build/coco/icons/picture-in-picture.svg +1 -0
- data/app/assets/build/coco/icons/pie-chart.svg +1 -0
- data/app/assets/build/coco/icons/piggy-bank.svg +1 -0
- data/app/assets/build/coco/icons/pilcrow.svg +1 -0
- data/app/assets/build/coco/icons/pin-off.svg +1 -0
- data/app/assets/build/coco/icons/pin.svg +1 -0
- data/app/assets/build/coco/icons/pipette.svg +1 -0
- data/app/assets/build/coco/icons/pizza.svg +1 -0
- data/app/assets/build/coco/icons/plane.svg +1 -0
- data/app/assets/build/coco/icons/play-circle.svg +1 -0
- data/app/assets/build/coco/icons/play.svg +1 -0
- data/app/assets/build/coco/icons/plug-2.svg +1 -0
- data/app/assets/build/coco/icons/plug-zap.svg +1 -0
- data/app/assets/build/coco/icons/plug.svg +1 -0
- data/app/assets/build/coco/icons/plus-circle.svg +1 -0
- data/app/assets/build/coco/icons/plus-square.svg +1 -0
- data/app/assets/build/coco/icons/plus.svg +1 -0
- data/app/assets/build/coco/icons/pocket.svg +1 -0
- data/app/assets/build/coco/icons/podcast.svg +1 -0
- data/app/assets/build/coco/icons/pointer.svg +1 -0
- data/app/assets/build/coco/icons/pound-sterling.svg +1 -0
- data/app/assets/build/coco/icons/power-off.svg +1 -0
- data/app/assets/build/coco/icons/power.svg +1 -0
- data/app/assets/build/coco/icons/printer.svg +1 -0
- data/app/assets/build/coco/icons/puzzle.svg +1 -0
- data/app/assets/build/coco/icons/qr-code.svg +1 -0
- data/app/assets/build/coco/icons/quote.svg +1 -0
- data/app/assets/build/coco/icons/radio-receiver.svg +1 -0
- data/app/assets/build/coco/icons/radio.svg +1 -0
- data/app/assets/build/coco/icons/rectangle-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/rectangle-vertical.svg +1 -0
- data/app/assets/build/coco/icons/recycle.svg +1 -0
- data/app/assets/build/coco/icons/redo-2.svg +1 -0
- data/app/assets/build/coco/icons/redo.svg +1 -0
- data/app/assets/build/coco/icons/refresh-ccw.svg +1 -0
- data/app/assets/build/coco/icons/refresh-cw.svg +1 -0
- data/app/assets/build/coco/icons/refrigerator.svg +1 -0
- data/app/assets/build/coco/icons/regex.svg +1 -0
- data/app/assets/build/coco/icons/remove-formatting.svg +1 -0
- data/app/assets/build/coco/icons/repeat-1.svg +1 -0
- data/app/assets/build/coco/icons/repeat.svg +1 -0
- data/app/assets/build/coco/icons/reply-all.svg +1 -0
- data/app/assets/build/coco/icons/reply.svg +1 -0
- data/app/assets/build/coco/icons/rewind.svg +1 -0
- data/app/assets/build/coco/icons/rocket.svg +1 -0
- data/app/assets/build/coco/icons/rocking-chair.svg +1 -0
- data/app/assets/build/coco/icons/rotate-3d.svg +1 -0
- data/app/assets/build/coco/icons/rotate-ccw.svg +1 -0
- data/app/assets/build/coco/icons/rotate-cw.svg +1 -0
- data/app/assets/build/coco/icons/rss.svg +1 -0
- data/app/assets/build/coco/icons/ruler.svg +1 -0
- data/app/assets/build/coco/icons/russian-ruble.svg +1 -0
- data/app/assets/build/coco/icons/sailboat.svg +1 -0
- data/app/assets/build/coco/icons/salad.svg +1 -0
- data/app/assets/build/coco/icons/sandwich.svg +1 -0
- data/app/assets/build/coco/icons/save.svg +1 -0
- data/app/assets/build/coco/icons/scale-3d.svg +1 -0
- data/app/assets/build/coco/icons/scale.svg +1 -0
- data/app/assets/build/coco/icons/scaling.svg +1 -0
- data/app/assets/build/coco/icons/scan-face.svg +1 -0
- data/app/assets/build/coco/icons/scan-line.svg +1 -0
- data/app/assets/build/coco/icons/scan.svg +1 -0
- data/app/assets/build/coco/icons/scissors.svg +1 -0
- data/app/assets/build/coco/icons/screen-share-off.svg +1 -0
- data/app/assets/build/coco/icons/screen-share.svg +1 -0
- data/app/assets/build/coco/icons/scroll.svg +1 -0
- data/app/assets/build/coco/icons/search.svg +1 -0
- data/app/assets/build/coco/icons/send.svg +1 -0
- data/app/assets/build/coco/icons/separator-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/separator-vertical.svg +1 -0
- data/app/assets/build/coco/icons/server-cog.svg +1 -0
- data/app/assets/build/coco/icons/server-crash.svg +1 -0
- data/app/assets/build/coco/icons/server-off.svg +1 -0
- data/app/assets/build/coco/icons/server.svg +1 -0
- data/app/assets/build/coco/icons/settings-2.svg +1 -0
- data/app/assets/build/coco/icons/settings.svg +1 -0
- data/app/assets/build/coco/icons/share-2.svg +1 -0
- data/app/assets/build/coco/icons/share.svg +1 -0
- data/app/assets/build/coco/icons/sheet.svg +1 -0
- data/app/assets/build/coco/icons/shield-alert.svg +1 -0
- data/app/assets/build/coco/icons/shield-check.svg +1 -0
- data/app/assets/build/coco/icons/shield-close.svg +1 -0
- data/app/assets/build/coco/icons/shield-off.svg +1 -0
- data/app/assets/build/coco/icons/shield.svg +1 -0
- data/app/assets/build/coco/icons/shirt.svg +1 -0
- data/app/assets/build/coco/icons/shopping-bag.svg +1 -0
- data/app/assets/build/coco/icons/shopping-cart.svg +1 -0
- data/app/assets/build/coco/icons/shovel.svg +1 -0
- data/app/assets/build/coco/icons/shower-head.svg +1 -0
- data/app/assets/build/coco/icons/shrink.svg +1 -0
- data/app/assets/build/coco/icons/shrub.svg +1 -0
- data/app/assets/build/coco/icons/shuffle.svg +1 -0
- data/app/assets/build/coco/icons/sidebar-close.svg +1 -0
- data/app/assets/build/coco/icons/sidebar-open.svg +1 -0
- data/app/assets/build/coco/icons/sidebar.svg +1 -0
- data/app/assets/build/coco/icons/sigma.svg +1 -0
- data/app/assets/build/coco/icons/signal-high.svg +1 -0
- data/app/assets/build/coco/icons/signal-low.svg +1 -0
- data/app/assets/build/coco/icons/signal-medium.svg +1 -0
- data/app/assets/build/coco/icons/signal-zero.svg +1 -0
- data/app/assets/build/coco/icons/signal.svg +1 -0
- data/app/assets/build/coco/icons/siren.svg +1 -0
- data/app/assets/build/coco/icons/skip-back.svg +1 -0
- data/app/assets/build/coco/icons/skip-forward.svg +1 -0
- data/app/assets/build/coco/icons/skull.svg +1 -0
- data/app/assets/build/coco/icons/slack.svg +1 -0
- data/app/assets/build/coco/icons/slash.svg +1 -0
- data/app/assets/build/coco/icons/slice.svg +1 -0
- data/app/assets/build/coco/icons/sliders-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/sliders.svg +1 -0
- data/app/assets/build/coco/icons/smartphone-charging.svg +1 -0
- data/app/assets/build/coco/icons/smartphone.svg +1 -0
- data/app/assets/build/coco/icons/smile-plus.svg +1 -0
- data/app/assets/build/coco/icons/smile.svg +1 -0
- data/app/assets/build/coco/icons/snowflake.svg +1 -0
- data/app/assets/build/coco/icons/sofa.svg +1 -0
- data/app/assets/build/coco/icons/sort-asc.svg +1 -0
- data/app/assets/build/coco/icons/sort-desc.svg +1 -0
- data/app/assets/build/coco/icons/soup.svg +1 -0
- data/app/assets/build/coco/icons/speaker.svg +1 -0
- data/app/assets/build/coco/icons/spline.svg +1 -0
- data/app/assets/build/coco/icons/sprout.svg +1 -0
- data/app/assets/build/coco/icons/square.svg +1 -0
- data/app/assets/build/coco/icons/star-half.svg +1 -0
- data/app/assets/build/coco/icons/star-off.svg +1 -0
- data/app/assets/build/coco/icons/star.svg +1 -0
- data/app/assets/build/coco/icons/stethoscope.svg +1 -0
- data/app/assets/build/coco/icons/sticker.svg +1 -0
- data/app/assets/build/coco/icons/sticky-note.svg +1 -0
- data/app/assets/build/coco/icons/stop-circle.svg +1 -0
- data/app/assets/build/coco/icons/stretch-horizontal.svg +1 -0
- data/app/assets/build/coco/icons/stretch-vertical.svg +1 -0
- data/app/assets/build/coco/icons/strikethrough.svg +1 -0
- data/app/assets/build/coco/icons/subscript.svg +1 -0
- data/app/assets/build/coco/icons/subtitles.svg +1 -0
- data/app/assets/build/coco/icons/sun-dim.svg +1 -0
- data/app/assets/build/coco/icons/sun-medium.svg +1 -0
- data/app/assets/build/coco/icons/sun-moon.svg +1 -0
- data/app/assets/build/coco/icons/sun-snow.svg +1 -0
- data/app/assets/build/coco/icons/sun.svg +1 -0
- data/app/assets/build/coco/icons/sunrise.svg +1 -0
- data/app/assets/build/coco/icons/sunset.svg +1 -0
- data/app/assets/build/coco/icons/superscript.svg +1 -0
- data/app/assets/build/coco/icons/swiss-franc.svg +1 -0
- data/app/assets/build/coco/icons/switch-camera.svg +1 -0
- data/app/assets/build/coco/icons/sword.svg +1 -0
- data/app/assets/build/coco/icons/swords.svg +1 -0
- data/app/assets/build/coco/icons/syringe.svg +1 -0
- data/app/assets/build/coco/icons/table-2.svg +1 -0
- data/app/assets/build/coco/icons/table.svg +1 -0
- data/app/assets/build/coco/icons/tablet.svg +1 -0
- data/app/assets/build/coco/icons/tag.svg +1 -0
- data/app/assets/build/coco/icons/tags.svg +1 -0
- data/app/assets/build/coco/icons/target.svg +1 -0
- data/app/assets/build/coco/icons/tent.svg +1 -0
- data/app/assets/build/coco/icons/terminal-square.svg +1 -0
- data/app/assets/build/coco/icons/terminal.svg +1 -0
- data/app/assets/build/coco/icons/text-cursor-input.svg +1 -0
- data/app/assets/build/coco/icons/text-cursor.svg +1 -0
- data/app/assets/build/coco/icons/thermometer-snowflake.svg +1 -0
- data/app/assets/build/coco/icons/thermometer-sun.svg +1 -0
- data/app/assets/build/coco/icons/thermometer.svg +1 -0
- data/app/assets/build/coco/icons/thumbs-down.svg +1 -0
- data/app/assets/build/coco/icons/thumbs-up.svg +1 -0
- data/app/assets/build/coco/icons/ticket.svg +1 -0
- data/app/assets/build/coco/icons/timer-off.svg +1 -0
- data/app/assets/build/coco/icons/timer-reset.svg +1 -0
- data/app/assets/build/coco/icons/timer.svg +1 -0
- data/app/assets/build/coco/icons/toggle-left.svg +1 -0
- data/app/assets/build/coco/icons/toggle-right.svg +1 -0
- data/app/assets/build/coco/icons/tornado.svg +1 -0
- data/app/assets/build/coco/icons/toy-brick.svg +1 -0
- data/app/assets/build/coco/icons/train.svg +1 -0
- data/app/assets/build/coco/icons/trash-2.svg +1 -0
- data/app/assets/build/coco/icons/trash.svg +1 -0
- data/app/assets/build/coco/icons/tree-deciduous.svg +1 -0
- data/app/assets/build/coco/icons/tree-pine.svg +1 -0
- data/app/assets/build/coco/icons/trees.svg +1 -0
- data/app/assets/build/coco/icons/trello.svg +1 -0
- data/app/assets/build/coco/icons/trending-down.svg +1 -0
- data/app/assets/build/coco/icons/trending-up.svg +1 -0
- data/app/assets/build/coco/icons/triangle.svg +1 -0
- data/app/assets/build/coco/icons/trophy.svg +1 -0
- data/app/assets/build/coco/icons/truck.svg +1 -0
- data/app/assets/build/coco/icons/tv-2.svg +1 -0
- data/app/assets/build/coco/icons/tv.svg +1 -0
- data/app/assets/build/coco/icons/twitch.svg +1 -0
- data/app/assets/build/coco/icons/twitter.svg +1 -0
- data/app/assets/build/coco/icons/type.svg +1 -0
- data/app/assets/build/coco/icons/umbrella.svg +1 -0
- data/app/assets/build/coco/icons/underline.svg +1 -0
- data/app/assets/build/coco/icons/undo-2.svg +1 -0
- data/app/assets/build/coco/icons/undo.svg +1 -0
- data/app/assets/build/coco/icons/unlink-2.svg +1 -0
- data/app/assets/build/coco/icons/unlink.svg +1 -0
- data/app/assets/build/coco/icons/unlock.svg +1 -0
- data/app/assets/build/coco/icons/upload-cloud.svg +1 -0
- data/app/assets/build/coco/icons/upload.svg +1 -0
- data/app/assets/build/coco/icons/usb.svg +1 -0
- data/app/assets/build/coco/icons/user-check.svg +1 -0
- data/app/assets/build/coco/icons/user-cog.svg +1 -0
- data/app/assets/build/coco/icons/user-minus.svg +1 -0
- data/app/assets/build/coco/icons/user-plus.svg +1 -0
- data/app/assets/build/coco/icons/user-x.svg +1 -0
- data/app/assets/build/coco/icons/user.svg +1 -0
- data/app/assets/build/coco/icons/users.svg +1 -0
- data/app/assets/build/coco/icons/utensils-crossed.svg +1 -0
- data/app/assets/build/coco/icons/utensils.svg +1 -0
- data/app/assets/build/coco/icons/vegan.svg +1 -0
- data/app/assets/build/coco/icons/venetian-mask.svg +1 -0
- data/app/assets/build/coco/icons/verified.svg +1 -0
- data/app/assets/build/coco/icons/vibrate-off.svg +1 -0
- data/app/assets/build/coco/icons/vibrate.svg +1 -0
- data/app/assets/build/coco/icons/video-off.svg +1 -0
- data/app/assets/build/coco/icons/video.svg +1 -0
- data/app/assets/build/coco/icons/view.svg +1 -0
- data/app/assets/build/coco/icons/voicemail.svg +1 -0
- data/app/assets/build/coco/icons/volume-1.svg +1 -0
- data/app/assets/build/coco/icons/volume-2.svg +1 -0
- data/app/assets/build/coco/icons/volume-x.svg +1 -0
- data/app/assets/build/coco/icons/volume.svg +1 -0
- data/app/assets/build/coco/icons/vote.svg +1 -0
- data/app/assets/build/coco/icons/wallet.svg +1 -0
- data/app/assets/build/coco/icons/wand-2.svg +1 -0
- data/app/assets/build/coco/icons/wand.svg +1 -0
- data/app/assets/build/coco/icons/watch.svg +1 -0
- data/app/assets/build/coco/icons/waves.svg +1 -0
- data/app/assets/build/coco/icons/webcam.svg +1 -0
- data/app/assets/build/coco/icons/webhook.svg +1 -0
- data/app/assets/build/coco/icons/wheat-off.svg +1 -0
- data/app/assets/build/coco/icons/wheat.svg +1 -0
- data/app/assets/build/coco/icons/wifi-off.svg +1 -0
- data/app/assets/build/coco/icons/wifi.svg +1 -0
- data/app/assets/build/coco/icons/wind.svg +1 -0
- data/app/assets/build/coco/icons/wine-off.svg +1 -0
- data/app/assets/build/coco/icons/wine.svg +1 -0
- data/app/assets/build/coco/icons/wrap-text.svg +1 -0
- data/app/assets/build/coco/icons/wrench.svg +1 -0
- data/app/assets/build/coco/icons/x-circle.svg +1 -0
- data/app/assets/build/coco/icons/x-octagon.svg +1 -0
- data/app/assets/build/coco/icons/x-square.svg +1 -0
- data/app/assets/build/coco/icons/x.svg +1 -0
- data/app/assets/build/coco/icons/youtube.svg +1 -0
- data/app/assets/build/coco/icons/zap-off.svg +1 -0
- data/app/assets/build/coco/icons/zap.svg +1 -0
- data/app/assets/build/coco/icons/zoom-in.svg +1 -0
- data/app/assets/build/coco/icons/zoom-out.svg +1 -0
- data/app/assets/build/coco/img/coveragebook-landscape-white.svg +7 -0
- data/app/assets/build/coco/img/coveragebook-logomark-white.svg +3 -0
- data/app/assets/build/coco/img/slide-bg.jpg +0 -0
- data/app/assets/config/coco/manifest.js +1 -0
- data/app/assets/css/app/config.css +1 -0
- data/app/assets/css/app/tippy.css +15 -0
- data/app/assets/css/app/utilities.css +13 -0
- data/app/assets/css/app.css +9 -0
- data/app/assets/css/base/base.css +24 -0
- data/app/assets/css/base/components/coco.css +17 -0
- data/app/assets/css/base/components/dropdown.css +7 -0
- data/app/assets/css/base/components/tooltip.css +19 -0
- data/app/assets/css/base/utils/colors.css +30 -0
- data/app/assets/css/base/utils/icons.css +15 -0
- data/app/assets/css/book/config.css +1 -0
- data/app/assets/css/book.css +4 -0
- data/app/assets/css/libs/tippy.css +23 -0
- data/app/assets/img/coveragebook-landscape-white.svg +7 -0
- data/app/assets/img/coveragebook-logomark-white.svg +3 -0
- data/app/assets/img/slide-bg.jpg +0 -0
- data/app/assets/js/app/components.js +4 -0
- data/app/assets/js/app/mixins/dropdown.js +18 -0
- data/app/assets/js/app/mixins/index.js +3 -0
- data/app/assets/js/app.js +10 -0
- data/app/assets/js/base/components.js +4 -0
- data/app/assets/js/base/mixins/attr-observer.js +54 -0
- data/app/assets/js/base/mixins/attrs.js +58 -0
- data/app/assets/js/base/mixins/dropdown.js +69 -0
- data/app/assets/js/base/mixins/index.js +17 -0
- data/app/assets/js/base/mixins/options.js +76 -0
- data/app/assets/js/base/mixins/size-observer.js +34 -0
- data/app/assets/js/base/mixins/tooltip.js +81 -0
- data/app/assets/js/base/mixins/undo.js +89 -0
- data/app/assets/js/base/setup.js +9 -0
- data/app/assets/js/book/components.js +4 -0
- data/app/assets/js/book.js +4 -0
- data/app/assets/js/coco.js +53 -0
- data/app/assets/js/helpers/alpine.js +34 -0
- data/app/assets/js/helpers/color.js +51 -0
- data/app/assets/js/helpers/dom.js +41 -0
- data/app/assets/js/helpers/file.js +11 -0
- data/app/assets/js/helpers/lang.js +46 -0
- data/app/assets/js/helpers/path.js +5 -0
- data/app/assets/js/helpers/screenshot.js +26 -0
- data/app/assets/js/helpers/turbo_events.js +13 -0
- data/app/assets/js/libs/alpine/index.js +37 -0
- data/app/assets/js/libs/alpine/plugins/destroy.js +9 -0
- data/app/assets/js/libs/alpine/plugins/dimensions.js +40 -0
- data/app/assets/js/libs/alpine/plugins/dropdown.js +88 -0
- data/app/assets/js/libs/alpine/plugins/notification.js +98 -0
- data/app/assets/js/libs/alpine/plugins/options.js +95 -0
- data/app/assets/js/libs/alpine/plugins/tooltip.js +74 -0
- data/app/assets/js/libs/alpine/utils/tippy_modifiers.js +39 -0
- data/app/assets/js/libs/tippy/index.js +12 -0
- data/app/assets/js/libs/tippy/plugins/hide_on_esc.js +23 -0
- data/app/components/coco/app/blocks/banner/banner.css +5 -0
- data/app/components/coco/app/blocks/banner/banner.rb +8 -0
- data/app/components/coco/app/blocks/nav_bar/nav_bar.css +51 -0
- data/app/components/coco/app/blocks/nav_bar/nav_bar.html.erb +23 -0
- data/app/components/coco/app/blocks/nav_bar/nav_bar.js +31 -0
- data/app/components/coco/app/blocks/nav_bar/nav_bar.rb +19 -0
- data/app/components/coco/app/blocks/nav_drawer/nav_drawer.css +9 -0
- data/app/components/coco/app/blocks/nav_drawer/nav_drawer.html.erb +8 -0
- data/app/components/coco/app/blocks/nav_drawer/nav_drawer.js +7 -0
- data/app/components/coco/app/blocks/nav_drawer/nav_drawer.rb +9 -0
- data/app/components/coco/app/blocks/slat/slat.css +9 -0
- data/app/components/coco/app/blocks/slat/slat.rb +13 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.css +71 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.html.erb +235 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.js +178 -0
- data/app/components/coco/app/blocks/slide_editor/slide_editor.rb +126 -0
- data/app/components/coco/app/elements/alert/alert.css +258 -0
- data/app/components/coco/app/elements/alert/alert.html.erb +70 -0
- data/app/components/coco/app/elements/alert/alert.js +39 -0
- data/app/components/coco/app/elements/alert/alert.rb +72 -0
- data/app/components/coco/app/elements/button/button.css +442 -0
- data/app/components/coco/app/elements/button/button.rb +62 -0
- data/app/components/coco/app/elements/button_group/button_group.css +20 -0
- data/app/components/coco/app/elements/button_group/button_group.html.erb +11 -0
- data/app/components/coco/app/elements/button_group/button_group.js +82 -0
- data/app/components/coco/app/elements/button_group/button_group.rb +28 -0
- data/app/components/coco/app/elements/color_picker/color_picker.css +153 -0
- data/app/components/coco/app/elements/color_picker/color_picker.html.erb +65 -0
- data/app/components/coco/app/elements/color_picker/color_picker.js +102 -0
- data/app/components/coco/app/elements/color_picker/color_picker.rb +53 -0
- data/app/components/coco/app/elements/color_picker_button/color_picker_button.css +18 -0
- data/app/components/coco/app/elements/color_picker_button/color_picker_button.html.erb +23 -0
- data/app/components/coco/app/elements/color_picker_button/color_picker_button.js +27 -0
- data/app/components/coco/app/elements/color_picker_button/color_picker_button.rb +71 -0
- data/app/components/coco/app/elements/confirm_panel/confirm_panel.css +10 -0
- data/app/components/coco/app/elements/confirm_panel/confirm_panel.html.erb +17 -0
- data/app/components/coco/app/elements/confirm_panel/confirm_panel.js +13 -0
- data/app/components/coco/app/elements/confirm_panel/confirm_panel.rb +23 -0
- data/app/components/coco/app/elements/form_button/form_button.css +10 -0
- data/app/components/coco/app/elements/form_button/form_button.html.erb +12 -0
- data/app/components/coco/app/elements/form_button/form_button.rb +47 -0
- data/app/components/coco/app/elements/image_picker/image_picker.css +109 -0
- data/app/components/coco/app/elements/image_picker/image_picker.html.erb +37 -0
- data/app/components/coco/app/elements/image_picker/image_picker.js +49 -0
- data/app/components/coco/app/elements/image_picker/image_picker.rb +34 -0
- data/app/components/coco/app/elements/image_picker_button/image_picker_button.css +14 -0
- data/app/components/coco/app/elements/image_picker_button/image_picker_button.html.erb +20 -0
- data/app/components/coco/app/elements/image_picker_button/image_picker_button.js +67 -0
- data/app/components/coco/app/elements/image_picker_button/image_picker_button.rb +85 -0
- data/app/components/coco/app/elements/link/link.css +60 -0
- data/app/components/coco/app/elements/link/link.rb +14 -0
- data/app/components/coco/app/elements/menu/menu.css +65 -0
- data/app/components/coco/app/elements/menu/menu.html.erb +9 -0
- data/app/components/coco/app/elements/menu/menu.rb +40 -0
- data/app/components/coco/app/elements/menu_button/menu_button.css +28 -0
- data/app/components/coco/app/elements/menu_button/menu_button.html.erb +11 -0
- data/app/components/coco/app/elements/menu_button/menu_button.js +6 -0
- data/app/components/coco/app/elements/menu_button/menu_button.rb +36 -0
- data/app/components/coco/app/elements/notice/notice.css +5 -0
- data/app/components/coco/app/elements/notice/notice.html.erb +5 -0
- data/app/components/coco/app/elements/notice/notice.js +5 -0
- data/app/components/coco/app/elements/notice/notice.rb +22 -0
- data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.css +30 -0
- data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.html.erb +12 -0
- data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.js +37 -0
- data/app/components/coco/app/elements/seamless_textarea/seamless_textarea.rb +44 -0
- data/app/components/coco/app/elements/snackbar/snackbar.css +105 -0
- data/app/components/coco/app/elements/snackbar/snackbar.html.erb +36 -0
- data/app/components/coco/app/elements/snackbar/snackbar.js +25 -0
- data/app/components/coco/app/elements/snackbar/snackbar.rb +38 -0
- data/app/components/coco/app/elements/system_banner/system_banner.css +4 -0
- data/app/components/coco/app/elements/system_banner/system_banner.html.erb +5 -0
- data/app/components/coco/app/elements/system_banner/system_banner.js +5 -0
- data/app/components/coco/app/elements/system_banner/system_banner.rb +29 -0
- data/app/components/coco/app/elements/toast/toast.css +43 -0
- data/app/components/coco/app/elements/toast/toast.html.erb +9 -0
- data/app/components/coco/app/elements/toast/toast.js +26 -0
- data/app/components/coco/app/elements/toast/toast.rb +23 -0
- data/app/components/coco/app/elements/toolbar/toolbar.css +19 -0
- data/app/components/coco/app/elements/toolbar/toolbar.html.erb +10 -0
- data/app/components/coco/app/elements/toolbar/toolbar.js +49 -0
- data/app/components/coco/app/elements/toolbar/toolbar.rb +41 -0
- data/app/components/coco/app/fields/button_component.rb +16 -0
- data/app/components/coco/app/fields/check_box_component.rb +9 -0
- data/app/components/coco/app/fields/collection_check_boxes_component.rb +9 -0
- data/app/components/coco/app/fields/collection_radio_buttons_component.rb +9 -0
- data/app/components/coco/app/fields/collection_select_component.rb +9 -0
- data/app/components/coco/app/fields/color_field_component.rb +9 -0
- data/app/components/coco/app/fields/date_field_component.rb +9 -0
- data/app/components/coco/app/fields/date_select_component.rb +9 -0
- data/app/components/coco/app/fields/datetime_local_field_component.rb +9 -0
- data/app/components/coco/app/fields/datetime_select_component.rb +9 -0
- data/app/components/coco/app/fields/email_field_component.rb +9 -0
- data/app/components/coco/app/fields/error_message_component.rb +9 -0
- data/app/components/coco/app/fields/file_field_component.rb +9 -0
- data/app/components/coco/app/fields/grouped_collection_select_component.rb +9 -0
- data/app/components/coco/app/fields/hint_component.rb +9 -0
- data/app/components/coco/app/fields/label_component.rb +9 -0
- data/app/components/coco/app/fields/month_field_component.rb +9 -0
- data/app/components/coco/app/fields/number_field_component.rb +9 -0
- data/app/components/coco/app/fields/password_field_component.rb +9 -0
- data/app/components/coco/app/fields/radio_button_component.rb +9 -0
- data/app/components/coco/app/fields/range_field_component.rb +9 -0
- data/app/components/coco/app/fields/search_field_component.rb +9 -0
- data/app/components/coco/app/fields/select_component.rb +9 -0
- data/app/components/coco/app/fields/submit_component.rb +15 -0
- data/app/components/coco/app/fields/telephone_field_component.rb +9 -0
- data/app/components/coco/app/fields/text_area_component.rb +9 -0
- data/app/components/coco/app/fields/text_field_component.rb +9 -0
- data/app/components/coco/app/fields/time_field_component.rb +9 -0
- data/app/components/coco/app/fields/time_select_component.rb +9 -0
- data/app/components/coco/app/fields/time_zone_select_component.rb +9 -0
- data/app/components/coco/app/fields/url_field_component.rb +9 -0
- data/app/components/coco/app/fields/week_field_component.rb +9 -0
- data/app/components/coco/app/fields/weekday_select_component.rb +9 -0
- data/app/components/coco/app/layouts/application/application.css +9 -0
- data/app/components/coco/app/layouts/application/application.html.erb +9 -0
- data/app/components/coco/app/layouts/application/application.rb +12 -0
- data/app/components/coco/base/button/button.css +76 -0
- data/app/components/coco/base/button/button.html.erb +73 -0
- data/app/components/coco/base/button/button.js +187 -0
- data/app/components/coco/base/button/button.rb +228 -0
- data/app/components/coco/base/content/content.rb +12 -0
- data/app/components/coco/base/dropdown/dropdown.css +10 -0
- data/app/components/coco/base/dropdown/dropdown.html.erb +8 -0
- data/app/components/coco/base/dropdown/dropdown.js +7 -0
- data/app/components/coco/base/dropdown/dropdown.rb +7 -0
- data/app/components/coco/base/embeds/youtube/youtube.css +9 -0
- data/app/components/coco/base/embeds/youtube/youtube.html.erb +3 -0
- data/app/components/coco/base/embeds/youtube/youtube.rb +20 -0
- data/app/components/coco/base/icon/icon.css +51 -0
- data/app/components/coco/base/icon/icon.html.erb +8 -0
- data/app/components/coco/base/icon/icon.js +27 -0
- data/app/components/coco/base/icon/icon.rb +38 -0
- data/app/components/coco/base/image/image.css +5 -0
- data/app/components/coco/base/image/image.rb +17 -0
- data/app/components/coco/base/image_uploader/image_uploader.css +13 -0
- data/app/components/coco/base/image_uploader/image_uploader.html.erb +18 -0
- data/app/components/coco/base/image_uploader/image_uploader.js +84 -0
- data/app/components/coco/base/image_uploader/image_uploader.rb +32 -0
- data/app/components/coco/base/link/link.css +25 -0
- data/app/components/coco/base/link/link.rb +20 -0
- data/app/components/coco/base/placeholder/placeholder.css +17 -0
- data/app/components/coco/base/placeholder/placeholder.html.erb +7 -0
- data/app/components/coco/base/placeholder/placeholder.rb +7 -0
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.css +107 -0
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.html.erb +24 -0
- data/app/components/coco/book/blocks/slides/editable_slide/editable_slide.rb +49 -0
- data/app/components/coco/book/blocks/slides/media_slide/media_slide.css +7 -0
- data/app/components/coco/book/blocks/slides/media_slide/media_slide.html.erb +3 -0
- data/app/components/coco/book/blocks/slides/media_slide/media_slide.rb +16 -0
- data/app/components/coco/component.rb +109 -0
- data/app/components/coco/concerns/accepts_options.rb +31 -0
- data/app/components/coco/concerns/accepts_tag_attributes.rb +61 -0
- data/app/components/coco/concerns/accepts_theme.rb +19 -0
- data/app/components/coco/concerns/acts_as_button_group.rb +59 -0
- data/app/components/coco/concerns/acts_as_field_with_html_options.rb +15 -0
- data/app/components/coco/concerns/acts_as_field_with_options.rb +16 -0
- data/app/components/coco/concerns/acts_as_link.rb +19 -0
- data/app/components/coco/concerns/acts_as_notification.rb +16 -0
- data/app/components/coco/concerns/extendable.rb +16 -0
- data/app/components/coco/concerns/has_name.rb +34 -0
- data/app/components/coco/concerns/with_dropdown.rb +15 -0
- data/app/components/coco/concerns/with_dropdown_options.rb +17 -0
- data/app/components/coco/concerns/with_icon.rb +28 -0
- data/app/components/coco/concerns/with_tooltip.rb +25 -0
- data/app/components/coco/concerns/wraps_component.rb +43 -0
- data/app/components/coco/presented_component.rb +31 -0
- data/app/components/coco/tag.rb +51 -0
- data/app/helpers/coco/alpine_helper.rb +63 -0
- data/app/helpers/coco/app_helper.rb +86 -0
- data/app/helpers/coco/base_helper.rb +28 -0
- data/app/helpers/coco/book_helper.rb +11 -0
- data/app/helpers/coco/component_helper.rb +15 -0
- data/app/helpers/coco/format_helper.rb +11 -0
- data/app/helpers/coco/helpers.rb +7 -0
- data/app/helpers/coco/integration_helper.rb +19 -0
- data/app/helpers/coco/tag_helper.rb +18 -0
- data/app/helpers/coco/url_helper.rb +32 -0
- data/lib/coco/action_view_helper.rb +134 -0
- data/lib/coco/app_form_builder.rb +3 -0
- data/lib/coco/component_resolver.rb +37 -0
- data/lib/coco/engine.rb +43 -0
- data/lib/coco/options/group.rb +185 -0
- data/lib/coco/options/item.rb +29 -0
- data/lib/coco/options/option.rb +58 -0
- data/lib/coco/preview.rb +12 -0
- data/lib/coco/test_helpers.rb +42 -0
- data/lib/coco.rb +3 -0
- data/lib/coveragebook_components.rb +18 -0
- data/lib/generators/coco/USAGE +11 -0
- data/lib/generators/coco/coco_generator.rb +93 -0
- data/lib/generators/coco/templates/component.css.tt +5 -0
- data/lib/generators/coco/templates/component.html.erb.tt +3 -0
- data/lib/generators/coco/templates/component.js.tt +7 -0
- data/lib/generators/coco/templates/component.rb.tt +6 -0
- data/lib/generators/coco/templates/preview.rb.tt +9 -0
- data/lib/generators/coco/templates/test.rb.tt +10 -0
- data/lib/scripts/esbuild-plugin-build-icons.js +60 -0
- data/lib/scripts/esbuild-plugin-clean.js +97 -0
- data/lib/scripts/esbuild-plugin-import-glob.js +61 -0
- data/lib/scripts/map-aliased-path.js +25 -0
- data/lib/scripts/postcss-import-alias-glob.cjs +96 -0
- data/lib/tasks/coco_tasks.rake +52 -0
- metadata +1236 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
import withDropdown from "@js/base/mixins/dropdown";
|
2
|
+
|
3
|
+
export default function withAppDropdown(props = {}) {
|
4
|
+
const initDropdown = withDropdown({
|
5
|
+
theme: "coco-app-dropdown",
|
6
|
+
placement: "bottom-start",
|
7
|
+
offset: [0, 0],
|
8
|
+
...props,
|
9
|
+
});
|
10
|
+
|
11
|
+
function withAppDropdownMixin(component) {
|
12
|
+
return initDropdown(component);
|
13
|
+
}
|
14
|
+
|
15
|
+
withAppDropdownMixin.props = initDropdown.props;
|
16
|
+
|
17
|
+
return withAppDropdownMixin;
|
18
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as ActiveStorage from "@rails/activestorage";
|
2
|
+
|
3
|
+
import "./base/setup";
|
4
|
+
import "./base/components";
|
5
|
+
import "./book/components";
|
6
|
+
import "./app/components";
|
7
|
+
|
8
|
+
document.addEventListener("alpine:initialized", () => {
|
9
|
+
ActiveStorage.start();
|
10
|
+
});
|
@@ -0,0 +1,54 @@
|
|
1
|
+
const ignoredAttributes = ["class", "style"];
|
2
|
+
|
3
|
+
export default function withAttrObserver(props = {}) {
|
4
|
+
return function (component) {
|
5
|
+
const oldDestroy = component.destroy;
|
6
|
+
const toIgnore = props.ignore || ignoredAttributes;
|
7
|
+
|
8
|
+
const attrObserver = Alpine.reactive({
|
9
|
+
observer: null,
|
10
|
+
handler(attrName, newValue, oldValue, target) {
|
11
|
+
if (component.onAttrChange) {
|
12
|
+
component.onAttrChange(attrName, newValue, oldValue, target);
|
13
|
+
}
|
14
|
+
},
|
15
|
+
});
|
16
|
+
|
17
|
+
attrObserver.observer = new MutationObserver((mutationsList) => {
|
18
|
+
for (const mutation of mutationsList) {
|
19
|
+
if (
|
20
|
+
mutation.type !== "attributes" ||
|
21
|
+
toIgnore.includes(mutation.attributeName)
|
22
|
+
) {
|
23
|
+
return;
|
24
|
+
}
|
25
|
+
|
26
|
+
const { target } = mutation;
|
27
|
+
|
28
|
+
attrObserver.handler(
|
29
|
+
mutation.attributeName,
|
30
|
+
target.getAttribute(mutation.attributeName),
|
31
|
+
mutation.oldValue,
|
32
|
+
target
|
33
|
+
);
|
34
|
+
}
|
35
|
+
});
|
36
|
+
|
37
|
+
Object.assign(component, {
|
38
|
+
destroy() {
|
39
|
+
attrObserver.observer.disconnect();
|
40
|
+
attrObserver.observer = null;
|
41
|
+
|
42
|
+
if (oldDestroy) {
|
43
|
+
oldDestroy.call(this);
|
44
|
+
}
|
45
|
+
},
|
46
|
+
});
|
47
|
+
|
48
|
+
attrObserver.observer.observe(component.$root, { attributes: true });
|
49
|
+
|
50
|
+
return component;
|
51
|
+
};
|
52
|
+
}
|
53
|
+
|
54
|
+
export { ignoredAttributes };
|
@@ -0,0 +1,58 @@
|
|
1
|
+
export default function withAttrs(props = {}) {
|
2
|
+
return function (component) {
|
3
|
+
return Object.assign(
|
4
|
+
component,
|
5
|
+
Alpine.reactive({
|
6
|
+
getAttr(name) {
|
7
|
+
return this.$root.getAttribute(name);
|
8
|
+
},
|
9
|
+
|
10
|
+
setAttr(name, value) {
|
11
|
+
this.$root.setAttribute(name, value);
|
12
|
+
return this;
|
13
|
+
},
|
14
|
+
|
15
|
+
hasAttr(name) {
|
16
|
+
return this.$root.hasAttribute(name);
|
17
|
+
},
|
18
|
+
|
19
|
+
removeAttr(name) {
|
20
|
+
component.$root.removeAttribute(name);
|
21
|
+
return this;
|
22
|
+
},
|
23
|
+
|
24
|
+
assertAttr(name, testValue) {
|
25
|
+
return this.$root.getAttribute(name) === String(testValue);
|
26
|
+
},
|
27
|
+
|
28
|
+
refuteAttr(name, testValue) {
|
29
|
+
return !this.assertAttr(name, testValue);
|
30
|
+
},
|
31
|
+
|
32
|
+
getData(name) {
|
33
|
+
return this.getAttr(`data-${name}`);
|
34
|
+
},
|
35
|
+
|
36
|
+
setData(name, value) {
|
37
|
+
return this.setAttr(`data-${name}`, value);
|
38
|
+
},
|
39
|
+
|
40
|
+
hasData(name) {
|
41
|
+
return this.hasAttr(`data-${name}`);
|
42
|
+
},
|
43
|
+
|
44
|
+
removeData(name) {
|
45
|
+
return this.removeAttr(`data-${name}`);
|
46
|
+
},
|
47
|
+
|
48
|
+
assertData(name, testValue) {
|
49
|
+
return this.assertAttr(`data-${name}`, testValue);
|
50
|
+
},
|
51
|
+
|
52
|
+
refuteData(name, testValue) {
|
53
|
+
return !this.assertData(name, testValue);
|
54
|
+
},
|
55
|
+
})
|
56
|
+
);
|
57
|
+
};
|
58
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { tippy, hideOnEsc } from "@libs/tippy";
|
2
|
+
|
3
|
+
export default function withDropdown(props = {}) {
|
4
|
+
function withDropdownMixin(component) {
|
5
|
+
const tippyEl = component.$refs.dropdownTrigger || component.$root;
|
6
|
+
|
7
|
+
const dropdown = tippy(tippyEl, {
|
8
|
+
trigger: "click",
|
9
|
+
interactive: true,
|
10
|
+
animation: false,
|
11
|
+
content: component.$refs.dropdownPanel,
|
12
|
+
plugins: [hideOnEsc],
|
13
|
+
|
14
|
+
onMount() {
|
15
|
+
if (component.onDropdownMount) {
|
16
|
+
component.onDropdownMount();
|
17
|
+
}
|
18
|
+
},
|
19
|
+
|
20
|
+
onCreate() {
|
21
|
+
if (component.onDropdownCreate) {
|
22
|
+
component.onDropdownCreate();
|
23
|
+
}
|
24
|
+
},
|
25
|
+
|
26
|
+
onShow: () => {
|
27
|
+
component.dropdown.open = true;
|
28
|
+
if (component.onDropdownShow) {
|
29
|
+
return component.onDropdownShow();
|
30
|
+
}
|
31
|
+
|
32
|
+
if (component.setState) {
|
33
|
+
component.setState("active");
|
34
|
+
}
|
35
|
+
},
|
36
|
+
|
37
|
+
onHide: () => {
|
38
|
+
component.dropdown.open = false;
|
39
|
+
if (component.onDropdownHide) {
|
40
|
+
component.onDropdownHide();
|
41
|
+
}
|
42
|
+
if (component.resetState) {
|
43
|
+
component.resetState();
|
44
|
+
}
|
45
|
+
},
|
46
|
+
|
47
|
+
...props,
|
48
|
+
});
|
49
|
+
|
50
|
+
return Object.assign(component, {
|
51
|
+
dropdown: Alpine.reactive({
|
52
|
+
instance: dropdown,
|
53
|
+
open: false,
|
54
|
+
|
55
|
+
hide() {
|
56
|
+
this.instance.hide();
|
57
|
+
},
|
58
|
+
|
59
|
+
show() {
|
60
|
+
this.instance.show();
|
61
|
+
},
|
62
|
+
}),
|
63
|
+
});
|
64
|
+
}
|
65
|
+
|
66
|
+
withDropdownMixin.props = ["dropdown"];
|
67
|
+
|
68
|
+
return withDropdownMixin;
|
69
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import withAttrObserver from "./attr-observer";
|
2
|
+
import withAttrs from "./attrs";
|
3
|
+
import withDropdown from "./dropdown";
|
4
|
+
import withOptions from "./options";
|
5
|
+
import withSizeObserver from "./size-observer";
|
6
|
+
import withTooltip from "./tooltip";
|
7
|
+
import withUndo from "./undo";
|
8
|
+
|
9
|
+
export {
|
10
|
+
withAttrObserver,
|
11
|
+
withAttrs,
|
12
|
+
withDropdown,
|
13
|
+
withOptions,
|
14
|
+
withSizeObserver,
|
15
|
+
withTooltip,
|
16
|
+
withUndo,
|
17
|
+
};
|
@@ -0,0 +1,76 @@
|
|
1
|
+
import { kebabCase, camelCase } from "lodash";
|
2
|
+
|
3
|
+
export default function withOptions(props = {}) {
|
4
|
+
return function (component) {
|
5
|
+
if (!component.options) {
|
6
|
+
return component;
|
7
|
+
}
|
8
|
+
|
9
|
+
const el = component.$root;
|
10
|
+
const oldDestroy = component.destroy;
|
11
|
+
const optionsProps = component.options || {};
|
12
|
+
const optionsAttrs = Object.keys(optionsProps).map(
|
13
|
+
(name) => `data-${kebabCase(name)}`
|
14
|
+
);
|
15
|
+
|
16
|
+
Object.keys(optionsProps).forEach((name) => {
|
17
|
+
const attrName = `data-${kebabCase(name)}`;
|
18
|
+
if (el.hasAttribute(attrName)) {
|
19
|
+
component.options[name] = el.getAttribute(attrName);
|
20
|
+
}
|
21
|
+
});
|
22
|
+
|
23
|
+
let attrObserver = new MutationObserver((mutationsList) => {
|
24
|
+
for (const mutation of mutationsList) {
|
25
|
+
if (
|
26
|
+
mutation.type !== "attributes" ||
|
27
|
+
!optionsAttrs.includes(mutation.attributeName)
|
28
|
+
) {
|
29
|
+
return;
|
30
|
+
}
|
31
|
+
|
32
|
+
const propName = camelCase(mutation.attributeName.replace("data-", ""));
|
33
|
+
let value = mutation.target.getAttribute(mutation.attributeName);
|
34
|
+
|
35
|
+
switch (value) {
|
36
|
+
case "true":
|
37
|
+
value = true;
|
38
|
+
break;
|
39
|
+
case "false":
|
40
|
+
value = false;
|
41
|
+
break;
|
42
|
+
}
|
43
|
+
|
44
|
+
component.options[propName] = value;
|
45
|
+
}
|
46
|
+
});
|
47
|
+
|
48
|
+
Object.assign(
|
49
|
+
component,
|
50
|
+
Alpine.reactive({
|
51
|
+
destroy() {
|
52
|
+
attrObserver.disconnect();
|
53
|
+
attrObserver = null;
|
54
|
+
|
55
|
+
if (oldDestroy) {
|
56
|
+
oldDestroy.call(this);
|
57
|
+
}
|
58
|
+
},
|
59
|
+
})
|
60
|
+
);
|
61
|
+
|
62
|
+
attrObserver.observe(el, { attributes: true });
|
63
|
+
|
64
|
+
component.$watch("options", (options, oldOptions) => {
|
65
|
+
for (const [key, value] of Object.entries(options)) {
|
66
|
+
el.setAttribute(`data-${kebabCase(key)}`, value);
|
67
|
+
|
68
|
+
if (component.onOptionChange) {
|
69
|
+
component.onOptionChange(key, value);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
});
|
73
|
+
|
74
|
+
return component;
|
75
|
+
};
|
76
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
export default function withSizeObserver(props = {}) {
|
2
|
+
return function (component) {
|
3
|
+
const resizeTarget = props.target || component.$root;
|
4
|
+
const oldDestroy = component.destroy;
|
5
|
+
|
6
|
+
const sizeObserver = Alpine.reactive({
|
7
|
+
observer: null,
|
8
|
+
handler(target) {
|
9
|
+
if (component.onResize) {
|
10
|
+
component.onResize(target.contentRect, target);
|
11
|
+
}
|
12
|
+
},
|
13
|
+
});
|
14
|
+
|
15
|
+
sizeObserver.observer = new ResizeObserver((entries) =>
|
16
|
+
sizeObserver.handler(entries[0])
|
17
|
+
);
|
18
|
+
|
19
|
+
Object.assign(component, {
|
20
|
+
destroy() {
|
21
|
+
sizeObserver.observer.disconnect();
|
22
|
+
sizeObserver.observer = null;
|
23
|
+
|
24
|
+
if (oldDestroy) {
|
25
|
+
oldDestroy.call(this);
|
26
|
+
}
|
27
|
+
},
|
28
|
+
});
|
29
|
+
|
30
|
+
sizeObserver.observer.observe(resizeTarget);
|
31
|
+
|
32
|
+
return component;
|
33
|
+
};
|
34
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import tippy from "@libs/tippy";
|
2
|
+
|
3
|
+
export default function withTooltip(props = {}) {
|
4
|
+
function withTooltipMixin(component) {
|
5
|
+
const el = component.$root;
|
6
|
+
const oldDestroy = component.destroy;
|
7
|
+
|
8
|
+
if (!component.hasData("tippy-content")) {
|
9
|
+
component.setData("tippy-disabled", true);
|
10
|
+
}
|
11
|
+
|
12
|
+
const content = component.getData("tippy-content");
|
13
|
+
const tooltip = tippy(el, {
|
14
|
+
theme: "coco-tooltip",
|
15
|
+
|
16
|
+
onShow() {
|
17
|
+
if (component.onTooltipShow) {
|
18
|
+
return component.onTooltipShow();
|
19
|
+
} else {
|
20
|
+
return component.refuteData("tippy-disabled", true);
|
21
|
+
}
|
22
|
+
},
|
23
|
+
|
24
|
+
content() {
|
25
|
+
return content;
|
26
|
+
},
|
27
|
+
|
28
|
+
...props,
|
29
|
+
});
|
30
|
+
|
31
|
+
Object.assign(
|
32
|
+
component,
|
33
|
+
Alpine.reactive({
|
34
|
+
tooltip: {
|
35
|
+
content,
|
36
|
+
instance: tooltip,
|
37
|
+
originalContent: content,
|
38
|
+
},
|
39
|
+
|
40
|
+
getTooltip() {
|
41
|
+
return this.tooltip;
|
42
|
+
},
|
43
|
+
|
44
|
+
setTooltip(content) {
|
45
|
+
this.tooltip.content = content;
|
46
|
+
},
|
47
|
+
|
48
|
+
resetTooltip() {
|
49
|
+
this.tooltip.content = this.tooltip.originalContent;
|
50
|
+
},
|
51
|
+
|
52
|
+
destroy() {
|
53
|
+
if (this.tooltip && this.tooltip.instance) {
|
54
|
+
this.tooltip.instance.destroy();
|
55
|
+
this.tooltip = null;
|
56
|
+
}
|
57
|
+
|
58
|
+
if (oldDestroy) {
|
59
|
+
oldDestroy.call(this);
|
60
|
+
}
|
61
|
+
},
|
62
|
+
})
|
63
|
+
);
|
64
|
+
|
65
|
+
Alpine.effect(() => {
|
66
|
+
if (component.tooltip && component.tooltip.instance) {
|
67
|
+
const value = component.tooltip.content;
|
68
|
+
if (value !== null) {
|
69
|
+
component.tooltip.instance.setContent(value);
|
70
|
+
component.setData("tippy-content", value);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
});
|
74
|
+
|
75
|
+
return component;
|
76
|
+
}
|
77
|
+
|
78
|
+
withTooltipMixin.props = ["tooltip"];
|
79
|
+
|
80
|
+
return withTooltipMixin;
|
81
|
+
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
import { roughSizeOfObject } from "@helpers/lang";
|
2
|
+
|
3
|
+
export default function withUndo(props = {}) {
|
4
|
+
function withUndoMixin(component) {
|
5
|
+
const maxHistorySize = props.maxEntries || 100;
|
6
|
+
|
7
|
+
const history = Alpine.reactive({
|
8
|
+
stack: [],
|
9
|
+
stackPos: -1,
|
10
|
+
adding: false,
|
11
|
+
|
12
|
+
clear() {
|
13
|
+
history.stack.length = 0;
|
14
|
+
history.stackPos = -1;
|
15
|
+
},
|
16
|
+
|
17
|
+
add(name, newValue, oldValue) {
|
18
|
+
if (!history.adding && newValue !== oldValue) {
|
19
|
+
if (history.stackPos < history.stackSize - 1) {
|
20
|
+
// clear stack above this position
|
21
|
+
const stack = Alpine.raw(history.stack);
|
22
|
+
history.stack = stack.slice(0, history.stackPos + 1);
|
23
|
+
}
|
24
|
+
|
25
|
+
history.stack.push({ name, newValue, oldValue });
|
26
|
+
|
27
|
+
// Don't let stack grow beyond max size
|
28
|
+
if (history.stackSize > maxHistorySize) {
|
29
|
+
history.stack.pop();
|
30
|
+
} else {
|
31
|
+
history.stackPos++;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
|
36
|
+
undo() {
|
37
|
+
if (!component.undo) {
|
38
|
+
console.error("Missing `undo` method");
|
39
|
+
return;
|
40
|
+
}
|
41
|
+
|
42
|
+
if (history.undoable) {
|
43
|
+
history.adding = true;
|
44
|
+
const entry = history.stack[history.stackPos];
|
45
|
+
component.undo(entry.name, entry.oldValue);
|
46
|
+
history.stackPos--;
|
47
|
+
this.$nextTick(() => (history.adding = false));
|
48
|
+
}
|
49
|
+
},
|
50
|
+
|
51
|
+
redo() {
|
52
|
+
if (!component.redo) {
|
53
|
+
console.error("Missing `redo` method");
|
54
|
+
return;
|
55
|
+
}
|
56
|
+
|
57
|
+
if (history.redoable) {
|
58
|
+
history.adding = true;
|
59
|
+
history.stackPos++;
|
60
|
+
const entry = history.stack[history.stackPos];
|
61
|
+
component.redo(entry.name, entry.newValue);
|
62
|
+
this.$nextTick(() => (history.adding = false));
|
63
|
+
}
|
64
|
+
},
|
65
|
+
|
66
|
+
get undoable() {
|
67
|
+
return history.stackPos >= 0;
|
68
|
+
},
|
69
|
+
|
70
|
+
get redoable() {
|
71
|
+
return history.stackPos < history.stackSize - 1;
|
72
|
+
},
|
73
|
+
|
74
|
+
get stackSize() {
|
75
|
+
return history.stack.length;
|
76
|
+
},
|
77
|
+
|
78
|
+
get stackMemoryUsage() {
|
79
|
+
return roughSizeOfObject(history.stack);
|
80
|
+
},
|
81
|
+
});
|
82
|
+
|
83
|
+
return Object.assign(component, { history });
|
84
|
+
}
|
85
|
+
|
86
|
+
withUndoMixin.props = ["history"];
|
87
|
+
|
88
|
+
return withUndoMixin;
|
89
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { getData } from "@helpers/alpine";
|
2
|
+
|
3
|
+
import { nameFunction } from "@helpers/lang.js";
|
4
|
+
import { withAttrs, withOptions } from "@js/base/mixins";
|
5
|
+
|
6
|
+
function CocoComponent(name, fn) {
|
7
|
+
const func = nameFunction(name, (...args) => {
|
8
|
+
const data = fn(...args);
|
9
|
+
|
10
|
+
Object.defineProperties(data, {
|
11
|
+
$parent: {
|
12
|
+
get() {
|
13
|
+
return getData(this.$root.parentElement);
|
14
|
+
},
|
15
|
+
},
|
16
|
+
});
|
17
|
+
|
18
|
+
data.$options = {};
|
19
|
+
|
20
|
+
if (data.use === false) return data;
|
21
|
+
|
22
|
+
// TODO - remove all mixin code below once directives are ready
|
23
|
+
|
24
|
+
const originalInit = data.init;
|
25
|
+
const mixins = [withAttrs(), withOptions(), ...(data.use || [])];
|
26
|
+
|
27
|
+
mixins.forEach((mixin) => {
|
28
|
+
if (mixin.props) {
|
29
|
+
mixin.props.forEach((prop) => {
|
30
|
+
if (!data[prop]) {
|
31
|
+
data[prop] = null;
|
32
|
+
}
|
33
|
+
});
|
34
|
+
}
|
35
|
+
});
|
36
|
+
|
37
|
+
return Object.assign(data, {
|
38
|
+
init() {
|
39
|
+
mixins.forEach((mixin) => mixin(this));
|
40
|
+
|
41
|
+
if (originalInit) {
|
42
|
+
originalInit.call(this);
|
43
|
+
}
|
44
|
+
},
|
45
|
+
});
|
46
|
+
});
|
47
|
+
|
48
|
+
func.component = true;
|
49
|
+
|
50
|
+
return func;
|
51
|
+
}
|
52
|
+
|
53
|
+
export { CocoComponent };
|
@@ -0,0 +1,34 @@
|
|
1
|
+
function registerComponents(components) {
|
2
|
+
document.addEventListener("alpine:init", () => {
|
3
|
+
components.forEach((module) => {
|
4
|
+
if (module.default && module.default.component === true) {
|
5
|
+
Alpine.data(module.default.name, module.default);
|
6
|
+
}
|
7
|
+
});
|
8
|
+
});
|
9
|
+
return components;
|
10
|
+
}
|
11
|
+
|
12
|
+
function getComponent(el, throwOnError = false) {
|
13
|
+
try {
|
14
|
+
return Alpine.$data(el);
|
15
|
+
} catch (error) {
|
16
|
+
if (throwOnError) {
|
17
|
+
throw error;
|
18
|
+
} else {
|
19
|
+
return null;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
function getData(el) {
|
25
|
+
const root = Alpine.closestRoot(el);
|
26
|
+
return root ? Alpine.$data(root) : null;
|
27
|
+
}
|
28
|
+
|
29
|
+
function setData(el, newData) {
|
30
|
+
const data = getData(el);
|
31
|
+
return data ? Object.assign(data, newData) : null;
|
32
|
+
}
|
33
|
+
|
34
|
+
export { registerComponents, getComponent, getData, setData };
|
@@ -0,0 +1,51 @@
|
|
1
|
+
function isDark(color) {
|
2
|
+
// Variables for red, green, blue values
|
3
|
+
let r;
|
4
|
+
let g;
|
5
|
+
let b;
|
6
|
+
let hsp;
|
7
|
+
|
8
|
+
// If hex --> Convert it to RGB: http://gist.github.com/983661
|
9
|
+
color = +`0x${color.slice(1).replace(color.length < 5 && /./g, "$&$&")}`;
|
10
|
+
|
11
|
+
r = color >> 16;
|
12
|
+
g = (color >> 8) & 255;
|
13
|
+
b = color & 255;
|
14
|
+
|
15
|
+
// HSP equation from http://alienryderflex.com/hsp.html
|
16
|
+
hsp = Math.sqrt(0.299 * (r * r) + 0.587 * (g * g) + 0.114 * (b * b));
|
17
|
+
|
18
|
+
// Using the HSP value, determine whether the color is light or dark
|
19
|
+
if (hsp > 127.5) {
|
20
|
+
return false; // light
|
21
|
+
}
|
22
|
+
|
23
|
+
return true; // dark
|
24
|
+
}
|
25
|
+
|
26
|
+
function isLight(color) {
|
27
|
+
return !isDark(color);
|
28
|
+
}
|
29
|
+
|
30
|
+
function isValidHex(color) {
|
31
|
+
if (!color || typeof color !== "string") return false;
|
32
|
+
|
33
|
+
if (color.substring(0, 1) === "#") color = color.substring(1);
|
34
|
+
|
35
|
+
switch (color.length) {
|
36
|
+
case 3:
|
37
|
+
return /^[0-9A-F]{3}$/i.test(color);
|
38
|
+
case 6:
|
39
|
+
return /^[0-9A-F]{6}$/i.test(color);
|
40
|
+
case 8:
|
41
|
+
return /^[0-9A-F]{8}$/i.test(color);
|
42
|
+
default:
|
43
|
+
return false;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
function formatHex(str) {
|
48
|
+
return `#${str.toUpperCase().replace("#", "")}`;
|
49
|
+
}
|
50
|
+
|
51
|
+
export { isLight, isDark, isValidHex, formatHex };
|