lookbook 2.0.0.beta.6 → 2.0.0.beta.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/css/fonts.css +33 -0
- data/assets/css/lookbook.css +145 -0
- data/assets/css/themes/blue.css +76 -0
- data/assets/css/themes/green.css +76 -0
- data/assets/css/themes/indigo.css +76 -0
- data/assets/css/themes/rose.css +76 -0
- data/assets/css/themes/zinc.css +76 -0
- data/assets/css/tooltip.css +53 -0
- data/assets/fonts/Inter-italic.var.woff2 +0 -0
- data/assets/fonts/Inter-roman.var.woff2 +0 -0
- data/assets/fonts/SourceCodeVariable-Italic.ttf.woff2 +0 -0
- data/assets/fonts/SourceCodeVariable-Roman.ttf.woff2 +0 -0
- data/assets/icons/accessibility.svg +1 -0
- data/assets/icons/activity.svg +1 -0
- data/assets/icons/air-vent.svg +1 -0
- data/assets/icons/airplay.svg +1 -0
- data/assets/icons/alarm-check.svg +1 -0
- data/assets/icons/alarm-clock-off.svg +1 -0
- data/assets/icons/alarm-clock.svg +1 -0
- data/assets/icons/alarm-minus.svg +1 -0
- data/assets/icons/alarm-plus.svg +1 -0
- data/assets/icons/album.svg +1 -0
- data/assets/icons/alert-circle.svg +1 -0
- data/assets/icons/alert-octagon.svg +1 -0
- data/assets/icons/alert-triangle.svg +1 -0
- data/assets/icons/align-center-horizontal.svg +1 -0
- data/assets/icons/align-center-vertical.svg +1 -0
- data/assets/icons/align-center.svg +1 -0
- data/assets/icons/align-end-horizontal.svg +1 -0
- data/assets/icons/align-end-vertical.svg +1 -0
- data/assets/icons/align-horizontal-distribute-center.svg +1 -0
- data/assets/icons/align-horizontal-distribute-end.svg +1 -0
- data/assets/icons/align-horizontal-distribute-start.svg +1 -0
- data/assets/icons/align-horizontal-justify-center.svg +1 -0
- data/assets/icons/align-horizontal-justify-end.svg +1 -0
- data/assets/icons/align-horizontal-justify-start.svg +1 -0
- data/assets/icons/align-horizontal-space-around.svg +1 -0
- data/assets/icons/align-horizontal-space-between.svg +1 -0
- data/assets/icons/align-justify.svg +1 -0
- data/assets/icons/align-left.svg +1 -0
- data/assets/icons/align-right.svg +1 -0
- data/assets/icons/align-start-horizontal.svg +1 -0
- data/assets/icons/align-start-vertical.svg +1 -0
- data/assets/icons/align-vertical-distribute-center.svg +1 -0
- data/assets/icons/align-vertical-distribute-end.svg +1 -0
- data/assets/icons/align-vertical-distribute-start.svg +1 -0
- data/assets/icons/align-vertical-justify-center.svg +1 -0
- data/assets/icons/align-vertical-justify-end.svg +1 -0
- data/assets/icons/align-vertical-justify-start.svg +1 -0
- data/assets/icons/align-vertical-space-around.svg +1 -0
- data/assets/icons/align-vertical-space-between.svg +1 -0
- data/assets/icons/anchor.svg +1 -0
- data/assets/icons/angry.svg +1 -0
- data/assets/icons/annoyed.svg +1 -0
- data/assets/icons/aperture.svg +1 -0
- data/assets/icons/apple.svg +1 -0
- data/assets/icons/archive-restore.svg +1 -0
- data/assets/icons/archive.svg +1 -0
- data/assets/icons/armchair.svg +1 -0
- data/assets/icons/arrow-big-down.svg +1 -0
- data/assets/icons/arrow-big-left.svg +1 -0
- data/assets/icons/arrow-big-right.svg +1 -0
- data/assets/icons/arrow-big-up.svg +1 -0
- data/assets/icons/arrow-down-circle.svg +1 -0
- data/assets/icons/arrow-down-left.svg +1 -0
- data/assets/icons/arrow-down-right.svg +1 -0
- data/assets/icons/arrow-down.svg +1 -0
- data/assets/icons/arrow-left-circle.svg +1 -0
- data/assets/icons/arrow-left-right.svg +1 -0
- data/assets/icons/arrow-left.svg +1 -0
- data/assets/icons/arrow-right-circle.svg +1 -0
- data/assets/icons/arrow-right.svg +1 -0
- data/assets/icons/arrow-up-circle.svg +1 -0
- data/assets/icons/arrow-up-down.svg +1 -0
- data/assets/icons/arrow-up-left.svg +1 -0
- data/assets/icons/arrow-up-right.svg +1 -0
- data/assets/icons/arrow-up.svg +1 -0
- data/assets/icons/asterisk.svg +1 -0
- data/assets/icons/at-sign.svg +1 -0
- data/assets/icons/award.svg +1 -0
- data/assets/icons/axe.svg +1 -0
- data/assets/icons/axis-3d.svg +1 -0
- data/assets/icons/baby.svg +1 -0
- data/assets/icons/backpack.svg +1 -0
- data/assets/icons/baggage-claim.svg +1 -0
- data/assets/icons/banana.svg +1 -0
- data/assets/icons/banknote.svg +1 -0
- data/assets/icons/bar-chart-2.svg +1 -0
- data/assets/icons/bar-chart-3.svg +1 -0
- data/assets/icons/bar-chart-4.svg +1 -0
- data/assets/icons/bar-chart-horizontal.svg +1 -0
- data/assets/icons/bar-chart.svg +1 -0
- data/assets/icons/baseline.svg +1 -0
- data/assets/icons/bath.svg +1 -0
- data/assets/icons/battery-charging.svg +1 -0
- data/assets/icons/battery-full.svg +1 -0
- data/assets/icons/battery-low.svg +1 -0
- data/assets/icons/battery-medium.svg +1 -0
- data/assets/icons/battery-warning.svg +1 -0
- data/assets/icons/battery.svg +1 -0
- data/assets/icons/beaker.svg +1 -0
- data/assets/icons/bean-off.svg +1 -0
- data/assets/icons/bean.svg +1 -0
- data/assets/icons/bed-double.svg +1 -0
- data/assets/icons/bed-single.svg +1 -0
- data/assets/icons/bed.svg +1 -0
- data/assets/icons/beef.svg +1 -0
- data/assets/icons/beer.svg +1 -0
- data/assets/icons/bell-minus.svg +1 -0
- data/assets/icons/bell-off.svg +1 -0
- data/assets/icons/bell-plus.svg +1 -0
- data/assets/icons/bell-ring.svg +1 -0
- data/assets/icons/bell.svg +1 -0
- data/assets/icons/bike.svg +1 -0
- data/assets/icons/binary.svg +1 -0
- data/assets/icons/bird.svg +1 -0
- data/assets/icons/bitcoin.svg +1 -0
- data/assets/icons/blinds.svg +1 -0
- data/assets/icons/bluetooth-connected.svg +1 -0
- data/assets/icons/bluetooth-off.svg +1 -0
- data/assets/icons/bluetooth-searching.svg +1 -0
- data/assets/icons/bluetooth.svg +1 -0
- data/assets/icons/bold.svg +1 -0
- data/assets/icons/bomb.svg +1 -0
- data/assets/icons/bone.svg +1 -0
- data/assets/icons/book-open-check.svg +1 -0
- data/assets/icons/book-open.svg +1 -0
- data/assets/icons/book.svg +1 -0
- data/assets/icons/bookmark-minus.svg +1 -0
- data/assets/icons/bookmark-plus.svg +1 -0
- data/assets/icons/bookmark.svg +1 -0
- data/assets/icons/bot.svg +1 -0
- data/assets/icons/box-select.svg +1 -0
- data/assets/icons/box.svg +1 -0
- data/assets/icons/boxes.svg +1 -0
- data/assets/icons/briefcase.svg +1 -0
- data/assets/icons/brush.svg +1 -0
- data/assets/icons/bug.svg +1 -0
- data/assets/icons/building-2.svg +1 -0
- data/assets/icons/building.svg +1 -0
- data/assets/icons/bus.svg +1 -0
- data/assets/icons/cake.svg +1 -0
- data/assets/icons/calculator.svg +1 -0
- data/assets/icons/calendar-check-2.svg +1 -0
- data/assets/icons/calendar-check.svg +1 -0
- data/assets/icons/calendar-clock.svg +1 -0
- data/assets/icons/calendar-days.svg +1 -0
- data/assets/icons/calendar-heart.svg +1 -0
- data/assets/icons/calendar-minus.svg +1 -0
- data/assets/icons/calendar-off.svg +1 -0
- data/assets/icons/calendar-plus.svg +1 -0
- data/assets/icons/calendar-range.svg +1 -0
- data/assets/icons/calendar-search.svg +1 -0
- data/assets/icons/calendar-x-2.svg +1 -0
- data/assets/icons/calendar-x.svg +1 -0
- data/assets/icons/calendar.svg +1 -0
- data/assets/icons/camera-off.svg +1 -0
- data/assets/icons/camera.svg +1 -0
- data/assets/icons/candy-off.svg +1 -0
- data/assets/icons/candy.svg +1 -0
- data/assets/icons/car.svg +1 -0
- data/assets/icons/carrot.svg +1 -0
- data/assets/icons/cast.svg +1 -0
- data/assets/icons/cat.svg +1 -0
- data/assets/icons/check-check.svg +1 -0
- data/assets/icons/check-circle-2.svg +1 -0
- data/assets/icons/check-circle.svg +1 -0
- data/assets/icons/check-square.svg +1 -0
- data/assets/icons/check.svg +1 -0
- data/assets/icons/chef-hat.svg +1 -0
- data/assets/icons/cherry.svg +1 -0
- data/assets/icons/chevron-down.svg +1 -0
- data/assets/icons/chevron-first.svg +1 -0
- data/assets/icons/chevron-last.svg +1 -0
- data/assets/icons/chevron-left.svg +1 -0
- data/assets/icons/chevron-right.svg +1 -0
- data/assets/icons/chevron-up.svg +1 -0
- data/assets/icons/chevrons-down-up.svg +1 -0
- data/assets/icons/chevrons-down.svg +1 -0
- data/assets/icons/chevrons-left-right.svg +1 -0
- data/assets/icons/chevrons-left.svg +1 -0
- data/assets/icons/chevrons-right-left.svg +1 -0
- data/assets/icons/chevrons-right.svg +1 -0
- data/assets/icons/chevrons-up-down.svg +1 -0
- data/assets/icons/chevrons-up.svg +1 -0
- data/assets/icons/chrome.svg +1 -0
- data/assets/icons/cigarette-off.svg +1 -0
- data/assets/icons/cigarette.svg +1 -0
- data/assets/icons/circle-dot.svg +1 -0
- data/assets/icons/circle-ellipsis.svg +1 -0
- data/assets/icons/circle-slashed.svg +1 -0
- data/assets/icons/circle.svg +1 -0
- data/assets/icons/citrus.svg +1 -0
- data/assets/icons/clapperboard.svg +1 -0
- data/assets/icons/clipboard-check.svg +1 -0
- data/assets/icons/clipboard-copy.svg +1 -0
- data/assets/icons/clipboard-edit.svg +1 -0
- data/assets/icons/clipboard-list.svg +1 -0
- data/assets/icons/clipboard-signature.svg +1 -0
- data/assets/icons/clipboard-type.svg +1 -0
- data/assets/icons/clipboard-x.svg +1 -0
- data/assets/icons/clipboard.svg +1 -0
- data/assets/icons/clock-1.svg +1 -0
- data/assets/icons/clock-10.svg +1 -0
- data/assets/icons/clock-11.svg +1 -0
- data/assets/icons/clock-12.svg +1 -0
- data/assets/icons/clock-2.svg +1 -0
- data/assets/icons/clock-3.svg +1 -0
- data/assets/icons/clock-4.svg +1 -0
- data/assets/icons/clock-5.svg +1 -0
- data/assets/icons/clock-6.svg +1 -0
- data/assets/icons/clock-7.svg +1 -0
- data/assets/icons/clock-8.svg +1 -0
- data/assets/icons/clock-9.svg +1 -0
- data/assets/icons/clock.svg +1 -0
- data/assets/icons/cloud-cog.svg +1 -0
- data/assets/icons/cloud-drizzle.svg +1 -0
- data/assets/icons/cloud-fog.svg +1 -0
- data/assets/icons/cloud-hail.svg +1 -0
- data/assets/icons/cloud-lightning.svg +1 -0
- data/assets/icons/cloud-moon-rain.svg +1 -0
- data/assets/icons/cloud-moon.svg +1 -0
- data/assets/icons/cloud-off.svg +1 -0
- data/assets/icons/cloud-rain-wind.svg +1 -0
- data/assets/icons/cloud-rain.svg +1 -0
- data/assets/icons/cloud-snow.svg +1 -0
- data/assets/icons/cloud-sun-rain.svg +1 -0
- data/assets/icons/cloud-sun.svg +1 -0
- data/assets/icons/cloud.svg +1 -0
- data/assets/icons/cloudy.svg +1 -0
- data/assets/icons/clover.svg +1 -0
- data/assets/icons/code-2.svg +1 -0
- data/assets/icons/code.svg +1 -0
- data/assets/icons/codepen.svg +1 -0
- data/assets/icons/codesandbox.svg +1 -0
- data/assets/icons/coffee.svg +1 -0
- data/assets/icons/cog.svg +1 -0
- data/assets/icons/coins.svg +1 -0
- data/assets/icons/columns.svg +1 -0
- data/assets/icons/command.svg +1 -0
- data/assets/icons/compass.svg +1 -0
- data/assets/icons/component.svg +1 -0
- data/assets/icons/concierge-bell.svg +1 -0
- data/assets/icons/construction.svg +1 -0
- data/assets/icons/contact.svg +1 -0
- data/assets/icons/contrast.svg +1 -0
- data/assets/icons/cookie.svg +1 -0
- data/assets/icons/copy.svg +1 -0
- data/assets/icons/copyleft.svg +1 -0
- data/assets/icons/copyright.svg +1 -0
- data/assets/icons/corner-down-left.svg +1 -0
- data/assets/icons/corner-down-right.svg +1 -0
- data/assets/icons/corner-left-down.svg +1 -0
- data/assets/icons/corner-left-up.svg +1 -0
- data/assets/icons/corner-right-down.svg +1 -0
- data/assets/icons/corner-right-up.svg +1 -0
- data/assets/icons/corner-up-left.svg +1 -0
- data/assets/icons/corner-up-right.svg +1 -0
- data/assets/icons/cpu.svg +1 -0
- data/assets/icons/creative-commons.svg +1 -0
- data/assets/icons/credit-card.svg +1 -0
- data/assets/icons/croissant.svg +1 -0
- data/assets/icons/crop.svg +1 -0
- data/assets/icons/cross.svg +1 -0
- data/assets/icons/crosshair.svg +1 -0
- data/assets/icons/crown.svg +1 -0
- data/assets/icons/cup-soda.svg +1 -0
- data/assets/icons/curly-braces.svg +1 -0
- data/assets/icons/currency.svg +1 -0
- data/assets/icons/database-backup.svg +1 -0
- data/assets/icons/database.svg +1 -0
- data/assets/icons/delete.svg +1 -0
- data/assets/icons/diamond.svg +1 -0
- data/assets/icons/dice-1.svg +1 -0
- data/assets/icons/dice-2.svg +1 -0
- data/assets/icons/dice-3.svg +1 -0
- data/assets/icons/dice-4.svg +1 -0
- data/assets/icons/dice-5.svg +1 -0
- data/assets/icons/dice-6.svg +1 -0
- data/assets/icons/dices.svg +1 -0
- data/assets/icons/diff.svg +1 -0
- data/assets/icons/disc.svg +1 -0
- data/assets/icons/divide-circle.svg +1 -0
- data/assets/icons/divide-square.svg +1 -0
- data/assets/icons/divide.svg +1 -0
- data/assets/icons/dna-off.svg +1 -0
- data/assets/icons/dna.svg +1 -0
- data/assets/icons/dog.svg +1 -0
- data/assets/icons/dollar-sign.svg +1 -0
- data/assets/icons/download-cloud.svg +1 -0
- data/assets/icons/download.svg +1 -0
- data/assets/icons/dribbble.svg +1 -0
- data/assets/icons/droplet.svg +1 -0
- data/assets/icons/droplets.svg +1 -0
- data/assets/icons/drumstick.svg +1 -0
- data/assets/icons/dumbbell.svg +1 -0
- data/assets/icons/ear-off.svg +1 -0
- data/assets/icons/ear.svg +1 -0
- data/assets/icons/edit-2.svg +1 -0
- data/assets/icons/edit-3.svg +1 -0
- data/assets/icons/edit.svg +1 -0
- data/assets/icons/egg-fried.svg +1 -0
- data/assets/icons/egg-off.svg +1 -0
- data/assets/icons/egg.svg +1 -0
- data/assets/icons/equal-not.svg +1 -0
- data/assets/icons/equal.svg +1 -0
- data/assets/icons/eraser.svg +1 -0
- data/assets/icons/euro.svg +1 -0
- data/assets/icons/expand.svg +1 -0
- data/assets/icons/external-link.svg +1 -0
- data/assets/icons/eye-off.svg +1 -0
- data/assets/icons/eye.svg +1 -0
- data/assets/icons/facebook.svg +1 -0
- data/assets/icons/factory.svg +1 -0
- data/assets/icons/fan.svg +1 -0
- data/assets/icons/fast-forward.svg +1 -0
- data/assets/icons/feather.svg +1 -0
- data/assets/icons/figma.svg +1 -0
- data/assets/icons/file-archive.svg +1 -0
- data/assets/icons/file-audio-2.svg +1 -0
- data/assets/icons/file-audio.svg +1 -0
- data/assets/icons/file-axis-3d.svg +1 -0
- data/assets/icons/file-badge-2.svg +1 -0
- data/assets/icons/file-badge.svg +1 -0
- data/assets/icons/file-bar-chart-2.svg +1 -0
- data/assets/icons/file-bar-chart.svg +1 -0
- data/assets/icons/file-box.svg +1 -0
- data/assets/icons/file-check-2.svg +1 -0
- data/assets/icons/file-check.svg +1 -0
- data/assets/icons/file-clock.svg +1 -0
- data/assets/icons/file-code.svg +1 -0
- data/assets/icons/file-cog-2.svg +1 -0
- data/assets/icons/file-cog.svg +1 -0
- data/assets/icons/file-diff.svg +1 -0
- data/assets/icons/file-digit.svg +1 -0
- data/assets/icons/file-down.svg +1 -0
- data/assets/icons/file-edit.svg +1 -0
- data/assets/icons/file-heart.svg +1 -0
- data/assets/icons/file-image.svg +1 -0
- data/assets/icons/file-input.svg +1 -0
- data/assets/icons/file-json-2.svg +1 -0
- data/assets/icons/file-json.svg +1 -0
- data/assets/icons/file-key-2.svg +1 -0
- data/assets/icons/file-key.svg +1 -0
- data/assets/icons/file-line-chart.svg +1 -0
- data/assets/icons/file-lock-2.svg +1 -0
- data/assets/icons/file-lock.svg +1 -0
- data/assets/icons/file-minus-2.svg +1 -0
- data/assets/icons/file-minus.svg +1 -0
- data/assets/icons/file-output.svg +1 -0
- data/assets/icons/file-pie-chart.svg +1 -0
- data/assets/icons/file-plus-2.svg +1 -0
- data/assets/icons/file-plus.svg +1 -0
- data/assets/icons/file-question.svg +1 -0
- data/assets/icons/file-scan.svg +1 -0
- data/assets/icons/file-search-2.svg +1 -0
- data/assets/icons/file-search.svg +1 -0
- data/assets/icons/file-signature.svg +1 -0
- data/assets/icons/file-spreadsheet.svg +1 -0
- data/assets/icons/file-symlink.svg +1 -0
- data/assets/icons/file-terminal.svg +1 -0
- data/assets/icons/file-text.svg +1 -0
- data/assets/icons/file-type-2.svg +1 -0
- data/assets/icons/file-type.svg +1 -0
- data/assets/icons/file-up.svg +1 -0
- data/assets/icons/file-video-2.svg +1 -0
- data/assets/icons/file-video.svg +1 -0
- data/assets/icons/file-volume-2.svg +1 -0
- data/assets/icons/file-volume.svg +1 -0
- data/assets/icons/file-warning.svg +1 -0
- data/assets/icons/file-x-2.svg +1 -0
- data/assets/icons/file-x.svg +1 -0
- data/assets/icons/file.svg +1 -0
- data/assets/icons/files.svg +1 -0
- data/assets/icons/film.svg +1 -0
- data/assets/icons/filter-x.svg +1 -0
- data/assets/icons/filter.svg +1 -0
- data/assets/icons/fingerprint.svg +1 -0
- data/assets/icons/fish-off.svg +1 -0
- data/assets/icons/fish.svg +1 -0
- data/assets/icons/flag-off.svg +1 -0
- data/assets/icons/flag-triangle-left.svg +1 -0
- data/assets/icons/flag-triangle-right.svg +1 -0
- data/assets/icons/flag.svg +1 -0
- data/assets/icons/flame.svg +1 -0
- data/assets/icons/flashlight-off.svg +1 -0
- data/assets/icons/flashlight.svg +1 -0
- data/assets/icons/flask-conical-off.svg +1 -0
- data/assets/icons/flask-conical.svg +1 -0
- data/assets/icons/flask-round.svg +1 -0
- data/assets/icons/flip-horizontal-2.svg +1 -0
- data/assets/icons/flip-horizontal.svg +1 -0
- data/assets/icons/flip-vertical-2.svg +1 -0
- data/assets/icons/flip-vertical.svg +1 -0
- data/assets/icons/flower-2.svg +1 -0
- data/assets/icons/flower.svg +1 -0
- data/assets/icons/focus.svg +1 -0
- data/assets/icons/folder-archive.svg +1 -0
- data/assets/icons/folder-check.svg +1 -0
- data/assets/icons/folder-clock.svg +1 -0
- data/assets/icons/folder-closed.svg +1 -0
- data/assets/icons/folder-cog-2.svg +1 -0
- data/assets/icons/folder-cog.svg +1 -0
- data/assets/icons/folder-down.svg +1 -0
- data/assets/icons/folder-edit.svg +1 -0
- data/assets/icons/folder-heart.svg +1 -0
- data/assets/icons/folder-input.svg +1 -0
- data/assets/icons/folder-key.svg +1 -0
- data/assets/icons/folder-lock.svg +1 -0
- data/assets/icons/folder-minus.svg +1 -0
- data/assets/icons/folder-open.svg +1 -0
- data/assets/icons/folder-output.svg +1 -0
- data/assets/icons/folder-plus.svg +1 -0
- data/assets/icons/folder-search-2.svg +1 -0
- data/assets/icons/folder-search.svg +1 -0
- data/assets/icons/folder-symlink.svg +1 -0
- data/assets/icons/folder-tree.svg +1 -0
- data/assets/icons/folder-up.svg +1 -0
- data/assets/icons/folder-x.svg +1 -0
- data/assets/icons/folder.svg +1 -0
- data/assets/icons/folders.svg +1 -0
- data/assets/icons/footprints.svg +1 -0
- data/assets/icons/forklift.svg +1 -0
- data/assets/icons/form-input.svg +1 -0
- data/assets/icons/forward.svg +1 -0
- data/assets/icons/frame.svg +1 -0
- data/assets/icons/framer.svg +1 -0
- data/assets/icons/frown.svg +1 -0
- data/assets/icons/fuel.svg +1 -0
- data/assets/icons/function-square.svg +1 -0
- data/assets/icons/gamepad-2.svg +1 -0
- data/assets/icons/gamepad.svg +1 -0
- data/assets/icons/gauge.svg +1 -0
- data/assets/icons/gavel.svg +1 -0
- data/assets/icons/gem.svg +1 -0
- data/assets/icons/ghost.svg +1 -0
- data/assets/icons/gift.svg +1 -0
- data/assets/icons/git-branch-plus.svg +1 -0
- data/assets/icons/git-branch.svg +1 -0
- data/assets/icons/git-commit.svg +1 -0
- data/assets/icons/git-compare.svg +1 -0
- data/assets/icons/git-fork.svg +1 -0
- data/assets/icons/git-merge.svg +1 -0
- data/assets/icons/git-pull-request-closed.svg +1 -0
- data/assets/icons/git-pull-request-draft.svg +1 -0
- data/assets/icons/git-pull-request.svg +1 -0
- data/assets/icons/github.svg +1 -0
- data/assets/icons/gitlab.svg +1 -0
- data/assets/icons/glass-water.svg +1 -0
- data/assets/icons/glasses.svg +1 -0
- data/assets/icons/globe-2.svg +1 -0
- data/assets/icons/globe.svg +1 -0
- data/assets/icons/grab.svg +1 -0
- data/assets/icons/graduation-cap.svg +1 -0
- data/assets/icons/grape.svg +1 -0
- data/assets/icons/grid.svg +1 -0
- data/assets/icons/grip-horizontal.svg +1 -0
- data/assets/icons/grip-vertical.svg +1 -0
- data/assets/icons/grip.svg +1 -0
- data/assets/icons/hammer.svg +1 -0
- data/assets/icons/hand-metal.svg +1 -0
- data/assets/icons/hand.svg +1 -0
- data/assets/icons/hard-drive.svg +1 -0
- data/assets/icons/hard-hat.svg +1 -0
- data/assets/icons/hash.svg +1 -0
- data/assets/icons/haze.svg +1 -0
- data/assets/icons/heading-1.svg +1 -0
- data/assets/icons/heading-2.svg +1 -0
- data/assets/icons/heading-3.svg +1 -0
- data/assets/icons/heading-4.svg +1 -0
- data/assets/icons/heading-5.svg +1 -0
- data/assets/icons/heading-6.svg +1 -0
- data/assets/icons/heading.svg +1 -0
- data/assets/icons/headphones.svg +1 -0
- data/assets/icons/heart-crack.svg +1 -0
- data/assets/icons/heart-handshake.svg +1 -0
- data/assets/icons/heart-off.svg +1 -0
- data/assets/icons/heart-pulse.svg +1 -0
- data/assets/icons/heart.svg +1 -0
- data/assets/icons/help-circle.svg +1 -0
- data/assets/icons/helping-hand.svg +1 -0
- data/assets/icons/hexagon.svg +1 -0
- data/assets/icons/highlighter.svg +1 -0
- data/assets/icons/history.svg +1 -0
- data/assets/icons/home.svg +1 -0
- data/assets/icons/hop-off.svg +1 -0
- data/assets/icons/hop.svg +1 -0
- data/assets/icons/hourglass.svg +1 -0
- data/assets/icons/ice-cream-2.svg +1 -0
- data/assets/icons/ice-cream.svg +1 -0
- data/assets/icons/image-minus.svg +1 -0
- data/assets/icons/image-off.svg +1 -0
- data/assets/icons/image-plus.svg +1 -0
- data/assets/icons/image.svg +1 -0
- data/assets/icons/import.svg +1 -0
- data/assets/icons/inbox.svg +1 -0
- data/assets/icons/indent.svg +1 -0
- data/assets/icons/indian-rupee.svg +1 -0
- data/assets/icons/infinity.svg +1 -0
- data/assets/icons/info.svg +1 -0
- data/assets/icons/inspect.svg +1 -0
- data/assets/icons/instagram.svg +1 -0
- data/assets/icons/italic.svg +1 -0
- data/assets/icons/japanese-yen.svg +1 -0
- data/assets/icons/joystick.svg +1 -0
- data/assets/icons/key.svg +1 -0
- data/assets/icons/keyboard.svg +1 -0
- data/assets/icons/lamp-ceiling.svg +1 -0
- data/assets/icons/lamp-desk.svg +1 -0
- data/assets/icons/lamp-floor.svg +1 -0
- data/assets/icons/lamp-wall-down.svg +1 -0
- data/assets/icons/lamp-wall-up.svg +1 -0
- data/assets/icons/lamp.svg +1 -0
- data/assets/icons/landmark.svg +1 -0
- data/assets/icons/languages.svg +1 -0
- data/assets/icons/laptop-2.svg +1 -0
- data/assets/icons/laptop.svg +1 -0
- data/assets/icons/lasso-select.svg +1 -0
- data/assets/icons/lasso.svg +1 -0
- data/assets/icons/laugh.svg +1 -0
- data/assets/icons/layers.svg +1 -0
- data/assets/icons/layout-dashboard.svg +1 -0
- data/assets/icons/layout-grid.svg +1 -0
- data/assets/icons/layout-list.svg +1 -0
- data/assets/icons/layout-template.svg +1 -0
- data/assets/icons/layout.svg +1 -0
- data/assets/icons/leaf.svg +1 -0
- data/assets/icons/library.svg +1 -0
- data/assets/icons/life-buoy.svg +1 -0
- data/assets/icons/lightbulb-off.svg +1 -0
- data/assets/icons/lightbulb.svg +1 -0
- data/assets/icons/line-chart.svg +1 -0
- data/assets/icons/link-2-off.svg +1 -0
- data/assets/icons/link-2.svg +1 -0
- data/assets/icons/link.svg +1 -0
- data/assets/icons/linkedin.svg +1 -0
- data/assets/icons/list-checks.svg +1 -0
- data/assets/icons/list-end.svg +1 -0
- data/assets/icons/list-minus.svg +1 -0
- data/assets/icons/list-music.svg +1 -0
- data/assets/icons/list-ordered.svg +1 -0
- data/assets/icons/list-plus.svg +1 -0
- data/assets/icons/list-start.svg +1 -0
- data/assets/icons/list-video.svg +1 -0
- data/assets/icons/list-x.svg +1 -0
- data/assets/icons/list.svg +1 -0
- data/assets/icons/loader-2.svg +1 -0
- data/assets/icons/loader.svg +1 -0
- data/assets/icons/locate-fixed.svg +1 -0
- data/assets/icons/locate-off.svg +1 -0
- data/assets/icons/locate.svg +1 -0
- data/assets/icons/lock.svg +1 -0
- data/assets/icons/log-in.svg +1 -0
- data/assets/icons/log-out.svg +1 -0
- data/assets/icons/luggage.svg +1 -0
- data/assets/icons/magnet.svg +1 -0
- data/assets/icons/mail-check.svg +1 -0
- data/assets/icons/mail-minus.svg +1 -0
- data/assets/icons/mail-open.svg +1 -0
- data/assets/icons/mail-plus.svg +1 -0
- data/assets/icons/mail-question.svg +1 -0
- data/assets/icons/mail-search.svg +1 -0
- data/assets/icons/mail-warning.svg +1 -0
- data/assets/icons/mail-x.svg +1 -0
- data/assets/icons/mail.svg +1 -0
- data/assets/icons/mails.svg +1 -0
- data/assets/icons/map-pin-off.svg +1 -0
- data/assets/icons/map-pin.svg +1 -0
- data/assets/icons/map.svg +1 -0
- data/assets/icons/martini.svg +1 -0
- data/assets/icons/maximize-2.svg +1 -0
- data/assets/icons/maximize.svg +1 -0
- data/assets/icons/medal.svg +1 -0
- data/assets/icons/megaphone-off.svg +1 -0
- data/assets/icons/megaphone.svg +1 -0
- data/assets/icons/meh.svg +1 -0
- data/assets/icons/menu.svg +1 -0
- data/assets/icons/message-circle.svg +1 -0
- data/assets/icons/message-square.svg +1 -0
- data/assets/icons/mic-2.svg +1 -0
- data/assets/icons/mic-off.svg +1 -0
- data/assets/icons/mic.svg +1 -0
- data/assets/icons/microscope.svg +1 -0
- data/assets/icons/microwave.svg +1 -0
- data/assets/icons/milestone.svg +1 -0
- data/assets/icons/milk-off.svg +1 -0
- data/assets/icons/milk.svg +1 -0
- data/assets/icons/minimize-2.svg +1 -0
- data/assets/icons/minimize.svg +1 -0
- data/assets/icons/minus-circle.svg +1 -0
- data/assets/icons/minus-square.svg +1 -0
- data/assets/icons/minus.svg +1 -0
- data/assets/icons/monitor-off.svg +1 -0
- data/assets/icons/monitor-smartphone.svg +1 -0
- data/assets/icons/monitor-speaker.svg +1 -0
- data/assets/icons/monitor.svg +1 -0
- data/assets/icons/moon.svg +1 -0
- data/assets/icons/more-horizontal.svg +1 -0
- data/assets/icons/more-vertical.svg +1 -0
- data/assets/icons/mountain-snow.svg +1 -0
- data/assets/icons/mountain.svg +1 -0
- data/assets/icons/mouse-pointer-2.svg +1 -0
- data/assets/icons/mouse-pointer-click.svg +1 -0
- data/assets/icons/mouse-pointer.svg +1 -0
- data/assets/icons/mouse.svg +1 -0
- data/assets/icons/move-3d.svg +1 -0
- data/assets/icons/move-diagonal-2.svg +1 -0
- data/assets/icons/move-diagonal.svg +1 -0
- data/assets/icons/move-horizontal.svg +1 -0
- data/assets/icons/move-vertical.svg +1 -0
- data/assets/icons/move.svg +1 -0
- data/assets/icons/music-2.svg +1 -0
- data/assets/icons/music-3.svg +1 -0
- data/assets/icons/music-4.svg +1 -0
- data/assets/icons/music.svg +1 -0
- data/assets/icons/navigation-2-off.svg +1 -0
- data/assets/icons/navigation-2.svg +1 -0
- data/assets/icons/navigation-off.svg +1 -0
- data/assets/icons/navigation.svg +1 -0
- data/assets/icons/network.svg +1 -0
- data/assets/icons/newspaper.svg +1 -0
- data/assets/icons/nfc.svg +1 -0
- data/assets/icons/nut-off.svg +1 -0
- data/assets/icons/nut.svg +1 -0
- data/assets/icons/octagon.svg +1 -0
- data/assets/icons/option.svg +1 -0
- data/assets/icons/outdent.svg +1 -0
- data/assets/icons/package-2.svg +1 -0
- data/assets/icons/package-check.svg +1 -0
- data/assets/icons/package-minus.svg +1 -0
- data/assets/icons/package-open.svg +1 -0
- data/assets/icons/package-plus.svg +1 -0
- data/assets/icons/package-search.svg +1 -0
- data/assets/icons/package-x.svg +1 -0
- data/assets/icons/package.svg +1 -0
- data/assets/icons/paint-bucket.svg +1 -0
- data/assets/icons/paintbrush-2.svg +1 -0
- data/assets/icons/paintbrush.svg +1 -0
- data/assets/icons/palette.svg +1 -0
- data/assets/icons/palmtree.svg +1 -0
- data/assets/icons/paperclip.svg +1 -0
- data/assets/icons/party-popper.svg +1 -0
- data/assets/icons/pause-circle.svg +1 -0
- data/assets/icons/pause-octagon.svg +1 -0
- data/assets/icons/pause.svg +1 -0
- data/assets/icons/pen-tool.svg +1 -0
- data/assets/icons/pencil.svg +1 -0
- data/assets/icons/percent.svg +1 -0
- data/assets/icons/person-standing.svg +1 -0
- data/assets/icons/phone-call.svg +1 -0
- data/assets/icons/phone-forwarded.svg +1 -0
- data/assets/icons/phone-incoming.svg +1 -0
- data/assets/icons/phone-missed.svg +1 -0
- data/assets/icons/phone-off.svg +1 -0
- data/assets/icons/phone-outgoing.svg +1 -0
- data/assets/icons/phone.svg +1 -0
- data/assets/icons/picture-in-picture-2.svg +1 -0
- data/assets/icons/picture-in-picture.svg +1 -0
- data/assets/icons/pie-chart.svg +1 -0
- data/assets/icons/piggy-bank.svg +1 -0
- data/assets/icons/pilcrow.svg +1 -0
- data/assets/icons/pill.svg +1 -0
- data/assets/icons/pin-off.svg +1 -0
- data/assets/icons/pin.svg +1 -0
- data/assets/icons/pipette.svg +1 -0
- data/assets/icons/pizza.svg +1 -0
- data/assets/icons/plane.svg +1 -0
- data/assets/icons/play-circle.svg +1 -0
- data/assets/icons/play.svg +1 -0
- data/assets/icons/plug-2.svg +1 -0
- data/assets/icons/plug-zap.svg +1 -0
- data/assets/icons/plug.svg +1 -0
- data/assets/icons/plus-circle.svg +1 -0
- data/assets/icons/plus-square.svg +1 -0
- data/assets/icons/plus.svg +1 -0
- data/assets/icons/pocket.svg +1 -0
- data/assets/icons/podcast.svg +1 -0
- data/assets/icons/pointer.svg +1 -0
- data/assets/icons/pound-sterling.svg +1 -0
- data/assets/icons/power-off.svg +1 -0
- data/assets/icons/power.svg +1 -0
- data/assets/icons/printer.svg +1 -0
- data/assets/icons/puzzle.svg +1 -0
- data/assets/icons/qr-code.svg +1 -0
- data/assets/icons/quote.svg +1 -0
- data/assets/icons/radio-receiver.svg +1 -0
- data/assets/icons/radio.svg +1 -0
- data/assets/icons/rectangle-horizontal.svg +1 -0
- data/assets/icons/rectangle-vertical.svg +1 -0
- data/assets/icons/recycle.svg +1 -0
- data/assets/icons/redo-2.svg +1 -0
- data/assets/icons/redo.svg +1 -0
- data/assets/icons/refresh-ccw.svg +1 -0
- data/assets/icons/refresh-cw.svg +1 -0
- data/assets/icons/refrigerator.svg +1 -0
- data/assets/icons/regex.svg +1 -0
- data/assets/icons/remove-formatting.svg +1 -0
- data/assets/icons/repeat-1.svg +1 -0
- data/assets/icons/repeat.svg +1 -0
- data/assets/icons/reply-all.svg +1 -0
- data/assets/icons/reply.svg +1 -0
- data/assets/icons/rewind.svg +1 -0
- data/assets/icons/rocket.svg +1 -0
- data/assets/icons/rocking-chair.svg +1 -0
- data/assets/icons/rotate-3d.svg +1 -0
- data/assets/icons/rotate-ccw.svg +1 -0
- data/assets/icons/rotate-cw.svg +1 -0
- data/assets/icons/router.svg +1 -0
- data/assets/icons/rss.svg +1 -0
- data/assets/icons/ruler.svg +1 -0
- data/assets/icons/russian-ruble.svg +1 -0
- data/assets/icons/sailboat.svg +1 -0
- data/assets/icons/salad.svg +1 -0
- data/assets/icons/sandwich.svg +1 -0
- data/assets/icons/save.svg +1 -0
- data/assets/icons/scale-3d.svg +1 -0
- data/assets/icons/scale.svg +1 -0
- data/assets/icons/scaling.svg +1 -0
- data/assets/icons/scan-face.svg +1 -0
- data/assets/icons/scan-line.svg +1 -0
- data/assets/icons/scan.svg +1 -0
- data/assets/icons/scissors.svg +1 -0
- data/assets/icons/screen-share-off.svg +1 -0
- data/assets/icons/screen-share.svg +1 -0
- data/assets/icons/scroll.svg +1 -0
- data/assets/icons/search.svg +1 -0
- data/assets/icons/send.svg +1 -0
- data/assets/icons/separator-horizontal.svg +1 -0
- data/assets/icons/separator-vertical.svg +1 -0
- data/assets/icons/server-cog.svg +1 -0
- data/assets/icons/server-crash.svg +1 -0
- data/assets/icons/server-off.svg +1 -0
- data/assets/icons/server.svg +1 -0
- data/assets/icons/settings-2.svg +1 -0
- data/assets/icons/settings.svg +1 -0
- data/assets/icons/share-2.svg +1 -0
- data/assets/icons/share.svg +1 -0
- data/assets/icons/sheet.svg +1 -0
- data/assets/icons/shield-alert.svg +1 -0
- data/assets/icons/shield-check.svg +1 -0
- data/assets/icons/shield-close.svg +1 -0
- data/assets/icons/shield-off.svg +1 -0
- data/assets/icons/shield.svg +1 -0
- data/assets/icons/ship.svg +1 -0
- data/assets/icons/shirt.svg +1 -0
- data/assets/icons/shopping-bag.svg +1 -0
- data/assets/icons/shopping-cart.svg +1 -0
- data/assets/icons/shovel.svg +1 -0
- data/assets/icons/shower-head.svg +1 -0
- data/assets/icons/shrink.svg +1 -0
- data/assets/icons/shrub.svg +1 -0
- data/assets/icons/shuffle.svg +1 -0
- data/assets/icons/sidebar-close.svg +1 -0
- data/assets/icons/sidebar-open.svg +1 -0
- data/assets/icons/sidebar.svg +1 -0
- data/assets/icons/sigma.svg +1 -0
- data/assets/icons/signal-high.svg +1 -0
- data/assets/icons/signal-low.svg +1 -0
- data/assets/icons/signal-medium.svg +1 -0
- data/assets/icons/signal-zero.svg +1 -0
- data/assets/icons/signal.svg +1 -0
- data/assets/icons/siren.svg +1 -0
- data/assets/icons/skip-back.svg +1 -0
- data/assets/icons/skip-forward.svg +1 -0
- data/assets/icons/skull.svg +1 -0
- data/assets/icons/slack.svg +1 -0
- data/assets/icons/slash.svg +1 -0
- data/assets/icons/slice.svg +1 -0
- data/assets/icons/sliders-horizontal.svg +1 -0
- data/assets/icons/sliders.svg +1 -0
- data/assets/icons/smartphone-charging.svg +1 -0
- data/assets/icons/smartphone-nfc.svg +1 -0
- data/assets/icons/smartphone.svg +1 -0
- data/assets/icons/smile-plus.svg +1 -0
- data/assets/icons/smile.svg +1 -0
- data/assets/icons/snowflake.svg +1 -0
- data/assets/icons/sofa.svg +1 -0
- data/assets/icons/sort-asc.svg +1 -0
- data/assets/icons/sort-desc.svg +1 -0
- data/assets/icons/soup.svg +1 -0
- data/assets/icons/speaker.svg +1 -0
- data/assets/icons/spline.svg +1 -0
- data/assets/icons/split-square-horizontal.svg +1 -0
- data/assets/icons/split-square-vertical.svg +1 -0
- data/assets/icons/sprout.svg +1 -0
- data/assets/icons/square.svg +1 -0
- data/assets/icons/stamp.svg +1 -0
- data/assets/icons/star-half.svg +1 -0
- data/assets/icons/star-off.svg +1 -0
- data/assets/icons/star.svg +1 -0
- data/assets/icons/stethoscope.svg +1 -0
- data/assets/icons/sticker.svg +1 -0
- data/assets/icons/sticky-note.svg +1 -0
- data/assets/icons/stop-circle.svg +1 -0
- data/assets/icons/stretch-horizontal.svg +1 -0
- data/assets/icons/stretch-vertical.svg +1 -0
- data/assets/icons/strikethrough.svg +1 -0
- data/assets/icons/subscript.svg +1 -0
- data/assets/icons/subtitles.svg +1 -0
- data/assets/icons/sun-dim.svg +1 -0
- data/assets/icons/sun-medium.svg +1 -0
- data/assets/icons/sun-moon.svg +1 -0
- data/assets/icons/sun-snow.svg +1 -0
- data/assets/icons/sun.svg +1 -0
- data/assets/icons/sunrise.svg +1 -0
- data/assets/icons/sunset.svg +1 -0
- data/assets/icons/superscript.svg +1 -0
- data/assets/icons/swiss-franc.svg +1 -0
- data/assets/icons/switch-camera.svg +1 -0
- data/assets/icons/sword.svg +1 -0
- data/assets/icons/swords.svg +1 -0
- data/assets/icons/syringe.svg +1 -0
- data/assets/icons/table-2.svg +1 -0
- data/assets/icons/table.svg +1 -0
- data/assets/icons/tablet.svg +1 -0
- data/assets/icons/tablets.svg +1 -0
- data/assets/icons/tag.svg +1 -0
- data/assets/icons/tags.svg +1 -0
- data/assets/icons/target.svg +1 -0
- data/assets/icons/tent.svg +1 -0
- data/assets/icons/terminal-square.svg +1 -0
- data/assets/icons/terminal.svg +1 -0
- data/assets/icons/text-cursor-input.svg +1 -0
- data/assets/icons/text-cursor.svg +1 -0
- data/assets/icons/thermometer-snowflake.svg +1 -0
- data/assets/icons/thermometer-sun.svg +1 -0
- data/assets/icons/thermometer.svg +1 -0
- data/assets/icons/thumbs-down.svg +1 -0
- data/assets/icons/thumbs-up.svg +1 -0
- data/assets/icons/ticket.svg +1 -0
- data/assets/icons/timer-off.svg +1 -0
- data/assets/icons/timer-reset.svg +1 -0
- data/assets/icons/timer.svg +1 -0
- data/assets/icons/toggle-left.svg +1 -0
- data/assets/icons/toggle-right.svg +1 -0
- data/assets/icons/tornado.svg +1 -0
- data/assets/icons/tower-control.svg +1 -0
- data/assets/icons/toy-brick.svg +1 -0
- data/assets/icons/train.svg +1 -0
- data/assets/icons/trash-2.svg +1 -0
- data/assets/icons/trash.svg +1 -0
- data/assets/icons/tree-deciduous.svg +1 -0
- data/assets/icons/tree-pine.svg +1 -0
- data/assets/icons/trees.svg +1 -0
- data/assets/icons/trello.svg +1 -0
- data/assets/icons/trending-down.svg +1 -0
- data/assets/icons/trending-up.svg +1 -0
- data/assets/icons/triangle.svg +1 -0
- data/assets/icons/trophy.svg +1 -0
- data/assets/icons/truck.svg +1 -0
- data/assets/icons/tv-2.svg +1 -0
- data/assets/icons/tv.svg +1 -0
- data/assets/icons/twitch.svg +1 -0
- data/assets/icons/twitter.svg +1 -0
- data/assets/icons/type.svg +1 -0
- data/assets/icons/umbrella.svg +1 -0
- data/assets/icons/underline.svg +1 -0
- data/assets/icons/undo-2.svg +1 -0
- data/assets/icons/undo.svg +1 -0
- data/assets/icons/unlink-2.svg +1 -0
- data/assets/icons/unlink.svg +1 -0
- data/assets/icons/unlock.svg +1 -0
- data/assets/icons/upload-cloud.svg +1 -0
- data/assets/icons/upload.svg +1 -0
- data/assets/icons/usb.svg +1 -0
- data/assets/icons/user-check.svg +1 -0
- data/assets/icons/user-cog.svg +1 -0
- data/assets/icons/user-minus.svg +1 -0
- data/assets/icons/user-plus.svg +1 -0
- data/assets/icons/user-x.svg +1 -0
- data/assets/icons/user.svg +1 -0
- data/assets/icons/users.svg +1 -0
- data/assets/icons/utensils-crossed.svg +1 -0
- data/assets/icons/utensils.svg +1 -0
- data/assets/icons/utility-pole.svg +1 -0
- data/assets/icons/vegan.svg +1 -0
- data/assets/icons/venetian-mask.svg +1 -0
- data/assets/icons/verified.svg +1 -0
- data/assets/icons/vibrate-off.svg +1 -0
- data/assets/icons/vibrate.svg +1 -0
- data/assets/icons/video-off.svg +1 -0
- data/assets/icons/video.svg +1 -0
- data/assets/icons/view.svg +1 -0
- data/assets/icons/voicemail.svg +1 -0
- data/assets/icons/volume-1.svg +1 -0
- data/assets/icons/volume-2.svg +1 -0
- data/assets/icons/volume-x.svg +1 -0
- data/assets/icons/volume.svg +1 -0
- data/assets/icons/vote.svg +1 -0
- data/assets/icons/wallet.svg +1 -0
- data/assets/icons/wand-2.svg +1 -0
- data/assets/icons/wand.svg +1 -0
- data/assets/icons/watch.svg +1 -0
- data/assets/icons/waves.svg +1 -0
- data/assets/icons/webcam.svg +1 -0
- data/assets/icons/webhook.svg +1 -0
- data/assets/icons/wheat-off.svg +1 -0
- data/assets/icons/wheat.svg +1 -0
- data/assets/icons/wifi-off.svg +1 -0
- data/assets/icons/wifi.svg +1 -0
- data/assets/icons/wind.svg +1 -0
- data/assets/icons/wine-off.svg +1 -0
- data/assets/icons/wine.svg +1 -0
- data/assets/icons/wrap-text.svg +1 -0
- data/assets/icons/wrench.svg +1 -0
- data/assets/icons/x-circle.svg +1 -0
- data/assets/icons/x-octagon.svg +1 -0
- data/assets/icons/x-square.svg +1 -0
- data/assets/icons/x.svg +1 -0
- data/assets/icons/youtube.svg +1 -0
- data/assets/icons/zap-off.svg +1 -0
- data/assets/icons/zap.svg +1 -0
- data/assets/icons/zoom-in.svg +1 -0
- data/assets/icons/zoom-out.svg +1 -0
- data/assets/img/favicon_dark.svg +1 -0
- data/assets/img/favicon_light.svg +1 -0
- data/assets/js/app.js +112 -0
- data/assets/js/components/clipboard.js +47 -0
- data/assets/js/components/params_input.js +23 -0
- data/assets/js/components/tooltip.js +30 -0
- data/assets/js/config.js +24 -0
- data/assets/js/helpers/build.js +22 -0
- data/assets/js/helpers/dom.js +42 -0
- data/assets/js/helpers/layout.js +21 -0
- data/assets/js/helpers/request.js +14 -0
- data/assets/js/helpers/string.js +26 -0
- data/assets/js/iframe.js +1 -0
- data/assets/js/index.js +61 -0
- data/assets/js/lib/lookbook.js +123 -0
- data/assets/js/lib/socket.js +28 -0
- data/assets/js/lib/tippy.js +9 -0
- data/assets/js/lookbook-core.js +1 -0
- data/assets/js/lookbook.js +2 -0
- data/assets/js/plugins/logger.js +39 -0
- data/assets/js/stores/filter.js +11 -0
- data/assets/js/stores/inspector.js +31 -0
- data/assets/js/stores/layout.js +111 -0
- data/assets/js/stores/nav.js +22 -0
- data/assets/js/stores/pages.js +7 -0
- data/assets/js/stores/settings.js +7 -0
- data/assets/js/stores/workbench.js +29 -0
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/js/index.js +14 -14
- data/public/lookbook-assets/js/index.js.map +1 -1
- metadata +942 -1
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/><line x1="10" y1="11" x2="10" y2="17"/><line x1="14" y1="11" x2="14" y2="17"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 6h18"/><path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"/><path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 19h8a4 4 0 0 0 3.8-2.8 4 4 0 0 0-1.6-4.5c1-1.1 1-2.7.4-4-.7-1.2-2.2-2-3.6-1.7a3 3 0 0 0-3-3 3 3 0 0 0-3 3c-1.4-.2-2.9.5-3.6 1.7-.7 1.3-.5 2.9.4 4a4 4 0 0 0-1.6 4.5A4 4 0 0 0 8 19Z"/><path d="M12 19v3"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z"/><path d="M12 22v-3"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 10v.2A3 3 0 0 1 8.9 16v0H5v0h0a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z"/><path d="M7 16v6"/><path d="M13 19v3"/><path d="M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><rect x="7" y="7" width="3" height="9"/><rect x="14" y="7" width="3" height="5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polyline points="22 17 13.5 8.5 8.5 13.5 2 7"/><polyline points="16 17 22 17 22 11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polyline points="22 7 13.5 15.5 8.5 10.5 2 17"/><polyline points="16 7 22 7 22 13"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 9H4.5a2.5 2.5 0 0 1 0-5H6"/><path d="M18 9h1.5a2.5 2.5 0 0 0 0-5H18"/><path d="M4 22h16"/><path d="M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22"/><path d="M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22"/><path d="M18 2H6v7a6 6 0 0 0 12 0V2Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 17h4V5H2v12h3"/><path d="M20 17h2v-3.34a4 4 0 0 0-1.17-2.83L19 9h-5"/><path d="M14 17h1"/><circle cx="7.5" cy="17.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7 21h10"/><rect x="2" y="3" width="20" height="14" rx="2"/></svg>
|
data/assets/icons/tv.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="2" y="7" width="20" height="15" rx="2" ry="2"/><polyline points="17 2 12 7 7 2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 2H3v16h5v4l4-4h5l4-4V2zm-10 9V7m5 4V7"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polyline points="4 7 4 4 20 4 20 7"/><line x1="9" y1="20" x2="15" y2="20"/><line x1="12" y1="4" x2="12" y2="20"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 12a9.92 9.92 0 0 0-3.24-6.41 10.12 10.12 0 0 0-13.52 0A9.92 9.92 0 0 0 2 12Z"/><path d="M12 12v8a2 2 0 0 0 4 0"/><line x1="12" y1="2" x2="12" y2="3"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6 4v6a6 6 0 0 0 12 0V4"/><line x1="4" y1="20" x2="20" y2="20"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 14 4 9l5-5"/><path d="M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5v0a5.5 5.5 0 0 1-5.5 5.5H11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 7v6h6"/><path d="M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71"/><path d="m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71"/><line x1="8" y1="2" x2="8" y2="5"/><line x1="2" y1="8" x2="5" y2="8"/><line x1="16" y1="19" x2="16" y2="22"/><line x1="19" y1="16" x2="22" y2="16"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 9.9-1"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"/><path d="M12 12v9"/><path d="m16 16-4-4-4 4"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="4" cy="20" r="1"/><circle cx="10" cy="7" r="1"/><path d="M4 20 19 5"/><path d="m21 3-3 1 2 2 1-3Z"/><path d="m10 7-5 5 2 5"/><path d="m10 14 5 2 4-4"/><path d="m18 12 1-1 1 1-1 1-1-1Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><polyline points="16 11 18 13 22 9"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><circle cx="19" cy="11" r="2"/><path d="M19 8v1"/><path d="M19 13v1"/><path d="m21.6 9.5-.87.5"/><path d="m17.27 12-.87.5"/><path d="m21.6 12.5-.87-.5"/><path d="m17.27 10-.87-.5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="22" y1="11" x2="16" y2="11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="19" y1="8" x2="19" y2="14"/><line x1="22" y1="11" x2="16" y2="11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><line x1="17" y1="8" x2="22" y2="13"/><line x1="22" y1="8" x2="17" y2="13"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8"/><path d="M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7"/><path d="m2.1 21.8 6.4-6.3"/><path d="m19 5-7 7"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2"/><path d="M7 2v20"/><path d="M21 15V2v0a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2v20"/><path d="M2 5h20"/><path d="M3 3v2"/><path d="M7 3v2"/><path d="M17 3v2"/><path d="M21 3v2"/><path d="m19 5-7 7-7-7"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M2 2c4.056 3.007 9.232 9.337 10 20 .897-6.818 1.5-9.5 4-14"/><path d="M20.375 6.533A9.953 9.953 0 0 1 22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2c2.003 0 3.869.589 5.433 1.603"/><path d="M17.104 4c-1.002 1.274-1.146 2.586-1.1 4 1.9-.1 3.003-.201 4.3-1.4 1.406-1.3 1.6-2.3 1.7-4.6-2.7.1-3.623.375-4.9 2Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M2 12a5 5 0 0 0 5 5 8 8 0 0 1 5 2 8 8 0 0 1 5-2 5 5 0 0 0 5-5V7h-5a8 8 0 0 0-5 2 8 8 0 0 0-5-2H2Z"/><path d="M6 11c1.5 0 3 .5 3 2-2 0-3 0-3-2Z"/><path d="M18 11c-1.5 0-3 .5-3 2 2 0 3 0 3-2Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3c-1.2 0-2.4.6-3 1.7A3.6 3.6 0 0 0 4.6 9c-1 .6-1.7 1.8-1.7 3s.7 2.4 1.7 3c-.3 1.2 0 2.5 1 3.4.8.8 2.1 1.2 3.3 1 .6 1 1.8 1.6 3 1.6s2.4-.6 3-1.7c1.2.3 2.5 0 3.4-1 .8-.8 1.2-2 1-3.3 1-.6 1.6-1.8 1.6-3s-.6-2.4-1.7-3c.3-1.2 0-2.5-1-3.4a3.7 3.7 0 0 0-3.3-1c-.6-1-1.8-1.6-3-1.6Z"/><path d="m9 12 2 2 4-4"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m2 8 2 2-2 2 2 2-2 2"/><path d="m22 8-2 2 2 2-2 2 2 2"/><path d="M8 8v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2"/><path d="M16 10.34V6c0-.55-.45-1-1-1h-4.34"/><line x1="2" y1="2" x2="22" y2="22"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m2 8 2 2-2 2 2 2-2 2"/><path d="m22 8-2 2 2 2-2 2 2 2"/><rect x="8" y="5" width="8" height="14" rx="1"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.66 6H14a2 2 0 0 1 2 2v2.34l1 1L22 8v8"/><path d="M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2l10 10Z"/><line x1="2" y1="2" x2="22" y2="22"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m22 8-6 4 6 4V8Z"/><rect x="2" y="6" width="14" height="12" rx="2" ry="2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 12s2.545-5 7-5c4.454 0 7 5 7 5s-2.546 5-7 5c-4.455 0-7-5-7-5z"/><path d="M12 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/><path d="M21 17v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2"/><path d="M21 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="6" cy="12" r="4"/><circle cx="18" cy="12" r="4"/><line x1="6" y1="16" x2="18" y2="16"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><line x1="22" y1="9" x2="16" y2="15"/><line x1="16" y1="9" x2="22" y2="15"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m9 12 2 2 4-4"/><path d="M5 7c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v12H5V7Z"/><path d="M22 19H2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12V8H6a2 2 0 0 1-2-2c0-1.1.9-2 2-2h12v4"/><path d="M4 6v12c0 1.1.9 2 2 2h14v-4"/><path d="M18 12a2 2 0 0 0-2 2c0 1.1.9 2 2 2h4v-4h-4z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72Z"/><path d="m14 7 3 3"/><path d="M5 6v4"/><path d="M19 14v4"/><path d="M10 2v2"/><path d="M7 8H3"/><path d="M21 16h-4"/><path d="M11 3H9"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 4V2"/><path d="M15 16v-2"/><path d="M8 9h2"/><path d="M20 9h2"/><path d="M17.8 11.8 19 13"/><path d="M15 9h0"/><path d="M17.8 6.2 19 5"/><path d="m3 21 9-9"/><path d="M12.2 6.2 11 5"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="6"/><polyline points="12 10 12 12 13 13"/><path d="m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05"/><path d="m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/><path d="M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/><path d="M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="10" r="8"/><circle cx="12" cy="10" r="3"/><path d="M7 22h10"/><path d="M12 22v-4"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18 16.98h-5.99c-1.1 0-1.95.94-2.48 1.9A4 4 0 0 1 2 17c.01-.7.2-1.4.57-2"/><path d="m6 17 3.13-5.78c.53-.97.1-2.18-.5-3.1a4 4 0 1 1 6.89-4.06"/><path d="m12 6 3.13 5.73C15.66 12.7 16.9 13 18 13a4 4 0 0 1 0 8"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m2 22 10-10"/><path d="m16 8-1.17 1.17"/><path d="M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z"/><path d="m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97"/><path d="M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62"/><path d="M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z"/><path d="M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z"/><path d="m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98"/><path d="M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28"/><line x1="2" y1="2" x2="22" y2="22"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M2 22 16 8"/><path d="M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z"/><path d="M7.47 8.53 9 7l1.53 1.53a3.5 3.5 0 0 1 0 4.94L9 15l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z"/><path d="M11.47 4.53 13 3l1.53 1.53a3.5 3.5 0 0 1 0 4.94L13 11l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z"/><path d="M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z"/><path d="M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z"/><path d="M15.47 13.47 17 15l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z"/><path d="M19.47 9.47 21 11l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L13 11l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="2" y1="2" x2="22" y2="22"/><path d="M8.5 16.5a5 5 0 0 1 7 0"/><path d="M2 8.82a15 15 0 0 1 4.17-2.65"/><path d="M10.66 5c4.01-.36 8.14.9 11.34 3.76"/><path d="M16.85 11.25a10 10 0 0 1 2.22 1.68"/><path d="M5 13a10 10 0 0 1 5.24-2.76"/><line x1="12" y1="20" x2="12.01" y2="20"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 13a10 10 0 0 1 14 0"/><path d="M8.5 16.5a5 5 0 0 1 7 0"/><path d="M2 8.82a15 15 0 0 1 20 0"/><line x1="12" y1="20" x2="12.01" y2="20"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.7 7.7a2.5 2.5 0 1 1 1.8 4.3H2"/><path d="M9.6 4.6A2 2 0 1 1 11 8H2"/><path d="M12.6 19.4A2 2 0 1 0 14 16H2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 22h8"/><path d="M7 10h3m7 0h-1.343"/><path d="M12 15v7"/><path d="M7.307 7.307A12.33 12.33 0 0 0 7 10a5 5 0 0 0 7.391 4.391M8.638 2.981C8.75 2.668 8.872 2.34 9 2h6c1.5 4 2 6 2 8 0 .407-.05.809-.145 1.198"/><line x1="2" y1="2" x2="22" y2="22"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 22h8"/><path d="M7 10h10"/><path d="M12 15v7"/><path d="M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="3" y1="6" x2="21" y2="6"/><path d="M3 12h15a3 3 0 1 1 0 6h-4"/><polyline points="16 16 14 18 16 20"/><line x1="3" y1="18" x2="10" y2="18"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10"/><line x1="15" y1="9" x2="9" y2="15"/><line x1="9" y1="9" x2="15" y2="15"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"/><line x1="15" y1="9" x2="9" y2="15"/><line x1="9" y1="9" x2="15" y2="15"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="3" y="3" width="18" height="18" rx="2" ry="2"/><line x1="9" y1="9" x2="15" y2="15"/><line x1="15" y1="9" x2="9" y2="15"/></svg>
|
data/assets/icons/x.svg
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><line x1="18" y1="6" x2="6" y2="18"/><line x1="6" y1="6" x2="18" y2="18"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 19c-2.3 0-6.4-.2-8.1-.6-.7-.2-1.2-.7-1.4-1.4-.3-1.1-.5-3.4-.5-5s.2-3.9.5-5c.2-.7.7-1.2 1.4-1.4C5.6 5.2 9.7 5 12 5s6.4.2 8.1.6c.7.2 1.2.7 1.4 1.4.3 1.1.5 3.4.5 5s-.2 3.9-.5 5c-.2.7-.7 1.2-1.4 1.4-1.7.4-5.8.6-8.1.6 0 0 0 0 0 0z"/><polygon points="10 15 15 12 10 9"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polyline points="12.41 6.75 13 2 10.57 4.92"/><polyline points="18.57 12.91 21 10 15.66 10"/><polyline points="8 8 3 14 12 14 11 22 16 16"/><line x1="2" y1="2" x2="22" y2="22"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="11" y1="8" x2="11" y2="14"/><line x1="8" y1="11" x2="14" y2="11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/><line x1="8" y1="11" x2="14" y2="11"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox='0 0 167 204' xmlns='http://www.w3.org/2000/svg'><g fill='#FFF' fill-rule='nonzero'><path d='M157 0c5.523 0 10 4.477 10 10v184c0 5.523-4.477 10-10 10H32.969C17 204 3.687 192.638.65 177.554A9.97 9.97 0 0 1 0 174c0-.512.011-1.017.033-1.516A33.115 33.115 0 0 1 0 171V33C0 14.778 14.758 0 32.969 0H157Zm-10 166H32.969c-8.292 0-12.22 2.22-12.871 6.606.79 6.424 6.253 11.394 12.87 11.394H147v-18Zm0-146H32.969c-7.056 0-12.8 5.65-12.965 12.689L20 33v114.762c3.932-1.167 8.3-1.762 12.969-1.762H147V20Z'/><path d='M64.022 126c-4.107 0-7.304-1.143-9.591-3.428-2.287-2.285-3.431-5.48-3.431-9.583l.14-63.978c0-4.197 1.12-7.415 3.36-9.653C56.74 37.119 59.916 36 64.023 36c4.2 0 7.398 1.12 9.592 3.358 2.193 2.238 3.29 5.456 3.29 9.653l-.14 55.584h34.166c3.547 0 6.277.91 8.19 2.728 1.915 1.819 2.871 4.454 2.871 7.905 0 3.45-.956 6.109-2.87 7.974-1.914 1.865-4.644 2.798-8.191 2.798H64.022Z'/></g></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg viewBox='0 0 167 204' xmlns='http://www.w3.org/2000/svg'><g fill='#222222' fill-rule='nonzero'><path d='M157 0c5.523 0 10 4.477 10 10v184c0 5.523-4.477 10-10 10H32.969C17 204 3.687 192.638.65 177.554A9.97 9.97 0 0 1 0 174c0-.512.011-1.017.033-1.516A33.115 33.115 0 0 1 0 171V33C0 14.778 14.758 0 32.969 0H157Zm-10 166H32.969c-8.292 0-12.22 2.22-12.871 6.606.79 6.424 6.253 11.394 12.87 11.394H147v-18Zm0-146H32.969c-7.056 0-12.8 5.65-12.965 12.689L20 33v114.762c3.932-1.167 8.3-1.762 12.969-1.762H147V20Z'/><path d='M64.022 126c-4.107 0-7.304-1.143-9.591-3.428-2.287-2.285-3.431-5.48-3.431-9.583l.14-63.978c0-4.197 1.12-7.415 3.36-9.653C56.74 37.119 59.916 36 64.023 36c4.2 0 7.398 1.12 9.592 3.358 2.193 2.238 3.29 5.456 3.29 9.653l-.14 55.584h34.166c3.547 0 6.277.91 8.19 2.728 1.915 1.819 2.871 4.454 2.871 7.905 0 3.45-.956 6.109-2.87 7.974-1.914 1.865-4.644 2.798-8.191 2.798H64.022Z'/></g></svg>
|
data/assets/js/app.js
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
import createSocket from "./lib/socket";
|
2
|
+
import { morph } from "./helpers/dom";
|
3
|
+
import { fetchHTML } from "./helpers/request";
|
4
|
+
import { isExternalLink } from "./helpers/dom";
|
5
|
+
|
6
|
+
export default function app() {
|
7
|
+
return {
|
8
|
+
_requestsInProgress: 0,
|
9
|
+
|
10
|
+
version: Alpine.$persist("").as("lookbook-version"),
|
11
|
+
|
12
|
+
location: window.location,
|
13
|
+
|
14
|
+
get sidebarHidden() {
|
15
|
+
return this.$store.layout.sidebar.hidden;
|
16
|
+
},
|
17
|
+
|
18
|
+
get loading() {
|
19
|
+
return this._requestsInProgress > 0;
|
20
|
+
},
|
21
|
+
|
22
|
+
init() {
|
23
|
+
if (window.SOCKET_PATH) {
|
24
|
+
this.debug(`Lookbook socket created`);
|
25
|
+
const socket = createSocket(window.SOCKET_PATH);
|
26
|
+
socket.addListener("Lookbook::ReloadChannel", () => this.updateDOM());
|
27
|
+
}
|
28
|
+
},
|
29
|
+
|
30
|
+
navigateTo(path) {
|
31
|
+
this.debug(`Navigating to ${path}`);
|
32
|
+
history.pushState({}, null, path);
|
33
|
+
this.$dispatch("popstate");
|
34
|
+
},
|
35
|
+
|
36
|
+
async handleNavigation() {
|
37
|
+
this.debug("Navigating to ", window.location.pathname);
|
38
|
+
this.$dispatch("navigation:start");
|
39
|
+
this.location = window.location;
|
40
|
+
await this.updateDOM();
|
41
|
+
this.$dispatch("navigation:complete");
|
42
|
+
},
|
43
|
+
|
44
|
+
hijax(evt) {
|
45
|
+
const link = evt.target.closest("a[href]");
|
46
|
+
if (link) {
|
47
|
+
const external = isExternalLink(link);
|
48
|
+
const embedded = this.isEmbedded();
|
49
|
+
|
50
|
+
if (embedded && (!link.hasAttribute("target") || external)) {
|
51
|
+
evt.preventDefault();
|
52
|
+
window.top.location = link.href;
|
53
|
+
return;
|
54
|
+
} else if (!embedded && !external && !link.hasAttribute("target")) {
|
55
|
+
evt.preventDefault();
|
56
|
+
this.navigateTo(link.href);
|
57
|
+
return;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
},
|
61
|
+
|
62
|
+
async updateDOM() {
|
63
|
+
this.debug("Starting DOM update");
|
64
|
+
this.$dispatch("dom:update-start");
|
65
|
+
this.requestStart();
|
66
|
+
try {
|
67
|
+
const { fragment, title } = await fetchHTML(
|
68
|
+
window.location,
|
69
|
+
`#${this.$root.id}`
|
70
|
+
);
|
71
|
+
morph(this.$root, fragment);
|
72
|
+
document.title = title;
|
73
|
+
this.requestEnd();
|
74
|
+
this.$dispatch("dom:update-complete");
|
75
|
+
this.debug("DOM update complete");
|
76
|
+
} catch (err) {
|
77
|
+
this.error(err);
|
78
|
+
window.location.reload();
|
79
|
+
}
|
80
|
+
},
|
81
|
+
|
82
|
+
toggleSidebar() {
|
83
|
+
this.$store.layout.sidebar.hidden = !this.$store.layout.sidebar.hidden;
|
84
|
+
},
|
85
|
+
|
86
|
+
closeMobileSidebar() {
|
87
|
+
if (this.$store.layout.mobile && !this.sidebarHidden) {
|
88
|
+
this.toggleSidebar();
|
89
|
+
}
|
90
|
+
},
|
91
|
+
|
92
|
+
requestStart() {
|
93
|
+
this._requestsInProgress += 1;
|
94
|
+
},
|
95
|
+
|
96
|
+
requestEnd() {
|
97
|
+
if (this._requestsInProgress > 0) {
|
98
|
+
this._requestsInProgress -= 1;
|
99
|
+
}
|
100
|
+
},
|
101
|
+
|
102
|
+
isEmbedded() {
|
103
|
+
try {
|
104
|
+
return window.self !== window.top;
|
105
|
+
} catch (e) {
|
106
|
+
return true;
|
107
|
+
}
|
108
|
+
},
|
109
|
+
|
110
|
+
...Alpine.$log,
|
111
|
+
};
|
112
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { decodeEntities } from "../helpers/string";
|
2
|
+
|
3
|
+
function initClipboard(context = {}) {
|
4
|
+
let copyTimeout = null;
|
5
|
+
|
6
|
+
return Object.assign(context, {
|
7
|
+
copied: false,
|
8
|
+
|
9
|
+
async copyToClipboard(target = null) {
|
10
|
+
let targetEl;
|
11
|
+
if (this.$refs.copyTarget) {
|
12
|
+
targetEl = this.$refs.copyTarget;
|
13
|
+
} else if (typeof target === "string") {
|
14
|
+
targetEl = document.querySelector(target);
|
15
|
+
}
|
16
|
+
|
17
|
+
if (!targetEl) {
|
18
|
+
this.warn("Could not find copy target");
|
19
|
+
return false;
|
20
|
+
}
|
21
|
+
|
22
|
+
const content = decodeEntities(targetEl.innerHTML.trim());
|
23
|
+
|
24
|
+
await window.navigator.clipboard.writeText(content);
|
25
|
+
this.copied = true;
|
26
|
+
|
27
|
+
if (copyTimeout) {
|
28
|
+
clearTimeout(copyTimeout);
|
29
|
+
}
|
30
|
+
|
31
|
+
copyTimeout = setTimeout(() => {
|
32
|
+
this.copied = false;
|
33
|
+
this.onCopyComplete();
|
34
|
+
}, 1000);
|
35
|
+
|
36
|
+
return content;
|
37
|
+
},
|
38
|
+
|
39
|
+
onCopyComplete() {},
|
40
|
+
});
|
41
|
+
}
|
42
|
+
|
43
|
+
export default function clipboardComponent() {
|
44
|
+
return initClipboard({});
|
45
|
+
}
|
46
|
+
|
47
|
+
export { initClipboard };
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export default function paramsInputComponent({ name, value }) {
|
2
|
+
return {
|
3
|
+
name,
|
4
|
+
value,
|
5
|
+
|
6
|
+
init() {
|
7
|
+
this.$watch("value", () => this.update());
|
8
|
+
},
|
9
|
+
|
10
|
+
update() {
|
11
|
+
if (this.validate()) {
|
12
|
+
const searchParams = new URLSearchParams(window.location.search);
|
13
|
+
searchParams.set(this.name, this.value);
|
14
|
+
const path = location.href.replace(location.search, "");
|
15
|
+
this.navigateTo(`${path}?${searchParams.toString()}`);
|
16
|
+
}
|
17
|
+
},
|
18
|
+
|
19
|
+
validate() {
|
20
|
+
return this.$root.reportValidity ? this.$root.reportValidity() : true;
|
21
|
+
},
|
22
|
+
};
|
23
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import tippy from "../lib/tippy";
|
2
|
+
|
3
|
+
function tooltipCreator({ target }) {
|
4
|
+
const content =
|
5
|
+
this.$el.dataset.tooltipText ||
|
6
|
+
(this.$refs.tooltip ? this.$refs.tooltip.innerHTML : null);
|
7
|
+
if (content) {
|
8
|
+
return tippy(target || this.$refs.tooltipTarget || this.$el, {
|
9
|
+
delay: [200, 0],
|
10
|
+
content,
|
11
|
+
theme: "tooltip",
|
12
|
+
triggerTarget: this.$el,
|
13
|
+
onShow: () => this.$store.settings.showTooltips,
|
14
|
+
});
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
function initTooltip(context, opts) {
|
19
|
+
return tooltipCreator.bind(context)(opts || {});
|
20
|
+
}
|
21
|
+
|
22
|
+
export default function tooltipComponent() {
|
23
|
+
return {
|
24
|
+
init() {
|
25
|
+
initTooltip(this);
|
26
|
+
},
|
27
|
+
};
|
28
|
+
}
|
29
|
+
|
30
|
+
export { initTooltip };
|
data/assets/js/config.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
export default {
|
2
|
+
desktopWidth: 768,
|
3
|
+
wideDesktopWidth: 1200,
|
4
|
+
sidebar: {
|
5
|
+
defaultWidth: 280,
|
6
|
+
minWidth: 200,
|
7
|
+
minSectionHeight: 200,
|
8
|
+
},
|
9
|
+
main: {
|
10
|
+
minWidth: 200,
|
11
|
+
},
|
12
|
+
inspector: {
|
13
|
+
drawer: {
|
14
|
+
defaultHeight: 300,
|
15
|
+
defaultWidth: 500,
|
16
|
+
minWidth: 350,
|
17
|
+
minHeight: 200,
|
18
|
+
},
|
19
|
+
preview: {
|
20
|
+
minHeight: 200,
|
21
|
+
minWidth: 200,
|
22
|
+
},
|
23
|
+
},
|
24
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
function getComponents(importObject, path = []) {
|
2
|
+
let components = {};
|
3
|
+
Object.keys(importObject).forEach((key) => {
|
4
|
+
if (key === "default") {
|
5
|
+
components[toCamel(path.join("_"))] = importObject[key];
|
6
|
+
} else {
|
7
|
+
components = {
|
8
|
+
...components,
|
9
|
+
...getComponents(importObject[key], [...path, key]),
|
10
|
+
};
|
11
|
+
}
|
12
|
+
});
|
13
|
+
return components;
|
14
|
+
}
|
15
|
+
|
16
|
+
function toCamel(s) {
|
17
|
+
return s.replace(/([-_][a-z])/gi, ($1) => {
|
18
|
+
return $1.toUpperCase().replace("-", "").replace("_", "");
|
19
|
+
});
|
20
|
+
}
|
21
|
+
|
22
|
+
export { getComponents };
|
@@ -0,0 +1,42 @@
|
|
1
|
+
function morph(from, to) {
|
2
|
+
Alpine.morph(from, to, {
|
3
|
+
key(el) {
|
4
|
+
return el.getAttribute("key") ? el.getAttribute("key") : el.id;
|
5
|
+
},
|
6
|
+
lookahead: true,
|
7
|
+
updating(el, toEl, childrenOnly, skip) {
|
8
|
+
if (!el.getAttribute) return;
|
9
|
+
if (el.getAttribute("data-morph-strategy") === "replace") {
|
10
|
+
el.innerHTML = toEl.innerHTML;
|
11
|
+
return skip();
|
12
|
+
} else if (el.getAttribute("data-morph-strategy") === "skip") {
|
13
|
+
return skip();
|
14
|
+
}
|
15
|
+
},
|
16
|
+
});
|
17
|
+
}
|
18
|
+
|
19
|
+
function getElementSize(el, opts = {}) {
|
20
|
+
const style = window.getComputedStyle(el, null);
|
21
|
+
return {
|
22
|
+
width: opts.includeMargins
|
23
|
+
? el.offsetWidth +
|
24
|
+
parseInt(style.getPropertyValue("margin-left")) +
|
25
|
+
parseInt(style.getPropertyValue("margin-right"))
|
26
|
+
: el.offsetWidth,
|
27
|
+
height: opts.includeMargins
|
28
|
+
? el.offsetHeight +
|
29
|
+
parseInt(style.getPropertyValue("margin-top")) +
|
30
|
+
parseInt(style.getPropertyValue("margin-bottom"))
|
31
|
+
: el.offsetHeight,
|
32
|
+
};
|
33
|
+
}
|
34
|
+
|
35
|
+
function isExternalLink(link) {
|
36
|
+
if (link.href) {
|
37
|
+
return link.host !== window.location.host;
|
38
|
+
}
|
39
|
+
return false;
|
40
|
+
}
|
41
|
+
|
42
|
+
export { morph, getElementSize, isExternalLink };
|