@yinuo-ngm/server 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -3
- package/www/3rdpartylicenses.txt +660 -0
- package/www/browser/assets/animal/panda.js +16 -0
- package/www/browser/assets/animal/panda.svg +10 -0
- package/www/browser/assets/fill/.gitkeep +0 -0
- package/www/browser/assets/fill/account-book.js +7 -0
- package/www/browser/assets/fill/account-book.svg +1 -0
- package/www/browser/assets/fill/alert.js +7 -0
- package/www/browser/assets/fill/alert.svg +1 -0
- package/www/browser/assets/fill/alipay-circle.js +7 -0
- package/www/browser/assets/fill/alipay-circle.svg +1 -0
- package/www/browser/assets/fill/alipay-square.js +7 -0
- package/www/browser/assets/fill/alipay-square.svg +1 -0
- package/www/browser/assets/fill/aliwangwang.js +7 -0
- package/www/browser/assets/fill/aliwangwang.svg +1 -0
- package/www/browser/assets/fill/amazon-circle.js +7 -0
- package/www/browser/assets/fill/amazon-circle.svg +1 -0
- package/www/browser/assets/fill/amazon-square.js +7 -0
- package/www/browser/assets/fill/amazon-square.svg +1 -0
- package/www/browser/assets/fill/android.js +7 -0
- package/www/browser/assets/fill/android.svg +1 -0
- package/www/browser/assets/fill/api.js +7 -0
- package/www/browser/assets/fill/api.svg +1 -0
- package/www/browser/assets/fill/apple.js +7 -0
- package/www/browser/assets/fill/apple.svg +1 -0
- package/www/browser/assets/fill/appstore.js +7 -0
- package/www/browser/assets/fill/appstore.svg +1 -0
- package/www/browser/assets/fill/audio.js +7 -0
- package/www/browser/assets/fill/audio.svg +1 -0
- package/www/browser/assets/fill/backward.js +7 -0
- package/www/browser/assets/fill/backward.svg +1 -0
- package/www/browser/assets/fill/bank.js +7 -0
- package/www/browser/assets/fill/bank.svg +1 -0
- package/www/browser/assets/fill/behance-circle.js +7 -0
- package/www/browser/assets/fill/behance-circle.svg +1 -0
- package/www/browser/assets/fill/behance-square.js +7 -0
- package/www/browser/assets/fill/behance-square.svg +1 -0
- package/www/browser/assets/fill/bell.js +7 -0
- package/www/browser/assets/fill/bell.svg +1 -0
- package/www/browser/assets/fill/bilibili.js +7 -0
- package/www/browser/assets/fill/bilibili.svg +1 -0
- package/www/browser/assets/fill/book.js +7 -0
- package/www/browser/assets/fill/book.svg +1 -0
- package/www/browser/assets/fill/box-plot.js +7 -0
- package/www/browser/assets/fill/box-plot.svg +1 -0
- package/www/browser/assets/fill/bug.js +7 -0
- package/www/browser/assets/fill/bug.svg +1 -0
- package/www/browser/assets/fill/build.js +7 -0
- package/www/browser/assets/fill/build.svg +1 -0
- package/www/browser/assets/fill/bulb.js +7 -0
- package/www/browser/assets/fill/bulb.svg +1 -0
- package/www/browser/assets/fill/calculator.js +7 -0
- package/www/browser/assets/fill/calculator.svg +1 -0
- package/www/browser/assets/fill/calendar.js +7 -0
- package/www/browser/assets/fill/calendar.svg +1 -0
- package/www/browser/assets/fill/camera.js +7 -0
- package/www/browser/assets/fill/camera.svg +1 -0
- package/www/browser/assets/fill/car.js +7 -0
- package/www/browser/assets/fill/car.svg +1 -0
- package/www/browser/assets/fill/caret-down.js +7 -0
- package/www/browser/assets/fill/caret-down.svg +1 -0
- package/www/browser/assets/fill/caret-left.js +7 -0
- package/www/browser/assets/fill/caret-left.svg +1 -0
- package/www/browser/assets/fill/caret-right.js +7 -0
- package/www/browser/assets/fill/caret-right.svg +1 -0
- package/www/browser/assets/fill/caret-up.js +7 -0
- package/www/browser/assets/fill/caret-up.svg +1 -0
- package/www/browser/assets/fill/carry-out.js +7 -0
- package/www/browser/assets/fill/carry-out.svg +1 -0
- package/www/browser/assets/fill/check-circle.js +7 -0
- package/www/browser/assets/fill/check-circle.svg +1 -0
- package/www/browser/assets/fill/check-square.js +7 -0
- package/www/browser/assets/fill/check-square.svg +1 -0
- package/www/browser/assets/fill/chrome.js +7 -0
- package/www/browser/assets/fill/chrome.svg +1 -0
- package/www/browser/assets/fill/ci-circle.js +7 -0
- package/www/browser/assets/fill/ci-circle.svg +1 -0
- package/www/browser/assets/fill/clock-circle.js +7 -0
- package/www/browser/assets/fill/clock-circle.svg +1 -0
- package/www/browser/assets/fill/close-circle.js +7 -0
- package/www/browser/assets/fill/close-circle.svg +1 -0
- package/www/browser/assets/fill/close-square.js +7 -0
- package/www/browser/assets/fill/close-square.svg +1 -0
- package/www/browser/assets/fill/cloud.js +7 -0
- package/www/browser/assets/fill/cloud.svg +1 -0
- package/www/browser/assets/fill/code-sandbox-circle.js +7 -0
- package/www/browser/assets/fill/code-sandbox-circle.svg +1 -0
- package/www/browser/assets/fill/code-sandbox-square.js +7 -0
- package/www/browser/assets/fill/code-sandbox-square.svg +1 -0
- package/www/browser/assets/fill/code.js +7 -0
- package/www/browser/assets/fill/code.svg +1 -0
- package/www/browser/assets/fill/codepen-circle.js +7 -0
- package/www/browser/assets/fill/codepen-circle.svg +1 -0
- package/www/browser/assets/fill/codepen-square.js +7 -0
- package/www/browser/assets/fill/codepen-square.svg +1 -0
- package/www/browser/assets/fill/compass.js +7 -0
- package/www/browser/assets/fill/compass.svg +1 -0
- package/www/browser/assets/fill/contacts.js +7 -0
- package/www/browser/assets/fill/contacts.svg +1 -0
- package/www/browser/assets/fill/container.js +7 -0
- package/www/browser/assets/fill/container.svg +1 -0
- package/www/browser/assets/fill/control.js +7 -0
- package/www/browser/assets/fill/control.svg +1 -0
- package/www/browser/assets/fill/copy.js +7 -0
- package/www/browser/assets/fill/copy.svg +1 -0
- package/www/browser/assets/fill/copyright-circle.js +7 -0
- package/www/browser/assets/fill/copyright-circle.svg +1 -0
- package/www/browser/assets/fill/credit-card.js +7 -0
- package/www/browser/assets/fill/credit-card.svg +1 -0
- package/www/browser/assets/fill/crown.js +7 -0
- package/www/browser/assets/fill/crown.svg +1 -0
- package/www/browser/assets/fill/customer-service.js +7 -0
- package/www/browser/assets/fill/customer-service.svg +1 -0
- package/www/browser/assets/fill/dashboard.js +7 -0
- package/www/browser/assets/fill/dashboard.svg +1 -0
- package/www/browser/assets/fill/database.js +7 -0
- package/www/browser/assets/fill/database.svg +1 -0
- package/www/browser/assets/fill/delete.js +7 -0
- package/www/browser/assets/fill/delete.svg +1 -0
- package/www/browser/assets/fill/diff.js +7 -0
- package/www/browser/assets/fill/diff.svg +1 -0
- package/www/browser/assets/fill/dingtalk-circle.js +7 -0
- package/www/browser/assets/fill/dingtalk-circle.svg +1 -0
- package/www/browser/assets/fill/dingtalk-square.js +7 -0
- package/www/browser/assets/fill/dingtalk-square.svg +1 -0
- package/www/browser/assets/fill/discord.js +7 -0
- package/www/browser/assets/fill/discord.svg +1 -0
- package/www/browser/assets/fill/dislike.js +7 -0
- package/www/browser/assets/fill/dislike.svg +1 -0
- package/www/browser/assets/fill/dollar-circle.js +7 -0
- package/www/browser/assets/fill/dollar-circle.svg +1 -0
- package/www/browser/assets/fill/down-circle.js +7 -0
- package/www/browser/assets/fill/down-circle.svg +1 -0
- package/www/browser/assets/fill/down-square.js +7 -0
- package/www/browser/assets/fill/down-square.svg +1 -0
- package/www/browser/assets/fill/dribbble-circle.js +7 -0
- package/www/browser/assets/fill/dribbble-circle.svg +1 -0
- package/www/browser/assets/fill/dribbble-square.js +7 -0
- package/www/browser/assets/fill/dribbble-square.svg +1 -0
- package/www/browser/assets/fill/dropbox-circle.js +7 -0
- package/www/browser/assets/fill/dropbox-circle.svg +1 -0
- package/www/browser/assets/fill/dropbox-square.js +7 -0
- package/www/browser/assets/fill/dropbox-square.svg +1 -0
- package/www/browser/assets/fill/edit.js +7 -0
- package/www/browser/assets/fill/edit.svg +1 -0
- package/www/browser/assets/fill/environment.js +7 -0
- package/www/browser/assets/fill/environment.svg +1 -0
- package/www/browser/assets/fill/euro-circle.js +7 -0
- package/www/browser/assets/fill/euro-circle.svg +1 -0
- package/www/browser/assets/fill/exclamation-circle.js +7 -0
- package/www/browser/assets/fill/exclamation-circle.svg +1 -0
- package/www/browser/assets/fill/experiment.js +7 -0
- package/www/browser/assets/fill/experiment.svg +1 -0
- package/www/browser/assets/fill/eye-invisible.js +7 -0
- package/www/browser/assets/fill/eye-invisible.svg +1 -0
- package/www/browser/assets/fill/eye.js +7 -0
- package/www/browser/assets/fill/eye.svg +1 -0
- package/www/browser/assets/fill/facebook.js +7 -0
- package/www/browser/assets/fill/facebook.svg +1 -0
- package/www/browser/assets/fill/fast-backward.js +7 -0
- package/www/browser/assets/fill/fast-backward.svg +1 -0
- package/www/browser/assets/fill/fast-forward.js +7 -0
- package/www/browser/assets/fill/fast-forward.svg +1 -0
- package/www/browser/assets/fill/file-add.js +7 -0
- package/www/browser/assets/fill/file-add.svg +1 -0
- package/www/browser/assets/fill/file-excel.js +7 -0
- package/www/browser/assets/fill/file-excel.svg +1 -0
- package/www/browser/assets/fill/file-exclamation.js +7 -0
- package/www/browser/assets/fill/file-exclamation.svg +1 -0
- package/www/browser/assets/fill/file-image.js +7 -0
- package/www/browser/assets/fill/file-image.svg +1 -0
- package/www/browser/assets/fill/file-markdown.js +7 -0
- package/www/browser/assets/fill/file-markdown.svg +1 -0
- package/www/browser/assets/fill/file-pdf.js +7 -0
- package/www/browser/assets/fill/file-pdf.svg +1 -0
- package/www/browser/assets/fill/file-ppt.js +7 -0
- package/www/browser/assets/fill/file-ppt.svg +1 -0
- package/www/browser/assets/fill/file-text.js +7 -0
- package/www/browser/assets/fill/file-text.svg +1 -0
- package/www/browser/assets/fill/file-unknown.js +7 -0
- package/www/browser/assets/fill/file-unknown.svg +1 -0
- package/www/browser/assets/fill/file-word.js +7 -0
- package/www/browser/assets/fill/file-word.svg +1 -0
- package/www/browser/assets/fill/file-zip.js +7 -0
- package/www/browser/assets/fill/file-zip.svg +1 -0
- package/www/browser/assets/fill/file.js +7 -0
- package/www/browser/assets/fill/file.svg +1 -0
- package/www/browser/assets/fill/filter.js +7 -0
- package/www/browser/assets/fill/filter.svg +1 -0
- package/www/browser/assets/fill/fire.js +7 -0
- package/www/browser/assets/fill/fire.svg +1 -0
- package/www/browser/assets/fill/flag.js +7 -0
- package/www/browser/assets/fill/flag.svg +1 -0
- package/www/browser/assets/fill/folder-add.js +7 -0
- package/www/browser/assets/fill/folder-add.svg +1 -0
- package/www/browser/assets/fill/folder-open.js +7 -0
- package/www/browser/assets/fill/folder-open.svg +1 -0
- package/www/browser/assets/fill/folder.js +7 -0
- package/www/browser/assets/fill/folder.svg +1 -0
- package/www/browser/assets/fill/format-painter.js +7 -0
- package/www/browser/assets/fill/format-painter.svg +1 -0
- package/www/browser/assets/fill/forward.js +7 -0
- package/www/browser/assets/fill/forward.svg +1 -0
- package/www/browser/assets/fill/frown.js +7 -0
- package/www/browser/assets/fill/frown.svg +1 -0
- package/www/browser/assets/fill/fund.js +7 -0
- package/www/browser/assets/fill/fund.svg +1 -0
- package/www/browser/assets/fill/funnel-plot.js +7 -0
- package/www/browser/assets/fill/funnel-plot.svg +1 -0
- package/www/browser/assets/fill/gift.js +7 -0
- package/www/browser/assets/fill/gift.svg +1 -0
- package/www/browser/assets/fill/github.js +7 -0
- package/www/browser/assets/fill/github.svg +1 -0
- package/www/browser/assets/fill/gitlab.js +7 -0
- package/www/browser/assets/fill/gitlab.svg +1 -0
- package/www/browser/assets/fill/gold.js +7 -0
- package/www/browser/assets/fill/gold.svg +1 -0
- package/www/browser/assets/fill/golden.js +7 -0
- package/www/browser/assets/fill/golden.svg +1 -0
- package/www/browser/assets/fill/google-circle.js +7 -0
- package/www/browser/assets/fill/google-circle.svg +1 -0
- package/www/browser/assets/fill/google-plus-circle.js +7 -0
- package/www/browser/assets/fill/google-plus-circle.svg +1 -0
- package/www/browser/assets/fill/google-plus-square.js +7 -0
- package/www/browser/assets/fill/google-plus-square.svg +1 -0
- package/www/browser/assets/fill/google-square.js +7 -0
- package/www/browser/assets/fill/google-square.svg +1 -0
- package/www/browser/assets/fill/hdd.js +7 -0
- package/www/browser/assets/fill/hdd.svg +1 -0
- package/www/browser/assets/fill/heart.js +7 -0
- package/www/browser/assets/fill/heart.svg +1 -0
- package/www/browser/assets/fill/highlight.js +7 -0
- package/www/browser/assets/fill/highlight.svg +1 -0
- package/www/browser/assets/fill/home.js +7 -0
- package/www/browser/assets/fill/home.svg +1 -0
- package/www/browser/assets/fill/hourglass.js +7 -0
- package/www/browser/assets/fill/hourglass.svg +1 -0
- package/www/browser/assets/fill/html5.js +7 -0
- package/www/browser/assets/fill/html5.svg +1 -0
- package/www/browser/assets/fill/idcard.js +7 -0
- package/www/browser/assets/fill/idcard.svg +1 -0
- package/www/browser/assets/fill/ie-circle.js +7 -0
- package/www/browser/assets/fill/ie-circle.svg +1 -0
- package/www/browser/assets/fill/ie-square.js +7 -0
- package/www/browser/assets/fill/ie-square.svg +1 -0
- package/www/browser/assets/fill/info-circle.js +7 -0
- package/www/browser/assets/fill/info-circle.svg +1 -0
- package/www/browser/assets/fill/instagram.js +7 -0
- package/www/browser/assets/fill/instagram.svg +1 -0
- package/www/browser/assets/fill/insurance.js +7 -0
- package/www/browser/assets/fill/insurance.svg +1 -0
- package/www/browser/assets/fill/interaction.js +7 -0
- package/www/browser/assets/fill/interaction.svg +1 -0
- package/www/browser/assets/fill/layout.js +7 -0
- package/www/browser/assets/fill/layout.svg +1 -0
- package/www/browser/assets/fill/left-circle.js +7 -0
- package/www/browser/assets/fill/left-circle.svg +1 -0
- package/www/browser/assets/fill/left-square.js +7 -0
- package/www/browser/assets/fill/left-square.svg +1 -0
- package/www/browser/assets/fill/like.js +7 -0
- package/www/browser/assets/fill/like.svg +1 -0
- package/www/browser/assets/fill/linkedin.js +7 -0
- package/www/browser/assets/fill/linkedin.svg +1 -0
- package/www/browser/assets/fill/lock.js +7 -0
- package/www/browser/assets/fill/lock.svg +1 -0
- package/www/browser/assets/fill/mac-command.js +7 -0
- package/www/browser/assets/fill/mac-command.svg +1 -0
- package/www/browser/assets/fill/mail.js +7 -0
- package/www/browser/assets/fill/mail.svg +1 -0
- package/www/browser/assets/fill/medicine-box.js +7 -0
- package/www/browser/assets/fill/medicine-box.svg +1 -0
- package/www/browser/assets/fill/medium-circle.js +7 -0
- package/www/browser/assets/fill/medium-circle.svg +1 -0
- package/www/browser/assets/fill/medium-square.js +7 -0
- package/www/browser/assets/fill/medium-square.svg +1 -0
- package/www/browser/assets/fill/meh.js +7 -0
- package/www/browser/assets/fill/meh.svg +1 -0
- package/www/browser/assets/fill/merge.js +7 -0
- package/www/browser/assets/fill/merge.svg +1 -0
- package/www/browser/assets/fill/message.js +7 -0
- package/www/browser/assets/fill/message.svg +1 -0
- package/www/browser/assets/fill/minus-circle.js +7 -0
- package/www/browser/assets/fill/minus-circle.svg +1 -0
- package/www/browser/assets/fill/minus-square.js +7 -0
- package/www/browser/assets/fill/minus-square.svg +1 -0
- package/www/browser/assets/fill/mobile.js +7 -0
- package/www/browser/assets/fill/mobile.svg +1 -0
- package/www/browser/assets/fill/money-collect.js +7 -0
- package/www/browser/assets/fill/money-collect.svg +1 -0
- package/www/browser/assets/fill/moon.js +7 -0
- package/www/browser/assets/fill/moon.svg +1 -0
- package/www/browser/assets/fill/muted.js +7 -0
- package/www/browser/assets/fill/muted.svg +1 -0
- package/www/browser/assets/fill/notification.js +7 -0
- package/www/browser/assets/fill/notification.svg +1 -0
- package/www/browser/assets/fill/open-a-i.js +7 -0
- package/www/browser/assets/fill/open-a-i.svg +1 -0
- package/www/browser/assets/fill/pause-circle.js +7 -0
- package/www/browser/assets/fill/pause-circle.svg +1 -0
- package/www/browser/assets/fill/pay-circle.js +7 -0
- package/www/browser/assets/fill/pay-circle.svg +1 -0
- package/www/browser/assets/fill/phone.js +7 -0
- package/www/browser/assets/fill/phone.svg +1 -0
- package/www/browser/assets/fill/picture.js +7 -0
- package/www/browser/assets/fill/picture.svg +1 -0
- package/www/browser/assets/fill/pie-chart.js +7 -0
- package/www/browser/assets/fill/pie-chart.svg +1 -0
- package/www/browser/assets/fill/pinterest.js +7 -0
- package/www/browser/assets/fill/pinterest.svg +1 -0
- package/www/browser/assets/fill/play-circle.js +7 -0
- package/www/browser/assets/fill/play-circle.svg +1 -0
- package/www/browser/assets/fill/play-square.js +7 -0
- package/www/browser/assets/fill/play-square.svg +1 -0
- package/www/browser/assets/fill/plus-circle.js +7 -0
- package/www/browser/assets/fill/plus-circle.svg +1 -0
- package/www/browser/assets/fill/plus-square.js +7 -0
- package/www/browser/assets/fill/plus-square.svg +1 -0
- package/www/browser/assets/fill/pound-circle.js +7 -0
- package/www/browser/assets/fill/pound-circle.svg +1 -0
- package/www/browser/assets/fill/printer.js +7 -0
- package/www/browser/assets/fill/printer.svg +1 -0
- package/www/browser/assets/fill/product.js +7 -0
- package/www/browser/assets/fill/product.svg +1 -0
- package/www/browser/assets/fill/profile.js +7 -0
- package/www/browser/assets/fill/profile.svg +1 -0
- package/www/browser/assets/fill/project.js +7 -0
- package/www/browser/assets/fill/project.svg +1 -0
- package/www/browser/assets/fill/property-safety.js +7 -0
- package/www/browser/assets/fill/property-safety.svg +1 -0
- package/www/browser/assets/fill/pushpin.js +7 -0
- package/www/browser/assets/fill/pushpin.svg +1 -0
- package/www/browser/assets/fill/qq-circle.js +7 -0
- package/www/browser/assets/fill/qq-circle.svg +1 -0
- package/www/browser/assets/fill/qq-square.js +7 -0
- package/www/browser/assets/fill/qq-square.svg +1 -0
- package/www/browser/assets/fill/question-circle.js +7 -0
- package/www/browser/assets/fill/question-circle.svg +1 -0
- package/www/browser/assets/fill/read.js +7 -0
- package/www/browser/assets/fill/read.svg +1 -0
- package/www/browser/assets/fill/reconciliation.js +7 -0
- package/www/browser/assets/fill/reconciliation.svg +1 -0
- package/www/browser/assets/fill/red-envelope.js +7 -0
- package/www/browser/assets/fill/red-envelope.svg +1 -0
- package/www/browser/assets/fill/reddit-circle.js +7 -0
- package/www/browser/assets/fill/reddit-circle.svg +1 -0
- package/www/browser/assets/fill/reddit-square.js +7 -0
- package/www/browser/assets/fill/reddit-square.svg +1 -0
- package/www/browser/assets/fill/rest.js +7 -0
- package/www/browser/assets/fill/rest.svg +1 -0
- package/www/browser/assets/fill/right-circle.js +7 -0
- package/www/browser/assets/fill/right-circle.svg +1 -0
- package/www/browser/assets/fill/right-square.js +7 -0
- package/www/browser/assets/fill/right-square.svg +1 -0
- package/www/browser/assets/fill/robot.js +7 -0
- package/www/browser/assets/fill/robot.svg +1 -0
- package/www/browser/assets/fill/rocket.js +7 -0
- package/www/browser/assets/fill/rocket.svg +1 -0
- package/www/browser/assets/fill/safety-certificate.js +7 -0
- package/www/browser/assets/fill/safety-certificate.svg +1 -0
- package/www/browser/assets/fill/save.js +7 -0
- package/www/browser/assets/fill/save.svg +1 -0
- package/www/browser/assets/fill/schedule.js +7 -0
- package/www/browser/assets/fill/schedule.svg +1 -0
- package/www/browser/assets/fill/security-scan.js +7 -0
- package/www/browser/assets/fill/security-scan.svg +1 -0
- package/www/browser/assets/fill/setting.js +7 -0
- package/www/browser/assets/fill/setting.svg +1 -0
- package/www/browser/assets/fill/shop.js +7 -0
- package/www/browser/assets/fill/shop.svg +1 -0
- package/www/browser/assets/fill/shopping.js +7 -0
- package/www/browser/assets/fill/shopping.svg +1 -0
- package/www/browser/assets/fill/signal.js +7 -0
- package/www/browser/assets/fill/signal.svg +1 -0
- package/www/browser/assets/fill/signature.js +7 -0
- package/www/browser/assets/fill/signature.svg +1 -0
- package/www/browser/assets/fill/sketch-circle.js +7 -0
- package/www/browser/assets/fill/sketch-circle.svg +1 -0
- package/www/browser/assets/fill/sketch-square.js +7 -0
- package/www/browser/assets/fill/sketch-square.svg +1 -0
- package/www/browser/assets/fill/skin.js +7 -0
- package/www/browser/assets/fill/skin.svg +1 -0
- package/www/browser/assets/fill/skype.js +7 -0
- package/www/browser/assets/fill/skype.svg +1 -0
- package/www/browser/assets/fill/slack-circle.js +7 -0
- package/www/browser/assets/fill/slack-circle.svg +1 -0
- package/www/browser/assets/fill/slack-square.js +7 -0
- package/www/browser/assets/fill/slack-square.svg +1 -0
- package/www/browser/assets/fill/sliders.js +7 -0
- package/www/browser/assets/fill/sliders.svg +1 -0
- package/www/browser/assets/fill/smile.js +7 -0
- package/www/browser/assets/fill/smile.svg +1 -0
- package/www/browser/assets/fill/snippets.js +7 -0
- package/www/browser/assets/fill/snippets.svg +1 -0
- package/www/browser/assets/fill/sound.js +7 -0
- package/www/browser/assets/fill/sound.svg +1 -0
- package/www/browser/assets/fill/spotify.js +7 -0
- package/www/browser/assets/fill/spotify.svg +1 -0
- package/www/browser/assets/fill/star.js +7 -0
- package/www/browser/assets/fill/star.svg +1 -0
- package/www/browser/assets/fill/step-backward.js +7 -0
- package/www/browser/assets/fill/step-backward.svg +1 -0
- package/www/browser/assets/fill/step-forward.js +7 -0
- package/www/browser/assets/fill/step-forward.svg +1 -0
- package/www/browser/assets/fill/stop.js +7 -0
- package/www/browser/assets/fill/stop.svg +1 -0
- package/www/browser/assets/fill/sun.js +7 -0
- package/www/browser/assets/fill/sun.svg +1 -0
- package/www/browser/assets/fill/switcher.js +7 -0
- package/www/browser/assets/fill/switcher.svg +1 -0
- package/www/browser/assets/fill/tablet.js +7 -0
- package/www/browser/assets/fill/tablet.svg +1 -0
- package/www/browser/assets/fill/tag.js +7 -0
- package/www/browser/assets/fill/tag.svg +1 -0
- package/www/browser/assets/fill/tags.js +7 -0
- package/www/browser/assets/fill/tags.svg +1 -0
- package/www/browser/assets/fill/taobao-circle.js +7 -0
- package/www/browser/assets/fill/taobao-circle.svg +1 -0
- package/www/browser/assets/fill/taobao-square.js +7 -0
- package/www/browser/assets/fill/taobao-square.svg +1 -0
- package/www/browser/assets/fill/thunderbolt.js +7 -0
- package/www/browser/assets/fill/thunderbolt.svg +1 -0
- package/www/browser/assets/fill/tik-tok.js +7 -0
- package/www/browser/assets/fill/tik-tok.svg +1 -0
- package/www/browser/assets/fill/tool.js +7 -0
- package/www/browser/assets/fill/tool.svg +1 -0
- package/www/browser/assets/fill/trademark-circle.js +7 -0
- package/www/browser/assets/fill/trademark-circle.svg +1 -0
- package/www/browser/assets/fill/trophy.js +7 -0
- package/www/browser/assets/fill/trophy.svg +1 -0
- package/www/browser/assets/fill/truck.js +7 -0
- package/www/browser/assets/fill/truck.svg +1 -0
- package/www/browser/assets/fill/twitch.js +7 -0
- package/www/browser/assets/fill/twitch.svg +1 -0
- package/www/browser/assets/fill/twitter-circle.js +7 -0
- package/www/browser/assets/fill/twitter-circle.svg +1 -0
- package/www/browser/assets/fill/twitter-square.js +7 -0
- package/www/browser/assets/fill/twitter-square.svg +1 -0
- package/www/browser/assets/fill/unlock.js +7 -0
- package/www/browser/assets/fill/unlock.svg +1 -0
- package/www/browser/assets/fill/up-circle.js +7 -0
- package/www/browser/assets/fill/up-circle.svg +1 -0
- package/www/browser/assets/fill/up-square.js +7 -0
- package/www/browser/assets/fill/up-square.svg +1 -0
- package/www/browser/assets/fill/usb.js +7 -0
- package/www/browser/assets/fill/usb.svg +1 -0
- package/www/browser/assets/fill/video-camera.js +7 -0
- package/www/browser/assets/fill/video-camera.svg +1 -0
- package/www/browser/assets/fill/wallet.js +7 -0
- package/www/browser/assets/fill/wallet.svg +1 -0
- package/www/browser/assets/fill/warning.js +7 -0
- package/www/browser/assets/fill/warning.svg +1 -0
- package/www/browser/assets/fill/wechat-work.js +7 -0
- package/www/browser/assets/fill/wechat-work.svg +1 -0
- package/www/browser/assets/fill/wechat.js +7 -0
- package/www/browser/assets/fill/wechat.svg +1 -0
- package/www/browser/assets/fill/weibo-circle.js +7 -0
- package/www/browser/assets/fill/weibo-circle.svg +1 -0
- package/www/browser/assets/fill/weibo-square.js +7 -0
- package/www/browser/assets/fill/weibo-square.svg +1 -0
- package/www/browser/assets/fill/windows.js +7 -0
- package/www/browser/assets/fill/windows.svg +1 -0
- package/www/browser/assets/fill/x.js +7 -0
- package/www/browser/assets/fill/x.svg +1 -0
- package/www/browser/assets/fill/yahoo.js +7 -0
- package/www/browser/assets/fill/yahoo.svg +1 -0
- package/www/browser/assets/fill/youtube.js +7 -0
- package/www/browser/assets/fill/youtube.svg +1 -0
- package/www/browser/assets/fill/yuque.js +7 -0
- package/www/browser/assets/fill/yuque.svg +1 -0
- package/www/browser/assets/fill/zhihu-circle.js +7 -0
- package/www/browser/assets/fill/zhihu-circle.svg +1 -0
- package/www/browser/assets/fill/zhihu-square.js +7 -0
- package/www/browser/assets/fill/zhihu-square.svg +1 -0
- package/www/browser/assets/outline/.gitkeep +0 -0
- package/www/browser/assets/outline/account-book.js +7 -0
- package/www/browser/assets/outline/account-book.svg +1 -0
- package/www/browser/assets/outline/aim.js +7 -0
- package/www/browser/assets/outline/aim.svg +1 -0
- package/www/browser/assets/outline/alert.js +7 -0
- package/www/browser/assets/outline/alert.svg +1 -0
- package/www/browser/assets/outline/alibaba.js +7 -0
- package/www/browser/assets/outline/alibaba.svg +1 -0
- package/www/browser/assets/outline/align-center.js +7 -0
- package/www/browser/assets/outline/align-center.svg +1 -0
- package/www/browser/assets/outline/align-left.js +7 -0
- package/www/browser/assets/outline/align-left.svg +1 -0
- package/www/browser/assets/outline/align-right.js +7 -0
- package/www/browser/assets/outline/align-right.svg +1 -0
- package/www/browser/assets/outline/alipay-circle.js +7 -0
- package/www/browser/assets/outline/alipay-circle.svg +1 -0
- package/www/browser/assets/outline/alipay.js +7 -0
- package/www/browser/assets/outline/alipay.svg +1 -0
- package/www/browser/assets/outline/aliwangwang.js +7 -0
- package/www/browser/assets/outline/aliwangwang.svg +1 -0
- package/www/browser/assets/outline/aliyun.js +7 -0
- package/www/browser/assets/outline/aliyun.svg +1 -0
- package/www/browser/assets/outline/amazon.js +7 -0
- package/www/browser/assets/outline/amazon.svg +1 -0
- package/www/browser/assets/outline/android.js +7 -0
- package/www/browser/assets/outline/android.svg +1 -0
- package/www/browser/assets/outline/ant-cloud.js +7 -0
- package/www/browser/assets/outline/ant-cloud.svg +1 -0
- package/www/browser/assets/outline/ant-design.js +7 -0
- package/www/browser/assets/outline/ant-design.svg +1 -0
- package/www/browser/assets/outline/apartment.js +7 -0
- package/www/browser/assets/outline/apartment.svg +1 -0
- package/www/browser/assets/outline/api.js +7 -0
- package/www/browser/assets/outline/api.svg +1 -0
- package/www/browser/assets/outline/apple.js +7 -0
- package/www/browser/assets/outline/apple.svg +1 -0
- package/www/browser/assets/outline/appstore-add.js +7 -0
- package/www/browser/assets/outline/appstore-add.svg +1 -0
- package/www/browser/assets/outline/appstore.js +7 -0
- package/www/browser/assets/outline/appstore.svg +1 -0
- package/www/browser/assets/outline/area-chart.js +7 -0
- package/www/browser/assets/outline/area-chart.svg +1 -0
- package/www/browser/assets/outline/arrow-down.js +7 -0
- package/www/browser/assets/outline/arrow-down.svg +1 -0
- package/www/browser/assets/outline/arrow-left.js +7 -0
- package/www/browser/assets/outline/arrow-left.svg +1 -0
- package/www/browser/assets/outline/arrow-right.js +7 -0
- package/www/browser/assets/outline/arrow-right.svg +1 -0
- package/www/browser/assets/outline/arrow-up.js +7 -0
- package/www/browser/assets/outline/arrow-up.svg +1 -0
- package/www/browser/assets/outline/arrows-alt.js +7 -0
- package/www/browser/assets/outline/arrows-alt.svg +1 -0
- package/www/browser/assets/outline/audio-muted.js +7 -0
- package/www/browser/assets/outline/audio-muted.svg +1 -0
- package/www/browser/assets/outline/audio.js +7 -0
- package/www/browser/assets/outline/audio.svg +1 -0
- package/www/browser/assets/outline/audit.js +7 -0
- package/www/browser/assets/outline/audit.svg +1 -0
- package/www/browser/assets/outline/backward.js +7 -0
- package/www/browser/assets/outline/backward.svg +1 -0
- package/www/browser/assets/outline/baidu.js +7 -0
- package/www/browser/assets/outline/baidu.svg +1 -0
- package/www/browser/assets/outline/bank.js +7 -0
- package/www/browser/assets/outline/bank.svg +1 -0
- package/www/browser/assets/outline/bar-chart.js +7 -0
- package/www/browser/assets/outline/bar-chart.svg +1 -0
- package/www/browser/assets/outline/barcode.js +7 -0
- package/www/browser/assets/outline/barcode.svg +1 -0
- package/www/browser/assets/outline/bars.js +7 -0
- package/www/browser/assets/outline/bars.svg +1 -0
- package/www/browser/assets/outline/behance-square.js +7 -0
- package/www/browser/assets/outline/behance-square.svg +1 -0
- package/www/browser/assets/outline/behance.js +7 -0
- package/www/browser/assets/outline/behance.svg +1 -0
- package/www/browser/assets/outline/bell.js +7 -0
- package/www/browser/assets/outline/bell.svg +1 -0
- package/www/browser/assets/outline/bg-colors.js +7 -0
- package/www/browser/assets/outline/bg-colors.svg +1 -0
- package/www/browser/assets/outline/bilibili.js +7 -0
- package/www/browser/assets/outline/bilibili.svg +1 -0
- package/www/browser/assets/outline/block.js +7 -0
- package/www/browser/assets/outline/block.svg +1 -0
- package/www/browser/assets/outline/bold.js +7 -0
- package/www/browser/assets/outline/bold.svg +1 -0
- package/www/browser/assets/outline/book.js +7 -0
- package/www/browser/assets/outline/book.svg +1 -0
- package/www/browser/assets/outline/border-bottom.js +7 -0
- package/www/browser/assets/outline/border-bottom.svg +1 -0
- package/www/browser/assets/outline/border-horizontal.js +7 -0
- package/www/browser/assets/outline/border-horizontal.svg +1 -0
- package/www/browser/assets/outline/border-inner.js +7 -0
- package/www/browser/assets/outline/border-inner.svg +1 -0
- package/www/browser/assets/outline/border-left.js +7 -0
- package/www/browser/assets/outline/border-left.svg +1 -0
- package/www/browser/assets/outline/border-outer.js +7 -0
- package/www/browser/assets/outline/border-outer.svg +1 -0
- package/www/browser/assets/outline/border-right.js +7 -0
- package/www/browser/assets/outline/border-right.svg +1 -0
- package/www/browser/assets/outline/border-top.js +7 -0
- package/www/browser/assets/outline/border-top.svg +1 -0
- package/www/browser/assets/outline/border-verticle.js +7 -0
- package/www/browser/assets/outline/border-verticle.svg +1 -0
- package/www/browser/assets/outline/border.js +7 -0
- package/www/browser/assets/outline/border.svg +1 -0
- package/www/browser/assets/outline/borderless-table.js +7 -0
- package/www/browser/assets/outline/borderless-table.svg +1 -0
- package/www/browser/assets/outline/box-plot.js +7 -0
- package/www/browser/assets/outline/box-plot.svg +1 -0
- package/www/browser/assets/outline/branches.js +7 -0
- package/www/browser/assets/outline/branches.svg +1 -0
- package/www/browser/assets/outline/bug.js +7 -0
- package/www/browser/assets/outline/bug.svg +1 -0
- package/www/browser/assets/outline/build.js +7 -0
- package/www/browser/assets/outline/build.svg +1 -0
- package/www/browser/assets/outline/bulb.js +7 -0
- package/www/browser/assets/outline/bulb.svg +1 -0
- package/www/browser/assets/outline/calculator.js +7 -0
- package/www/browser/assets/outline/calculator.svg +1 -0
- package/www/browser/assets/outline/calendar.js +7 -0
- package/www/browser/assets/outline/calendar.svg +1 -0
- package/www/browser/assets/outline/camera.js +7 -0
- package/www/browser/assets/outline/camera.svg +1 -0
- package/www/browser/assets/outline/car.js +7 -0
- package/www/browser/assets/outline/car.svg +1 -0
- package/www/browser/assets/outline/caret-down.js +7 -0
- package/www/browser/assets/outline/caret-down.svg +1 -0
- package/www/browser/assets/outline/caret-left.js +7 -0
- package/www/browser/assets/outline/caret-left.svg +1 -0
- package/www/browser/assets/outline/caret-right.js +7 -0
- package/www/browser/assets/outline/caret-right.svg +1 -0
- package/www/browser/assets/outline/caret-up.js +7 -0
- package/www/browser/assets/outline/caret-up.svg +1 -0
- package/www/browser/assets/outline/carry-out.js +7 -0
- package/www/browser/assets/outline/carry-out.svg +1 -0
- package/www/browser/assets/outline/check-circle.js +7 -0
- package/www/browser/assets/outline/check-circle.svg +1 -0
- package/www/browser/assets/outline/check-square.js +7 -0
- package/www/browser/assets/outline/check-square.svg +1 -0
- package/www/browser/assets/outline/check.js +7 -0
- package/www/browser/assets/outline/check.svg +1 -0
- package/www/browser/assets/outline/chrome.js +7 -0
- package/www/browser/assets/outline/chrome.svg +1 -0
- package/www/browser/assets/outline/ci-circle.js +7 -0
- package/www/browser/assets/outline/ci-circle.svg +1 -0
- package/www/browser/assets/outline/ci.js +7 -0
- package/www/browser/assets/outline/ci.svg +1 -0
- package/www/browser/assets/outline/clear.js +7 -0
- package/www/browser/assets/outline/clear.svg +1 -0
- package/www/browser/assets/outline/clock-circle.js +7 -0
- package/www/browser/assets/outline/clock-circle.svg +1 -0
- package/www/browser/assets/outline/close-circle.js +7 -0
- package/www/browser/assets/outline/close-circle.svg +1 -0
- package/www/browser/assets/outline/close-square.js +7 -0
- package/www/browser/assets/outline/close-square.svg +1 -0
- package/www/browser/assets/outline/close.js +7 -0
- package/www/browser/assets/outline/close.svg +1 -0
- package/www/browser/assets/outline/cloud-download.js +7 -0
- package/www/browser/assets/outline/cloud-download.svg +1 -0
- package/www/browser/assets/outline/cloud-server.js +7 -0
- package/www/browser/assets/outline/cloud-server.svg +1 -0
- package/www/browser/assets/outline/cloud-sync.js +7 -0
- package/www/browser/assets/outline/cloud-sync.svg +1 -0
- package/www/browser/assets/outline/cloud-upload.js +7 -0
- package/www/browser/assets/outline/cloud-upload.svg +1 -0
- package/www/browser/assets/outline/cloud.js +7 -0
- package/www/browser/assets/outline/cloud.svg +1 -0
- package/www/browser/assets/outline/cluster.js +7 -0
- package/www/browser/assets/outline/cluster.svg +1 -0
- package/www/browser/assets/outline/code-sandbox.js +7 -0
- package/www/browser/assets/outline/code-sandbox.svg +1 -0
- package/www/browser/assets/outline/code.js +7 -0
- package/www/browser/assets/outline/code.svg +1 -0
- package/www/browser/assets/outline/codepen-circle.js +7 -0
- package/www/browser/assets/outline/codepen-circle.svg +1 -0
- package/www/browser/assets/outline/codepen.js +7 -0
- package/www/browser/assets/outline/codepen.svg +1 -0
- package/www/browser/assets/outline/coffee.js +7 -0
- package/www/browser/assets/outline/coffee.svg +1 -0
- package/www/browser/assets/outline/column-height.js +7 -0
- package/www/browser/assets/outline/column-height.svg +1 -0
- package/www/browser/assets/outline/column-width.js +7 -0
- package/www/browser/assets/outline/column-width.svg +1 -0
- package/www/browser/assets/outline/comment.js +7 -0
- package/www/browser/assets/outline/comment.svg +1 -0
- package/www/browser/assets/outline/compass.js +7 -0
- package/www/browser/assets/outline/compass.svg +1 -0
- package/www/browser/assets/outline/compress.js +7 -0
- package/www/browser/assets/outline/compress.svg +1 -0
- package/www/browser/assets/outline/console-sql.js +7 -0
- package/www/browser/assets/outline/console-sql.svg +1 -0
- package/www/browser/assets/outline/contacts.js +7 -0
- package/www/browser/assets/outline/contacts.svg +1 -0
- package/www/browser/assets/outline/container.js +7 -0
- package/www/browser/assets/outline/container.svg +1 -0
- package/www/browser/assets/outline/control.js +7 -0
- package/www/browser/assets/outline/control.svg +1 -0
- package/www/browser/assets/outline/copy.js +7 -0
- package/www/browser/assets/outline/copy.svg +1 -0
- package/www/browser/assets/outline/copyright-circle.js +7 -0
- package/www/browser/assets/outline/copyright-circle.svg +1 -0
- package/www/browser/assets/outline/copyright.js +7 -0
- package/www/browser/assets/outline/copyright.svg +1 -0
- package/www/browser/assets/outline/credit-card.js +7 -0
- package/www/browser/assets/outline/credit-card.svg +1 -0
- package/www/browser/assets/outline/crown.js +7 -0
- package/www/browser/assets/outline/crown.svg +1 -0
- package/www/browser/assets/outline/customer-service.js +7 -0
- package/www/browser/assets/outline/customer-service.svg +1 -0
- package/www/browser/assets/outline/dash.js +7 -0
- package/www/browser/assets/outline/dash.svg +1 -0
- package/www/browser/assets/outline/dashboard.js +7 -0
- package/www/browser/assets/outline/dashboard.svg +1 -0
- package/www/browser/assets/outline/database.js +7 -0
- package/www/browser/assets/outline/database.svg +1 -0
- package/www/browser/assets/outline/delete-column.js +7 -0
- package/www/browser/assets/outline/delete-column.svg +1 -0
- package/www/browser/assets/outline/delete-row.js +7 -0
- package/www/browser/assets/outline/delete-row.svg +1 -0
- package/www/browser/assets/outline/delete.js +7 -0
- package/www/browser/assets/outline/delete.svg +1 -0
- package/www/browser/assets/outline/delivered-procedure.js +7 -0
- package/www/browser/assets/outline/delivered-procedure.svg +1 -0
- package/www/browser/assets/outline/deployment-unit.js +7 -0
- package/www/browser/assets/outline/deployment-unit.svg +1 -0
- package/www/browser/assets/outline/desktop.js +7 -0
- package/www/browser/assets/outline/desktop.svg +1 -0
- package/www/browser/assets/outline/diff.js +7 -0
- package/www/browser/assets/outline/diff.svg +1 -0
- package/www/browser/assets/outline/dingding.js +7 -0
- package/www/browser/assets/outline/dingding.svg +1 -0
- package/www/browser/assets/outline/dingtalk.js +7 -0
- package/www/browser/assets/outline/dingtalk.svg +1 -0
- package/www/browser/assets/outline/disconnect.js +7 -0
- package/www/browser/assets/outline/disconnect.svg +1 -0
- package/www/browser/assets/outline/discord.js +7 -0
- package/www/browser/assets/outline/discord.svg +1 -0
- package/www/browser/assets/outline/dislike.js +7 -0
- package/www/browser/assets/outline/dislike.svg +1 -0
- package/www/browser/assets/outline/docker.js +7 -0
- package/www/browser/assets/outline/docker.svg +1 -0
- package/www/browser/assets/outline/dollar-circle.js +7 -0
- package/www/browser/assets/outline/dollar-circle.svg +1 -0
- package/www/browser/assets/outline/dollar.js +7 -0
- package/www/browser/assets/outline/dollar.svg +1 -0
- package/www/browser/assets/outline/dot-chart.js +7 -0
- package/www/browser/assets/outline/dot-chart.svg +1 -0
- package/www/browser/assets/outline/dot-net.js +7 -0
- package/www/browser/assets/outline/dot-net.svg +1 -0
- package/www/browser/assets/outline/double-left.js +7 -0
- package/www/browser/assets/outline/double-left.svg +1 -0
- package/www/browser/assets/outline/double-right.js +7 -0
- package/www/browser/assets/outline/double-right.svg +1 -0
- package/www/browser/assets/outline/down-circle.js +7 -0
- package/www/browser/assets/outline/down-circle.svg +1 -0
- package/www/browser/assets/outline/down-square.js +7 -0
- package/www/browser/assets/outline/down-square.svg +1 -0
- package/www/browser/assets/outline/down.js +7 -0
- package/www/browser/assets/outline/down.svg +1 -0
- package/www/browser/assets/outline/download.js +7 -0
- package/www/browser/assets/outline/download.svg +1 -0
- package/www/browser/assets/outline/drag.js +7 -0
- package/www/browser/assets/outline/drag.svg +1 -0
- package/www/browser/assets/outline/dribbble-square.js +7 -0
- package/www/browser/assets/outline/dribbble-square.svg +1 -0
- package/www/browser/assets/outline/dribbble.js +7 -0
- package/www/browser/assets/outline/dribbble.svg +1 -0
- package/www/browser/assets/outline/dropbox.js +7 -0
- package/www/browser/assets/outline/dropbox.svg +1 -0
- package/www/browser/assets/outline/edit.js +7 -0
- package/www/browser/assets/outline/edit.svg +1 -0
- package/www/browser/assets/outline/ellipsis.js +7 -0
- package/www/browser/assets/outline/ellipsis.svg +1 -0
- package/www/browser/assets/outline/enter.js +7 -0
- package/www/browser/assets/outline/enter.svg +1 -0
- package/www/browser/assets/outline/environment.js +7 -0
- package/www/browser/assets/outline/environment.svg +1 -0
- package/www/browser/assets/outline/euro-circle.js +7 -0
- package/www/browser/assets/outline/euro-circle.svg +1 -0
- package/www/browser/assets/outline/euro.js +7 -0
- package/www/browser/assets/outline/euro.svg +1 -0
- package/www/browser/assets/outline/exception.js +7 -0
- package/www/browser/assets/outline/exception.svg +1 -0
- package/www/browser/assets/outline/exclamation-circle.js +7 -0
- package/www/browser/assets/outline/exclamation-circle.svg +1 -0
- package/www/browser/assets/outline/exclamation.js +7 -0
- package/www/browser/assets/outline/exclamation.svg +1 -0
- package/www/browser/assets/outline/expand-alt.js +7 -0
- package/www/browser/assets/outline/expand-alt.svg +1 -0
- package/www/browser/assets/outline/expand.js +7 -0
- package/www/browser/assets/outline/expand.svg +1 -0
- package/www/browser/assets/outline/experiment.js +7 -0
- package/www/browser/assets/outline/experiment.svg +1 -0
- package/www/browser/assets/outline/export.js +7 -0
- package/www/browser/assets/outline/export.svg +1 -0
- package/www/browser/assets/outline/eye-invisible.js +7 -0
- package/www/browser/assets/outline/eye-invisible.svg +1 -0
- package/www/browser/assets/outline/eye.js +7 -0
- package/www/browser/assets/outline/eye.svg +1 -0
- package/www/browser/assets/outline/facebook.js +7 -0
- package/www/browser/assets/outline/facebook.svg +1 -0
- package/www/browser/assets/outline/fall.js +7 -0
- package/www/browser/assets/outline/fall.svg +1 -0
- package/www/browser/assets/outline/fast-backward.js +7 -0
- package/www/browser/assets/outline/fast-backward.svg +1 -0
- package/www/browser/assets/outline/fast-forward.js +7 -0
- package/www/browser/assets/outline/fast-forward.svg +1 -0
- package/www/browser/assets/outline/field-binary.js +7 -0
- package/www/browser/assets/outline/field-binary.svg +1 -0
- package/www/browser/assets/outline/field-number.js +7 -0
- package/www/browser/assets/outline/field-number.svg +1 -0
- package/www/browser/assets/outline/field-string.js +7 -0
- package/www/browser/assets/outline/field-string.svg +1 -0
- package/www/browser/assets/outline/field-time.js +7 -0
- package/www/browser/assets/outline/field-time.svg +1 -0
- package/www/browser/assets/outline/file-add.js +7 -0
- package/www/browser/assets/outline/file-add.svg +1 -0
- package/www/browser/assets/outline/file-done.js +7 -0
- package/www/browser/assets/outline/file-done.svg +1 -0
- package/www/browser/assets/outline/file-excel.js +7 -0
- package/www/browser/assets/outline/file-excel.svg +1 -0
- package/www/browser/assets/outline/file-exclamation.js +7 -0
- package/www/browser/assets/outline/file-exclamation.svg +1 -0
- package/www/browser/assets/outline/file-gif.js +7 -0
- package/www/browser/assets/outline/file-gif.svg +1 -0
- package/www/browser/assets/outline/file-image.js +7 -0
- package/www/browser/assets/outline/file-image.svg +1 -0
- package/www/browser/assets/outline/file-jpg.js +7 -0
- package/www/browser/assets/outline/file-jpg.svg +1 -0
- package/www/browser/assets/outline/file-markdown.js +7 -0
- package/www/browser/assets/outline/file-markdown.svg +1 -0
- package/www/browser/assets/outline/file-pdf.js +7 -0
- package/www/browser/assets/outline/file-pdf.svg +1 -0
- package/www/browser/assets/outline/file-ppt.js +7 -0
- package/www/browser/assets/outline/file-ppt.svg +1 -0
- package/www/browser/assets/outline/file-protect.js +7 -0
- package/www/browser/assets/outline/file-protect.svg +1 -0
- package/www/browser/assets/outline/file-search.js +7 -0
- package/www/browser/assets/outline/file-search.svg +1 -0
- package/www/browser/assets/outline/file-sync.js +7 -0
- package/www/browser/assets/outline/file-sync.svg +1 -0
- package/www/browser/assets/outline/file-text.js +7 -0
- package/www/browser/assets/outline/file-text.svg +1 -0
- package/www/browser/assets/outline/file-unknown.js +7 -0
- package/www/browser/assets/outline/file-unknown.svg +1 -0
- package/www/browser/assets/outline/file-word.js +7 -0
- package/www/browser/assets/outline/file-word.svg +1 -0
- package/www/browser/assets/outline/file-zip.js +7 -0
- package/www/browser/assets/outline/file-zip.svg +1 -0
- package/www/browser/assets/outline/file.js +7 -0
- package/www/browser/assets/outline/file.svg +1 -0
- package/www/browser/assets/outline/filter.js +7 -0
- package/www/browser/assets/outline/filter.svg +1 -0
- package/www/browser/assets/outline/fire.js +7 -0
- package/www/browser/assets/outline/fire.svg +1 -0
- package/www/browser/assets/outline/flag.js +7 -0
- package/www/browser/assets/outline/flag.svg +1 -0
- package/www/browser/assets/outline/folder-add.js +7 -0
- package/www/browser/assets/outline/folder-add.svg +1 -0
- package/www/browser/assets/outline/folder-open.js +7 -0
- package/www/browser/assets/outline/folder-open.svg +1 -0
- package/www/browser/assets/outline/folder-view.js +7 -0
- package/www/browser/assets/outline/folder-view.svg +1 -0
- package/www/browser/assets/outline/folder.js +7 -0
- package/www/browser/assets/outline/folder.svg +1 -0
- package/www/browser/assets/outline/font-colors.js +7 -0
- package/www/browser/assets/outline/font-colors.svg +1 -0
- package/www/browser/assets/outline/font-size.js +7 -0
- package/www/browser/assets/outline/font-size.svg +1 -0
- package/www/browser/assets/outline/fork.js +7 -0
- package/www/browser/assets/outline/fork.svg +1 -0
- package/www/browser/assets/outline/form.js +7 -0
- package/www/browser/assets/outline/form.svg +1 -0
- package/www/browser/assets/outline/format-painter.js +7 -0
- package/www/browser/assets/outline/format-painter.svg +1 -0
- package/www/browser/assets/outline/forward.js +7 -0
- package/www/browser/assets/outline/forward.svg +1 -0
- package/www/browser/assets/outline/frown.js +7 -0
- package/www/browser/assets/outline/frown.svg +1 -0
- package/www/browser/assets/outline/fullscreen-exit.js +7 -0
- package/www/browser/assets/outline/fullscreen-exit.svg +1 -0
- package/www/browser/assets/outline/fullscreen.js +7 -0
- package/www/browser/assets/outline/fullscreen.svg +1 -0
- package/www/browser/assets/outline/function.js +7 -0
- package/www/browser/assets/outline/function.svg +1 -0
- package/www/browser/assets/outline/fund-projection-screen.js +7 -0
- package/www/browser/assets/outline/fund-projection-screen.svg +1 -0
- package/www/browser/assets/outline/fund-view.js +7 -0
- package/www/browser/assets/outline/fund-view.svg +1 -0
- package/www/browser/assets/outline/fund.js +7 -0
- package/www/browser/assets/outline/fund.svg +1 -0
- package/www/browser/assets/outline/funnel-plot.js +7 -0
- package/www/browser/assets/outline/funnel-plot.svg +1 -0
- package/www/browser/assets/outline/gateway.js +7 -0
- package/www/browser/assets/outline/gateway.svg +1 -0
- package/www/browser/assets/outline/gif.js +7 -0
- package/www/browser/assets/outline/gif.svg +1 -0
- package/www/browser/assets/outline/gift.js +7 -0
- package/www/browser/assets/outline/gift.svg +1 -0
- package/www/browser/assets/outline/github.js +7 -0
- package/www/browser/assets/outline/github.svg +1 -0
- package/www/browser/assets/outline/gitlab.js +7 -0
- package/www/browser/assets/outline/gitlab.svg +1 -0
- package/www/browser/assets/outline/global.js +7 -0
- package/www/browser/assets/outline/global.svg +1 -0
- package/www/browser/assets/outline/gold.js +7 -0
- package/www/browser/assets/outline/gold.svg +1 -0
- package/www/browser/assets/outline/google-plus.js +7 -0
- package/www/browser/assets/outline/google-plus.svg +1 -0
- package/www/browser/assets/outline/google.js +7 -0
- package/www/browser/assets/outline/google.svg +1 -0
- package/www/browser/assets/outline/group.js +7 -0
- package/www/browser/assets/outline/group.svg +1 -0
- package/www/browser/assets/outline/harmony-o-s.js +7 -0
- package/www/browser/assets/outline/harmony-o-s.svg +1 -0
- package/www/browser/assets/outline/hdd.js +7 -0
- package/www/browser/assets/outline/hdd.svg +1 -0
- package/www/browser/assets/outline/heart.js +7 -0
- package/www/browser/assets/outline/heart.svg +1 -0
- package/www/browser/assets/outline/heat-map.js +7 -0
- package/www/browser/assets/outline/heat-map.svg +1 -0
- package/www/browser/assets/outline/highlight.js +7 -0
- package/www/browser/assets/outline/highlight.svg +1 -0
- package/www/browser/assets/outline/history.js +7 -0
- package/www/browser/assets/outline/history.svg +1 -0
- package/www/browser/assets/outline/holder.js +7 -0
- package/www/browser/assets/outline/holder.svg +1 -0
- package/www/browser/assets/outline/home.js +7 -0
- package/www/browser/assets/outline/home.svg +1 -0
- package/www/browser/assets/outline/hourglass.js +7 -0
- package/www/browser/assets/outline/hourglass.svg +1 -0
- package/www/browser/assets/outline/html5.js +7 -0
- package/www/browser/assets/outline/html5.svg +1 -0
- package/www/browser/assets/outline/idcard.js +7 -0
- package/www/browser/assets/outline/idcard.svg +1 -0
- package/www/browser/assets/outline/ie.js +7 -0
- package/www/browser/assets/outline/ie.svg +1 -0
- package/www/browser/assets/outline/import.js +7 -0
- package/www/browser/assets/outline/import.svg +1 -0
- package/www/browser/assets/outline/inbox.js +7 -0
- package/www/browser/assets/outline/inbox.svg +1 -0
- package/www/browser/assets/outline/info-circle.js +7 -0
- package/www/browser/assets/outline/info-circle.svg +1 -0
- package/www/browser/assets/outline/info.js +7 -0
- package/www/browser/assets/outline/info.svg +1 -0
- package/www/browser/assets/outline/insert-row-above.js +7 -0
- package/www/browser/assets/outline/insert-row-above.svg +1 -0
- package/www/browser/assets/outline/insert-row-below.js +7 -0
- package/www/browser/assets/outline/insert-row-below.svg +1 -0
- package/www/browser/assets/outline/insert-row-left.js +7 -0
- package/www/browser/assets/outline/insert-row-left.svg +1 -0
- package/www/browser/assets/outline/insert-row-right.js +7 -0
- package/www/browser/assets/outline/insert-row-right.svg +1 -0
- package/www/browser/assets/outline/instagram.js +7 -0
- package/www/browser/assets/outline/instagram.svg +1 -0
- package/www/browser/assets/outline/insurance.js +7 -0
- package/www/browser/assets/outline/insurance.svg +1 -0
- package/www/browser/assets/outline/interaction.js +7 -0
- package/www/browser/assets/outline/interaction.svg +1 -0
- package/www/browser/assets/outline/issues-close.js +7 -0
- package/www/browser/assets/outline/issues-close.svg +1 -0
- package/www/browser/assets/outline/italic.js +7 -0
- package/www/browser/assets/outline/italic.svg +1 -0
- package/www/browser/assets/outline/java-script.js +7 -0
- package/www/browser/assets/outline/java-script.svg +1 -0
- package/www/browser/assets/outline/java.js +7 -0
- package/www/browser/assets/outline/java.svg +1 -0
- package/www/browser/assets/outline/key.js +7 -0
- package/www/browser/assets/outline/key.svg +1 -0
- package/www/browser/assets/outline/kubernetes.js +7 -0
- package/www/browser/assets/outline/kubernetes.svg +1 -0
- package/www/browser/assets/outline/laptop.js +7 -0
- package/www/browser/assets/outline/laptop.svg +1 -0
- package/www/browser/assets/outline/layout.js +7 -0
- package/www/browser/assets/outline/layout.svg +1 -0
- package/www/browser/assets/outline/left-circle.js +7 -0
- package/www/browser/assets/outline/left-circle.svg +1 -0
- package/www/browser/assets/outline/left-square.js +7 -0
- package/www/browser/assets/outline/left-square.svg +1 -0
- package/www/browser/assets/outline/left.js +7 -0
- package/www/browser/assets/outline/left.svg +1 -0
- package/www/browser/assets/outline/like.js +7 -0
- package/www/browser/assets/outline/like.svg +1 -0
- package/www/browser/assets/outline/line-chart.js +7 -0
- package/www/browser/assets/outline/line-chart.svg +1 -0
- package/www/browser/assets/outline/line-height.js +7 -0
- package/www/browser/assets/outline/line-height.svg +1 -0
- package/www/browser/assets/outline/line.js +7 -0
- package/www/browser/assets/outline/line.svg +1 -0
- package/www/browser/assets/outline/link.js +7 -0
- package/www/browser/assets/outline/link.svg +1 -0
- package/www/browser/assets/outline/linkedin.js +7 -0
- package/www/browser/assets/outline/linkedin.svg +1 -0
- package/www/browser/assets/outline/linux.js +7 -0
- package/www/browser/assets/outline/linux.svg +1 -0
- package/www/browser/assets/outline/loading-3-quarters.js +7 -0
- package/www/browser/assets/outline/loading-3-quarters.svg +1 -0
- package/www/browser/assets/outline/loading.js +7 -0
- package/www/browser/assets/outline/loading.svg +1 -0
- package/www/browser/assets/outline/lock.js +7 -0
- package/www/browser/assets/outline/lock.svg +1 -0
- package/www/browser/assets/outline/login.js +7 -0
- package/www/browser/assets/outline/login.svg +1 -0
- package/www/browser/assets/outline/logout.js +7 -0
- package/www/browser/assets/outline/logout.svg +1 -0
- package/www/browser/assets/outline/mac-command.js +7 -0
- package/www/browser/assets/outline/mac-command.svg +1 -0
- package/www/browser/assets/outline/mail.js +7 -0
- package/www/browser/assets/outline/mail.svg +1 -0
- package/www/browser/assets/outline/man.js +7 -0
- package/www/browser/assets/outline/man.svg +1 -0
- package/www/browser/assets/outline/medicine-box.js +7 -0
- package/www/browser/assets/outline/medicine-box.svg +1 -0
- package/www/browser/assets/outline/medium-workmark.js +7 -0
- package/www/browser/assets/outline/medium-workmark.svg +1 -0
- package/www/browser/assets/outline/medium.js +7 -0
- package/www/browser/assets/outline/medium.svg +1 -0
- package/www/browser/assets/outline/meh.js +7 -0
- package/www/browser/assets/outline/meh.svg +1 -0
- package/www/browser/assets/outline/menu-fold.js +7 -0
- package/www/browser/assets/outline/menu-fold.svg +1 -0
- package/www/browser/assets/outline/menu-unfold.js +7 -0
- package/www/browser/assets/outline/menu-unfold.svg +1 -0
- package/www/browser/assets/outline/menu.js +7 -0
- package/www/browser/assets/outline/menu.svg +1 -0
- package/www/browser/assets/outline/merge-cells.js +7 -0
- package/www/browser/assets/outline/merge-cells.svg +1 -0
- package/www/browser/assets/outline/merge.js +7 -0
- package/www/browser/assets/outline/merge.svg +1 -0
- package/www/browser/assets/outline/message.js +7 -0
- package/www/browser/assets/outline/message.svg +1 -0
- package/www/browser/assets/outline/minus-circle.js +7 -0
- package/www/browser/assets/outline/minus-circle.svg +1 -0
- package/www/browser/assets/outline/minus-square.js +7 -0
- package/www/browser/assets/outline/minus-square.svg +1 -0
- package/www/browser/assets/outline/minus.js +7 -0
- package/www/browser/assets/outline/minus.svg +1 -0
- package/www/browser/assets/outline/mobile.js +7 -0
- package/www/browser/assets/outline/mobile.svg +1 -0
- package/www/browser/assets/outline/money-collect.js +7 -0
- package/www/browser/assets/outline/money-collect.svg +1 -0
- package/www/browser/assets/outline/monitor.js +7 -0
- package/www/browser/assets/outline/monitor.svg +1 -0
- package/www/browser/assets/outline/moon.js +7 -0
- package/www/browser/assets/outline/moon.svg +1 -0
- package/www/browser/assets/outline/more.js +7 -0
- package/www/browser/assets/outline/more.svg +1 -0
- package/www/browser/assets/outline/muted.js +7 -0
- package/www/browser/assets/outline/muted.svg +1 -0
- package/www/browser/assets/outline/node-collapse.js +7 -0
- package/www/browser/assets/outline/node-collapse.svg +1 -0
- package/www/browser/assets/outline/node-expand.js +7 -0
- package/www/browser/assets/outline/node-expand.svg +1 -0
- package/www/browser/assets/outline/node-index.js +7 -0
- package/www/browser/assets/outline/node-index.svg +1 -0
- package/www/browser/assets/outline/notification.js +7 -0
- package/www/browser/assets/outline/notification.svg +1 -0
- package/www/browser/assets/outline/number.js +7 -0
- package/www/browser/assets/outline/number.svg +1 -0
- package/www/browser/assets/outline/one-to-one.js +7 -0
- package/www/browser/assets/outline/one-to-one.svg +1 -0
- package/www/browser/assets/outline/open-a-i.js +7 -0
- package/www/browser/assets/outline/open-a-i.svg +1 -0
- package/www/browser/assets/outline/ordered-list.js +7 -0
- package/www/browser/assets/outline/ordered-list.svg +1 -0
- package/www/browser/assets/outline/paper-clip.js +7 -0
- package/www/browser/assets/outline/paper-clip.svg +1 -0
- package/www/browser/assets/outline/partition.js +7 -0
- package/www/browser/assets/outline/partition.svg +1 -0
- package/www/browser/assets/outline/pause-circle.js +7 -0
- package/www/browser/assets/outline/pause-circle.svg +1 -0
- package/www/browser/assets/outline/pause.js +7 -0
- package/www/browser/assets/outline/pause.svg +1 -0
- package/www/browser/assets/outline/pay-circle.js +7 -0
- package/www/browser/assets/outline/pay-circle.svg +1 -0
- package/www/browser/assets/outline/percentage.js +7 -0
- package/www/browser/assets/outline/percentage.svg +1 -0
- package/www/browser/assets/outline/phone.js +7 -0
- package/www/browser/assets/outline/phone.svg +1 -0
- package/www/browser/assets/outline/pic-center.js +7 -0
- package/www/browser/assets/outline/pic-center.svg +1 -0
- package/www/browser/assets/outline/pic-left.js +7 -0
- package/www/browser/assets/outline/pic-left.svg +1 -0
- package/www/browser/assets/outline/pic-right.js +7 -0
- package/www/browser/assets/outline/pic-right.svg +1 -0
- package/www/browser/assets/outline/picture.js +7 -0
- package/www/browser/assets/outline/picture.svg +1 -0
- package/www/browser/assets/outline/pie-chart.js +7 -0
- package/www/browser/assets/outline/pie-chart.svg +1 -0
- package/www/browser/assets/outline/pinterest.js +7 -0
- package/www/browser/assets/outline/pinterest.svg +1 -0
- package/www/browser/assets/outline/play-circle.js +7 -0
- package/www/browser/assets/outline/play-circle.svg +1 -0
- package/www/browser/assets/outline/play-square.js +7 -0
- package/www/browser/assets/outline/play-square.svg +1 -0
- package/www/browser/assets/outline/plus-circle.js +7 -0
- package/www/browser/assets/outline/plus-circle.svg +1 -0
- package/www/browser/assets/outline/plus-square.js +7 -0
- package/www/browser/assets/outline/plus-square.svg +1 -0
- package/www/browser/assets/outline/plus.js +7 -0
- package/www/browser/assets/outline/plus.svg +1 -0
- package/www/browser/assets/outline/pound-circle.js +7 -0
- package/www/browser/assets/outline/pound-circle.svg +1 -0
- package/www/browser/assets/outline/pound.js +7 -0
- package/www/browser/assets/outline/pound.svg +1 -0
- package/www/browser/assets/outline/poweroff.js +7 -0
- package/www/browser/assets/outline/poweroff.svg +1 -0
- package/www/browser/assets/outline/printer.js +7 -0
- package/www/browser/assets/outline/printer.svg +1 -0
- package/www/browser/assets/outline/product.js +7 -0
- package/www/browser/assets/outline/product.svg +1 -0
- package/www/browser/assets/outline/profile.js +7 -0
- package/www/browser/assets/outline/profile.svg +1 -0
- package/www/browser/assets/outline/project.js +7 -0
- package/www/browser/assets/outline/project.svg +1 -0
- package/www/browser/assets/outline/property-safety.js +7 -0
- package/www/browser/assets/outline/property-safety.svg +1 -0
- package/www/browser/assets/outline/pull-request.js +7 -0
- package/www/browser/assets/outline/pull-request.svg +1 -0
- package/www/browser/assets/outline/pushpin.js +7 -0
- package/www/browser/assets/outline/pushpin.svg +1 -0
- package/www/browser/assets/outline/python.js +7 -0
- package/www/browser/assets/outline/python.svg +1 -0
- package/www/browser/assets/outline/qq.js +7 -0
- package/www/browser/assets/outline/qq.svg +1 -0
- package/www/browser/assets/outline/qrcode.js +7 -0
- package/www/browser/assets/outline/qrcode.svg +1 -0
- package/www/browser/assets/outline/question-circle.js +7 -0
- package/www/browser/assets/outline/question-circle.svg +1 -0
- package/www/browser/assets/outline/question.js +7 -0
- package/www/browser/assets/outline/question.svg +1 -0
- package/www/browser/assets/outline/radar-chart.js +7 -0
- package/www/browser/assets/outline/radar-chart.svg +1 -0
- package/www/browser/assets/outline/radius-bottomleft.js +7 -0
- package/www/browser/assets/outline/radius-bottomleft.svg +1 -0
- package/www/browser/assets/outline/radius-bottomright.js +7 -0
- package/www/browser/assets/outline/radius-bottomright.svg +1 -0
- package/www/browser/assets/outline/radius-setting.js +7 -0
- package/www/browser/assets/outline/radius-setting.svg +1 -0
- package/www/browser/assets/outline/radius-upleft.js +7 -0
- package/www/browser/assets/outline/radius-upleft.svg +1 -0
- package/www/browser/assets/outline/radius-upright.js +7 -0
- package/www/browser/assets/outline/radius-upright.svg +1 -0
- package/www/browser/assets/outline/read.js +7 -0
- package/www/browser/assets/outline/read.svg +1 -0
- package/www/browser/assets/outline/reconciliation.js +7 -0
- package/www/browser/assets/outline/reconciliation.svg +1 -0
- package/www/browser/assets/outline/red-envelope.js +7 -0
- package/www/browser/assets/outline/red-envelope.svg +1 -0
- package/www/browser/assets/outline/reddit.js +7 -0
- package/www/browser/assets/outline/reddit.svg +1 -0
- package/www/browser/assets/outline/redo.js +7 -0
- package/www/browser/assets/outline/redo.svg +1 -0
- package/www/browser/assets/outline/reload.js +7 -0
- package/www/browser/assets/outline/reload.svg +1 -0
- package/www/browser/assets/outline/rest.js +7 -0
- package/www/browser/assets/outline/rest.svg +1 -0
- package/www/browser/assets/outline/retweet.js +7 -0
- package/www/browser/assets/outline/retweet.svg +1 -0
- package/www/browser/assets/outline/right-circle.js +7 -0
- package/www/browser/assets/outline/right-circle.svg +1 -0
- package/www/browser/assets/outline/right-square.js +7 -0
- package/www/browser/assets/outline/right-square.svg +1 -0
- package/www/browser/assets/outline/right.js +7 -0
- package/www/browser/assets/outline/right.svg +1 -0
- package/www/browser/assets/outline/rise.js +7 -0
- package/www/browser/assets/outline/rise.svg +1 -0
- package/www/browser/assets/outline/robot.js +7 -0
- package/www/browser/assets/outline/robot.svg +1 -0
- package/www/browser/assets/outline/rocket.js +7 -0
- package/www/browser/assets/outline/rocket.svg +1 -0
- package/www/browser/assets/outline/rollback.js +7 -0
- package/www/browser/assets/outline/rollback.svg +1 -0
- package/www/browser/assets/outline/rotate-left.js +7 -0
- package/www/browser/assets/outline/rotate-left.svg +1 -0
- package/www/browser/assets/outline/rotate-right.js +7 -0
- package/www/browser/assets/outline/rotate-right.svg +1 -0
- package/www/browser/assets/outline/ruby.js +7 -0
- package/www/browser/assets/outline/ruby.svg +1 -0
- package/www/browser/assets/outline/safety-certificate.js +7 -0
- package/www/browser/assets/outline/safety-certificate.svg +1 -0
- package/www/browser/assets/outline/safety.js +7 -0
- package/www/browser/assets/outline/safety.svg +1 -0
- package/www/browser/assets/outline/save.js +7 -0
- package/www/browser/assets/outline/save.svg +1 -0
- package/www/browser/assets/outline/scan.js +7 -0
- package/www/browser/assets/outline/scan.svg +1 -0
- package/www/browser/assets/outline/schedule.js +7 -0
- package/www/browser/assets/outline/schedule.svg +1 -0
- package/www/browser/assets/outline/scissor.js +7 -0
- package/www/browser/assets/outline/scissor.svg +1 -0
- package/www/browser/assets/outline/search.js +7 -0
- package/www/browser/assets/outline/search.svg +1 -0
- package/www/browser/assets/outline/security-scan.js +7 -0
- package/www/browser/assets/outline/security-scan.svg +1 -0
- package/www/browser/assets/outline/select.js +7 -0
- package/www/browser/assets/outline/select.svg +1 -0
- package/www/browser/assets/outline/send.js +7 -0
- package/www/browser/assets/outline/send.svg +1 -0
- package/www/browser/assets/outline/setting.js +7 -0
- package/www/browser/assets/outline/setting.svg +1 -0
- package/www/browser/assets/outline/shake.js +7 -0
- package/www/browser/assets/outline/shake.svg +1 -0
- package/www/browser/assets/outline/share-alt.js +7 -0
- package/www/browser/assets/outline/share-alt.svg +1 -0
- package/www/browser/assets/outline/shop.js +7 -0
- package/www/browser/assets/outline/shop.svg +1 -0
- package/www/browser/assets/outline/shopping-cart.js +7 -0
- package/www/browser/assets/outline/shopping-cart.svg +1 -0
- package/www/browser/assets/outline/shopping.js +7 -0
- package/www/browser/assets/outline/shopping.svg +1 -0
- package/www/browser/assets/outline/shrink.js +7 -0
- package/www/browser/assets/outline/shrink.svg +1 -0
- package/www/browser/assets/outline/signature.js +7 -0
- package/www/browser/assets/outline/signature.svg +1 -0
- package/www/browser/assets/outline/sisternode.js +7 -0
- package/www/browser/assets/outline/sisternode.svg +1 -0
- package/www/browser/assets/outline/sketch.js +7 -0
- package/www/browser/assets/outline/sketch.svg +1 -0
- package/www/browser/assets/outline/skin.js +7 -0
- package/www/browser/assets/outline/skin.svg +1 -0
- package/www/browser/assets/outline/skype.js +7 -0
- package/www/browser/assets/outline/skype.svg +1 -0
- package/www/browser/assets/outline/slack-square.js +7 -0
- package/www/browser/assets/outline/slack-square.svg +1 -0
- package/www/browser/assets/outline/slack.js +7 -0
- package/www/browser/assets/outline/slack.svg +1 -0
- package/www/browser/assets/outline/sliders.js +7 -0
- package/www/browser/assets/outline/sliders.svg +1 -0
- package/www/browser/assets/outline/small-dash.js +7 -0
- package/www/browser/assets/outline/small-dash.svg +1 -0
- package/www/browser/assets/outline/smile.js +7 -0
- package/www/browser/assets/outline/smile.svg +1 -0
- package/www/browser/assets/outline/snippets.js +7 -0
- package/www/browser/assets/outline/snippets.svg +1 -0
- package/www/browser/assets/outline/solution.js +7 -0
- package/www/browser/assets/outline/solution.svg +1 -0
- package/www/browser/assets/outline/sort-ascending.js +7 -0
- package/www/browser/assets/outline/sort-ascending.svg +1 -0
- package/www/browser/assets/outline/sort-descending.js +7 -0
- package/www/browser/assets/outline/sort-descending.svg +1 -0
- package/www/browser/assets/outline/sound.js +7 -0
- package/www/browser/assets/outline/sound.svg +1 -0
- package/www/browser/assets/outline/split-cells.js +7 -0
- package/www/browser/assets/outline/split-cells.svg +1 -0
- package/www/browser/assets/outline/spotify.js +7 -0
- package/www/browser/assets/outline/spotify.svg +1 -0
- package/www/browser/assets/outline/star.js +7 -0
- package/www/browser/assets/outline/star.svg +1 -0
- package/www/browser/assets/outline/step-backward.js +7 -0
- package/www/browser/assets/outline/step-backward.svg +1 -0
- package/www/browser/assets/outline/step-forward.js +7 -0
- package/www/browser/assets/outline/step-forward.svg +1 -0
- package/www/browser/assets/outline/stock.js +7 -0
- package/www/browser/assets/outline/stock.svg +1 -0
- package/www/browser/assets/outline/stop.js +7 -0
- package/www/browser/assets/outline/stop.svg +1 -0
- package/www/browser/assets/outline/strikethrough.js +7 -0
- package/www/browser/assets/outline/strikethrough.svg +1 -0
- package/www/browser/assets/outline/subnode.js +7 -0
- package/www/browser/assets/outline/subnode.svg +1 -0
- package/www/browser/assets/outline/sun.js +7 -0
- package/www/browser/assets/outline/sun.svg +1 -0
- package/www/browser/assets/outline/swap-left.js +7 -0
- package/www/browser/assets/outline/swap-left.svg +1 -0
- package/www/browser/assets/outline/swap-right.js +7 -0
- package/www/browser/assets/outline/swap-right.svg +1 -0
- package/www/browser/assets/outline/swap.js +7 -0
- package/www/browser/assets/outline/swap.svg +1 -0
- package/www/browser/assets/outline/switcher.js +7 -0
- package/www/browser/assets/outline/switcher.svg +1 -0
- package/www/browser/assets/outline/sync.js +7 -0
- package/www/browser/assets/outline/sync.svg +1 -0
- package/www/browser/assets/outline/table.js +7 -0
- package/www/browser/assets/outline/table.svg +1 -0
- package/www/browser/assets/outline/tablet.js +7 -0
- package/www/browser/assets/outline/tablet.svg +1 -0
- package/www/browser/assets/outline/tag.js +7 -0
- package/www/browser/assets/outline/tag.svg +1 -0
- package/www/browser/assets/outline/tags.js +7 -0
- package/www/browser/assets/outline/tags.svg +1 -0
- package/www/browser/assets/outline/taobao-circle.js +7 -0
- package/www/browser/assets/outline/taobao-circle.svg +1 -0
- package/www/browser/assets/outline/taobao.js +7 -0
- package/www/browser/assets/outline/taobao.svg +1 -0
- package/www/browser/assets/outline/team.js +7 -0
- package/www/browser/assets/outline/team.svg +1 -0
- package/www/browser/assets/outline/thunderbolt.js +7 -0
- package/www/browser/assets/outline/thunderbolt.svg +1 -0
- package/www/browser/assets/outline/tik-tok.js +7 -0
- package/www/browser/assets/outline/tik-tok.svg +1 -0
- package/www/browser/assets/outline/to-top.js +7 -0
- package/www/browser/assets/outline/to-top.svg +1 -0
- package/www/browser/assets/outline/tool.js +7 -0
- package/www/browser/assets/outline/tool.svg +1 -0
- package/www/browser/assets/outline/trademark-circle.js +7 -0
- package/www/browser/assets/outline/trademark-circle.svg +1 -0
- package/www/browser/assets/outline/trademark.js +7 -0
- package/www/browser/assets/outline/trademark.svg +1 -0
- package/www/browser/assets/outline/transaction.js +7 -0
- package/www/browser/assets/outline/transaction.svg +1 -0
- package/www/browser/assets/outline/translation.js +7 -0
- package/www/browser/assets/outline/translation.svg +1 -0
- package/www/browser/assets/outline/trophy.js +7 -0
- package/www/browser/assets/outline/trophy.svg +1 -0
- package/www/browser/assets/outline/truck.js +7 -0
- package/www/browser/assets/outline/truck.svg +1 -0
- package/www/browser/assets/outline/twitch.js +7 -0
- package/www/browser/assets/outline/twitch.svg +1 -0
- package/www/browser/assets/outline/twitter.js +7 -0
- package/www/browser/assets/outline/twitter.svg +1 -0
- package/www/browser/assets/outline/underline.js +7 -0
- package/www/browser/assets/outline/underline.svg +1 -0
- package/www/browser/assets/outline/undo.js +7 -0
- package/www/browser/assets/outline/undo.svg +1 -0
- package/www/browser/assets/outline/ungroup.js +7 -0
- package/www/browser/assets/outline/ungroup.svg +1 -0
- package/www/browser/assets/outline/unlock.js +7 -0
- package/www/browser/assets/outline/unlock.svg +1 -0
- package/www/browser/assets/outline/unordered-list.js +7 -0
- package/www/browser/assets/outline/unordered-list.svg +1 -0
- package/www/browser/assets/outline/up-circle.js +7 -0
- package/www/browser/assets/outline/up-circle.svg +1 -0
- package/www/browser/assets/outline/up-square.js +7 -0
- package/www/browser/assets/outline/up-square.svg +1 -0
- package/www/browser/assets/outline/up.js +7 -0
- package/www/browser/assets/outline/up.svg +1 -0
- package/www/browser/assets/outline/upload.js +7 -0
- package/www/browser/assets/outline/upload.svg +1 -0
- package/www/browser/assets/outline/usb.js +7 -0
- package/www/browser/assets/outline/usb.svg +1 -0
- package/www/browser/assets/outline/user-add.js +7 -0
- package/www/browser/assets/outline/user-add.svg +1 -0
- package/www/browser/assets/outline/user-delete.js +7 -0
- package/www/browser/assets/outline/user-delete.svg +1 -0
- package/www/browser/assets/outline/user-switch.js +7 -0
- package/www/browser/assets/outline/user-switch.svg +1 -0
- package/www/browser/assets/outline/user.js +7 -0
- package/www/browser/assets/outline/user.svg +1 -0
- package/www/browser/assets/outline/usergroup-add.js +7 -0
- package/www/browser/assets/outline/usergroup-add.svg +1 -0
- package/www/browser/assets/outline/usergroup-delete.js +7 -0
- package/www/browser/assets/outline/usergroup-delete.svg +1 -0
- package/www/browser/assets/outline/verified.js +7 -0
- package/www/browser/assets/outline/verified.svg +1 -0
- package/www/browser/assets/outline/vertical-align-bottom.js +7 -0
- package/www/browser/assets/outline/vertical-align-bottom.svg +1 -0
- package/www/browser/assets/outline/vertical-align-middle.js +7 -0
- package/www/browser/assets/outline/vertical-align-middle.svg +1 -0
- package/www/browser/assets/outline/vertical-align-top.js +7 -0
- package/www/browser/assets/outline/vertical-align-top.svg +1 -0
- package/www/browser/assets/outline/vertical-left.js +7 -0
- package/www/browser/assets/outline/vertical-left.svg +1 -0
- package/www/browser/assets/outline/vertical-right.js +7 -0
- package/www/browser/assets/outline/vertical-right.svg +1 -0
- package/www/browser/assets/outline/video-camera-add.js +7 -0
- package/www/browser/assets/outline/video-camera-add.svg +1 -0
- package/www/browser/assets/outline/video-camera.js +7 -0
- package/www/browser/assets/outline/video-camera.svg +1 -0
- package/www/browser/assets/outline/wallet.js +7 -0
- package/www/browser/assets/outline/wallet.svg +1 -0
- package/www/browser/assets/outline/warning.js +7 -0
- package/www/browser/assets/outline/warning.svg +1 -0
- package/www/browser/assets/outline/wechat-work.js +7 -0
- package/www/browser/assets/outline/wechat-work.svg +1 -0
- package/www/browser/assets/outline/wechat.js +7 -0
- package/www/browser/assets/outline/wechat.svg +1 -0
- package/www/browser/assets/outline/weibo-circle.js +7 -0
- package/www/browser/assets/outline/weibo-circle.svg +1 -0
- package/www/browser/assets/outline/weibo-square.js +7 -0
- package/www/browser/assets/outline/weibo-square.svg +1 -0
- package/www/browser/assets/outline/weibo.js +7 -0
- package/www/browser/assets/outline/weibo.svg +1 -0
- package/www/browser/assets/outline/whats-app.js +7 -0
- package/www/browser/assets/outline/whats-app.svg +1 -0
- package/www/browser/assets/outline/wifi.js +7 -0
- package/www/browser/assets/outline/wifi.svg +1 -0
- package/www/browser/assets/outline/windows.js +7 -0
- package/www/browser/assets/outline/windows.svg +1 -0
- package/www/browser/assets/outline/woman.js +7 -0
- package/www/browser/assets/outline/woman.svg +1 -0
- package/www/browser/assets/outline/x.js +7 -0
- package/www/browser/assets/outline/x.svg +1 -0
- package/www/browser/assets/outline/yahoo.js +7 -0
- package/www/browser/assets/outline/yahoo.svg +1 -0
- package/www/browser/assets/outline/youtube.js +7 -0
- package/www/browser/assets/outline/youtube.svg +1 -0
- package/www/browser/assets/outline/yuque.js +7 -0
- package/www/browser/assets/outline/yuque.svg +1 -0
- package/www/browser/assets/outline/zhihu.js +7 -0
- package/www/browser/assets/outline/zhihu.svg +1 -0
- package/www/browser/assets/outline/zoom-in.js +7 -0
- package/www/browser/assets/outline/zoom-in.svg +1 -0
- package/www/browser/assets/outline/zoom-out.js +7 -0
- package/www/browser/assets/outline/zoom-out.svg +1 -0
- package/www/browser/assets/twotone/.gitkeep +0 -0
- package/www/browser/assets/twotone/account-book.js +7 -0
- package/www/browser/assets/twotone/account-book.svg +1 -0
- package/www/browser/assets/twotone/alert.js +7 -0
- package/www/browser/assets/twotone/alert.svg +1 -0
- package/www/browser/assets/twotone/api.js +7 -0
- package/www/browser/assets/twotone/api.svg +1 -0
- package/www/browser/assets/twotone/appstore.js +7 -0
- package/www/browser/assets/twotone/appstore.svg +1 -0
- package/www/browser/assets/twotone/audio.js +7 -0
- package/www/browser/assets/twotone/audio.svg +1 -0
- package/www/browser/assets/twotone/bank.js +7 -0
- package/www/browser/assets/twotone/bank.svg +1 -0
- package/www/browser/assets/twotone/bell.js +7 -0
- package/www/browser/assets/twotone/bell.svg +1 -0
- package/www/browser/assets/twotone/book.js +7 -0
- package/www/browser/assets/twotone/book.svg +1 -0
- package/www/browser/assets/twotone/box-plot.js +7 -0
- package/www/browser/assets/twotone/box-plot.svg +1 -0
- package/www/browser/assets/twotone/bug.js +7 -0
- package/www/browser/assets/twotone/bug.svg +1 -0
- package/www/browser/assets/twotone/build.js +7 -0
- package/www/browser/assets/twotone/build.svg +1 -0
- package/www/browser/assets/twotone/bulb.js +7 -0
- package/www/browser/assets/twotone/bulb.svg +1 -0
- package/www/browser/assets/twotone/calculator.js +7 -0
- package/www/browser/assets/twotone/calculator.svg +1 -0
- package/www/browser/assets/twotone/calendar.js +7 -0
- package/www/browser/assets/twotone/calendar.svg +1 -0
- package/www/browser/assets/twotone/camera.js +7 -0
- package/www/browser/assets/twotone/camera.svg +1 -0
- package/www/browser/assets/twotone/car.js +7 -0
- package/www/browser/assets/twotone/car.svg +1 -0
- package/www/browser/assets/twotone/carry-out.js +7 -0
- package/www/browser/assets/twotone/carry-out.svg +1 -0
- package/www/browser/assets/twotone/check-circle.js +7 -0
- package/www/browser/assets/twotone/check-circle.svg +1 -0
- package/www/browser/assets/twotone/check-square.js +7 -0
- package/www/browser/assets/twotone/check-square.svg +1 -0
- package/www/browser/assets/twotone/ci-circle.js +7 -0
- package/www/browser/assets/twotone/ci-circle.svg +1 -0
- package/www/browser/assets/twotone/ci.js +7 -0
- package/www/browser/assets/twotone/ci.svg +1 -0
- package/www/browser/assets/twotone/clock-circle.js +7 -0
- package/www/browser/assets/twotone/clock-circle.svg +1 -0
- package/www/browser/assets/twotone/close-circle.js +7 -0
- package/www/browser/assets/twotone/close-circle.svg +1 -0
- package/www/browser/assets/twotone/close-square.js +7 -0
- package/www/browser/assets/twotone/close-square.svg +1 -0
- package/www/browser/assets/twotone/cloud.js +7 -0
- package/www/browser/assets/twotone/cloud.svg +1 -0
- package/www/browser/assets/twotone/code.js +7 -0
- package/www/browser/assets/twotone/code.svg +1 -0
- package/www/browser/assets/twotone/compass.js +7 -0
- package/www/browser/assets/twotone/compass.svg +1 -0
- package/www/browser/assets/twotone/contacts.js +7 -0
- package/www/browser/assets/twotone/contacts.svg +1 -0
- package/www/browser/assets/twotone/container.js +7 -0
- package/www/browser/assets/twotone/container.svg +1 -0
- package/www/browser/assets/twotone/control.js +7 -0
- package/www/browser/assets/twotone/control.svg +1 -0
- package/www/browser/assets/twotone/copy.js +7 -0
- package/www/browser/assets/twotone/copy.svg +1 -0
- package/www/browser/assets/twotone/copyright-circle.js +7 -0
- package/www/browser/assets/twotone/copyright-circle.svg +1 -0
- package/www/browser/assets/twotone/copyright.js +7 -0
- package/www/browser/assets/twotone/copyright.svg +1 -0
- package/www/browser/assets/twotone/credit-card.js +7 -0
- package/www/browser/assets/twotone/credit-card.svg +1 -0
- package/www/browser/assets/twotone/crown.js +7 -0
- package/www/browser/assets/twotone/crown.svg +1 -0
- package/www/browser/assets/twotone/customer-service.js +7 -0
- package/www/browser/assets/twotone/customer-service.svg +1 -0
- package/www/browser/assets/twotone/dashboard.js +7 -0
- package/www/browser/assets/twotone/dashboard.svg +1 -0
- package/www/browser/assets/twotone/database.js +7 -0
- package/www/browser/assets/twotone/database.svg +1 -0
- package/www/browser/assets/twotone/delete.js +7 -0
- package/www/browser/assets/twotone/delete.svg +1 -0
- package/www/browser/assets/twotone/diff.js +7 -0
- package/www/browser/assets/twotone/diff.svg +1 -0
- package/www/browser/assets/twotone/dislike.js +7 -0
- package/www/browser/assets/twotone/dislike.svg +1 -0
- package/www/browser/assets/twotone/dollar-circle.js +7 -0
- package/www/browser/assets/twotone/dollar-circle.svg +1 -0
- package/www/browser/assets/twotone/dollar.js +7 -0
- package/www/browser/assets/twotone/dollar.svg +1 -0
- package/www/browser/assets/twotone/down-circle.js +7 -0
- package/www/browser/assets/twotone/down-circle.svg +1 -0
- package/www/browser/assets/twotone/down-square.js +7 -0
- package/www/browser/assets/twotone/down-square.svg +1 -0
- package/www/browser/assets/twotone/edit.js +7 -0
- package/www/browser/assets/twotone/edit.svg +1 -0
- package/www/browser/assets/twotone/environment.js +7 -0
- package/www/browser/assets/twotone/environment.svg +1 -0
- package/www/browser/assets/twotone/euro-circle.js +7 -0
- package/www/browser/assets/twotone/euro-circle.svg +1 -0
- package/www/browser/assets/twotone/euro.js +7 -0
- package/www/browser/assets/twotone/euro.svg +1 -0
- package/www/browser/assets/twotone/exclamation-circle.js +7 -0
- package/www/browser/assets/twotone/exclamation-circle.svg +1 -0
- package/www/browser/assets/twotone/experiment.js +7 -0
- package/www/browser/assets/twotone/experiment.svg +1 -0
- package/www/browser/assets/twotone/eye-invisible.js +7 -0
- package/www/browser/assets/twotone/eye-invisible.svg +1 -0
- package/www/browser/assets/twotone/eye.js +7 -0
- package/www/browser/assets/twotone/eye.svg +1 -0
- package/www/browser/assets/twotone/file-add.js +7 -0
- package/www/browser/assets/twotone/file-add.svg +1 -0
- package/www/browser/assets/twotone/file-excel.js +7 -0
- package/www/browser/assets/twotone/file-excel.svg +1 -0
- package/www/browser/assets/twotone/file-exclamation.js +7 -0
- package/www/browser/assets/twotone/file-exclamation.svg +1 -0
- package/www/browser/assets/twotone/file-image.js +7 -0
- package/www/browser/assets/twotone/file-image.svg +1 -0
- package/www/browser/assets/twotone/file-markdown.js +7 -0
- package/www/browser/assets/twotone/file-markdown.svg +1 -0
- package/www/browser/assets/twotone/file-pdf.js +7 -0
- package/www/browser/assets/twotone/file-pdf.svg +1 -0
- package/www/browser/assets/twotone/file-ppt.js +7 -0
- package/www/browser/assets/twotone/file-ppt.svg +1 -0
- package/www/browser/assets/twotone/file-text.js +7 -0
- package/www/browser/assets/twotone/file-text.svg +1 -0
- package/www/browser/assets/twotone/file-unknown.js +7 -0
- package/www/browser/assets/twotone/file-unknown.svg +1 -0
- package/www/browser/assets/twotone/file-word.js +7 -0
- package/www/browser/assets/twotone/file-word.svg +1 -0
- package/www/browser/assets/twotone/file-zip.js +7 -0
- package/www/browser/assets/twotone/file-zip.svg +1 -0
- package/www/browser/assets/twotone/file.js +7 -0
- package/www/browser/assets/twotone/file.svg +1 -0
- package/www/browser/assets/twotone/filter.js +7 -0
- package/www/browser/assets/twotone/filter.svg +1 -0
- package/www/browser/assets/twotone/fire.js +7 -0
- package/www/browser/assets/twotone/fire.svg +1 -0
- package/www/browser/assets/twotone/flag.js +7 -0
- package/www/browser/assets/twotone/flag.svg +1 -0
- package/www/browser/assets/twotone/folder-add.js +7 -0
- package/www/browser/assets/twotone/folder-add.svg +1 -0
- package/www/browser/assets/twotone/folder-open.js +7 -0
- package/www/browser/assets/twotone/folder-open.svg +1 -0
- package/www/browser/assets/twotone/folder.js +7 -0
- package/www/browser/assets/twotone/folder.svg +1 -0
- package/www/browser/assets/twotone/frown.js +7 -0
- package/www/browser/assets/twotone/frown.svg +1 -0
- package/www/browser/assets/twotone/fund.js +7 -0
- package/www/browser/assets/twotone/fund.svg +1 -0
- package/www/browser/assets/twotone/funnel-plot.js +7 -0
- package/www/browser/assets/twotone/funnel-plot.svg +1 -0
- package/www/browser/assets/twotone/gift.js +7 -0
- package/www/browser/assets/twotone/gift.svg +1 -0
- package/www/browser/assets/twotone/gold.js +7 -0
- package/www/browser/assets/twotone/gold.svg +1 -0
- package/www/browser/assets/twotone/hdd.js +7 -0
- package/www/browser/assets/twotone/hdd.svg +1 -0
- package/www/browser/assets/twotone/heart.js +7 -0
- package/www/browser/assets/twotone/heart.svg +1 -0
- package/www/browser/assets/twotone/highlight.js +7 -0
- package/www/browser/assets/twotone/highlight.svg +1 -0
- package/www/browser/assets/twotone/home.js +7 -0
- package/www/browser/assets/twotone/home.svg +1 -0
- package/www/browser/assets/twotone/hourglass.js +7 -0
- package/www/browser/assets/twotone/hourglass.svg +1 -0
- package/www/browser/assets/twotone/html5.js +7 -0
- package/www/browser/assets/twotone/html5.svg +1 -0
- package/www/browser/assets/twotone/idcard.js +7 -0
- package/www/browser/assets/twotone/idcard.svg +1 -0
- package/www/browser/assets/twotone/info-circle.js +7 -0
- package/www/browser/assets/twotone/info-circle.svg +1 -0
- package/www/browser/assets/twotone/insurance.js +7 -0
- package/www/browser/assets/twotone/insurance.svg +1 -0
- package/www/browser/assets/twotone/interaction.js +7 -0
- package/www/browser/assets/twotone/interaction.svg +1 -0
- package/www/browser/assets/twotone/layout.js +7 -0
- package/www/browser/assets/twotone/layout.svg +1 -0
- package/www/browser/assets/twotone/left-circle.js +7 -0
- package/www/browser/assets/twotone/left-circle.svg +1 -0
- package/www/browser/assets/twotone/left-square.js +7 -0
- package/www/browser/assets/twotone/left-square.svg +1 -0
- package/www/browser/assets/twotone/like.js +7 -0
- package/www/browser/assets/twotone/like.svg +1 -0
- package/www/browser/assets/twotone/lock.js +7 -0
- package/www/browser/assets/twotone/lock.svg +1 -0
- package/www/browser/assets/twotone/mail.js +7 -0
- package/www/browser/assets/twotone/mail.svg +1 -0
- package/www/browser/assets/twotone/medicine-box.js +7 -0
- package/www/browser/assets/twotone/medicine-box.svg +1 -0
- package/www/browser/assets/twotone/meh.js +7 -0
- package/www/browser/assets/twotone/meh.svg +1 -0
- package/www/browser/assets/twotone/message.js +7 -0
- package/www/browser/assets/twotone/message.svg +1 -0
- package/www/browser/assets/twotone/minus-circle.js +7 -0
- package/www/browser/assets/twotone/minus-circle.svg +1 -0
- package/www/browser/assets/twotone/minus-square.js +7 -0
- package/www/browser/assets/twotone/minus-square.svg +1 -0
- package/www/browser/assets/twotone/mobile.js +7 -0
- package/www/browser/assets/twotone/mobile.svg +1 -0
- package/www/browser/assets/twotone/money-collect.js +7 -0
- package/www/browser/assets/twotone/money-collect.svg +1 -0
- package/www/browser/assets/twotone/notification.js +7 -0
- package/www/browser/assets/twotone/notification.svg +1 -0
- package/www/browser/assets/twotone/pause-circle.js +7 -0
- package/www/browser/assets/twotone/pause-circle.svg +1 -0
- package/www/browser/assets/twotone/phone.js +7 -0
- package/www/browser/assets/twotone/phone.svg +1 -0
- package/www/browser/assets/twotone/picture.js +7 -0
- package/www/browser/assets/twotone/picture.svg +1 -0
- package/www/browser/assets/twotone/pie-chart.js +7 -0
- package/www/browser/assets/twotone/pie-chart.svg +1 -0
- package/www/browser/assets/twotone/play-circle.js +7 -0
- package/www/browser/assets/twotone/play-circle.svg +1 -0
- package/www/browser/assets/twotone/play-square.js +7 -0
- package/www/browser/assets/twotone/play-square.svg +1 -0
- package/www/browser/assets/twotone/plus-circle.js +7 -0
- package/www/browser/assets/twotone/plus-circle.svg +1 -0
- package/www/browser/assets/twotone/plus-square.js +7 -0
- package/www/browser/assets/twotone/plus-square.svg +1 -0
- package/www/browser/assets/twotone/pound-circle.js +7 -0
- package/www/browser/assets/twotone/pound-circle.svg +1 -0
- package/www/browser/assets/twotone/printer.js +7 -0
- package/www/browser/assets/twotone/printer.svg +1 -0
- package/www/browser/assets/twotone/profile.js +7 -0
- package/www/browser/assets/twotone/profile.svg +1 -0
- package/www/browser/assets/twotone/project.js +7 -0
- package/www/browser/assets/twotone/project.svg +1 -0
- package/www/browser/assets/twotone/property-safety.js +7 -0
- package/www/browser/assets/twotone/property-safety.svg +1 -0
- package/www/browser/assets/twotone/pushpin.js +7 -0
- package/www/browser/assets/twotone/pushpin.svg +1 -0
- package/www/browser/assets/twotone/question-circle.js +7 -0
- package/www/browser/assets/twotone/question-circle.svg +1 -0
- package/www/browser/assets/twotone/reconciliation.js +7 -0
- package/www/browser/assets/twotone/reconciliation.svg +1 -0
- package/www/browser/assets/twotone/red-envelope.js +7 -0
- package/www/browser/assets/twotone/red-envelope.svg +1 -0
- package/www/browser/assets/twotone/rest.js +7 -0
- package/www/browser/assets/twotone/rest.svg +1 -0
- package/www/browser/assets/twotone/right-circle.js +7 -0
- package/www/browser/assets/twotone/right-circle.svg +1 -0
- package/www/browser/assets/twotone/right-square.js +7 -0
- package/www/browser/assets/twotone/right-square.svg +1 -0
- package/www/browser/assets/twotone/rocket.js +7 -0
- package/www/browser/assets/twotone/rocket.svg +1 -0
- package/www/browser/assets/twotone/safety-certificate.js +7 -0
- package/www/browser/assets/twotone/safety-certificate.svg +1 -0
- package/www/browser/assets/twotone/save.js +7 -0
- package/www/browser/assets/twotone/save.svg +1 -0
- package/www/browser/assets/twotone/schedule.js +7 -0
- package/www/browser/assets/twotone/schedule.svg +1 -0
- package/www/browser/assets/twotone/security-scan.js +7 -0
- package/www/browser/assets/twotone/security-scan.svg +1 -0
- package/www/browser/assets/twotone/setting.js +7 -0
- package/www/browser/assets/twotone/setting.svg +1 -0
- package/www/browser/assets/twotone/shop.js +7 -0
- package/www/browser/assets/twotone/shop.svg +1 -0
- package/www/browser/assets/twotone/shopping.js +7 -0
- package/www/browser/assets/twotone/shopping.svg +1 -0
- package/www/browser/assets/twotone/skin.js +7 -0
- package/www/browser/assets/twotone/skin.svg +1 -0
- package/www/browser/assets/twotone/sliders.js +7 -0
- package/www/browser/assets/twotone/sliders.svg +1 -0
- package/www/browser/assets/twotone/smile.js +7 -0
- package/www/browser/assets/twotone/smile.svg +1 -0
- package/www/browser/assets/twotone/snippets.js +7 -0
- package/www/browser/assets/twotone/snippets.svg +1 -0
- package/www/browser/assets/twotone/sound.js +7 -0
- package/www/browser/assets/twotone/sound.svg +1 -0
- package/www/browser/assets/twotone/star.js +7 -0
- package/www/browser/assets/twotone/star.svg +1 -0
- package/www/browser/assets/twotone/stop.js +7 -0
- package/www/browser/assets/twotone/stop.svg +1 -0
- package/www/browser/assets/twotone/switcher.js +7 -0
- package/www/browser/assets/twotone/switcher.svg +1 -0
- package/www/browser/assets/twotone/tablet.js +7 -0
- package/www/browser/assets/twotone/tablet.svg +1 -0
- package/www/browser/assets/twotone/tag.js +7 -0
- package/www/browser/assets/twotone/tag.svg +1 -0
- package/www/browser/assets/twotone/tags.js +7 -0
- package/www/browser/assets/twotone/tags.svg +1 -0
- package/www/browser/assets/twotone/thunderbolt.js +7 -0
- package/www/browser/assets/twotone/thunderbolt.svg +1 -0
- package/www/browser/assets/twotone/tool.js +7 -0
- package/www/browser/assets/twotone/tool.svg +1 -0
- package/www/browser/assets/twotone/trademark-circle.js +7 -0
- package/www/browser/assets/twotone/trademark-circle.svg +1 -0
- package/www/browser/assets/twotone/trophy.js +7 -0
- package/www/browser/assets/twotone/trophy.svg +1 -0
- package/www/browser/assets/twotone/unlock.js +7 -0
- package/www/browser/assets/twotone/unlock.svg +1 -0
- package/www/browser/assets/twotone/up-circle.js +7 -0
- package/www/browser/assets/twotone/up-circle.svg +1 -0
- package/www/browser/assets/twotone/up-square.js +7 -0
- package/www/browser/assets/twotone/up-square.svg +1 -0
- package/www/browser/assets/twotone/usb.js +7 -0
- package/www/browser/assets/twotone/usb.svg +1 -0
- package/www/browser/assets/twotone/video-camera.js +7 -0
- package/www/browser/assets/twotone/video-camera.svg +1 -0
- package/www/browser/assets/twotone/wallet.js +7 -0
- package/www/browser/assets/twotone/wallet.svg +1 -0
- package/www/browser/assets/twotone/warning.js +7 -0
- package/www/browser/assets/twotone/warning.svg +1 -0
- package/www/browser/chunk-2FQR5HIO.js +1 -0
- package/www/browser/chunk-34QRY4VA.js +37 -0
- package/www/browser/chunk-53YRDYLS.js +2 -0
- package/www/browser/chunk-5RKAWOOJ.js +1 -0
- package/www/browser/chunk-6ZXMOHQD.js +1 -0
- package/www/browser/chunk-A6CKMRBS.js +5 -0
- package/www/browser/chunk-ACZLOZZH.js +1 -0
- package/www/browser/chunk-AXHE7U6R.js +30 -0
- package/www/browser/chunk-CF64VPDQ.js +2 -0
- package/www/browser/chunk-CKWTUTVS.js +1 -0
- package/www/browser/chunk-ECWYTW7Q.js +1 -0
- package/www/browser/chunk-GKOCPXFS.js +1 -0
- package/www/browser/chunk-GNFBCMLE.js +1 -0
- package/www/browser/chunk-GPC7ORL6.js +1 -0
- package/www/browser/chunk-HEKO7RQP.js +1 -0
- package/www/browser/chunk-HFZLJHYR.js +1 -0
- package/www/browser/chunk-HRCUESUB.js +3 -0
- package/www/browser/chunk-HT3VTKOZ.js +1 -0
- package/www/browser/chunk-J43J3F2V.js +12 -0
- package/www/browser/chunk-K6ZRTM2Q.js +1 -0
- package/www/browser/chunk-R3EVU32P.js +1 -0
- package/www/browser/chunk-SIVPP74B.js +0 -0
- package/www/browser/chunk-SJG2JCPL.js +4 -0
- package/www/browser/chunk-SNCDDYQR.js +1 -0
- package/www/browser/chunk-TN5O5PXP.js +1 -0
- package/www/browser/chunk-UIDFNBD4.js +1 -0
- package/www/browser/chunk-V27A2EK4.js +1 -0
- package/www/browser/chunk-W5WM3N5B.js +1 -0
- package/www/browser/chunk-X7DKZB43.js +4 -0
- package/www/browser/chunk-ZJKBRM7K.js +1 -0
- package/www/browser/dark.css +1 -0
- package/www/browser/default.css +1 -0
- package/www/browser/devtools.png +0 -0
- package/www/browser/favicon.ico +0 -0
- package/www/browser/index.html +13 -0
- package/www/browser/main-NNEOFDOE.js +29 -0
- package/www/browser/styles-ROAHD7MY.css +1 -0
- package/www/prerendered-routes.json +3 -0
- package/src/app.ts +0 -76
- package/src/common/api.ts +0 -12
- package/src/common/editor.ts +0 -49
- package/src/env.ts +0 -12
- package/src/index.ts +0 -21
- package/src/plugins/core.plugin.ts +0 -34
- package/src/plugins/error-handler.plugin.ts +0 -168
- package/src/plugins/request-id.plugin.ts +0 -14
- package/src/plugins/routes.plugin.ts +0 -24
- package/src/plugins/static.plugin.ts +0 -30
- package/src/plugins/success-handle.plugin.ts +0 -33
- package/src/plugins/ws/topics/index.ts +0 -1
- package/src/plugins/ws/topics/syslog.ws.ts +0 -36
- package/src/plugins/ws/topics/task.ws.ts +0 -96
- package/src/plugins/ws/ws.context.ts +0 -32
- package/src/plugins/ws/ws.plugin.ts +0 -103
- package/src/plugins/ws/ws.router.ts +0 -79
- package/src/routes/config.routes.ts +0 -86
- package/src/routes/dashboard.routes.ts +0 -43
- package/src/routes/deps.route.ts +0 -51
- package/src/routes/fs.routes.ts +0 -31
- package/src/routes/index.ts +0 -19
- package/src/routes/project.routes.ts +0 -265
- package/src/routes/rss.routes.ts +0 -58
- package/src/routes/system.routes.ts +0 -32
- package/src/routes/task.routes.ts +0 -85
- package/tsconfig.json +0 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as xt}from"./chunk-A6CKMRBS.js";import{Da as Le,Ea as Pe,F as It,Fa as Lt,G as _e,H as oe,I as wt,K as Vt,Ka as Pt,M as ce,N as pe,O as $,Oa as Se,P as q,Pa as Re,Q as bt,R as Nt,Ra as Rt,S as Mt,Ta as Bt,Ua as Be,Wa as He,Xa as We,aa as Ae,cb as Ht,db as Wt,eb as $t,f as De,fb as Qt,hb as Gt,ib as jt,j as Fe,ja as kt,kb as qt,ma as ge,na as Et,ob as Zt,pa as Dt,sa as Ft,sb as Ut,ta as At,v as vt,w as ie,x as Tt,z as N}from"./chunk-J43J3F2V.js";import{d as re,k as yt}from"./chunk-53YRDYLS.js";import{$b as ft,Aa as we,Ab as pt,B as Ye,C as Je,Ca as Z,Dc as ke,Eb as w,Ec as ze,Fb as fe,Fc as G,Gc as ht,Ha as ot,Ic as L,Jb as mt,Jc as U,Kb as x,Kc as ne,L as Te,Lb as dt,Lc as Ct,Na as lt,Oa as B,Ra as j,Tb as he,U as Xe,Uc as Ee,Vb as h,Wa as at,Wc as zt,Xb as C,_b as ut,a as Ue,ac as u,ad as _t,bc as z,ca as de,cc as _,da as et,dc as y,ec as ae,f as ye,fc as Ce,fd as gt,gc as te,hc as F,ia as tt,ic as A,jb as st,kb as rt,kc as W,kd as St,l as ve,la as nt,m as xe,mb as d,na as ue,pa as it,qc as M,r as X,ra as f,rb as V,rd as se,s as R,sb as le,tc as c,u as Ke,ub as ct,uc as be,vb as ee,vc as Ne,vd as T,wc as Me,wd as Ot,xa as S,xb as Ve,xc as H,ya as O,yc as k,za as Ie,zc as E}from"./chunk-SJG2JCPL.js";function mn(t,r){if(t&1&&(F(0),y(1,"img",4),A()),t&2){let e=c(2);d(),u("src",e.nzNotFoundImage,rt)("alt",e.isContentString?e.nzNotFoundContent:"empty")}}function dn(t,r){if(t&1&&x(0,mn,2,2,"ng-container",3),t&2){let e=c();u("nzStringTemplateOutlet",e.nzNotFoundImage)}}function un(t,r){t&1&&y(0,"nz-empty-simple")}function fn(t,r){t&1&&y(0,"nz-empty-default")}function hn(t,r){if(t&1&&h(0,un,1,0,"nz-empty-simple")(1,fn,1,0,"nz-empty-default"),t&2){let e=c();C(e.nzNotFoundImage==="simple"?0:1)}}function Cn(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c(2);d(),ne(" ",e.isContentString?e.nzNotFoundContent:e.locale.description," ")}}function zn(t,r){if(t&1&&(z(0,"p",1),x(1,Cn,2,1,"ng-container",3),_()),t&2){let e=c();d(),u("nzStringTemplateOutlet",e.nzNotFoundContent)}}function _n(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c(2);d(),ne(" ",e.nzNotFoundFooter," ")}}function gn(t,r){if(t&1&&(z(0,"div",2),x(1,_n,2,1,"ng-container",3),_()),t&2){let e=c();d(),u("nzStringTemplateOutlet",e.nzNotFoundFooter)}}var Sn=t=>({$implicit:t});function On(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c(3);d(),U(e.content)}}function yn(t,r){if(t&1&&x(0,On,2,1,"ng-container",1),t&2){let e=c(2);u("nzStringTemplateOutlet",e.content)("nzStringTemplateOutletContext",zt(2,Sn,e.nzComponentName))}}function vn(t,r){}function xn(t,r){if(t&1&&x(0,vn,0,0,"ng-template",0),t&2){let e=c(2);u("cdkPortalOutlet",e.contentPortal)}}function Tn(t,r){if(t&1&&h(0,yn,1,4,"ng-container")(1,xn,1,1,null,0),t&2){let e=c();C(e.contentType==="template"||e.contentType==="string"?0:1)}}function In(t,r){t&1&&y(0,"nz-empty",2)}function wn(t,r){t&1&&y(0,"nz-empty",3)}function Vn(t,r){t&1&&y(0,"nz-empty")}function bn(t,r){if(t&1&&h(0,In,1,0,"nz-empty",2)(1,wn,1,0,"nz-empty",3)(2,Vn,1,0,"nz-empty"),t&2){let e,n=c(2);C((e=n.size)==="normal"?0:e==="small"?1:2)}}function Nn(t,r){if(t&1&&h(0,bn,3,1),t&2){let e=c();C(e.specificContent!==null?0:-1)}}var Mn=new it(""),kn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-empty-default"]],exportAs:["nzEmptyDefault"],decls:12,vars:0,consts:[["width","184","height","152","viewBox","0 0 184 152","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-default"],["fill","none","fill-rule","evenodd"],["transform","translate(24 31.67)"],["cx","67.797","cy","106.89","rx","67.797","ry","12.668",1,"ant-empty-img-default-ellipse"],["d","M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",1,"ant-empty-img-default-path-1"],["d","M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z","transform","translate(13.56)",1,"ant-empty-img-default-path-2"],["d","M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",1,"ant-empty-img-default-path-3"],["d","M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",1,"ant-empty-img-default-path-4"],["d","M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",1,"ant-empty-img-default-path-5"],["transform","translate(149.65 15.383)",1,"ant-empty-img-default-g"],["cx","20.654","cy","3.167","rx","2.849","ry","2.815"],["d","M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"]],template:function(n,i){n&1&&(Ie(),ae(0,"svg",0)(1,"g",1)(2,"g",2),te(3,"ellipse",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),Ce(),te(8,"path",8),ae(9,"g",9),te(10,"ellipse",10)(11,"path",11),Ce()()())},encapsulation:2,changeDetection:0})}return t})(),En=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-empty-simple"]],exportAs:["nzEmptySimple"],decls:6,vars:0,consts:[["width","64","height","41","viewBox","0 0 64 41","xmlns","http://www.w3.org/2000/svg",1,"ant-empty-img-simple"],["transform","translate(0 1)","fill","none","fill-rule","evenodd"],["cx","32","cy","33","rx","32","ry","7",1,"ant-empty-img-simple-ellipse"],["fill-rule","nonzero",1,"ant-empty-img-simple-g"],["d","M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"],["d","M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",1,"ant-empty-img-simple-path"]],template:function(n,i){n&1&&(Ie(),ae(0,"svg",0)(1,"g",1),te(2,"ellipse",2),ae(3,"g",3),te(4,"path",4)(5,"path",5),Ce()()())},encapsulation:2,changeDetection:0})}return t})(),Dn=["default","simple"],Kt=(()=>{class t{i18n=f(xt);cdr=f(se);destroyRef=f(Z);nzNotFoundImage="default";nzNotFoundContent;nzNotFoundFooter;isContentString=!1;isImageBuildIn=!0;locale;ngOnChanges(e){let{nzNotFoundContent:n,nzNotFoundImage:i}=e;if(n){let p=n.currentValue;this.isContentString=typeof p=="string"}if(i){let p=i.currentValue||"default";this.isImageBuildIn=Dn.findIndex(v=>v===p)>-1}}ngOnInit(){this.i18n.localeChange.pipe(N(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Empty"),this.cdr.markForCheck()})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-empty"]],hostAttrs:[1,"ant-empty"],inputs:{nzNotFoundImage:"nzNotFoundImage",nzNotFoundContent:"nzNotFoundContent",nzNotFoundFooter:"nzNotFoundFooter"},exportAs:["nzEmpty"],features:[B],decls:5,vars:3,consts:[[1,"ant-empty-image"],[1,"ant-empty-description"],[1,"ant-empty-footer"],[4,"nzStringTemplateOutlet"],[3,"src","alt"]],template:function(n,i){n&1&&(z(0,"div",0),h(1,dn,1,1,"ng-container")(2,hn,2,1),_(),h(3,zn,2,1,"p",1),h(4,gn,2,1,"div",2)),n&2&&(d(),C(i.isImageBuildIn?2:1),d(2),C(i.nzNotFoundContent!==null?3:-1),d(),C(i.nzNotFoundFooter?4:-1))},dependencies:[q,$,kn,En],encapsulation:2,changeDetection:0})}return t})();function Fn(t){switch(t){case"table":case"list":return"normal";case"select":case"tree-select":case"cascader":case"transfer":return"small";default:return""}}var $e=(()=>{class t{configService=f(It);viewContainerRef=f(pt);cdr=f(se);injector=f(we);nzComponentName;specificContent;content;contentType="string";contentPortal;size="";constructor(){_e("empty",()=>{this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()})}ngOnChanges(e){e.nzComponentName&&(this.size=Fn(e.nzComponentName.currentValue)),e.specificContent&&!e.specificContent.isFirstChange()&&(this.content=e.specificContent.currentValue,this.renderEmpty())}ngOnInit(){this.content=this.specificContent||this.getUserDefaultEmptyContent(),this.renderEmpty()}renderEmpty(){let e=this.content;if(typeof e=="string")this.contentType="string";else if(e instanceof ee)this.contentType="template",this.contentPortal=void 0;else if(e instanceof lt){let n=we.create({parent:this.injector,providers:[{provide:Mn,useValue:this.nzComponentName}]});this.contentType="component",this.contentPortal=new Dt(e,this.viewContainerRef,n)}else this.contentType="string",this.contentPortal=void 0;this.cdr.detectChanges()}getUserDefaultEmptyContent(){return(this.configService.getConfigForComponent("empty")||{}).nzDefaultEmptyContent}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-embed-empty"]],inputs:{nzComponentName:"nzComponentName",specificContent:"specificContent"},exportAs:["nzEmbedEmpty"],features:[B],decls:2,vars:1,consts:[[3,"cdkPortalOutlet"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nzNotFoundImage","simple",1,"ant-empty-normal"],["nzNotFoundImage","simple",1,"ant-empty-small"]],template:function(n,i){n&1&&h(0,Tn,2,1)(1,Nn,1,1),n&2&&C(i.content?0:1)},dependencies:[Kt,At,Ft,q,$],encapsulation:2,changeDetection:0})}return t})(),Yt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=fe({type:t});static \u0275inj=ue({imports:[Kt,$e]})}return t})();var Xt=["*"];function Pn(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c();d(),U(e.nzLabel)}}function Rn(t,r){}function Bn(t,r){if(t&1&&x(0,Rn,0,0,"ng-template",1),t&2){let e=c();u("ngTemplateOutlet",e.template)}}function Hn(t,r){if(t&1&&L(0),t&2){let e=c();ne(" ",e.label," ")}}function Wn(t,r){t&1&&y(0,"nz-icon",3)}function $n(t,r){}function Qn(t,r){if(t&1&&x(0,$n,0,0,"ng-template",1),t&2){let e=c(2);u("ngTemplateOutlet",e.icon)}}function Gn(t,r){if(t&1&&(z(0,"div",2),h(1,Wn,1,0,"nz-icon",3)(2,Qn,1,1,null,1),_()),t&2){let e=c();d(),C(e.icon?2:1)}}function jn(t,r){if(t&1&&(z(0,"div",0),y(1,"nz-embed-empty",4),_()),t&2){let e=c();d(),u("specificContent",e.notFoundContent)}}function qn(t,r){if(t&1&&y(0,"nz-option-item-group",5),t&2){let e=c().$implicit;u("nzLabel",e.groupLabel??null)}}function Zn(t,r){if(t&1){let e=W();z(0,"nz-option-item",7),M("itemHover",function(i){S(e);let p=c(2);return O(p.onItemHover(i))})("itemClick",function(i){S(e);let p=c(2);return O(p.onItemClick(i))}),_()}if(t&2){let e=c().$implicit,n=c();u("icon",n.menuItemSelectedIcon)("customContent",e.nzCustomContent)("template",e.template??null)("grouped",!!e.groupLabel)("disabled",e.nzDisabled||n.isMaxMultipleCountReached&&!n.listOfSelectedValue.includes(e.nzValue))("showState",n.mode==="tags"||n.mode==="multiple")("title",e.nzTitle)("label",e.nzLabel)("compareWith",n.compareWith)("activatedValue",n.activatedValue)("listOfSelectedValue",n.listOfSelectedValue)("value",e.nzValue)}}function Un(t,r){if(t&1&&h(0,qn,1,1,"nz-option-item-group",5)(1,Zn,1,12,"nz-option-item",6),t&2){let e,n=r.$implicit;C((e=n.type)==="group"?0:e==="item"?1:-1)}}function Kn(t,r){}function Yn(t,r){t&1&&Ne(0)}function Jn(t,r){if(t&1&&(z(0,"span"),L(1),_()),t&2){let e=c();d(),Ct("",e.listOfValue.length," / ",e.nzMaxMultipleCount)}}function Xn(t,r){t&1&&y(0,"nz-icon",0)}function ei(t,r){t&1&&y(0,"nz-icon",2)}function ti(t,r){t&1&&y(0,"nz-icon",3)}function ni(t,r){if(t&1&&h(0,ei,1,0,"nz-icon",2)(1,ti,1,0,"nz-icon",3),t&2){let e=c(2);C(e.search?0:1)}}function ii(t,r){if(t&1&&(F(0),y(1,"nz-icon",4),A()),t&2){let e=r.$implicit;d(),u("nzType",e)}}function oi(t,r){if(t&1&&x(0,ii,2,1,"ng-container",1),t&2){let e=c(2);u("nzStringTemplateOutlet",e.suffixIcon)}}function li(t,r){if(t&1&&h(0,ni,2,1)(1,oi,1,1,"ng-container"),t&2){let e=c();C(e.showArrow&&!e.suffixIcon?0:1)}}function ai(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c();d(),U(e.feedbackIcon)}}function si(t,r){}function ri(t,r){if(t&1&&x(0,si,0,0,"ng-template",0),t&2){let e=c();u("ngTemplateOutlet",e.clearIcon)}}function ci(t,r){t&1&&y(0,"nz-icon",1)}function pi(t,r){if(t&1&&y(0,"span",4),t&2){let e=c(2);G("ant-select-selection-item-content",e.deletable),u("innerHTML",e.label,st)}}function mi(t,r){if(t&1&&(z(0,"span"),L(1),_()),t&2){let e=c(2);G("ant-select-selection-item-content",e.deletable),d(),U(e.label)}}function di(t,r){if(t&1&&(F(0),h(1,pi,1,3,"span",2)(2,mi,2,3,"span",3),A()),t&2){let e=c();d(),C(e.displayLabelInHtml?1:2)}}function ui(t,r){t&1&&y(0,"nz-icon",6)}function fi(t,r){}function hi(t,r){if(t&1&&x(0,fi,0,0,"ng-template",7),t&2){let e=c(2);u("ngTemplateOutlet",e.removeIcon)}}function Ci(t,r){if(t&1){let e=W();z(0,"span",5),M("click",function(i){S(e);let p=c();return O(p.onDelete(i))}),h(1,ui,1,0,"nz-icon",6)(2,hi,1,1,null,7),_()}if(t&2){let e=c();d(),C(e.removeIcon?2:1)}}function zi(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c();d(),ne(" ",e.placeholder," ")}}var _i=["inputElement"],gi=["mirrorElement"];function Si(t,r){t&1&&y(0,"span",3,1)}var Oi=(t,r)=>r.nzValue;function yi(t,r){if(t&1&&(F(0),L(1),A()),t&2){let e=c(2);d(),U(e.prefix)}}function vi(t,r){if(t&1&&(z(0,"div",0),x(1,yi,2,1,"ng-container",4),_()),t&2){let e=c();d(),u("nzStringTemplateOutlet",e.prefix)}}function xi(t,r){if(t&1&&y(0,"nz-select-item",6),t&2){let e=c(2);u("removeIcon",e.removeIcon)("label",e.listOfTopItem[0].nzLabel)("contentTemplateOutlet",e.customTemplate)("contentTemplateOutletContext",e.listOfTopItem[0])}}function Ti(t,r){if(t&1){let e=W();z(0,"nz-select-search",5),M("isComposingChange",function(i){S(e);let p=c();return O(p.isComposingChange(i))})("valueChange",function(i){S(e);let p=c();return O(p.onInputValueChange(i))}),_(),h(1,xi,1,4,"nz-select-item",6)}if(t&2){let e=c();u("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("showInput",e.showSearch)("mirrorSync",!1)("autofocus",e.autofocus)("focusTrigger",e.open),d(),C(e.isShowSingleLabel?1:-1)}}function Ii(t,r){if(t&1){let e=W();z(0,"div",7)(1,"nz-select-item",10),M("delete",function(){let i=S(e).$implicit,p=c(2);return O(p.onDeleteItem(i.contentTemplateOutletContext))}),_()()}if(t&2){let e=r.$implicit,n=c(2);d(),u("removeIcon",n.removeIcon)("label",e.nzLabel)("disabled",e.nzDisabled||n.disabled)("contentTemplateOutlet",e.contentTemplateOutlet)("contentTemplateOutletContext",e.contentTemplateOutletContext)}}function wi(t,r){if(t&1){let e=W();z(0,"div",2),ut(1,Ii,2,5,"div",7,Oi),z(3,"div",8)(4,"nz-select-search",9),M("isComposingChange",function(i){S(e);let p=c();return O(p.isComposingChange(i))})("valueChange",function(i){S(e);let p=c();return O(p.onInputValueChange(i))}),_()()()}if(t&2){let e=c();d(),ft(e.listOfSlicedItem),d(3),u("nzId",e.nzId)("disabled",e.disabled)("value",e.inputValue)("autofocus",e.autofocus)("showInput",!0)("mirrorSync",!0)("focusTrigger",e.open)}}function Vi(t,r){if(t&1&&y(0,"nz-select-placeholder",3),t&2){let e=c();u("placeholder",e.placeHolder)}}function bi(t,r){if(t&1&&y(0,"nz-form-item-feedback-icon",6),t&2){let e=c(3);u("status",e.status)}}function Ni(t,r){if(t&1&&h(0,bi,1,1,"nz-form-item-feedback-icon",6),t&2){let e=c(2);C(e.hasFeedback&&e.status?0:-1)}}function Mi(t,r){if(t&1&&(z(0,"nz-select-arrow",3),x(1,Ni,1,1,"ng-template",null,1,_t),_()),t&2){let e=ke(2),n=c();u("showArrow",n.nzShowArrow)("loading",n.nzLoading)("search",n.nzOpen&&n.nzShowSearch)("suffixIcon",n.nzSuffixIcon)("feedbackIcon",e)("nzMaxMultipleCount",n.nzMaxMultipleCount)("listOfValue",n.listOfValue)("isMaxMultipleCountSet",n.isMaxMultipleCountSet)}}function ki(t,r){if(t&1){let e=W();z(0,"nz-select-clear",7),M("clear",function(){S(e);let i=c();return O(i.onClearSelection())}),_()}if(t&2){let e=c();u("clearIcon",e.nzClearIcon)}}function Ei(t,r){if(t&1){let e=W();z(0,"nz-option-container",8),M("keydown",function(i){S(e);let p=c();return O(p.onKeyDown(i))})("itemClick",function(i){S(e);let p=c();return O(p.onItemClick(i))})("scrollToBottom",function(){S(e);let i=c();return O(i.nzScrollToBottom.emit())}),_()}if(t&2){let e=c();ht(e.nzDropdownStyle),G("ant-select-dropdown-placement-bottomLeft",e.dropdownPosition==="bottomLeft")("ant-select-dropdown-placement-topLeft",e.dropdownPosition==="topLeft")("ant-select-dropdown-placement-bottomRight",e.dropdownPosition==="bottomRight")("ant-select-dropdown-placement-topRight",e.dropdownPosition==="topRight"),u("itemSize",e.nzOptionHeightPx)("maxItemLength",e.nzOptionOverflowSize)("matchWidth",e.nzDropdownMatchSelectWidth)("@slideMotion","enter")("@.disabled",!!(e.noAnimation!=null&&e.noAnimation.nzNoAnimation))("nzNoAnimation",e.noAnimation==null?null:e.noAnimation.nzNoAnimation)("listOfContainerItem",e.listOfContainerItem)("menuItemSelectedIcon",e.nzMenuItemSelectedIcon)("notFoundContent",e.nzNotFoundContent)("activatedValue",e.activatedValue)("listOfSelectedValue",e.listOfValue)("dropdownRender",e.nzDropdownRender)("compareWith",e.compareWith)("mode",e.nzMode)("isMaxMultipleCountReached",e.isMaxMultipleCountReached)}}var Qe=(()=>{class t{nzLabel=null;changes=new ve;ngOnChanges(){this.changes.next()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-option-group"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzOptionGroup"],features:[B],ngContentSelectors:Xt,decls:1,vars:0,template:function(n,i){n&1&&(be(),Ne(0))},encapsulation:2,changeDetection:0})}return t})(),en=(()=>{class t{nzLabel=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-option-item-group"]],hostAttrs:[1,"ant-select-item","ant-select-item-group"],inputs:{nzLabel:"nzLabel"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&x(0,Pn,2,1,"ng-container",0),n&2&&u("nzStringTemplateOutlet",i.nzLabel)},dependencies:[q,$],encapsulation:2,changeDetection:0})}return t})(),tn=(()=>{class t{el=f(j).nativeElement;ngZone=f(le);destroyRef=f(Z);selected=!1;activated=!1;grouped=!1;customContent=!1;template=null;disabled=!1;showState=!1;title;label=null;value=null;activatedValue=null;listOfSelectedValue=[];icon=null;compareWith;itemClick=new V;itemHover=new V;ngOnChanges(e){let{value:n,activatedValue:i,listOfSelectedValue:p}=e;(n||p)&&(this.selected=this.listOfSelectedValue.some(v=>this.compareWith(v,this.value))),(n||i)&&(this.activated=this.compareWith(this.activatedValue,this.value))}ngOnInit(){ie(this.el,"click").pipe(N(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemClick.emit(this.value))}),ie(this.el,"mouseenter").pipe(N(this.destroyRef)).subscribe(()=>{this.disabled||this.ngZone.run(()=>this.itemHover.emit(this.value))})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-option-item"]],hostAttrs:[1,"ant-select-item","ant-select-item-option"],hostVars:9,hostBindings:function(n,i){n&2&&(he("title",i.title),G("ant-select-item-option-grouped",i.grouped)("ant-select-item-option-selected",i.selected&&!i.disabled)("ant-select-item-option-disabled",i.disabled)("ant-select-item-option-active",i.activated&&!i.disabled))},inputs:{grouped:"grouped",customContent:[2,"customContent","customContent",T],template:"template",disabled:"disabled",showState:"showState",title:"title",label:"label",value:"value",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",icon:"icon",compareWith:"compareWith"},outputs:{itemClick:"itemClick",itemHover:"itemHover"},features:[B],decls:4,vars:2,consts:[[1,"ant-select-item-option-content"],[3,"ngTemplateOutlet"],["unselectable","on",1,"ant-select-item-option-state"],["nzType","check",1,"ant-select-selected-icon"]],template:function(n,i){n&1&&(z(0,"div",0),h(1,Bn,1,1,null,1)(2,Hn,1,1),_(),h(3,Gn,3,1,"div",2)),n&2&&(d(),C(i.customContent?1:2),d(2),C(i.showState&&i.selected?3:-1))},dependencies:[re,pe,ce],encapsulation:2,changeDetection:0})}return t})(),nn=(()=>{class t{ngZone=f(le);platformId=f(at);notFoundContent=void 0;menuItemSelectedIcon=null;dropdownRender=null;activatedValue=null;listOfSelectedValue=[];compareWith;mode="default";matchWidth=!0;itemSize=32;maxItemLength=8;isMaxMultipleCountReached=!1;listOfContainerItem=[];itemClick=new V;scrollToBottom=new V;cdkVirtualScrollViewport;scrolledIndex=0;onItemClick(e){this.itemClick.emit(e)}onItemHover(e){this.activatedValue=e}trackValue(e,n){return n.key}onScrolledIndexChange(e){this.scrolledIndex=e,e===this.listOfContainerItem.length-this.maxItemLength-1&&this.scrollToBottom.emit()}scrollToActivatedValue(){let e=this.listOfContainerItem.findIndex(n=>this.compareWith(n.key,this.activatedValue));(e<this.scrolledIndex||e>=this.scrolledIndex+this.maxItemLength)&&this.cdkVirtualScrollViewport.scrollToIndex(e||0)}ngOnChanges(e){let{listOfContainerItem:n,activatedValue:i}=e;(n||i)&&this.scrollToActivatedValue()}ngAfterViewInit(){yt(this.platformId)&&this.ngZone.runOutsideAngular(()=>setTimeout(()=>this.scrollToActivatedValue()))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-option-container"]],viewQuery:function(n,i){if(n&1&&H(ge,7),n&2){let p;k(p=E())&&(i.cdkVirtualScrollViewport=p.first)}},hostAttrs:[1,"ant-select-dropdown"],inputs:{notFoundContent:"notFoundContent",menuItemSelectedIcon:"menuItemSelectedIcon",dropdownRender:"dropdownRender",activatedValue:"activatedValue",listOfSelectedValue:"listOfSelectedValue",compareWith:"compareWith",mode:"mode",matchWidth:"matchWidth",itemSize:"itemSize",maxItemLength:"maxItemLength",isMaxMultipleCountReached:"isMaxMultipleCountReached",listOfContainerItem:"listOfContainerItem"},outputs:{itemClick:"itemClick",scrollToBottom:"scrollToBottom"},exportAs:["nzOptionContainer"],features:[B],decls:5,vars:14,consts:[[1,"ant-select-item-empty"],[3,"scrolledIndexChange","itemSize","maxBufferPx","minBufferPx"],["cdkVirtualFor","",3,"cdkVirtualForOf","cdkVirtualForTrackBy","cdkVirtualForTemplateCacheSize"],[3,"ngTemplateOutlet"],["nzComponentName","select",3,"specificContent"],[3,"nzLabel"],[3,"icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"],[3,"itemHover","itemClick","icon","customContent","template","grouped","disabled","showState","title","label","compareWith","activatedValue","listOfSelectedValue","value"]],template:function(n,i){n&1&&(z(0,"div"),h(1,jn,2,1,"div",0),z(2,"cdk-virtual-scroll-viewport",1),M("scrolledIndexChange",function(v){return i.onScrolledIndexChange(v)}),x(3,Un,2,1,"ng-template",2),_(),x(4,Kn,0,0,"ng-template",3),_()),n&2&&(d(),C(i.listOfContainerItem.length===0?1:-1),d(),ze("height",i.listOfContainerItem.length*i.itemSize,"px")("max-height",i.itemSize*i.maxItemLength,"px"),G("full-width",!i.matchWidth),u("itemSize",i.itemSize)("maxBufferPx",i.itemSize*i.maxItemLength)("minBufferPx",i.itemSize*i.maxItemLength),d(),u("cdkVirtualForOf",i.listOfContainerItem)("cdkVirtualForTrackBy",i.trackValue)("cdkVirtualForTemplateCacheSize",0),d(),u("ngTemplateOutlet",i.dropdownRender))},dependencies:[Yt,$e,en,tn,re,Lt,kt,Et,ge,Be],encapsulation:2,changeDetection:0})}return t})(),Di=(()=>{class t{destroyRef=f(Z);nzOptionGroupComponent=f(Qe,{optional:!0});changes=new ve;groupLabel=null;template;nzTitle;nzLabel=null;nzValue=null;nzKey;nzDisabled=!1;nzHide=!1;nzCustomContent=!1;ngOnInit(){this.nzOptionGroupComponent?.changes.pipe(de(!0),N(this.destroyRef)).subscribe(()=>{this.groupLabel=this.nzOptionGroupComponent?.nzLabel})}ngOnChanges(){this.changes.next()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-option"]],viewQuery:function(n,i){if(n&1&&H(ee,7),n&2){let p;k(p=E())&&(i.template=p.first)}},inputs:{nzTitle:"nzTitle",nzLabel:"nzLabel",nzValue:"nzValue",nzKey:"nzKey",nzDisabled:[2,"nzDisabled","nzDisabled",T],nzHide:[2,"nzHide","nzHide",T],nzCustomContent:[2,"nzCustomContent","nzCustomContent",T]},exportAs:["nzOption"],features:[B],ngContentSelectors:Xt,decls:1,vars:0,template:function(n,i){n&1&&(be(),dt(0,Yn,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return t})(),on=(()=>{class t{listOfValue=[];loading=!1;search=!1;showArrow=!1;isMaxMultipleCountSet=!1;suffixIcon=null;feedbackIcon=null;nzMaxMultipleCount=1/0;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-arrow"]],hostAttrs:[1,"ant-select-arrow"],hostVars:2,hostBindings:function(n,i){n&2&&G("ant-select-arrow-loading",i.loading)},inputs:{listOfValue:"listOfValue",loading:"loading",search:"search",showArrow:"showArrow",isMaxMultipleCountSet:"isMaxMultipleCountSet",suffixIcon:"suffixIcon",feedbackIcon:"feedbackIcon",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",Fe]},decls:4,vars:3,consts:[["nzType","loading"],[4,"nzStringTemplateOutlet"],["nzType","search"],["nzType","down"],[3,"nzType"]],template:function(n,i){n&1&&(h(0,Jn,2,2,"span"),h(1,Xn,1,0,"nz-icon",0)(2,li,2,1),x(3,ai,2,1,"ng-container",1)),n&2&&(C(i.isMaxMultipleCountSet?0:-1),d(),C(i.loading?1:2),d(2),u("nzStringTemplateOutlet",i.feedbackIcon))},dependencies:[pe,ce,q,$],encapsulation:2,changeDetection:0})}return t})(),ln=(()=>{class t{clearIcon=null;clear=new V;onClick(e){e.preventDefault(),e.stopPropagation(),this.clear.emit(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-clear"]],hostAttrs:[1,"ant-select-clear"],hostBindings:function(n,i){n&1&&M("click",function(v){return i.onClick(v)})},inputs:{clearIcon:"clearIcon"},outputs:{clear:"clear"},decls:2,vars:1,consts:[[3,"ngTemplateOutlet"],["nzType","close-circle","nzTheme","fill",1,"ant-select-close-icon"]],template:function(n,i){n&1&&h(0,ri,1,1,null,0)(1,ci,1,0,"nz-icon",1),n&2&&C(i.clearIcon?0:1)},dependencies:[re,pe,ce],encapsulation:2,changeDetection:0})}return t})(),an=(()=>{class t{disabled=!1;label=null;displayLabelInHtml=!1;deletable=!1;removeIcon=null;contentTemplateOutletContext=null;contentTemplateOutlet=null;delete=new V;get templateOutletContext(){return Ue({$implicit:this.contentTemplateOutletContext},this.contentTemplateOutletContext)}onDelete(e){e.preventDefault(),e.stopPropagation(),this.disabled||this.delete.next(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-item"]],hostAttrs:[1,"ant-select-selection-item"],hostVars:3,hostBindings:function(n,i){n&2&&(he("title",i.label),G("ant-select-selection-item-disabled",i.disabled))},inputs:{disabled:[2,"disabled","disabled",T],label:"label",displayLabelInHtml:[2,"displayLabelInHtml","displayLabelInHtml",T],deletable:[2,"deletable","deletable",T],removeIcon:"removeIcon",contentTemplateOutletContext:"contentTemplateOutletContext",contentTemplateOutlet:"contentTemplateOutlet"},outputs:{delete:"delete"},decls:2,vars:3,consts:[[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-select-selection-item-remove"],[3,"ant-select-selection-item-content","innerHTML"],[3,"ant-select-selection-item-content"],[3,"innerHTML"],[1,"ant-select-selection-item-remove",3,"click"],["nzType","close"],[3,"ngTemplateOutlet"]],template:function(n,i){n&1&&(x(0,di,3,1,"ng-container",0),h(1,Ci,3,1,"span",1)),n&2&&(u("nzStringTemplateOutlet",i.contentTemplateOutlet)("nzStringTemplateOutletContext",i.templateOutletContext),d(),C(i.deletable&&!i.disabled?1:-1))},dependencies:[re,q,$,pe,ce],encapsulation:2,changeDetection:0})}return t})(),sn=(()=>{class t{placeholder=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-placeholder"]],hostAttrs:[1,"ant-select-selection-placeholder"],inputs:{placeholder:"placeholder"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&x(0,zi,2,1,"ng-container",0),n&2&&u("nzStringTemplateOutlet",i.placeholder)},dependencies:[q,$],encapsulation:2,changeDetection:0})}return t})(),Ge=(()=>{class t{elementRef=f(j);renderer=f(Ve);focusMonitor=f(Ae);nzId=null;disabled=!1;mirrorSync=!1;showInput=!0;focusTrigger=!1;value="";autofocus=!1;valueChange=new V;isComposingChange=new V;inputElement;mirrorElement;constructor(){ct(()=>{this.mirrorSync&&this.syncMirrorWidth(),this.autofocus&&this.focus()})}setCompositionState(e){this.isComposingChange.next(e)}onValueChange(e){this.value=e,this.valueChange.next(e),this.mirrorSync&&this.syncMirrorWidth()}clearInputValue(){let e=this.inputElement.nativeElement;e.value="",this.onValueChange("")}syncMirrorWidth(){let e=this.mirrorElement.nativeElement,n=this.elementRef.nativeElement,i=this.inputElement.nativeElement;this.renderer.removeStyle(n,"width"),this.renderer.setProperty(e,"textContent",`${i.value}\xA0`),this.renderer.setStyle(n,"width",`${e.scrollWidth}px`)}focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard")}blur(){this.inputElement.nativeElement.blur()}ngOnChanges(e){let n=this.inputElement.nativeElement,{focusTrigger:i,showInput:p}=e;p&&(this.showInput?this.renderer.removeAttribute(n,"readonly"):this.renderer.setAttribute(n,"readonly","readonly")),i&&i.currentValue===!0&&i.previousValue===!1&&n.focus()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-search"]],viewQuery:function(n,i){if(n&1&&(H(_i,7),H(gi,5)),n&2){let p;k(p=E())&&(i.inputElement=p.first),k(p=E())&&(i.mirrorElement=p.first)}},hostAttrs:[1,"ant-select-selection-search"],hostVars:2,hostBindings:function(n,i){n&2&&ze("width",i.mirrorSync?0:null,"px")},inputs:{nzId:"nzId",disabled:"disabled",mirrorSync:"mirrorSync",showInput:"showInput",focusTrigger:"focusTrigger",value:"value",autofocus:"autofocus"},outputs:{valueChange:"valueChange",isComposingChange:"isComposingChange"},features:[Ee([{provide:Gt,useValue:!1}]),B],decls:3,vars:7,consts:[["inputElement",""],["mirrorElement",""],["autocomplete","off",1,"ant-select-selection-search-input",3,"ngModelChange","compositionstart","compositionend","ngModel","disabled"],[1,"ant-select-selection-search-mirror"]],template:function(n,i){if(n&1){let p=W();z(0,"input",2,0),M("ngModelChange",function(D){return S(p),O(i.onValueChange(D))})("compositionstart",function(){return S(p),O(i.setCompositionState(!0))})("compositionend",function(){return S(p),O(i.setCompositionState(!1))}),_(),h(2,Si,2,0,"span",3)}n&2&&(ze("opacity",i.showInput?null:0),u("ngModel",i.value)("disabled",i.disabled),he("id",i.nzId)("autofocus",i.autofocus?"autofocus":null),d(2),C(i.mirrorSync?2:-1))},dependencies:[Ut,jt,qt,Zt],encapsulation:2,changeDetection:0})}return t})(),Oe=(()=>{class t{destroyRef=f(Z);elementRef=f(j);ngZone=f(le);noAnimation=f(Se,{host:!0,optional:!0});nzId=null;showSearch=!1;placeHolder=null;open=!1;maxTagCount=1/0;autofocus=!1;disabled=!1;mode="default";customTemplate=null;maxTagPlaceholder=null;removeIcon=null;listOfTopItem=[];tokenSeparators=[];prefix=null;tokenize=new V;inputValueChange=new V;deleteItem=new V;nzSelectSearchComponent;listOfSlicedItem=[];isShowPlaceholder=!0;isShowSingleLabel=!1;isComposing=!1;inputValue=null;updateTemplateVariable(){let e=this.listOfTopItem.length===0;this.isShowPlaceholder=e&&!this.isComposing&&!this.inputValue,this.isShowSingleLabel=!e&&!this.isComposing&&!this.inputValue}isComposingChange(e){this.isComposing=e,this.updateTemplateVariable()}onInputValueChange(e){e!==this.inputValue&&(this.inputValue=e,this.updateTemplateVariable(),this.inputValueChange.emit(e),this.tokenSeparate(e,this.tokenSeparators))}tokenSeparate(e,n){let i=(v,D)=>{for(let b=0;b<D.length;++b)if(v.lastIndexOf(D[b])>0)return!0;return!1},p=(v,D)=>{let b=new RegExp(`[${D.join()}]`),K=v.split(b).filter(Y=>Y);return[...new Set(K)]};if(e&&e.length&&n.length&&this.mode!=="default"&&i(e,n)){let v=p(e,n);this.tokenize.next(v)}}clearInputValue(){this.nzSelectSearchComponent?.clearInputValue()}focus(){this.nzSelectSearchComponent?.focus()}blur(){this.nzSelectSearchComponent?.blur()}onDeleteItem(e){!this.disabled&&!e.nzDisabled&&this.deleteItem.next(e)}ngOnChanges(e){let{listOfTopItem:n,maxTagCount:i,customTemplate:p,maxTagPlaceholder:v}=e;if(n&&this.updateTemplateVariable(),n||i||p||v){let D=this.listOfTopItem.slice(0,this.maxTagCount).map(b=>({nzLabel:b.nzLabel,nzValue:b.nzValue,nzDisabled:b.nzDisabled,contentTemplateOutlet:this.customTemplate,contentTemplateOutletContext:b}));if(this.listOfTopItem.length>this.maxTagCount){let b=`+ ${this.listOfTopItem.length-this.maxTagCount} ...`,K=this.listOfTopItem.map(me=>me.nzValue),Y={nzLabel:b,nzValue:"$$__nz_exceeded_item",nzDisabled:!0,contentTemplateOutlet:this.maxTagPlaceholder,contentTemplateOutletContext:K.slice(this.maxTagCount)};D.push(Y)}this.listOfSlicedItem=D}}ngOnInit(){ie(this.elementRef.nativeElement,"click").pipe(N(this.destroyRef)).subscribe(e=>{e.target!==this.nzSelectSearchComponent.inputElement.nativeElement&&this.nzSelectSearchComponent.focus()}),ie(this.elementRef.nativeElement,"keydown").pipe(N(this.destroyRef)).subscribe(e=>{if(e.target instanceof HTMLInputElement){let n=e.target.value;e.keyCode===8&&this.mode!=="default"&&!n&&this.listOfTopItem.length>0&&(e.preventDefault(),this.ngZone.run(()=>this.onDeleteItem(this.listOfTopItem[this.listOfTopItem.length-1])))}})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=w({type:t,selectors:[["nz-select-top-control"]],viewQuery:function(n,i){if(n&1&&H(Ge,5),n&2){let p;k(p=E())&&(i.nzSelectSearchComponent=p.first)}},hostAttrs:[1,"ant-select-selector"],inputs:{nzId:"nzId",showSearch:"showSearch",placeHolder:"placeHolder",open:"open",maxTagCount:[2,"maxTagCount","maxTagCount",Ot],autofocus:"autofocus",disabled:"disabled",mode:"mode",customTemplate:"customTemplate",maxTagPlaceholder:"maxTagPlaceholder",removeIcon:"removeIcon",listOfTopItem:"listOfTopItem",tokenSeparators:"tokenSeparators",prefix:"prefix"},outputs:{tokenize:"tokenize",inputValueChange:"inputValueChange",deleteItem:"deleteItem"},exportAs:["nzSelectTopControl"],features:[B],decls:5,vars:3,consts:[[1,"ant-select-prefix"],[1,"ant-select-selection-wrap"],[1,"ant-select-selection-overflow"],[3,"placeholder"],[4,"nzStringTemplateOutlet"],[3,"isComposingChange","valueChange","nzId","disabled","value","showInput","mirrorSync","autofocus","focusTrigger"],[3,"removeIcon","label","contentTemplateOutlet","contentTemplateOutletContext"],[1,"ant-select-selection-overflow-item"],[1,"ant-select-selection-overflow-item","ant-select-selection-overflow-item-suffix"],[3,"isComposingChange","valueChange","nzId","disabled","value","autofocus","showInput","mirrorSync","focusTrigger"],["deletable","",3,"delete","removeIcon","label","disabled","contentTemplateOutlet","contentTemplateOutletContext"]],template:function(n,i){if(n&1&&(h(0,vi,2,1,"div",0),z(1,"span",1),h(2,Ti,2,8)(3,wi,5,7,"div",2),h(4,Vi,1,1,"nz-select-placeholder",3),_()),n&2){let p;C(i.prefix?0:-1),d(2),C((p=i.mode)==="default"?2:3),d(2),C(i.isShowPlaceholder?4:-1)}},dependencies:[Ge,an,sn,$],encapsulation:2,changeDetection:0})}return t})(),Fi=(t,r)=>r&&r.nzLabel?r.nzLabel.toString().toLowerCase().indexOf(t.toLowerCase())>-1:!1,Jt="select",Ai=(()=>{var P;let t,r=[],e=[],n,i=[],p=[],v,D=[],b=[],K,Y=[],me=[],je,qe=[],Ze=[];return P=class{_nzModuleName=Jt;ngZone=f(le);cdr=f(se);host=f(j);renderer=f(Ve);platform=f(wt);focusMonitor=f(Ae);directionality=f(Tt);destroyRef=f(Z);nzId=null;nzSize="default";nzStatus="";nzVariant=R(this,r,"outlined");nzOptionHeightPx=(R(this,e),R(this,i,32));nzOptionOverflowSize=(R(this,p),8);nzDropdownClassName=null;nzDropdownMatchSelectWidth=!0;nzDropdownStyle=null;nzNotFoundContent=void 0;nzPlaceHolder=null;nzPlacement=null;nzMaxTagCount=1/0;nzDropdownRender=null;nzCustomTemplate=null;nzPrefix=null;nzSuffixIcon=R(this,D,null);nzClearIcon=(R(this,b),null);nzRemoveIcon=null;nzMenuItemSelectedIcon=null;nzTokenSeparators=[];nzMaxTagPlaceholder=null;nzMaxMultipleCount=1/0;nzMode="default";nzFilterOption=Fi;compareWith=(l,a)=>l===a;nzAllowClear=!1;nzBorderless=R(this,Y,!1);nzShowSearch=(R(this,me),!1);nzLoading=!1;nzAutoFocus=!1;nzAutoClearSearchValue=!0;nzServerSearch=!1;nzDisabled=!1;nzOpen=!1;nzSelectOnTab=!1;nzBackdrop=R(this,qe,!1);nzOptions=(R(this,Ze),[]);nzShowArrow=!0;get showArrow(){return this.nzShowArrow||!!this.nzSuffixIcon}get isMultiple(){return this.nzMode==="multiple"||this.nzMode==="tags"}get isMaxMultipleCountSet(){return this.isMultiple&&this.nzMaxMultipleCount!==1/0}get isMaxMultipleCountReached(){return this.nzMaxMultipleCount!==1/0&&this.listOfValue.length===this.nzMaxMultipleCount}nzOnSearch=new V;nzScrollToBottom=new V;nzOpenChange=new V;nzBlur=new V;nzFocus=new V;nzOnClear=St();originElement;cdkConnectedOverlay;nzSelectTopControlComponent;listOfNzOptionComponent;listOfNzOptionGroupComponent;nzOptionGroupComponentElement;nzSelectTopControlComponentElement;finalSize=gt(()=>this.compactSize?this.compactSize():this.size());size=ot(this.nzSize);compactSize=f(bt,{optional:!0});listOfValue$=new xe([]);listOfTemplateItem$=new xe([]);listOfTagAndTemplateItem=[];searchValue="";isReactiveDriven=!1;value;requestId=-1;isNzDisableFirstChange=!0;onChange=()=>{};onTouched=()=>{};dropdownPosition="bottomLeft";triggerWidth=null;listOfContainerItem=[];listOfTopItem=[];activatedValue=null;listOfValue=[];focused=!1;dir="ltr";positions=[];prefixCls="ant-select";statusCls={};status="";hasFeedback=!1;generateTagItem(l){return{nzValue:l,nzLabel:l,type:"item"}}onItemClick(l){if(this.activatedValue=l,this.nzMode==="default")(this.listOfValue.length===0||!this.compareWith(this.listOfValue[0],l))&&this.updateListOfValue([l]),this.setOpenState(!1);else{let a=this.listOfValue.findIndex(o=>this.compareWith(o,l));if(a!==-1){let o=this.listOfValue.filter((s,m)=>m!==a);this.updateListOfValue(o)}else if(this.listOfValue.length<this.nzMaxMultipleCount){let o=[...this.listOfValue,l];this.updateListOfValue(o)}this.focus(),this.nzAutoClearSearchValue&&this.clearInput()}}onItemDelete(l){let a=this.listOfValue.filter(o=>!this.compareWith(o,l.nzValue));this.updateListOfValue(a),this.clearInput()}updateListOfContainerItem(){let l=this.listOfTagAndTemplateItem.filter(s=>!s.nzHide).filter(s=>!this.nzServerSearch&&this.searchValue?this.nzFilterOption(this.searchValue,s):!0);if(this.nzMode==="tags"&&this.searchValue){let s=this.listOfTagAndTemplateItem.find(m=>m.nzLabel===this.searchValue);if(s)this.activatedValue=s.nzValue;else{let m=this.generateTagItem(this.searchValue);l=[m,...l],this.activatedValue=m.nzValue}}let a=l.find(s=>s.nzLabel===this.searchValue)||l.find(s=>this.compareWith(s.nzValue,this.activatedValue))||l.find(s=>this.compareWith(s.nzValue,this.listOfValue[0]))||l[0];this.activatedValue=a&&a.nzValue||null;let o=[];this.isReactiveDriven?o=[...new Set(this.nzOptions.filter(s=>s.groupLabel).map(s=>s.groupLabel))]:this.listOfNzOptionGroupComponent&&(o=this.listOfNzOptionGroupComponent.map(s=>s.nzLabel)),o.forEach(s=>{let m=l.findIndex(g=>s===g.groupLabel);if(m>-1){let g={groupLabel:s,type:"group",key:s};l.splice(m,0,g)}}),this.listOfContainerItem=[...l],this.updateCdkConnectedOverlayPositions()}clearInput(){this.nzSelectTopControlComponent.clearInputValue()}updateListOfValue(l){let o=((s,m)=>m==="default"?s.length>0?s[0]:null:s)(l,this.nzMode);this.value!==o&&(this.listOfValue=l,this.listOfValue$.next(l),this.value=o,this.onChange(this.value))}onTokenSeparate(l){let a=this.listOfTagAndTemplateItem.filter(s=>l.findIndex(m=>m===s.nzLabel)!==-1).map(s=>s.nzValue).filter(s=>this.listOfValue.findIndex(m=>this.compareWith(m,s))===-1),o=s=>this.isMaxMultipleCountSet?s.slice(0,this.nzMaxMultipleCount):s;if(this.nzMode==="multiple"){let s=o([...this.listOfValue,...a]);this.updateListOfValue(s)}else if(this.nzMode==="tags"){let s=l.filter(g=>this.listOfTagAndTemplateItem.findIndex(Q=>Q.nzLabel===g)===-1),m=o([...this.listOfValue,...a,...s]);this.updateListOfValue(m)}this.clearInput()}onKeyDown(l){if(this.nzDisabled)return;let a=this.listOfContainerItem.filter(s=>s.type==="item").filter(s=>!s.nzDisabled),o=a.findIndex(s=>this.compareWith(s.nzValue,this.activatedValue));switch(l.keyCode){case 38:if(l.preventDefault(),this.nzOpen&&a.length>0){let s=o>0?o-1:a.length-1;this.activatedValue=a[s].nzValue}break;case 40:if(l.preventDefault(),this.nzOpen&&a.length>0){let s=o<a.length-1?o+1:0;this.activatedValue=a[s].nzValue}else this.setOpenState(!0);break;case 13:l.preventDefault(),this.nzOpen?De(this.activatedValue)&&o!==-1&&this.onItemClick(this.activatedValue):this.setOpenState(!0);break;case 32:this.nzOpen||(this.setOpenState(!0),l.preventDefault());break;case 9:this.nzSelectOnTab?this.nzOpen&&(l.preventDefault(),De(this.activatedValue)&&this.onItemClick(this.activatedValue)):this.setOpenState(!1);break;case 27:break;default:this.nzOpen||this.setOpenState(!0)}}setOpenState(l){this.nzOpen!==l&&(this.nzOpen=l,this.nzOpenChange.emit(l),this.onOpenChange(),this.cdr.markForCheck())}onOpenChange(){this.updateCdkConnectedOverlayStatus(),this.nzAutoClearSearchValue&&this.clearInput()}onInputValueChange(l){this.searchValue=l,this.updateListOfContainerItem(),this.nzOnSearch.emit(l),this.updateCdkConnectedOverlayPositions()}onClearSelection(){this.updateListOfValue([]),this.nzOnClear.emit()}onClickOutside(l){let a=Vt(l);this.host.nativeElement.contains(a)||this.setOpenState(!1)}focus(){this.nzSelectTopControlComponent.focus()}blur(){this.nzSelectTopControlComponent.blur()}onPositionChange(l){let a=Rt(l);this.dropdownPosition=a}updateCdkConnectedOverlayStatus(){if(this.platform.isBrowser&&this.originElement.nativeElement){let l=this.triggerWidth;We(this.requestId),this.requestId=He(()=>{this.triggerWidth=this.originElement.nativeElement.getBoundingClientRect().width,l!==this.triggerWidth&&this.cdr.detectChanges()})}}updateCdkConnectedOverlayPositions(){He(()=>{this.cdkConnectedOverlay?.overlayRef?.updatePosition()})}noAnimation=f(Se,{host:!0,optional:!0});nzFormStatusService=f(Ht,{optional:!0});nzFormNoStatusService=f(Wt,{optional:!0});constructor(){this.destroyRef.onDestroy(()=>{We(this.requestId),this.focusMonitor.stopMonitoring(this.host)}),_e(Jt,()=>{this.size.set(this.nzSize),this.cdr.markForCheck()})}writeValue(l){if(this.value!==l){this.value=l;let o=((s,m)=>s==null?[]:m==="default"?[s]:s)(l,this.nzMode);this.listOfValue=o,this.listOfValue$.next(o),this.cdr.markForCheck()}}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||l,this.isNzDisableFirstChange=!1,this.nzDisabled&&this.setOpenState(!1),this.cdr.markForCheck()}ngOnChanges({nzOpen:l,nzDisabled:a,nzOptions:o,nzStatus:s,nzPlacement:m,nzSize:g}){if(l&&this.onOpenChange(),a&&this.nzDisabled&&this.setOpenState(!1),o){this.isReactiveDriven=!0;let J=(this.nzOptions||[]).map(I=>({template:I.label instanceof ee?I.label:null,nzTitle:this.getTitle(I.title,I.label),nzLabel:typeof I.label=="string"||typeof I.label=="number"?I.label:null,nzValue:I.value,nzDisabled:I.disabled||!1,nzHide:I.hide||!1,nzCustomContent:I.label instanceof ee,groupLabel:I.groupLabel||null,type:"item",key:I.key===void 0?I.value:I.key}));this.listOfTemplateItem$.next(J)}if(s&&this.setStatusStyles(this.nzStatus,this.hasFeedback),m){let{currentValue:Q}=m;this.dropdownPosition=Q;let J=["bottomLeft","topLeft","bottomRight","topRight"];Q&&J.includes(Q)?this.positions=[Re[Q]]:this.positions=J.map(I=>Re[I])}g&&this.size.set(g.currentValue)}ngOnInit(){this.nzFormStatusService?.formStatusChanges.pipe(Xe((l,a)=>l.status===a.status&&l.hasFeedback===a.hasFeedback),tt(this.nzFormNoStatusService?this.nzFormNoStatusService.noFormStatus:Ke(!1)),Ye(([{status:l,hasFeedback:a},o])=>({status:o?"":l,hasFeedback:a})),N(this.destroyRef)).subscribe(({status:l,hasFeedback:a})=>{this.setStatusStyles(l,a)}),this.focusMonitor.monitor(this.host,!0).pipe(N(this.destroyRef)).subscribe(l=>{l?(this.focused=!0,this.cdr.markForCheck(),this.nzFocus.emit()):(this.focused=!1,this.cdr.markForCheck(),this.nzBlur.emit(),Promise.resolve().then(()=>{this.onTouched()}))}),Je([this.listOfValue$,this.listOfTemplateItem$]).pipe(N(this.destroyRef)).subscribe(([l,a])=>{let o=l.filter(()=>this.nzMode==="tags").filter(s=>a.findIndex(m=>this.compareWith(m.nzValue,s))===-1).map(s=>this.listOfTopItem.find(m=>this.compareWith(m.nzValue,s))||this.generateTagItem(s));this.listOfTagAndTemplateItem=[...a,...o],this.listOfTopItem=this.listOfValue.map(s=>[...this.listOfTagAndTemplateItem,...this.listOfTopItem].find(m=>this.compareWith(s,m.nzValue))).filter(s=>!!s),this.updateListOfContainerItem()}),this.directionality.change?.pipe(N(this.destroyRef)).subscribe(l=>{this.dir=l,this.cdr.detectChanges()}),this.dir=this.directionality.value,ie(this.host.nativeElement,"click").pipe(N(this.destroyRef)).subscribe(()=>{this.nzOpen&&this.nzShowSearch||this.nzDisabled||this.ngZone.run(()=>this.setOpenState(!this.nzOpen))}),this.cdkConnectedOverlay.overlayKeydown.pipe(N(this.destroyRef)).subscribe(l=>{l.keyCode===27&&this.setOpenState(!1)})}ngAfterContentInit(){this.isReactiveDriven||Te(this.listOfNzOptionGroupComponent.changes,this.listOfNzOptionComponent.changes).pipe(de(!0),et(()=>Te(this.listOfNzOptionComponent.changes,this.listOfNzOptionGroupComponent.changes,...this.listOfNzOptionComponent.map(l=>l.changes),...this.listOfNzOptionGroupComponent.map(l=>l.changes)).pipe(de(!0))),N(this.destroyRef)).subscribe(()=>{let l=this.listOfNzOptionComponent.toArray().map(a=>{let{template:o,nzLabel:s,nzValue:m,nzKey:g,nzDisabled:Q,nzHide:J,nzCustomContent:I,groupLabel:rn}=a;return{template:o,nzLabel:s,nzValue:m,nzDisabled:Q,nzHide:J,nzCustomContent:I,groupLabel:rn,nzTitle:this.getTitle(a.nzTitle,a.nzLabel),type:"item",key:g===void 0?m:g}});this.listOfTemplateItem$.next(l),this.cdr.markForCheck()})}setStatusStyles(l,a){this.status=l,this.hasFeedback=a,this.cdr.markForCheck(),this.statusCls=vt(this.prefixCls,l,a),Object.keys(this.statusCls).forEach(o=>{this.statusCls[o]?this.renderer.addClass(this.host.nativeElement,o):this.renderer.removeClass(this.host.nativeElement,o)})}getTitle(l,a){let o;return l===void 0?(typeof a=="string"||typeof a=="number")&&(o=a.toString()):(typeof l=="string"||typeof l=="number")&&(o=l.toString()),o}},(()=>{let l=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[oe()],n=[oe()],v=[oe()],K=[oe()],je=[oe()],X(null,null,t,{kind:"field",name:"nzVariant",static:!1,private:!1,access:{has:a=>"nzVariant"in a,get:a=>a.nzVariant,set:(a,o)=>{a.nzVariant=o}},metadata:l},r,e),X(null,null,n,{kind:"field",name:"nzOptionHeightPx",static:!1,private:!1,access:{has:a=>"nzOptionHeightPx"in a,get:a=>a.nzOptionHeightPx,set:(a,o)=>{a.nzOptionHeightPx=o}},metadata:l},i,p),X(null,null,v,{kind:"field",name:"nzSuffixIcon",static:!1,private:!1,access:{has:a=>"nzSuffixIcon"in a,get:a=>a.nzSuffixIcon,set:(a,o)=>{a.nzSuffixIcon=o}},metadata:l},D,b),X(null,null,K,{kind:"field",name:"nzBorderless",static:!1,private:!1,access:{has:a=>"nzBorderless"in a,get:a=>a.nzBorderless,set:(a,o)=>{a.nzBorderless=o}},metadata:l},Y,me),X(null,null,je,{kind:"field",name:"nzBackdrop",static:!1,private:!1,access:{has:a=>"nzBackdrop"in a,get:a=>a.nzBackdrop,set:(a,o)=>{a.nzBackdrop=o}},metadata:l},qe,Ze),l&&Object.defineProperty(P,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:l})})(),ye(P,"\u0275fac",function(a){return new(a||P)}),ye(P,"\u0275cmp",w({type:P,selectors:[["nz-select"]],contentQueries:function(a,o,s){if(a&1&&(Me(s,Di,5),Me(s,Qe,5)),a&2){let m;k(m=E())&&(o.listOfNzOptionComponent=m),k(m=E())&&(o.listOfNzOptionGroupComponent=m)}},viewQuery:function(a,o){if(a&1&&(H(Le,7,j),H(Pe,7),H(Oe,7),H(Qe,7,j),H(Oe,7,j)),a&2){let s;k(s=E())&&(o.originElement=s.first),k(s=E())&&(o.cdkConnectedOverlay=s.first),k(s=E())&&(o.nzSelectTopControlComponent=s.first),k(s=E())&&(o.nzOptionGroupComponentElement=s.first),k(s=E())&&(o.nzSelectTopControlComponentElement=s.first)}},hostAttrs:[1,"ant-select"],hostVars:30,hostBindings:function(a,o){a&2&&G("ant-select-in-form-item",!!o.nzFormStatusService)("ant-select-lg",o.finalSize()==="large")("ant-select-sm",o.finalSize()==="small")("ant-select-show-arrow",o.showArrow)("ant-select-disabled",o.nzDisabled)("ant-select-show-search",(o.nzShowSearch||o.nzMode!=="default")&&!o.nzDisabled)("ant-select-allow-clear",o.nzAllowClear)("ant-select-borderless",o.nzVariant==="borderless"||o.nzVariant==="outlined"&&o.nzBorderless)("ant-select-filled",o.nzVariant==="filled")("ant-select-underlined",o.nzVariant==="underlined")("ant-select-open",o.nzOpen)("ant-select-focused",o.nzOpen||o.focused)("ant-select-single",o.nzMode==="default")("ant-select-multiple",o.nzMode!=="default")("ant-select-rtl",o.dir==="rtl")},inputs:{nzId:"nzId",nzSize:"nzSize",nzStatus:"nzStatus",nzVariant:"nzVariant",nzOptionHeightPx:"nzOptionHeightPx",nzOptionOverflowSize:"nzOptionOverflowSize",nzDropdownClassName:"nzDropdownClassName",nzDropdownMatchSelectWidth:"nzDropdownMatchSelectWidth",nzDropdownStyle:"nzDropdownStyle",nzNotFoundContent:"nzNotFoundContent",nzPlaceHolder:"nzPlaceHolder",nzPlacement:"nzPlacement",nzMaxTagCount:"nzMaxTagCount",nzDropdownRender:"nzDropdownRender",nzCustomTemplate:"nzCustomTemplate",nzPrefix:"nzPrefix",nzSuffixIcon:"nzSuffixIcon",nzClearIcon:"nzClearIcon",nzRemoveIcon:"nzRemoveIcon",nzMenuItemSelectedIcon:"nzMenuItemSelectedIcon",nzTokenSeparators:"nzTokenSeparators",nzMaxTagPlaceholder:"nzMaxTagPlaceholder",nzMaxMultipleCount:[2,"nzMaxMultipleCount","nzMaxMultipleCount",Fe],nzMode:"nzMode",nzFilterOption:"nzFilterOption",compareWith:"compareWith",nzAllowClear:[2,"nzAllowClear","nzAllowClear",T],nzBorderless:[2,"nzBorderless","nzBorderless",T],nzShowSearch:[2,"nzShowSearch","nzShowSearch",T],nzLoading:[2,"nzLoading","nzLoading",T],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",T],nzAutoClearSearchValue:[2,"nzAutoClearSearchValue","nzAutoClearSearchValue",T],nzServerSearch:[2,"nzServerSearch","nzServerSearch",T],nzDisabled:[2,"nzDisabled","nzDisabled",T],nzOpen:[2,"nzOpen","nzOpen",T],nzSelectOnTab:[2,"nzSelectOnTab","nzSelectOnTab",T],nzBackdrop:[2,"nzBackdrop","nzBackdrop",T],nzOptions:"nzOptions",nzShowArrow:[2,"nzShowArrow","nzShowArrow",T]},outputs:{nzOnSearch:"nzOnSearch",nzScrollToBottom:"nzScrollToBottom",nzOpenChange:"nzOpenChange",nzBlur:"nzBlur",nzFocus:"nzFocus",nzOnClear:"nzOnClear"},exportAs:["nzSelect"],features:[Ee([{provide:Qt,useExisting:nt(()=>P),multi:!0},{provide:Nt,useValue:"select"}]),mt([Mt]),B],decls:5,vars:26,consts:[["origin","cdkOverlayOrigin"],["feedbackIconTpl",""],["cdkOverlayOrigin","",3,"inputValueChange","tokenize","deleteItem","keydown","nzId","open","disabled","mode","nzNoAnimation","maxTagPlaceholder","removeIcon","placeHolder","maxTagCount","customTemplate","tokenSeparators","showSearch","autofocus","listOfTopItem","prefix"],[3,"showArrow","loading","search","suffixIcon","feedbackIcon","nzMaxMultipleCount","listOfValue","isMaxMultipleCountSet"],[3,"clearIcon"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayMinWidth","cdkConnectedOverlayWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayTransformOriginOn","cdkConnectedOverlayPanelClass","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions"],[3,"status"],[3,"clear","clearIcon"],[3,"keydown","itemClick","scrollToBottom","itemSize","maxItemLength","matchWidth","nzNoAnimation","listOfContainerItem","menuItemSelectedIcon","notFoundContent","activatedValue","listOfSelectedValue","dropdownRender","compareWith","mode","isMaxMultipleCountReached"]],template:function(a,o){if(a&1){let s=W();z(0,"nz-select-top-control",2,0),M("inputValueChange",function(g){return S(s),O(o.onInputValueChange(g))})("tokenize",function(g){return S(s),O(o.onTokenSeparate(g))})("deleteItem",function(g){return S(s),O(o.onItemDelete(g))})("keydown",function(g){return S(s),O(o.onKeyDown(g))}),_(),h(2,Mi,3,8,"nz-select-arrow",3),h(3,ki,1,1,"nz-select-clear",4),x(4,Ei,1,25,"ng-template",5),M("overlayOutsideClick",function(g){return S(s),O(o.onClickOutside(g))})("detach",function(){return S(s),O(o.setOpenState(!1))})("positionChange",function(g){return S(s),O(o.onPositionChange(g))})}if(a&2){let s=ke(1);u("nzId",o.nzId)("open",o.nzOpen)("disabled",o.nzDisabled)("mode",o.nzMode)("@.disabled",!!(o.noAnimation!=null&&o.noAnimation.nzNoAnimation))("nzNoAnimation",o.noAnimation==null?null:o.noAnimation.nzNoAnimation)("maxTagPlaceholder",o.nzMaxTagPlaceholder)("removeIcon",o.nzRemoveIcon)("placeHolder",o.nzPlaceHolder)("maxTagCount",o.nzMaxTagCount)("customTemplate",o.nzCustomTemplate)("tokenSeparators",o.nzTokenSeparators)("showSearch",o.nzShowSearch)("autofocus",o.nzAutoFocus)("listOfTopItem",o.listOfTopItem)("prefix",o.nzPrefix),d(2),C(o.showArrow||o.hasFeedback&&o.status||o.isMaxMultipleCountSet?2:-1),d(),C(o.nzAllowClear&&!o.nzDisabled&&o.listOfValue.length?3:-1),d(),u("cdkConnectedOverlayHasBackdrop",o.nzBackdrop)("cdkConnectedOverlayMinWidth",o.nzDropdownMatchSelectWidth?null:o.triggerWidth)("cdkConnectedOverlayWidth",o.nzDropdownMatchSelectWidth?o.triggerWidth:null)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayTransformOriginOn",".ant-select-dropdown")("cdkConnectedOverlayPanelClass",o.nzDropdownClassName)("cdkConnectedOverlayOpen",o.nzOpen)("cdkConnectedOverlayPositions",o.positions)}},dependencies:[Oe,Le,Se,on,$t,ln,Pe,Be,Bt,nn],encapsulation:2,data:{animation:[Pt]},changeDetection:0})),P})(),Ro=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=fe({type:t});static \u0275inj=ue({imports:[Ai,nn,tn,Oe,Ge,an,ln,on,sn,en]})}return t})();export{Kt as a,$e as b,Yt as c,Di as d,Ai as e,Ro as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as G}from"./chunk-A6CKMRBS.js";import{I as H,M as L,N as q,ab as $,bb as U,l as Q,t as E,x as V,z as W}from"./chunk-J43J3F2V.js";import{d as I}from"./chunk-53YRDYLS.js";import{Ca as y,Dc as M,Eb as l,Ec as B,Fb as P,Fc as C,Kb as m,Oa as _,Vb as z,Xb as u,ac as s,ad as x,bc as S,cc as N,dc as f,kc as F,mb as v,na as A,qc as O,ra as a,rb as Z,rd as j,tc as r,uc as d,vc as p,vd as T,wc as k,xa as R,ya as b,yc as w,zc as D}from"./chunk-SJG2JCPL.js";var h=["*"],X=["nz-sider-trigger",""];function Y(e,o){}function ee(e,o){if(e&1&&m(0,Y,0,0,"ng-template",2),e&2){let n=r(),t=M(5);s("ngTemplateOutlet",n.nzZeroTrigger||t)}}function te(e,o){}function ne(e,o){if(e&1&&m(0,te,0,0,"ng-template",2),e&2){let n=r(),t=M(3);s("ngTemplateOutlet",n.nzTrigger||t)}}function ie(e,o){if(e&1&&f(0,"nz-icon",3),e&2){let n=r(2);s("nzType",n.nzCollapsed?"left":"right")}}function oe(e,o){if(e&1&&f(0,"nz-icon",3),e&2){let n=r(2);s("nzType",n.nzCollapsed?"right":"left")}}function re(e,o){if(e&1&&z(0,ie,1,1,"nz-icon",3)(1,oe,1,1,"nz-icon",3),e&2){let n=r();u(n.nzReverseArrow?0:1)}}function ae(e,o){e&1&&f(0,"nz-icon",4)}function le(e,o){if(e&1){let n=F();S(0,"div",2),O("click",function(){R(n);let i=r();return b(i.setCollapsed(!i.nzCollapsed))}),N()}if(e&2){let n=r();s("matchBreakPoint",n.matchBreakPoint)("nzCollapsedWidth",n.nzCollapsedWidth)("nzCollapsed",n.nzCollapsed)("nzBreakpoint",n.nzBreakpoint)("nzReverseArrow",n.nzReverseArrow)("nzTrigger",n.nzTrigger)("nzZeroTrigger",n.nzZeroTrigger)("siderWidth",n.widthSetting)}}var De=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["nz-content"]],hostAttrs:[1,"ant-layout-content"],exportAs:["nzContent"],ngContentSelectors:h,decls:1,vars:0,template:function(t,i){t&1&&(d(),p(0))},encapsulation:2,changeDetection:0})}return e})(),Me=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["nz-footer"]],hostAttrs:[1,"ant-layout-footer"],exportAs:["nzFooter"],ngContentSelectors:h,decls:1,vars:0,template:function(t,i){t&1&&(d(),p(0))},encapsulation:2,changeDetection:0})}return e})(),Be=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["nz-header"]],hostAttrs:[1,"ant-layout-header"],exportAs:["nzHeader"],ngContentSelectors:h,decls:1,vars:0,template:function(t,i){t&1&&(d(),p(0))},encapsulation:2,changeDetection:0})}return e})(),J=(()=>{class e{nzCollapsed=!1;nzReverseArrow=!1;nzZeroTrigger=null;nzTrigger=void 0;matchBreakPoint=!1;nzCollapsedWidth=null;siderWidth=null;nzBreakpoint=null;isZeroTrigger=!1;isNormalTrigger=!1;updateTriggerType(){this.isZeroTrigger=this.nzCollapsedWidth===0&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=this.nzCollapsedWidth!==0}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(t,i){t&2&&(B("width",i.isNormalTrigger?i.siderWidth:null),C("ant-layout-sider-trigger",i.isNormalTrigger)("ant-layout-sider-zero-width-trigger",i.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",i.isZeroTrigger&&i.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",i.isZeroTrigger&&!i.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[_],attrs:X,decls:6,vars:2,consts:[["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],[3,"nzType"],["nzType","bars"]],template:function(t,i){t&1&&(z(0,ee,1,1,null,2),z(1,ne,1,1,null,2),m(2,re,2,1,"ng-template",null,0,x)(4,ae,1,0,"ng-template",null,1,x)),t&2&&(u(i.isZeroTrigger?0:-1),v(),u(i.isNormalTrigger?1:-1))},dependencies:[I,q,L],encapsulation:2,changeDetection:0})}return e})(),K=(()=>{class e{destroyRef=a(y);platform=a(H);cdr=a(j);breakpointService=a(U);nzMenuDirective=null;nzCollapsedChange=new Z;nzWidth=200;nzTheme="dark";nzCollapsedWidth=80;nzBreakpoint=null;nzZeroTrigger=null;nzTrigger=void 0;nzReverseArrow=!1;nzCollapsible=!1;nzCollapsed=!1;matchBreakPoint=!1;flexSetting=null;widthSetting=null;updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:Q(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&this.nzMenuDirective.nzMode==="inline"&&this.nzCollapsedWidth!==0&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(n){n!==this.nzCollapsed&&(this.nzCollapsed=n,this.nzCollapsedChange.emit(n),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe($,!0).pipe(W(this.destroyRef)).subscribe(n=>{let t=this.nzBreakpoint;t&&E().subscribe(()=>{this.matchBreakPoint=!n[t],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(n){let{nzCollapsed:t,nzCollapsedWidth:i,nzWidth:c}=n;(t||i||c)&&this.updateStyleMap(),t&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["nz-sider"]],contentQueries:function(t,i,c){if(t&1&&k(c,G,5),t&2){let g;w(g=D())&&(i.nzMenuDirective=g.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(t,i){t&2&&(B("flex",i.flexSetting)("max-width",i.widthSetting)("min-width",i.widthSetting)("width",i.widthSetting),C("ant-layout-sider-zero-width",i.nzCollapsed&&i.nzCollapsedWidth===0)("ant-layout-sider-light",i.nzTheme==="light")("ant-layout-sider-dark",i.nzTheme==="dark")("ant-layout-sider-collapsed",i.nzCollapsed)("ant-layout-sider-has-trigger",i.nzCollapsible&&i.nzTrigger!==null))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:[2,"nzReverseArrow","nzReverseArrow",T],nzCollapsible:[2,"nzCollapsible","nzCollapsible",T],nzCollapsed:[2,"nzCollapsed","nzCollapsed",T]},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[_],ngContentSelectors:h,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth"],["nz-sider-trigger","",3,"click","matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth"]],template:function(t,i){t&1&&(d(),S(0,"div",0),p(1),N(),z(2,le,1,8,"div",1)),t&2&&(v(2),u(i.nzCollapsible&&i.nzTrigger!==null?2:-1))},dependencies:[J],encapsulation:2,changeDetection:0})}return e})(),xe=(()=>{class e{destroyRef=a(y);directionality=a(V);listOfNzSiderComponent;dir="ltr";ngOnInit(){this.dir=this.directionality.value,this.directionality.change?.pipe(W(this.destroyRef)).subscribe(n=>{this.dir=n})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=l({type:e,selectors:[["nz-layout"]],contentQueries:function(t,i,c){if(t&1&&k(c,K,4),t&2){let g;w(g=D())&&(i.listOfNzSiderComponent=g)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(t,i){t&2&&C("ant-layout-rtl",i.dir==="rtl")("ant-layout-has-sider",i.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:h,decls:1,vars:0,template:function(t,i){t&1&&(d(),p(0))},encapsulation:2,changeDetection:0})}return e})(),We=(()=>{class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=P({type:e});static \u0275inj=A({imports:[K,J]})}return e})();export{De as a,Me as b,Be as c,K as d,xe as e,We as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as s,i as d}from"./chunk-53YRDYLS.js";import{Eb as p,Fb as n,Ic as f,ec as c,fc as a,na as e}from"./chunk-SJG2JCPL.js";var g=["class","component"],i=class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=p({type:t,selectors:[["app-setting",8,"component"]],attrs:g,decls:2,vars:0,template:function(o,M){o&1&&(c(0,"p"),f(1,"setting.component works!"),a())},encapsulation:2})};var C=[{path:"",component:i}],m=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=n({type:t});static \u0275inj=e({imports:[s.forChild(C),s]})};var u=class t{static \u0275fac=function(o){return new(o||t)};static \u0275mod=n({type:t});static \u0275inj=e({imports:[d,m]})};export{u as SettingModule};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as Ie,b as Oe}from"./chunk-6ZXMOHQD.js";import"./chunk-SIVPP74B.js";import{b as je}from"./chunk-ZJKBRM7K.js";import{a as Se,b as Fe}from"./chunk-2FQR5HIO.js";import{b as ce,c as de,d as ue,e as De,g as Pe,h as Te}from"./chunk-34QRY4VA.js";import"./chunk-SNCDDYQR.js";import{G as be,I as Ne,g as we}from"./chunk-A6CKMRBS.js";import{Cb as ye,Eb as Me,M as oe,N as re,O as ae,P as pe,V as se,Y as le,Z as me,ib as ge,kb as fe,ob as _e,sb as ze,vb as Ce,xb as ve,yb as he,zb as xe}from"./chunk-J43J3F2V.js";import"./chunk-HFZLJHYR.js";import{B as U,d as ie,i as E}from"./chunk-53YRDYLS.js";import{$b as J,B as q,Dc as K,Eb as O,Fb as y,Fc as Q,Ha as z,Ic as s,Jc as b,Kb as M,Kc as F,Mc as X,Nc as Y,Oc as Z,Tc as ee,Ub as W,V as P,Vb as C,Wc as $,Xb as v,_b as H,a as d,ac as c,ad as te,b as u,bc as r,cc as a,dc as g,fd as N,gd as ne,hc as j,ic as S,jc as R,kc as T,ma as G,mb as p,na as h,qc as w,ra as _,tc as l,vd as A,xa as x,ya as D}from"./chunk-SJG2JCPL.js";function Ve(n,t){if(n&1&&(j(0),s(1),S()),n&2){let e=l(2);p(),b(e.nzText)}}function Be(n,t){if(n&1&&(r(0,"span",0),M(1,Ve,2,1,"ng-container",1),a()),n&2){let e=l();p(),c("nzStringTemplateOutlet",e.nzText)}}var L=(()=>{class n{nzText;nzType="horizontal";nzOrientation="center";nzVariant="solid";nzSize;nzDashed=!1;nzPlain=!1;static \u0275fac=function(o){return new(o||n)};static \u0275cmp=O({type:n,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:22,hostBindings:function(o,i){o&2&&Q("ant-divider-horizontal",i.nzType==="horizontal")("ant-divider-vertical",i.nzType==="vertical")("ant-divider-with-text",i.nzText)("ant-divider-plain",i.nzPlain)("ant-divider-with-text-left",i.nzText&&i.nzOrientation==="left")("ant-divider-with-text-right",i.nzText&&i.nzOrientation==="right")("ant-divider-with-text-center",i.nzText&&i.nzOrientation==="center")("ant-divider-dashed",i.nzDashed||i.nzVariant==="dashed")("ant-divider-dotted",i.nzVariant==="dotted")("ant-divider-sm",i.nzSize==="small")("ant-divider-md",i.nzSize==="middle")},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzVariant:"nzVariant",nzSize:"nzSize",nzDashed:[2,"nzDashed","nzDashed",A],nzPlain:[2,"nzPlain","nzPlain",A]},exportAs:["nzDivider"],decls:1,vars:1,consts:[[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(o,i){o&1&&C(0,Be,2,1,"span",0),o&2&&v(i.nzText?0:-1)},dependencies:[pe,ae],encapsulation:2,changeDetection:0})}return n})(),Ee=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=y({type:n});static \u0275inj=h({imports:[L]})}return n})();var I=class n{api=_(we);getDeps(t){return this.api.get(`/api/deps/list/${t}`).pipe(q(e=>({items:[...e.dependencies.map(i=>u(d({},i),{group:"dependencies"})),...e.devDependencies.map(i=>u(d({},i),{group:"devDependencies"}))],meta:e.meta})))}install(t,e){return this.api.post(`/api/deps/install/${t}`,e)}uninstall(t,e){return this.api.post(`/api/deps/uninstall/${t}`,e)}installDevtools(t){return this.api.post(`/api/deps/devtools/install/${t}`,{tool:"devtools"})}static \u0275fac=function(e){return new(e||n)};static \u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})};var $e=["class","component"],Ae=n=>({$implicit:n,title:"\u8FD0\u884C\u4F9D\u8D56"}),Ue=n=>({$implicit:n,title:"\u5F00\u53D1\u4F9D\u8D56"});function Le(n,t){n&1&&R(0)}function qe(n,t){n&1&&R(0)}function Ge(n,t){n&1&&(r(0,"nz-tag",20),s(1,"\u5DF2\u5B89\u88C5"),a())}function We(n,t){n&1&&(r(0,"nz-tag",21),s(1,"\u672A\u5B89\u88C5"),a())}function He(n,t){if(n&1){let e=T();r(0,"button",27),w("click",function(){x(e);let i=l().$implicit,m=l(2);return D(m.installOrUpdate(i))}),g(1,"nz-icon",28),a()}if(n&2){let e=l().$implicit,o=l(2);c("nzLoading",o.installing()[e.name])("nz-tooltip",e.hasUpdate?"\u66F4\u65B0\u5230\u6700\u65B0\u7248\u672C":"\u5B89\u88C5\u4F9D\u8D56")}}function Je(n,t){if(n&1){let e=T();r(0,"button",29),w("nzOnConfirm",function(){x(e);let i=l().$implicit,m=l(2);return D(m.uninstall(i))}),g(1,"nz-icon",30),a()}if(n&2){let e=l().$implicit;c("nzPopconfirmTitle",ee("\u786E\u5B9A\u5378\u8F7D ",e.name,"\uFF1F")),p(),c("nz-tooltip","\u5378\u8F7D"+e.name)}}function Ke(n,t){if(n&1){let e=T();r(0,"div",9)(1,"div",11)(2,"div",12)(3,"div",13),g(4,"span",14),a(),r(5,"div",15)(6,"div",16),s(7),a(),r(8,"div",17)(9,"span"),s(10),a(),r(11,"span",18),s(12,"\xB7"),a(),r(13,"span"),s(14),a(),r(15,"span",18),s(16,"\xB7"),a(),r(17,"span"),s(18),a()()()(),r(19,"div",19),C(20,Ge,2,0,"nz-tag",20)(21,We,2,0,"nz-tag",21),r(22,"a",22),w("click",function(){let i=x(e).$implicit,m=l(2);return D(m.openDetail(i))}),g(23,"span",23),s(24," \u67E5\u770B\u8BE6\u60C5 "),a()(),r(25,"div",24),C(26,He,2,2,"button",25),C(27,Je,2,3,"button",26),a()()()}if(n&2){let e=t.$implicit;p(7),b(e.name),p(3),F("\u7248\u672C ",e.current||"-"),p(4),F("\u8981\u6C42 ",e.required||"-"),p(4),F("\u6700\u65B0 ",e.latest||"-"),p(2),v(e.installed?20:21),p(6),v(e.hasUpdate||!e.installed?26:-1),p(),v(e.installed?27:-1)}}function Qe(n,t){n&1&&(r(0,"div",10),s(1,"\u65E0\u6570\u636E"),a())}function Xe(n,t){if(n&1&&(r(0,"div",7),s(1),a(),r(2,"div",8),H(3,Ke,28,7,"div",9,W().trackByName,!0),C(5,Qe,2,0,"div",10),a()),n&2){let e=t.$implicit,o=t.title;p(),b(o),p(2),J(e),p(2),v(e.length===0?5:-1)}}var V=class n{api=_(I);msg=_(be);projectId=N(()=>this.projectState.currentProjectId()||"");loading=z(!1);keyword=z("");items=z([]);meta=z(null);installing=z({});uninstalling=z({});runtimeItems=N(()=>this.filterItems(this.items().filter(t=>t.group==="dependencies")));devItems=N(()=>this.filterItems(this.items().filter(t=>t.group==="devDependencies")));runningCount=N(()=>this.items().filter(t=>t.hasUpdate).length);projectState=_(Ne);depsState=_(I);constructor(){ne(async()=>{this.refresh()})}filterItems(t){let e=this.keyword().trim().toLowerCase();return e?t.filter(o=>o.name.toLowerCase().includes(e)):t}refresh(){this.loading.set(!0),this.api.getDeps(this.projectId()).pipe(P(()=>this.loading.set(!1))).subscribe({next:({items:t,meta:e})=>{this.items.set(t),this.meta.set(e)},error:t=>this.msg.error(t?.message||"\u52A0\u8F7D\u4F9D\u8D56\u5931\u8D25")})}openDetail(t){t.homepage?window.open(t.homepage,"_blank"):window.open(`https://www.npmjs.com/package/${encodeURIComponent(t.name)}`,"_blank")}installOrUpdate(t){let e=t.name;this.installing.set(u(d({},this.installing()),{[e]:!0}));let o=t.installed&&t.hasUpdate?"latest":"required",i=t.installed&&t.hasUpdate?"\u5DF2\u66F4\u65B0":"\u5DF2\u5B89\u88C5";this.api.install(this.projectId(),{name:t.name,group:t.group,target:o}).pipe(P(()=>this.installing.set(u(d({},this.installing()),{[e]:!1})))).subscribe({next:()=>{this.msg.success(i),this.refresh()}})}uninstall(t){let e=t.name;this.uninstalling.set(u(d({},this.uninstalling()),{[e]:!0})),this.api.uninstall(this.projectId(),{name:t.name,group:t.group}).pipe(P(()=>this.uninstalling.set(u(d({},this.uninstalling()),{[e]:!1})))).subscribe({next:()=>{this.msg.success("\u5DF2\u5378\u8F7D"),this.refresh()}})}installDevtools(){this.loading.set(!0),this.api.installDevtools(this.projectId()).pipe(P(()=>this.loading.set(!1))).subscribe({next:()=>{this.msg.success("devtools \u5DF2\u5B89\u88C5"),this.refresh()},error:t=>this.msg.error(t?.message||"devtools \u5B89\u88C5\u5931\u8D25")})}installAll(){let t=this.items().filter(o=>!o.installed);if(!t.length){this.msg.info("\u6CA1\u6709\u9700\u8981\u5B89\u88C5\u7684\u4F9D\u8D56");return}(async()=>{this.loading.set(!0);try{for(let o of t)await new Promise((i,m)=>{this.api.install(this.projectId(),{name:o.name,group:o.group,target:"required"}).subscribe({next:()=>i(),error:f=>m(f)})});this.msg.success("\u5DF2\u5B8C\u6210\u5B89\u88C5"),this.refresh()}catch{this.msg.error("\u6279\u91CF\u5B89\u88C5\u5931\u8D25")}finally{this.loading.set(!1)}})()}trackByName(t,e){return e.group+":"+e.name}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=O({type:n,selectors:[["app-project-deps",8,"component"]],attrs:$e,decls:12,vars:11,consts:[["contentTemplate",""],[3,"title","loading"],["ngProjectAs","actions",5,["actions"]],["nz-input","","placeholder","\u641C\u7D22",1,"search",3,"ngModelChange","ngModel"],["nzType","search","nzInputPrefix",""],[1,"panel"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"group-title"],[1,"list"],[1,"row"],[1,"empty"],["nz-row","","nzAlign","middle",1,"row-inner"],["nz-col","","nzFlex","400px",1,"left"],[1,"pkg-icon"],["nz-icon","","nzType","appstore"],[1,"pkg"],[1,"name"],[1,"sub"],[1,"sep"],["nz-col","","nzFlex","auto",1,"mid"],["nzColor","success"],["nzColor","warning"],[1,"detail",3,"click"],["nz-icon","","nzType","link"],["nz-col","","nzFlex","180px",1,"right"],["nz-button","","nzType","text",3,"nzLoading","nz-tooltip"],["nz-button","","nzType","text","nz-popconfirm","",3,"nzPopconfirmTitle"],["nz-button","","nzType","text",3,"click","nzLoading","nz-tooltip"],["nzType","download"],["nz-button","","nzType","text","nz-popconfirm","",3,"nzOnConfirm","nzPopconfirmTitle"],["nzType","delete","nzTheme","fill",3,"nz-tooltip"]],template:function(e,o){if(e&1){let i=T();r(0,"page-layout",1),j(1,2),g(2,"app-ng-devtool"),r(3,"nz-input-wrapper")(4,"input",3),Z("ngModelChange",function(f){return x(i),Y(o.keyword,f)||(o.keyword=f),D(f)}),w("ngModelChange",function(f){return x(i),D(o.keyword.set(f))}),a(),g(5,"nz-icon",4),a(),S(),r(6,"div",5),M(7,Le,1,0,"ng-container",6),g(8,"nz-divider"),M(9,qe,1,0,"ng-container",6),a()(),M(10,Xe,6,2,"ng-template",null,0,te)}if(e&2){let i=K(11);c("title","\u9879\u76EE\u914D\u7F6E")("loading",o.loading()),p(4),X("ngModel",o.keyword),p(3),c("ngTemplateOutlet",i)("ngTemplateOutletContext",$(7,Ae,o.runtimeItems())),p(2),c("ngTemplateOutlet",i)("ngTemplateOutletContext",$(9,Ue,o.devItems()))}},dependencies:[E,ie,ze,ge,fe,_e,ue,de,ce,me,le,se,xe,ve,he,Ce,re,oe,Me,ye,Fe,Se,je,Ee,L,Oe,Ie,Pe,Te,De],styles:[".panel[_ngcontent-%COMP%]{border-radius:10px;padding:16px 18px;box-shadow:0 2px 8px #0000000f}.group-title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;margin:6px 0 12px;opacity:.65}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px}.row[_ngcontent-%COMP%]{border-radius:10px}.row[_ngcontent-%COMP%]:hover{box-shadow:0 4px 12px #0000001a;background:var(--app-primary-3)}.row-inner[_ngcontent-%COMP%]{padding:10px 12px}.left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.left[_ngcontent-%COMP%] .pkg-icon[_ngcontent-%COMP%]{width:34px;height:34px;border-radius:8px;opacity:.65;display:inline-flex;align-items:center;justify-content:center}.left[_ngcontent-%COMP%] .pkg[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;line-height:18px}.left[_ngcontent-%COMP%] .pkg[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%]{margin-top:2px;font-size:12px;opacity:.55}.left[_ngcontent-%COMP%] .pkg[_ngcontent-%COMP%] .sub[_ngcontent-%COMP%] .sep[_ngcontent-%COMP%]{margin:0 6px}.mid[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:8px}.mid[_ngcontent-%COMP%] .detail[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;color:var(--text-color-primary)}.right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:6px}.empty[_ngcontent-%COMP%]{padding:16px 0;text-align:center}"]})};var Ye=[{path:"",component:V}],B=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=y({type:n});static \u0275inj=h({imports:[U.forChild(Ye),U]})};var ke=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=y({type:n});static \u0275inj=h({imports:[E,B]})};export{ke as DependenciesModule};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{a as ai}from"./chunk-HT3VTKOZ.js";import"./chunk-6ZXMOHQD.js";import{c as qe}from"./chunk-GNFBCMLE.js";import{b as Ke,d as ii}from"./chunk-CF64VPDQ.js";import{d as si,e as ni,f as oi}from"./chunk-TN5O5PXP.js";import{e as Je}from"./chunk-34QRY4VA.js";import{c as ri,d as li}from"./chunk-GKOCPXFS.js";import"./chunk-SNCDDYQR.js";import{A as Jt,B as Zt,I as ei,g as Qt,i as Ze,j as ti,y as Kt,z as qt}from"./chunk-A6CKMRBS.js";import{Cb as jt,Eb as Ut,M as L,N as F,T as Ue,U as Qe,V as B,W as X,Y,Z as O,ib as zt,kb as mt,ob as pt,sb as gt,vb as Yt,xb as Mt,yb as Gt,zb as $t}from"./chunk-J43J3F2V.js";import"./chunk-HFZLJHYR.js";import{c as Xe,h as Ye,i as D,o as Ge,y as je}from"./chunk-53YRDYLS.js";import{$b as K,$c as Be,Bc as Oe,Cc as We,Eb as T,Ec as Ne,Fc as xt,Ha as S,Ic as f,J as ke,Jc as A,Kb as At,Kc as _t,Mc as ht,Nc as dt,Oa as nt,Oc as ct,Q as Se,Ra as St,Vb as b,Xb as _,Yb as ge,Zc as Le,_b as Q,a as P,ac as p,b as j,bc as l,cc as h,da as Pe,dc as m,ea as me,ec as V,ed as Ve,fc as N,fd as R,gd as He,hc as tt,ic as et,kb as Re,kc as M,l as Ht,ma as It,mb as d,md as Ae,qc as z,ra as k,rb as ot,rd as Xt,sb as pe,sc as rt,tc as c,ub as Fe,uc as Dt,va as De,vc as bt,wa as Ee,xa as w,xb as Pt,ya as x,yb as U,z as ce}from"./chunk-SJG2JCPL.js";var te=class n{api=k(Qt);getInfo(e){return this.api.get(`/api/dashboard/getInfo/${e}`)}update(e,t){return this.api.post(`/api/dashboard/update/${e}`,t)}widgets(e){return this.api.get(`/api/dashboard/widgets/${e}`)}addWidget(e,t){let{x:i,y:s}=t;return this.api.get(`/api/dashboard/addWidget/${e}/${t.widgetKey}/${i}/${s}`)}removeWidget(e,t){return this.api.delete(`/api/dashboard/removeWidget/${e}/${t}`)}updateItemConfig(e,t,i){return this.api.post(`/api/dashboard/updateItemConfig/${e}/${t}`,i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var it=class n{localKey(e){return`${Ze.dashboard.layout}.${e}`}local=k(ti);api=k(te);_doc=S(null);items=R(()=>this._doc()?.items??[]);updatedAt=R(()=>this._doc()?.updatedAt??0);widgets=S([]);saveTimer=null;async load(e){try{let t=await ce(this.api.getInfo(e));this._doc.set(t),this.local.set(this.localKey(e),t);return}catch{let t=this.local.get(this.localKey(e),null);if(t){this._doc.set(t);return}this._doc.set({version:1,projectId:e,updatedAt:Date.now(),items:[]})}}setItems(e,t){let i=this._doc();i&&(this._doc.set(j(P({},i),{items:t})),this.scheduleAutoSave(e))}scheduleAutoSave(e,t=1e4){this.saveTimer&&clearTimeout(this.saveTimer),this.saveTimer=setTimeout(()=>{this.flushSave(e).catch(()=>{})},t)}async flushSave(e){this.saveTimer&&(clearTimeout(this.saveTimer),this.saveTimer=null);let t=this._doc();if(!t)return;this.local.set(this.localKey(e),t);let i=await ce(this.api.update(e,t));this._doc.set(i),this.local.set(this.localKey(e),i)}add(e){let t=this._doc();t&&setTimeout(()=>{let{x:i,y:s}=e;this.api.addWidget(t.projectId,{widgetKey:e.key,x:i,y:s}).subscribe(o=>{this._doc.set(o),this.local.set(this.localKey(t.projectId),o),this.getWidgets()})},0)}remove(e){let t=this._doc();t&&this.api.removeWidget(t.projectId,e).subscribe(i=>{this._doc.set(i),this.local.set(this.localKey(t.projectId),i),this.getWidgets()})}getWidgets(){let e=this._doc();e&&this.api.widgets(e.projectId).subscribe(t=>{this.widgets.set(t)})}updateConfig(e,t,i){let s=this._doc();s&&this.api.updateItemConfig(e,t,i).subscribe(o=>{this._doc.set(o),this.local.set(this.localKey(s.projectId),o)})}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var _i=(n,e)=>e.key;function zi(n,e){if(n&1){let t=M();l(0,"div",5)(1,"div",6)(2,"div",7),m(3,"nz-icon",8),h(),l(4,"div",9)(5,"div",10),f(6),h(),l(7,"div",11),f(8),h()(),l(9,"div",12)(10,"button",13),z("click",function(){let s=w(t).$implicit,o=c();return x(o.addWidget(s))}),m(11,"nz-icon",14),h()()()()}if(n&2){let t=e.$implicit;d(3),p("nzType",t.icon||"appstore"),d(3),A(t.title),d(2),A(t.desc)}}var ee=class n{layout=k(it);add=new ot;keyword=S("");widgets=this.layout.widgets;filtered=R(()=>{let e=this.keyword().trim().toLowerCase();return e?this.widgets().filter(t=>(t.title+(t.desc??"")).toLowerCase().includes(e)):this.widgets()});constructor(){}addWidget(e){this.add.emit(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-add-widget-drawer"]],outputs:{add:"add"},decls:8,vars:1,consts:[[1,"list"],[1,"topbar"],["nzInputPrefix","","nzType","search",1,"search-icon"],["nz-input","","placeholder","",3,"ngModelChange","ngModel"],[1,"items"],[1,"item"],[1,"row"],[1,"icon"],["nzTheme","outline",3,"nzType"],[1,"info"],[1,"name"],[1,"description"],[1,"actions"],["nz-button","","nzType","primary","nzSize","small","nzTooltip","\u6DFB\u52A0\u90E8\u4EF6",3,"click"],["nzType","plus"]],template:function(t,i){t&1&&(l(0,"div",0)(1,"div",1)(2,"nz-input-wrapper"),m(3,"nz-icon",2),l(4,"input",3),z("ngModelChange",function(o){return i.keyword.set(o)}),h()()(),l(5,"div",4),Q(6,zi,12,3,"div",5,_i),h()()),t&2&&(d(4),p("ngModel",i.keyword()),d(2),K(i.filtered()))},dependencies:[D,gt,zt,mt,pt,F,L,$t,Mt,Gt,Yt,O,Y,B,X,Ut],styles:[".list[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column}.list[_ngcontent-%COMP%] .topbar[_ngcontent-%COMP%]{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:10px 16px}.list[_ngcontent-%COMP%] .topbar[_ngcontent-%COMP%] nz-input-wrapper[_ngcontent-%COMP%]{width:100%;border-radius:18px}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{flex:1 1 auto;overflow:auto;height:0;display:flex;flex-direction:column;gap:8px;padding:8px;overflow-x:hidden;overflow-y:auto}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-radius:3px;padding:10px;cursor:pointer}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover, .list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item.active[_ngcontent-%COMP%]{background:var(--app-primary-3)}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;overflow:hidden;justify-content:space-between}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:28px;flex:0 0 auto;position:relative;border-radius:50%;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--app-primary-1)}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;overflow:hidden}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:13px;color:var(--app-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.list[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{flex:0 0 auto}"],changeDetection:0})};var mi=["*"];function Mi(n,e){if(n&1&&m(0,"div",0),n&2){let t=e.$index,i=c();p("ngStyle",i.gridRenderer.getGridColumnStyle(t))}}function $i(n,e){if(n&1&&m(0,"div",1),n&2){let t=e.$index,i=c();p("ngStyle",i.gridRenderer.getGridRowStyle(t))}}function Ti(n,e){if(n&1){let t=M();V(0,"div",8),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function ki(n,e){if(n&1){let t=M();V(0,"div",9),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Si(n,e){if(n&1){let t=M();V(0,"div",10),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Pi(n,e){if(n&1){let t=M();V(0,"div",11),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Di(n,e){if(n&1){let t=M();V(0,"div",12),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Ei(n,e){if(n&1){let t=M();V(0,"div",13),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Ri(n,e){if(n&1){let t=M();V(0,"div",14),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}function Fi(n,e){if(n&1){let t=M();V(0,"div",15),rt("mousedown",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))})("touchstart",function(s){w(t);let o=c();return x(o.resize.dragStartDelay(s))}),N()}}var g=(function(n){return n.Fit="fit",n.ScrollVertical="scrollVertical",n.ScrollHorizontal="scrollHorizontal",n.Fixed="fixed",n.VerticalFixed="verticalFixed",n.HorizontalFixed="horizontalFixed",n})(g||{}),se=(function(n){return n.Always="always",n.OnDragAndResize="onDrag&Resize",n.None="none",n})(se||{}),v=(function(n){return n.None="none",n.CompactUp="compactUp",n.CompactLeft="compactLeft",n.CompactUpAndLeft="compactUp&Left",n.CompactLeftAndUp="compactLeft&Up",n.CompactRight="compactRight",n.CompactUpAndRight="compactUp&Right",n.CompactRightAndUp="compactRight&Up",n.CompactDown="compactDown",n.CompactDownAndLeft="compactDown&Left",n.CompactLeftAndDown="compactLeft&Down",n.CompactDownAndRight="compactDown&Right",n.CompactRightAndDown="compactRight&Down",n.CompactGrid="compactGrid",n})(v||{}),E=(function(n){return n.LTR="ltr",n.RTL="rtl",n})(E||{}),Ce=class{gridster;constructor(e){this.gridster=e}destroy(){this.gridster=null}checkCompact(){this.gridster.$options.compactType!==v.None&&(this.gridster.$options.compactType===v.CompactUp?this.checkCompactMovement("y",-1):this.gridster.$options.compactType===v.CompactLeft?this.checkCompactMovement("x",-1):this.gridster.$options.compactType===v.CompactUpAndLeft?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===v.CompactLeftAndUp?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===v.CompactRight?this.checkCompactMovement("x",1):this.gridster.$options.compactType===v.CompactUpAndRight?(this.checkCompactMovement("y",-1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===v.CompactRightAndUp?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",-1)):this.gridster.$options.compactType===v.CompactDown?this.checkCompactMovement("y",1):this.gridster.$options.compactType===v.CompactDownAndLeft?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",-1)):this.gridster.$options.compactType===v.CompactDownAndRight?(this.checkCompactMovement("y",1),this.checkCompactMovement("x",1)):this.gridster.$options.compactType===v.CompactLeftAndDown?(this.checkCompactMovement("x",-1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===v.CompactRightAndDown?(this.checkCompactMovement("x",1),this.checkCompactMovement("y",1)):this.gridster.$options.compactType===v.CompactGrid&&this.checkCompactGrid())}checkCompactItem(e){this.gridster.$options.compactType!==v.None&&(this.gridster.$options.compactType===v.CompactUp?this.moveTillCollision(e,"y",-1):this.gridster.$options.compactType===v.CompactLeft?this.moveTillCollision(e,"x",-1):this.gridster.$options.compactType===v.CompactUpAndLeft?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===v.CompactLeftAndUp?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",-1)):this.gridster.$options.compactType===v.CompactUpAndRight?(this.moveTillCollision(e,"y",-1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===v.CompactDown?this.moveTillCollision(e,"y",1):this.gridster.$options.compactType===v.CompactDownAndLeft?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",-1)):this.gridster.$options.compactType===v.CompactLeftAndDown?(this.moveTillCollision(e,"x",-1),this.moveTillCollision(e,"y",1)):this.gridster.$options.compactType===v.CompactDownAndRight?(this.moveTillCollision(e,"y",1),this.moveTillCollision(e,"x",1)):this.gridster.$options.compactType===v.CompactRightAndDown?(this.moveTillCollision(e,"x",1),this.moveTillCollision(e,"y",1)):this.gridster.$options.compactType===v.CompactGrid&&this.moveToGridPosition(e))}checkCompactMovement(e,t){let i=!1;this.gridster.grid.forEach(s=>{s.$item.compactEnabled!==!1&&this.moveTillCollision(s.$item,e,t)&&(i=!0,s.item[e]=s.$item[e],s.itemChanged())}),i&&this.checkCompact()}moveTillCollision(e,t,i){return e[t]+=i,this.gridster.checkCollision(e)?(e[t]-=i,!1):(this.moveTillCollision(e,t,i),!0)}checkCompactGrid(){let e=this.gridster.grid.filter(o=>o.$item.compactEnabled!==!1).sort((o,r)=>o.$item.y!==r.$item.y?o.$item.y-r.$item.y:o.$item.x-r.$item.x),t=0,i=0,s=0;e.forEach(o=>{let r=o.$item;i+r.cols>this.gridster.columns&&(t=s,i=0,s=t);let a=r.x,C=r.y;r.x=i,r.y=t,(a!==r.x||C!==r.y)&&(o.item.x=r.x,o.item.y=r.y,o.itemChanged()),i+=r.cols,s=Math.max(s,t+r.rows)})}moveToGridPosition(e){let t=0,i=0,s=0,o=this.gridster.grid.filter(r=>r.$item!==e).sort((r,a)=>r.$item.y!==a.$item.y?r.$item.y-a.$item.y:r.$item.x-a.$item.x);for(let r of o){let a=r.$item;i+a.cols>this.gridster.columns&&(t=s,i=0,s=t),t<a.y+a.rows&&t+e.rows>a.y&&i<a.x+a.cols&&i+e.cols>a.x?(i=a.x+a.cols,t=a.y,s=Math.max(s,t+a.rows)):(i+=a.cols,s=Math.max(s,t+a.rows))}i+e.cols>this.gridster.columns&&(t=s,i=0),e.x=i,e.y=t}},Oi={gridType:g.Fit,scale:1,fixedColWidth:250,fixedRowHeight:250,keepFixedHeightInMobile:!1,keepFixedWidthInMobile:!1,setGridSize:!1,compactType:v.None,mobileBreakpoint:640,useBodyForBreakpoint:!1,allowMultiLayer:!1,defaultLayerIndex:0,maxLayerIndex:2,baseLayerIndex:1,minCols:1,maxCols:100,minRows:1,maxRows:100,defaultItemCols:1,defaultItemRows:1,itemAspectRatio:void 0,maxItemCols:50,maxItemRows:50,minItemCols:1,minItemRows:1,minItemArea:1,maxItemArea:2500,addEmptyRowsCount:0,rowHeightRatio:1,margin:10,outerMargin:!0,outerMarginTop:null,outerMarginRight:null,outerMarginBottom:null,outerMarginLeft:null,useTransformPositioning:!0,scrollSensitivity:10,scrollSpeed:20,initCallback:void 0,destroyCallback:void 0,gridSizeChangedCallback:void 0,itemChangeCallback:void 0,itemResizeCallback:void 0,itemInitCallback:void 0,itemRemovedCallback:void 0,itemValidateCallback:void 0,enableEmptyCellClick:!1,enableEmptyCellContextMenu:!1,enableEmptyCellDrop:!1,enableEmptyCellDrag:!1,enableOccupiedCellDrop:!1,emptyCellClickCallback:void 0,emptyCellContextMenuCallback:void 0,emptyCellDropCallback:void 0,emptyCellDragCallback:void 0,emptyCellDragMaxCols:50,emptyCellDragMaxRows:50,ignoreMarginInRow:!1,draggable:{delayStart:0,enabled:!1,ignoreContentClass:"gridster-item-content",ignoreContent:!1,dragHandleClass:"drag-handler",stop:void 0,start:void 0,dropOverItems:!1,dropOverItemsCallback:void 0},resizable:{delayStart:0,enabled:!1,handles:{s:!0,e:!0,n:!0,w:!0,se:!0,ne:!0,sw:!0,nw:!0},stop:void 0,start:void 0},swap:!0,swapWhileDragging:!1,pushItems:!1,disablePushOnDrag:!1,disablePushOnResize:!1,pushDirections:{north:!0,east:!0,south:!0,west:!0},pushResizeItems:!1,displayGrid:se.OnDragAndResize,disableWindowResize:!1,disableWarnings:!1,scrollToNewItems:!1,disableScrollHorizontal:!1,disableScrollVertical:!1,enableBoundaryControl:!1,disableAutoPositionOnConflict:!1,dirType:E.LTR},W=class n{static merge(e,t,i){for(let s in t)t[s]!==void 0&&i.hasOwnProperty(s)&&(typeof t[s]=="object"?(s in e||(e[s]={}),e[s]=n.merge(e[s],t[s],i[s])):e[s]=t[s]);return e}static checkTouchEvent(e){e.clientX===void 0&&e.touches&&(e.touches&&e.touches.length?(e.clientX=e.touches[0].clientX,e.clientY=e.touches[0].clientY):e.changedTouches&&e.changedTouches.length&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY))}static checkContentClassForEvent(e,t){if(e.$options.draggable.ignoreContent){if(!n.checkDragHandleClass(t.target,t.currentTarget,e.$options.draggable.dragHandleClass,e.$options.draggable.ignoreContentClass))return!0}else if(n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.ignoreContentClass))return!0;return!1}static checkContentClassForEmptyCellClickEvent(e,t){return n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.ignoreContentClass)||n.checkContentClass(t.target,t.currentTarget,e.$options.draggable.dragHandleClass)}static checkDragHandleClass(e,t,i,s){if(!e||e===t)return!1;if(e.hasAttribute("class")){let o=e.getAttribute("class").split(" ");if(o.indexOf(i)>-1)return!0;if(o.indexOf(s)>-1)return!1}return n.checkDragHandleClass(e.parentNode,t,i,s)}static checkContentClass(e,t,i){return!e||e===t?!1:e.hasAttribute("class")&&e.getAttribute("class").split(" ").indexOf(i)>-1?!0:n.checkContentClass(e.parentNode,t,i)}static compareItems(e,t){return e.y>t.y?-1:e.y<t.y?1:e.x>t.x?-1:1}},ye=class{gridster;initialItem;removeEmptyCellClickListenerFn;removeEmptyCellTouchendListenerFn;removeEmptyCellContextMenuListenerFn;removeEmptyCellDropListenerFn;removeEmptyCellMousedownListenerFn;removeEmptyCellTouchstartListenerFn;removeWindowMousemoveListenerFn;removeWindowTouchmoveListenerFn;removeWindowMouseupListenerFn;removeWindowTouchendListenerFn;removeEmptyCellDragoverListenerFn;removeDocumentDragendListenerFn;constructor(e){this.gridster=e}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(),this.gridster.movingItem=null,this.initialItem=this.gridster=null,this.removeDocumentDragendListenerFn&&(this.removeDocumentDragendListenerFn(),this.removeDocumentDragendListenerFn=null)}updateOptions(){this.gridster.$options.enableEmptyCellClick&&!this.removeEmptyCellClickListenerFn&&this.gridster.options.emptyCellClickCallback?(this.removeEmptyCellClickListenerFn=this.gridster.renderer.listen(this.gridster.el,"click",this.emptyCellClickCb),this.removeEmptyCellTouchendListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchend",this.emptyCellClickCb)):!this.gridster.$options.enableEmptyCellClick&&this.removeEmptyCellClickListenerFn&&this.removeEmptyCellTouchendListenerFn&&(this.removeEmptyCellClickListenerFn(),this.removeEmptyCellTouchendListenerFn(),this.removeEmptyCellClickListenerFn=null,this.removeEmptyCellTouchendListenerFn=null),this.gridster.$options.enableEmptyCellContextMenu&&!this.removeEmptyCellContextMenuListenerFn&&this.gridster.options.emptyCellContextMenuCallback?this.removeEmptyCellContextMenuListenerFn=this.gridster.renderer.listen(this.gridster.el,"contextmenu",this.emptyCellContextMenuCb):!this.gridster.$options.enableEmptyCellContextMenu&&this.removeEmptyCellContextMenuListenerFn&&(this.removeEmptyCellContextMenuListenerFn(),this.removeEmptyCellContextMenuListenerFn=null),this.gridster.$options.enableEmptyCellDrop&&!this.removeEmptyCellDropListenerFn&&this.gridster.options.emptyCellDropCallback?(this.removeEmptyCellDropListenerFn=this.gridster.renderer.listen(this.gridster.el,"drop",this.emptyCellDragDrop),this.gridster.zone.runOutsideAngular(()=>{this.removeEmptyCellDragoverListenerFn=this.gridster.renderer.listen(this.gridster.el,"dragover",this.emptyCellDragOver)}),this.removeDocumentDragendListenerFn=this.gridster.renderer.listen("document","dragend",()=>{this.gridster.movingItem=null,this.gridster.previewStyle()})):!this.gridster.$options.enableEmptyCellDrop&&this.removeEmptyCellDropListenerFn&&this.removeEmptyCellDragoverListenerFn&&this.removeDocumentDragendListenerFn&&(this.removeEmptyCellDropListenerFn(),this.removeEmptyCellDragoverListenerFn(),this.removeDocumentDragendListenerFn(),this.removeEmptyCellDragoverListenerFn=null,this.removeEmptyCellDropListenerFn=null,this.removeDocumentDragendListenerFn=null),this.gridster.$options.enableEmptyCellDrag&&!this.removeEmptyCellMousedownListenerFn&&this.gridster.options.emptyCellDragCallback?(this.removeEmptyCellMousedownListenerFn=this.gridster.renderer.listen(this.gridster.el,"mousedown",this.emptyCellMouseDown),this.removeEmptyCellTouchstartListenerFn=this.gridster.renderer.listen(this.gridster.el,"touchstart",this.emptyCellMouseDown)):!this.gridster.$options.enableEmptyCellDrag&&this.removeEmptyCellMousedownListenerFn&&this.removeEmptyCellTouchstartListenerFn&&(this.removeEmptyCellMousedownListenerFn(),this.removeEmptyCellTouchstartListenerFn(),this.removeEmptyCellMousedownListenerFn=null,this.removeEmptyCellTouchstartListenerFn=null)}emptyCellClickCb=e=>{if(!this.gridster||this.gridster.movingItem||W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellClickCallback&&this.gridster.options.emptyCellClickCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellContextMenuCb=e=>{if(this.gridster.movingItem||W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellContextMenuCallback&&this.gridster.options.emptyCellContextMenuCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellDragDrop=e=>{let t=this.getValidItemFromEvent(e);t&&(this.gridster.options.emptyCellDropCallback&&this.gridster.options.emptyCellDropCallback(e,t),this.gridster.cdRef.markForCheck())};emptyCellDragOver=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);t?(e.dataTransfer&&(e.dataTransfer.dropEffect="move"),this.gridster.movingItem=t):(e.dataTransfer&&(e.dataTransfer.dropEffect="none"),this.gridster.movingItem=null),this.gridster.previewStyle()};emptyCellMouseDown=e=>{if(W.checkContentClassForEmptyCellClickEvent(this.gridster,e))return;e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e);!t||e.buttons!==1&&!(e instanceof TouchEvent)||(this.initialItem=t,this.gridster.movingItem=t,this.gridster.previewStyle(),this.gridster.zone.runOutsideAngular(()=>{this.removeWindowMousemoveListenerFn=this.gridster.renderer.listen("window","mousemove",this.emptyCellMouseMove),this.removeWindowTouchmoveListenerFn=this.gridster.renderer.listen("window","touchmove",this.emptyCellMouseMove)}),this.removeWindowMouseupListenerFn=this.gridster.renderer.listen("window","mouseup",this.emptyCellMouseUp),this.removeWindowTouchendListenerFn=this.gridster.renderer.listen("window","touchend",this.emptyCellMouseUp))};emptyCellMouseMove=e=>{e.preventDefault(),e.stopPropagation();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t,this.gridster.previewStyle())};emptyCellMouseUp=e=>{this.removeWindowMousemoveListenerFn(),this.removeWindowTouchmoveListenerFn(),this.removeWindowMouseupListenerFn(),this.removeWindowTouchendListenerFn();let t=this.getValidItemFromEvent(e,this.initialItem);t&&(this.gridster.movingItem=t),this.gridster.options.emptyCellDragCallback&&this.gridster.movingItem&&this.gridster.options.emptyCellDragCallback(e,this.gridster.movingItem),setTimeout(()=>{this.initialItem=null,this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())}),this.gridster.cdRef.markForCheck()};getPixelsX(e,t){let i=this.gridster.options.scale;return i?(e.clientX-t.left)/i+this.gridster.el.scrollLeft-this.gridster.gridRenderer.getLeftMargin():e.clientX+this.gridster.el.scrollLeft-t.left-this.gridster.gridRenderer.getLeftMargin()}getPixelsY(e,t){let i=this.gridster.options.scale;return i?(e.clientY-t.top)/i+this.gridster.el.scrollTop-this.gridster.gridRenderer.getTopMargin():e.clientY+this.gridster.el.scrollTop-t.top-this.gridster.gridRenderer.getTopMargin()}getValidItemFromEvent(e,t){e.preventDefault(),e.stopPropagation(),W.checkTouchEvent(e);let i=this.gridster.el.getBoundingClientRect(),s=this.getPixelsX(e,i),o=this.getPixelsY(e,i),r={x:this.gridster.pixelsToPositionX(s,Math.floor,!0),y:this.gridster.pixelsToPositionY(o,Math.floor,!0),cols:this.gridster.$options.defaultItemCols,rows:this.gridster.$options.defaultItemRows};if(t&&(r.cols=Math.min(Math.abs(t.x-r.x)+1,this.gridster.$options.emptyCellDragMaxCols),r.rows=Math.min(Math.abs(t.y-r.y)+1,this.gridster.$options.emptyCellDragMaxRows),t.x<r.x?r.x=t.x:t.x-r.x>this.gridster.$options.emptyCellDragMaxCols-1&&(r.x=this.gridster.movingItem?this.gridster.movingItem.x:0),t.y<r.y?r.y=t.y:t.y-r.y>this.gridster.$options.emptyCellDragMaxRows-1&&(r.y=this.gridster.movingItem?this.gridster.movingItem.y:0)),!(!this.gridster.$options.enableOccupiedCellDrop&&this.gridster.checkCollision(r)))return r}},we=class{gridster;lastGridColumnStyles={};lastGridRowStyles={};constructor(e){this.gridster=e}destroy(){this.gridster=null}updateItem(e,t,i){if(this.gridster.mobile)this.clearCellPosition(i,e),this.gridster.$options.keepFixedHeightInMobile?i.setStyle(e,"height",(t.rows-1)*this.gridster.$options.margin+t.rows*this.gridster.$options.fixedRowHeight+"px"):i.setStyle(e,"height",t.rows*this.gridster.curWidth/t.cols+"px"),this.gridster.$options.keepFixedWidthInMobile?i.setStyle(e,"width",this.gridster.$options.fixedColWidth+"px"):i.setStyle(e,"width",""),i.setStyle(e,"margin-bottom",this.gridster.$options.margin+"px"),i.setStyle(e,E.LTR?"margin-right":"margin-left","");else{let s=Math.round(this.gridster.curColWidth*t.x),o=Math.round(this.gridster.curRowHeight*t.y),r=this.gridster.curColWidth*t.cols-this.gridster.$options.margin,a=this.gridster.curRowHeight*t.rows-this.gridster.$options.margin;this.setCellPosition(i,e,s,o),i.setStyle(e,"width",r+"px"),i.setStyle(e,"height",a+"px");let C=null,u=null;this.gridster.$options.outerMargin&&(this.gridster.rows===t.rows+t.y&&(this.gridster.$options.outerMarginBottom!==null?C=this.gridster.$options.outerMarginBottom+"px":C=this.gridster.$options.margin+"px"),this.gridster.columns===t.cols+t.x&&(this.gridster.$options.outerMarginBottom!==null?u=this.gridster.$options.outerMarginRight+"px":u=this.gridster.$options.margin+"px")),i.setStyle(e,"margin-bottom",C),i.setStyle(e,this.gridster.$options.dirType===E.LTR?"margin-right":"margin-left",u)}}updateGridster(){let e="",t="",i="",s="";if(this.gridster.$options.gridType===g.Fit)e=g.Fit,t=g.ScrollVertical,i=g.ScrollHorizontal,s=g.Fixed;else if(this.gridster.$options.gridType===g.ScrollVertical)this.gridster.curRowHeight=this.gridster.curColWidth*this.gridster.$options.rowHeightRatio,e=g.ScrollVertical,t=g.Fit,i=g.ScrollHorizontal,s=g.Fixed;else if(this.gridster.$options.gridType===g.ScrollHorizontal){let o=this.gridster.$options.rowHeightRatio,r=o>=1?o:o+1;this.gridster.curColWidth=this.gridster.curRowHeight*r,e=g.ScrollHorizontal,t=g.Fit,i=g.ScrollVertical,s=g.Fixed}else this.gridster.$options.gridType===g.Fixed?(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.Fixed,t=g.Fit,i=g.ScrollVertical,s=g.ScrollHorizontal):this.gridster.$options.gridType===g.VerticalFixed?(this.gridster.curRowHeight=this.gridster.$options.fixedRowHeight+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.ScrollVertical,t=g.Fit,i=g.ScrollHorizontal,s=g.Fixed):this.gridster.$options.gridType===g.HorizontalFixed&&(this.gridster.curColWidth=this.gridster.$options.fixedColWidth+(this.gridster.$options.ignoreMarginInRow?0:this.gridster.$options.margin),e=g.ScrollHorizontal,t=g.Fit,i=g.ScrollVertical,s=g.Fixed);this.gridster.mobile||this.gridster.$options.setGridSize&&this.gridster.$options.gridType!==g.Fit?this.gridster.renderer.removeClass(this.gridster.el,e):this.gridster.renderer.addClass(this.gridster.el,e),this.gridster.renderer.removeClass(this.gridster.el,t),this.gridster.renderer.removeClass(this.gridster.el,i),this.gridster.renderer.removeClass(this.gridster.el,s)}getGridColumnStyle(e){let t={left:this.gridster.curColWidth*e,width:this.gridster.curColWidth-this.gridster.$options.margin,height:this.gridster.gridRows.length*this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};t.style=j(P({},this.getLeftPosition(t.left)),{width:t.width+"px",height:t.height+"px"});let i=this.lastGridColumnStyles[e];return i&&i.left===t.left&&i.width===t.width&&i.height===t.height?i.style:(this.lastGridColumnStyles[e]=t,t.style)}getGridRowStyle(e){let t={top:this.gridster.curRowHeight*e,width:this.gridster.gridColumns.length*this.gridster.curColWidth+this.gridster.$options.margin,height:this.gridster.curRowHeight-this.gridster.$options.margin,style:{}};t.style=j(P({},this.getTopPosition(t.top)),{width:t.width+"px",height:t.height+"px"});let i=this.lastGridRowStyles[e];return i&&i.top===t.top&&i.width===t.width&&i.height===t.height?i.style:(this.lastGridRowStyles[e]=t,t.style)}getLeftPosition(e){let t=this.gridster.$options.dirType===E.RTL?-e:e;return this.gridster.$options.useTransformPositioning?{transform:"translateX("+t+"px)"}:{left:this.getLeftMargin()+t+"px"}}getTopPosition(e){return this.gridster.$options.useTransformPositioning?{transform:"translateY("+e+"px)"}:{top:this.getTopMargin()+e+"px"}}clearCellPosition(e,t){this.gridster.$options.useTransformPositioning?e.setStyle(t,"transform",""):(e.setStyle(t,"top",""),e.setStyle(t,"left",""))}setCellPosition(e,t,i,s){let o=this.gridster.$options.dirType===E.RTL?-i:i;if(this.gridster.$options.useTransformPositioning){let r="translate3d("+o+"px, "+s+"px, 0)";e.setStyle(t,"transform",r)}else e.setStyle(t,"left",this.getLeftMargin()+o+"px"),e.setStyle(t,"top",this.getTopMargin()+s+"px")}getLeftMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginLeft!==null?this.gridster.$options.outerMarginLeft:this.gridster.$options.margin:0}getTopMargin(){return this.gridster.$options.outerMargin?this.gridster.$options.outerMarginTop!==null?this.gridster.$options.outerMarginTop:this.gridster.$options.margin:0}},fe=(()=>{class n{renderer;gridRenderer;el;constructor(t,i){this.renderer=i,this.el=t.nativeElement}previewStyle(t){t?(this.renderer.setStyle(this.el,"display","block"),this.gridRenderer.updateItem(this.el,t,this.renderer)):this.renderer.setStyle(this.el,"display","")}static \u0275fac=function(i){return new(i||n)(U(St),U(Pt))};static \u0275cmp=T({type:n,selectors:[["gridster-preview"]],inputs:{gridRenderer:"gridRenderer"},decls:0,vars:0,template:function(i,s){},styles:[`gridster-preview{position:absolute;display:none;background:#00000026}
|
|
2
|
+
`],encapsulation:2})}return n})(),_e=(()=>{class n{renderer;cdRef;zone;gridsterPreview=Ae.required(fe);options;movingItem;el;$options;mobile;curWidth;curHeight;grid;columns=0;rows=0;curColWidth;curRowHeight;gridColumns=[];gridRows=[];windowResize;dragInProgress;emptyCell;compact;gridRenderer;calculateLayout$=new Ht;resize$=new Ht;destroy$=new Ht;constructor(t,i,s,o){this.renderer=i,this.cdRef=s,this.zone=o,this.el=t.nativeElement,this.$options=JSON.parse(JSON.stringify(Oi)),this.mobile=!1,this.curWidth=0,this.curHeight=0,this.grid=[],this.curColWidth=0,this.curRowHeight=0,this.dragInProgress=!1,this.emptyCell=new ye(this),this.compact=new Ce(this),this.gridRenderer=new we(this)}static checkCollisionTwoItemsForSwaping(t,i){let s=t.cols===1?0:1,o=i.cols===1?0:1,r=t.rows===1?0:1,a=i.rows===1?0:1;return t.x+s<i.x+i.cols&&t.x+t.cols>i.x+o&&t.y+r<i.y+i.rows&&t.y+t.rows>i.y+a}checkCollisionTwoItems(t,i){if(!(t.x<i.x+i.cols&&t.x+t.cols>i.x&&t.y<i.y+i.rows&&t.y+t.rows>i.y))return!1;if(!this.$options.allowMultiLayer)return!0;let o=this.$options.defaultLayerIndex,r=t.layerIndex===void 0?o:t.layerIndex,a=i.layerIndex===void 0?o:i.layerIndex;return r===a}ngOnInit(){this.options.initCallback&&this.options.initCallback(this),this.calculateLayout$.pipe(Se(0),me(this.destroy$)).subscribe(()=>this.calculateLayout()),this.resize$.pipe(Pe(()=>ke(100)),me(this.destroy$)).subscribe(()=>this.resize())}ngOnChanges(t){t.options&&(this.setOptions(),this.options.api={optionsChanged:this.optionsChanged,resize:this.onResize,getNextPossiblePosition:this.getNextPossiblePosition,getFirstPossiblePosition:this.getFirstPossiblePosition,getLastPossiblePosition:this.getLastPossiblePosition,getItemComponent:i=>this.getItemComponent(i)},this.columns=this.$options.minCols,this.rows=this.$options.minRows+this.$options.addEmptyRowsCount,this.setGridSize(),this.calculateLayout())}resize(){let t,i;this.$options.gridType==="fit"&&!this.mobile?(i=this.el.offsetWidth,t=this.el.offsetHeight):(i=this.el.clientWidth,t=this.el.clientHeight),(i!==this.curWidth||t!==this.curHeight)&&this.checkIfToResize()&&this.onResize()}setOptions(){this.$options=W.merge(this.$options,this.options,this.$options),!this.$options.disableWindowResize&&!this.windowResize?this.windowResize=this.renderer.listen("window","resize",this.onResize):this.$options.disableWindowResize&&this.windowResize&&(this.windowResize(),this.windowResize=null),this.emptyCell.updateOptions()}optionsChanged=()=>{this.setOptions();let t=this.grid.length-1,i;for(;t>=0;t--)i=this.grid[t],i.updateOptions();this.calculateLayout()};ngOnDestroy(){this.destroy$.next(),this.windowResize&&this.windowResize(),this.options&&this.options.destroyCallback&&this.options.destroyCallback(this),this.options&&this.options.api&&(this.options.api.resize=void 0,this.options.api.optionsChanged=void 0,this.options.api.getNextPossiblePosition=void 0,this.options.api=void 0),this.emptyCell.destroy(),this.emptyCell=null,this.compact.destroy(),this.compact=null}onResize=()=>{this.el.clientWidth&&(this.options.setGridSize&&(this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.setGridSize(),this.calculateLayout())};checkIfToResize(){let t=this.el.clientWidth,i=this.el.offsetWidth,s=this.el.scrollWidth,o=this.el.clientHeight,r=this.el.offsetHeight,a=this.el.scrollHeight,C=t<i&&a>r&&a-r<i-t,u=o<r&&s>i&&s-i<r-o;return C?!1:!u}checkIfMobile(){return this.$options.useBodyForBreakpoint?this.$options.mobileBreakpoint>document.body.clientWidth:this.$options.mobileBreakpoint>this.curWidth}setGridSize(){let t=this.el,i,s;this.$options.setGridSize||this.$options.gridType===g.Fit&&!this.mobile?(i=t.offsetWidth,s=t.offsetHeight):(i=t.clientWidth,s=t.clientHeight),this.curWidth=i,this.curHeight=s}setGridDimensions(){this.setGridSize(),!this.mobile&&this.checkIfMobile()?(this.mobile=!this.mobile,this.renderer.addClass(this.el,"mobile")):this.mobile&&!this.checkIfMobile()&&(this.mobile=!this.mobile,this.renderer.removeClass(this.el,"mobile"));let t=this.$options.minRows,i=this.$options.minCols,s=this.grid.length-1,o;for(;s>=0;s--)o=this.grid[s],o.notPlaced||(t=Math.max(t,o.$item.y+o.$item.rows),i=Math.max(i,o.$item.x+o.$item.cols));t+=this.$options.addEmptyRowsCount,(this.columns!==i||this.rows!==t)&&(this.columns=i,this.rows=t,this.options.gridSizeChangedCallback&&this.options.gridSizeChangedCallback(this))}calculateLayout(){if(this.compact&&this.compact.checkCompact(),this.setGridDimensions(),this.$options.outerMargin){let s=-this.$options.margin;this.$options.outerMarginLeft!==null?(s+=this.$options.outerMarginLeft,this.renderer.setStyle(this.el,"padding-left",this.$options.outerMarginLeft+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-left",this.$options.margin+"px")),this.$options.outerMarginRight!==null?(s+=this.$options.outerMarginRight,this.renderer.setStyle(this.el,"padding-right",this.$options.outerMarginRight+"px")):(s+=this.$options.margin,this.renderer.setStyle(this.el,"padding-right",this.$options.margin+"px")),this.curColWidth=(this.curWidth-s)/this.columns;let o=-this.$options.margin;this.$options.outerMarginTop!==null?(o+=this.$options.outerMarginTop,this.renderer.setStyle(this.el,"padding-top",this.$options.outerMarginTop+"px")):(o+=this.$options.margin,this.renderer.setStyle(this.el,"padding-top",this.$options.margin+"px")),this.$options.outerMarginBottom!==null?(o+=this.$options.outerMarginBottom,this.renderer.setStyle(this.el,"padding-bottom",this.$options.outerMarginBottom+"px")):(o+=this.$options.margin,this.renderer.setStyle(this.el,"padding-bottom",this.$options.margin+"px")),this.curRowHeight=(this.curHeight-o)/this.rows*this.$options.rowHeightRatio}else this.curColWidth=(this.curWidth+this.$options.margin)/this.columns,this.curRowHeight=(this.curHeight+this.$options.margin)/this.rows*this.$options.rowHeightRatio,this.renderer.setStyle(this.el,"padding-left","0px"),this.renderer.setStyle(this.el,"padding-right","0px"),this.renderer.setStyle(this.el,"padding-top","0px"),this.renderer.setStyle(this.el,"padding-bottom","0px");this.gridRenderer.updateGridster(),this.$options.setGridSize?(this.renderer.addClass(this.el,"gridSize"),this.mobile||(this.renderer.setStyle(this.el,"width",this.columns*this.curColWidth+this.$options.margin+"px"),this.renderer.setStyle(this.el,"height",this.rows*this.curRowHeight+this.$options.margin+"px"))):(this.renderer.removeClass(this.el,"gridSize"),this.renderer.setStyle(this.el,"width",""),this.renderer.setStyle(this.el,"height","")),this.updateGrid();let t=this.grid.length-1,i;for(;t>=0;t--)i=this.grid[t],i.setSize(),i.drag.toggle(),i.resize.toggle();this.resize$.next()}updateGrid(){this.$options.displayGrid==="always"&&!this.mobile?this.renderer.addClass(this.el,"display-grid"):this.$options.displayGrid==="onDrag&Resize"&&this.dragInProgress?this.renderer.addClass(this.el,"display-grid"):(this.$options.displayGrid==="none"||!this.dragInProgress||this.mobile)&&this.renderer.removeClass(this.el,"display-grid"),this.setGridDimensions(),this.gridColumns.length=n.getNewArrayLength(this.columns,this.curWidth,this.curColWidth),this.gridRows.length=n.getNewArrayLength(this.rows,this.curHeight,this.curRowHeight),this.cdRef.markForCheck()}addItem(t){t.$item.cols===void 0&&(t.$item.cols=this.$options.defaultItemCols,t.item.cols=t.$item.cols,t.itemChanged()),t.$item.rows===void 0&&(t.$item.rows=this.$options.defaultItemRows,t.item.rows=t.$item.rows,t.itemChanged()),t.$item.x===-1||t.$item.y===-1?this.autoPositionItem(t):this.checkCollision(t.$item)&&(this.$options.disableWarnings||(t.notPlaced=!0,console.warn("Can't be placed in the bounds of the dashboard, trying to auto position!/n"+JSON.stringify(t.item,["cols","rows","x","y"]))),this.$options.disableAutoPositionOnConflict?t.notPlaced=!0:this.autoPositionItem(t)),this.grid.push(t),this.calculateLayout$.next()}removeItem(t){this.grid.splice(this.grid.indexOf(t),1),this.calculateLayout$.next(),this.options.itemRemovedCallback&&this.options.itemRemovedCallback(t.item,t),this.movingItem&&this.movingItem===t.$item&&(this.movingItem=null,this.previewStyle())}checkCollision(t,i){let s=!1;if(this.options.itemValidateCallback&&(s=!this.options.itemValidateCallback(t)),!s&&this.checkGridCollision(t,i)&&(s=!0),!s){let o=this.findItemWithItem(t);o&&(s=o)}return s}checkGridCollision(t,i=!1){let s=t.y>-1&&t.x>-1,o=t.cols+t.x<=this.$options.maxCols,r=t.rows+t.y<=this.$options.maxRows,a=t.maxItemCols===void 0?this.$options.maxItemCols:t.maxItemCols,C=t.minItemCols===void 0?this.$options.minItemCols:t.minItemCols,u=t.maxItemRows===void 0?this.$options.maxItemRows:t.maxItemRows,$=t.minItemRows===void 0?this.$options.minItemRows:t.minItemRows,y=t.cols<=a&&t.cols>=C,I=t.rows<=u&&t.rows>=$,J=!0;if(i){let yt=t.itemAspectRatio||this.$options.itemAspectRatio;yt&&(J=t.cols/t.rows===yt)}let ft=t.minItemArea===void 0?this.$options.minItemArea:t.minItemArea,Ct=t.maxItemArea===void 0?this.$options.maxItemArea:t.maxItemArea,Z=t.cols*t.rows,at=ft<=Z,vt=Ct>=Z;return!(s&&o&&r&&J&&y&&I&&at&&vt)}findItemWithItem(t){let i=0,s;for(;i<this.grid.length;i++)if(s=this.grid[i],s.$item!==t&&this.checkCollisionTwoItems(s.$item,t))return s;return!1}findItemsWithItem(t){let i=[],s=0,o;for(;s<this.grid.length;s++)o=this.grid[s],o.$item!==t&&this.checkCollisionTwoItems(o.$item,t)&&i.push(o);return i}autoPositionItem(t){this.getNextPossiblePosition(t.$item)?(t.notPlaced=!1,t.item.x=t.$item.x,t.item.y=t.$item.y,t.itemChanged()):(t.notPlaced=!0,this.$options.disableWarnings||console.warn("Can't be placed in the bounds of the dashboard!/n"+JSON.stringify(t.item,["cols","rows","x","y"])))}getNextPossiblePosition=(t,i={})=>{t.cols===-1&&(t.cols=this.$options.defaultItemCols),t.rows===-1&&(t.rows=this.$options.defaultItemRows),this.setGridDimensions();let s=i.y||0,o;for(;s<this.rows;s++)for(t.y=s,o=i.x||0;o<this.columns;o++)if(t.x=o,!this.checkCollision(t))return!0;let r=this.$options.maxRows>=this.rows+t.rows,a=this.$options.maxCols>=this.columns+t.cols;return!(this.rows<=this.columns&&r)&&a?(t.x=this.columns,t.y=0,!0):r?(t.y=this.rows,t.x=0,!0):!1};getFirstPossiblePosition=t=>{let i=Object.assign({},t);return this.getNextPossiblePosition(i),i};getLastPossiblePosition=t=>{let i={y:0,x:0};i=this.grid.reduce((o,r)=>{let a={y:r.$item.y+r.$item.rows-1,x:r.$item.x+r.$item.cols-1};return W.compareItems(o,a)===1?a:o},i);let s=Object.assign({},t);return this.getNextPossiblePosition(s,i),s};pixelsToPositionX(t,i,s){let o=i(t/this.curColWidth);return s?o:Math.max(o,0)}pixelsToPositionY(t,i,s){let o=i(t/this.curRowHeight);return s?o:Math.max(o,0)}positionXToPixels(t){return t*this.curColWidth}positionYToPixels(t){return t*this.curRowHeight}getItemComponent(t){return this.grid.find(i=>i.item===t)}checkCollisionForSwaping(t){let i=!1;if(this.options.itemValidateCallback&&(i=!this.options.itemValidateCallback(t)),!i&&this.checkGridCollision(t)&&(i=!0),!i){let s=this.findItemWithItemForSwapping(t);s&&(i=s)}return i}findItemWithItemForSwapping(t){let i=this.grid.length-1,s;for(;i>-1;i--)if(s=this.grid[i],s.$item!==t&&n.checkCollisionTwoItemsForSwaping(s.$item,t))return s;return!1}previewStyle(t=!1){let i=this.gridsterPreview();this.movingItem?(this.compact&&t&&this.compact.checkCompactItem(this.movingItem),i.previewStyle(this.movingItem)):i.previewStyle(null)}static getNewArrayLength(t,i,s){let o=Math.max(t,Math.floor(i/s));return o<0?0:Number.isFinite(o)?Math.floor(o):0}static \u0275fac=function(i){return new(i||n)(U(St),U(Pt),U(Xt),U(pe))};static \u0275cmp=T({type:n,selectors:[["gridster"]],viewQuery:function(i,s){i&1&&Oe(s.gridsterPreview,fe,5),i&2&&We()},inputs:{options:"options"},features:[nt],ngContentSelectors:mi,decls:6,vars:1,consts:[[1,"gridster-column",3,"ngStyle"],[1,"gridster-row",3,"ngStyle"],[1,"gridster-preview",3,"gridRenderer"]],template:function(i,s){i&1&&(Dt(),Q(0,Mi,1,1,"div",0,ge),Q(2,$i,1,1,"div",1,ge),bt(4),m(5,"gridster-preview",2)),i&2&&(K(s.gridColumns),d(2),K(s.gridRows),d(3),p("gridRenderer",s.gridRenderer))},dependencies:[Xe,fe],styles:[`gridster{position:relative;box-sizing:border-box;background:gray;width:100%;height:100%;-webkit-user-select:none;user-select:none;display:block}gridster.fit{overflow-x:hidden;overflow-y:hidden}gridster.scrollVertical{overflow-x:hidden;overflow-y:auto}gridster.scrollHorizontal{overflow-x:auto;overflow-y:hidden}gridster.fixed{overflow:auto}gridster.mobile{overflow-x:hidden;overflow-y:auto}gridster.mobile gridster-item{position:relative}gridster.gridSize{height:initial;width:initial}gridster.gridSize.fit{height:100%;width:100%}gridster .gridster-column,gridster .gridster-row{position:absolute;display:none;transition:.3s;box-sizing:border-box}gridster.display-grid .gridster-column,gridster.display-grid .gridster-row{display:block}gridster .gridster-column{border-left:1px solid white;border-right:1px solid white}gridster .gridster-row{border-top:1px solid white;border-bottom:1px solid white}
|
|
3
|
+
`],encapsulation:2})}return n})(),ie=class{fromSouth;fromNorth;fromEast;fromWest;pushedItems;pushedItemsTemp;pushedItemsTempPath;pushedItemsPath;gridsterItem;gridster;pushedItemsOrder;tryPattern;iteration=0;constructor(e){this.pushedItems=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:[this.tryWest,this.trySouth,this.tryNorth,this.tryEast],fromWest:[this.tryEast,this.trySouth,this.tryNorth,this.tryWest],fromNorth:[this.trySouth,this.tryEast,this.tryWest,this.tryNorth],fromSouth:[this.tryNorth,this.tryEast,this.tryWest,this.trySouth]},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e,t){if(this.gridster.$options.pushItems&&!t){this.pushedItemsOrder=[],this.iteration=0;let i=this.push(this.gridsterItem,e);return i||this.restoreTempItems(),this.pushedItemsOrder=[],this.pushedItemsTemp=[],this.pushedItemsTempPath=[],i}else return!1}restoreTempItems(){let e=this.pushedItemsTemp.length-1;for(;e>-1;e--)this.removeFromTempPushed(this.pushedItemsTemp[e])}restoreItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.$item.x=i.item.x||0,i.$item.y=i.item.y||0,i.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.checkItemChanges(i.$item,i.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let e=this.pushedItems.length-1,t=!1;for(;e>-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(t=!0);t&&this.checkPushBack()}push(e,t){if(this.iteration>100)return console.warn("max iteration reached"),!1;if(this.gridster.checkGridCollision(e.$item)||t==="")return!1;let i=this.gridster.findItemsWithItem(e.$item),s=t===this.fromNorth||t===this.fromWest;i.sort((u,$)=>s?$.$item.y-u.$item.y||$.$item.x-u.$item.x:u.$item.y-$.$item.y||u.$item.x-$.$item.x);let o=0,r,a=!0,C=[];for(;o<i.length;o++){if(r=i[o],r===this.gridsterItem)continue;if(!r.canBeDragged()){a=!1;break}let u=this.pushedItemsTemp.indexOf(r);if(u>-1&&this.pushedItemsTempPath[u].length>10){a=!1;break}if(this.tryPattern[t][0].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][1].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][2].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else if(this.tryPattern[t][3].call(this,r,e))this.pushedItemsOrder.push(r),C.push(r);else{a=!1;break}}if(!a&&(o=this.pushedItemsOrder.lastIndexOf(C[0]),o>-1)){let u=this.pushedItemsOrder.length-1;for(;u>=o;u--)r=this.pushedItemsOrder[u],this.pushedItemsOrder.pop(),this.removeFromTempPushed(r),this.removeFromPushedItem(r)}return this.iteration++,a}trySouth(e,t){return this.gridster.$options.pushDirections.south?(this.addToTempPushed(e),e.$item.y=t.$item.y+t.$item.rows,this.push(e,this.fromNorth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryNorth(e,t){return this.gridster.$options.pushDirections.north?(this.addToTempPushed(e),e.$item.y=t.$item.y-e.$item.rows,this.push(e,this.fromSouth)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryEast(e,t){return this.gridster.$options.pushDirections.east?(this.addToTempPushed(e),e.$item.x=t.$item.x+t.$item.cols,this.push(e,this.fromWest)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}tryWest(e,t){return this.gridster.$options.pushDirections.west?(this.addToTempPushed(e),e.$item.x=t.$item.x-e.$item.cols,this.push(e,this.fromEast)?(e.setSize(),this.addToPushed(e),!0):(this.removeFromTempPushed(e),!1)):!1}addToTempPushed(e){let t=this.pushedItemsTemp.indexOf(e);t===-1&&(t=this.pushedItemsTemp.push(e)-1,this.pushedItemsTempPath[t]=[]),this.pushedItemsTempPath[t].push({x:e.$item.x,y:e.$item.y})}removeFromTempPushed(e){let t=this.pushedItemsTemp.indexOf(e),i=this.pushedItemsTempPath[t].pop();i&&(e.$item.x=i.x,e.$item.y=i.y,e.setSize(),this.pushedItemsTempPath[t].length||(this.pushedItemsTemp.splice(t,1),this.pushedItemsTempPath.splice(t,1)))}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0},{x:e.$item.x,y:e.$item.y}]);else{let t=this.pushedItems.indexOf(e);this.pushedItemsPath[t].push({x:e.$item.x,y:e.$item.y})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}removeFromPushedItem(e){let t=this.pushedItems.indexOf(e);t>-1&&(this.pushedItemsPath[t].pop(),this.pushedItemsPath.length||(this.pushedItems.splice(t,1),this.pushedItemsPath.splice(t,1)))}checkPushedItem(e,t){let i=this.pushedItemsPath[t],s=i.length-2,o,r,a,C=!1;for(;s>-1;s--)o=i[s],r=e.$item.x,a=e.$item.y,e.$item.x=o.x,e.$item.y=o.y,this.gridster.findItemWithItem(e.$item)?(e.$item.x=r,e.$item.y=a):(e.setSize(),i.splice(s+1,i.length-s-1),C=!0);return i.length<2&&this.removeFromPushed(t),C}},Ft,Wt,pi=50,q,Ot,lt,Nt,Lt,Bt,Vt;function gi(n,e,t,i,s,o,r,a,C,u){Ft=n.$options.scrollSensitivity,Wt=n.$options.scrollSpeed,q=n.el,Ot=C,lt=u;let $=q.offsetWidth,y=q.offsetHeight,I=q.scrollLeft,J=q.scrollTop,ft=t-J,Ct=y+J-t-s,{clientX:Z,clientY:at}=o;if(!n.$options.disableScrollVertical)if(r.clientY<at&&Ct<Ft){if(wi(),Ot&<&&!lt.south||Vt)return;Vt=di(1,a,r)}else if(r.clientY>at&&J>0&&ft<Ft){if(yi(),Ot&<&&!lt.north||Bt)return;Bt=di(-1,a,r)}else r.clientY!==at&&Me();let vt=I+$-e-i,yt=e-I;if(!n.$options.disableScrollHorizontal){let wt=n.$options.dirType===E.RTL,$e=r.clientX<Z,Te=r.clientX>Z,Ii=wt?Te:$e,bi=wt?$e:Te;if(Ii&&vt<=Ft){if(Ci(),Ot&<&&!lt.east||Nt)return;Nt=ci(1,a,r,wt)}else if(bi&&I>0&&yt<Ft){if(fi(),Ot&<&&!lt.west||Lt)return;Lt=ci(-1,a,r,wt)}else r.clientX!==Z&&ze()}}function di(n,e,t){let i=t.clientY;return window.setInterval(()=>{(!q||n===-1&&q.scrollTop-Wt<0)&&Me(),q.scrollTop+=n*Wt,i+=n*Wt,e({clientX:t.clientX,clientY:i})},pi)}function ci(n,e,t,i){let s=t.clientX;return window.setInterval(()=>{if(!q){ze();return}let o=n*Wt,r=i?-o:o;q.scrollBy({left:r,behavior:"auto"}),s+=r,e({clientX:s,clientY:t.clientY})},pi)}function ui(){ze(),Me(),q=null}function ze(){fi(),Ci()}function Me(){wi(),yi()}function fi(){Nt&&(clearInterval(Nt),Nt=0)}function Ci(){Lt&&(clearInterval(Lt),Lt=0)}function yi(){Vt&&(clearInterval(Vt),Vt=0)}function wi(){Bt&&(clearInterval(Bt),Bt=0)}var xe=class{swapedItem;gridsterItem;gridster;constructor(e){this.gridsterItem=e,this.gridster=e.gridster}destroy(){this.gridster=this.gridsterItem=this.swapedItem=null}swapItems(){this.gridster.$options.swap&&(this.checkSwapBack(),this.checkSwap(this.gridsterItem))}checkSwapBack(){if(this.swapedItem){let e=this.swapedItem.$item.x,t=this.swapedItem.$item.y;this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.gridster.checkCollision(this.swapedItem.$item)?(this.swapedItem.$item.x=e,this.swapedItem.$item.y=t):(this.swapedItem.setSize(),this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.swapedItem=void 0)}}restoreSwapItem(){this.swapedItem&&(this.swapedItem.$item.x=this.swapedItem.item.x||0,this.swapedItem.$item.y=this.swapedItem.item.y||0,this.swapedItem.setSize(),this.swapedItem=void 0)}setSwapItem(){this.swapedItem&&(this.swapedItem.checkItemChanges(this.swapedItem.$item,this.swapedItem.item),this.swapedItem=void 0)}checkSwap(e){let t;if(this.gridster.$options.swapWhileDragging?t=this.gridster.checkCollisionForSwaping(e.$item):t=this.gridster.checkCollision(e.$item),t&&t!==!0&&t.canBeDragged()){let i=t,s=i.$item.x,o=i.$item.y,r=e.$item.x,a=e.$item.y,C=r-s,u=a-o;i.$item.x=e.item.x-C,i.$item.y=e.item.y-u,e.$item.x=i.item.x+C,e.$item.y=i.item.y+u,this.gridster.checkCollision(i.$item)||this.gridster.checkCollision(e.$item)?(e.$item.x=r,e.$item.y=a,i.$item.x=s,i.$item.y=o):(i.setSize(),this.swapedItem=i,this.gridster.$options.swapWhileDragging&&(this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.setSwapItem()))}}},Wi="gridster-item-resizable-handler",H=(function(n){return n.UP="UP",n.DOWN="DOWN",n.LEFT="LEFT",n.RIGHT="RIGHT",n})(H||{}),ve=class{zone;gridsterItem;gridster;lastMouse;offsetLeft;offsetTop;margin;outerMarginTop;outerMarginRight;outerMarginBottom;outerMarginLeft;diffTop;diffLeft;originalClientX;originalClientY;top;left;height;width;positionX;positionY;positionXBackup;positionYBackup;enabled;mousemove;mouseup;mouseleave;cancelOnBlur;touchmove;touchend;touchcancel;mousedown;touchstart;push;swap;path;collision=!1;constructor(e,t,i){this.zone=i,this.gridsterItem=e,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.path=[]}destroy(){this.gridster.previewStyle&&this.gridster.previewStyle(!0),this.gridsterItem=this.gridster=this.collision=null,this.mousedown&&(this.mousedown(),this.touchstart())}dragStart(e){e.which&&e.which!==1||this.gridster.dragInProgress||(this.gridster.options.draggable&&this.gridster.options.draggable.start&&this.gridster.options.draggable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-moving"),this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.left=this.gridsterItem.left-this.margin,this.top=this.gridsterItem.top-this.margin,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.gridster.$options.dirType===E.RTL?this.diffLeft=e.clientX-this.gridster.el.scrollWidth+this.gridsterItem.left:this.diffLeft=e.clientX+this.offsetLeft-this.margin-this.left,this.diffTop=e.clientY+this.offsetTop-this.margin-this.top,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(!0),this.push=new ie(this.gridsterItem),this.swap=new xe(this.gridsterItem),this.gridster.dragInProgress=!0,this.gridster.updateGrid(),this.path.push({x:this.gridsterItem.item.x||0,y:this.gridsterItem.item.y||0}))}dragMove=e=>{e.stopPropagation(),e.preventDefault(),W.checkTouchEvent(e);let t=this.getDirections(e);this.gridster.options.enableBoundaryControl&&(t.includes(H.UP)&&this.gridsterItem.el.getBoundingClientRect().top<this.gridster.el.getBoundingClientRect().top+(this.outerMarginTop??this.margin)&&(t=t.filter(i=>i!=H.UP),e=new MouseEvent(e.type,{clientX:e.clientX,clientY:this.lastMouse.clientY})),t.includes(H.LEFT)&&this.gridsterItem.el.getBoundingClientRect().left<this.gridster.el.getBoundingClientRect().left+(this.outerMarginLeft??this.margin)&&(t=t.filter(i=>i!=H.LEFT),e=new MouseEvent(e.type,{clientX:this.lastMouse.clientX,clientY:e.clientY})),t.includes(H.RIGHT)&&this.gridsterItem.el.getBoundingClientRect().right>this.gridster.el.getBoundingClientRect().right-(this.outerMarginRight??this.margin)&&(t=t.filter(i=>i!=H.RIGHT),e=new MouseEvent(e.type,{clientX:this.lastMouse.clientX,clientY:e.clientY})),t.includes(H.DOWN)&&this.gridsterItem.el.getBoundingClientRect().bottom>this.gridster.el.getBoundingClientRect().bottom-(this.outerMarginBottom??this.margin)&&(t=t.filter(i=>i!=H.DOWN),e=new MouseEvent(e.type,{clientX:e.clientX,clientY:this.lastMouse.clientY}))),t.length&&(this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,gi(this.gridster,this.left,this.top,this.width,this.height,e,this.lastMouse,this.calculateItemPositionFromMousePosition),this.calculateItemPositionFromMousePosition(e))};calculateItemPositionFromMousePosition=e=>{this.gridster.options.scale?this.calculateItemPositionWithScale(e,this.gridster.options.scale):this.calculateItemPositionWithoutScale(e),this.calculateItemPosition(),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.zone.run(()=>{this.gridster.updateGrid()})};calculateItemPositionWithScale(e,t){this.gridster.$options.dirType===E.RTL?this.left=this.gridster.el.scrollWidth-this.originalClientX+(e.clientX-this.originalClientX)/t+this.diffLeft:this.left=this.originalClientX+(e.clientX-this.originalClientX)/t+this.offsetLeft-this.diffLeft,this.top=this.originalClientY+(e.clientY-this.originalClientY)/t+this.offsetTop-this.diffTop}calculateItemPositionWithoutScale(e){this.gridster.$options.dirType===E.RTL?this.left=this.gridster.el.offsetWidth-(e.clientX+this.offsetLeft-this.diffLeft):this.left=e.clientX+this.offsetLeft-this.diffLeft,this.top=e.clientY+this.offsetTop-this.diffTop}dragStop=e=>{e.stopPropagation(),e.preventDefault(),ui(),this.cancelOnBlur(),this.mousemove(),this.mouseup(),this.mouseleave(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-moving"),this.gridster.dragInProgress=!1,this.gridster.updateGrid(),this.path=[],this.gridster.options.draggable&&this.gridster.options.draggable.stop?Promise.resolve(this.gridster.options.draggable.stop(this.gridsterItem.item,this.gridsterItem,e)).then(this.makeDrag,this.cancelDrag):this.makeDrag(),setTimeout(()=>{this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle(!0))})};cancelDrag=()=>{this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push&&this.push.restoreItems(),this.swap&&this.swap.restoreSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)};makeDrag=()=>{this.gridster.$options.draggable.dropOverItems&&this.gridster.options.draggable&&this.gridster.options.draggable.dropOverItemsCallback&&this.collision&&this.collision!==!0&&this.collision.$item&&this.gridster.options.draggable.dropOverItemsCallback(this.gridsterItem.item,this.collision.item,this.gridster),this.collision=!1,this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push&&this.push.setPushedItems(),this.swap&&this.swap.setSwapItem(),this.push&&(this.push.destroy(),this.push=null),this.swap&&(this.swap.destroy(),this.swap=null)};calculateItemPosition(){if(this.gridster.movingItem=this.gridsterItem.$item,this.positionX=this.gridster.pixelsToPositionX(this.left,Math.round),this.positionY=this.gridster.pixelsToPositionY(this.top,Math.round),this.positionXBackup=this.gridsterItem.$item.x,this.positionYBackup=this.gridsterItem.$item.y,this.gridsterItem.$item.x=this.positionX,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.x=this.positionXBackup),this.gridsterItem.$item.y=this.positionY,this.gridster.checkGridCollision(this.gridsterItem.$item)&&(this.gridsterItem.$item.y=this.positionYBackup),this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,this.top),this.positionXBackup!==this.gridsterItem.$item.x||this.positionYBackup!==this.gridsterItem.$item.y){let e=this.path[this.path.length-1],t="";e.x<this.gridsterItem.$item.x?t=this.push.fromWest:e.x>this.gridsterItem.$item.x?t=this.push.fromEast:e.y<this.gridsterItem.$item.y?t=this.push.fromNorth:e.y>this.gridsterItem.$item.y&&(t=this.push.fromSouth),this.push.pushItems(t,this.gridster.$options.disablePushOnDrag),this.swap.swapItems(),this.collision=this.gridster.checkCollision(this.gridsterItem.$item),this.collision?(this.gridsterItem.$item.x=this.positionXBackup,this.gridsterItem.$item.y=this.positionYBackup,this.gridster.$options.draggable.dropOverItems&&this.collision!==!0&&this.collision.$item&&(this.gridster.movingItem=null)):this.path.push({x:this.gridsterItem.$item.x,y:this.gridsterItem.$item.y}),this.push.checkPushBack()}else this.collision=!1;this.gridster.previewStyle(!0)}toggle(){let e=this.gridsterItem.canBeDragged();!this.enabled&&e?(this.enabled=!this.enabled,this.mousedown=this.gridsterItem.renderer.listen(this.gridsterItem.el,"mousedown",this.dragStartDelay),this.touchstart=this.gridsterItem.renderer.listen(this.gridsterItem.el,"touchstart",this.dragStartDelay)):this.enabled&&!e&&(this.enabled=!this.enabled,this.mousedown(),this.touchstart())}dragStartDelay=e=>{if(e.target.classList.contains(Wi)||W.checkContentClassForEvent(this.gridster,e))return;if(W.checkTouchEvent(e),!this.gridster.$options.draggable.delayStart){this.dragStart(e);return}let i=setTimeout(()=>{this.dragStart(e),y()},this.gridster.$options.draggable.delayStart),s=this.gridsterItem.renderer.listen("document","mouseup",y),o=this.gridsterItem.renderer.listen("document","mouseleave",y),r=this.gridsterItem.renderer.listen("window","blur",y),a=this.gridsterItem.renderer.listen("document","touchmove",$),C=this.gridsterItem.renderer.listen("document","touchend",y),u=this.gridsterItem.renderer.listen("document","touchcancel",y);function $(I){W.checkTouchEvent(I),(Math.abs(I.clientX-e.clientX)>9||Math.abs(I.clientY-e.clientY)>9)&&y()}function y(){clearTimeout(i),r(),s(),o(),a(),C(),u()}};getDirections(e){let t=[];return this.lastMouse.clientX===0&&this.lastMouse.clientY===0&&(this.lastMouse.clientY=e.clientY,this.lastMouse.clientX=e.clientX),this.lastMouse.clientY>e.clientY&&t.push(H.UP),this.lastMouse.clientY<e.clientY&&t.push(H.DOWN),this.lastMouse.clientX<e.clientX&&t.push(H.RIGHT),this.lastMouse.clientX>e.clientX&&t.push(H.LEFT),t}},Ie=class{fromSouth;fromNorth;fromEast;fromWest;pushedItems;pushedItemsPath;gridsterItem;gridster;tryPattern;constructor(e){this.pushedItems=[],this.pushedItemsPath=[],this.gridsterItem=e,this.gridster=e.gridster,this.tryPattern={fromEast:this.tryWest,fromWest:this.tryEast,fromNorth:this.trySouth,fromSouth:this.tryNorth},this.fromSouth="fromSouth",this.fromNorth="fromNorth",this.fromEast="fromEast",this.fromWest="fromWest"}destroy(){this.gridster=this.gridsterItem=null}pushItems(e){return this.gridster.$options.pushResizeItems?this.push(this.gridsterItem,e):!1}restoreItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.$item.x=i.item.x||0,i.$item.y=i.item.y||0,i.$item.cols=i.item.cols||1,i.$item.row=i.item.row||1,i.setSize();this.pushedItems=[],this.pushedItemsPath=[]}setPushedItems(){let e=0,t=this.pushedItems.length,i;for(;e<t;e++)i=this.pushedItems[e],i.checkItemChanges(i.$item,i.item);this.pushedItems=[],this.pushedItemsPath=[]}checkPushBack(){let e=this.pushedItems.length-1,t=!1;for(;e>-1;e--)this.checkPushedItem(this.pushedItems[e],e)&&(t=!0);t&&this.checkPushBack()}push(e,t){let i=this.gridster.checkCollision(e.$item);if(i&&i!==!0&&i!==this.gridsterItem&&i.canBeResized()){if(this.tryPattern[t].call(this,i,e,t))return!0}else if(i===!1)return!0;return!1}trySouth(e,t,i){let s=e.$item.y,o=e.$item.rows;return e.$item.y=t.$item.y+t.$item.rows,e.$item.rows=o+s-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.y=s,e.$item.rows=o,!1)}tryNorth(e,t,i){let s=e.$item.rows;return e.$item.rows=t.$item.y-e.$item.y,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.rows=s,!1)}tryEast(e,t,i){let s=e.$item.x,o=e.$item.cols;return e.$item.x=t.$item.x+t.$item.cols,e.$item.cols=o+s-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.x=s,e.$item.cols=o,!1)}tryWest(e,t,i){let s=e.$item.cols;return e.$item.cols=t.$item.x-e.$item.x,!this.gridster.checkCollisionTwoItems(e.$item,t.$item)&&!this.gridster.checkGridCollision(e.$item)?(e.setSize(),this.addToPushed(e),this.push(t,i),!0):(e.$item.cols=s,!1)}addToPushed(e){if(this.pushedItems.indexOf(e)<0)this.pushedItems.push(e),this.pushedItemsPath.push([{x:e.item.x||0,y:e.item.y||0,cols:e.item.cols||0,rows:e.item.rows||0},{x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows}]);else{let t=this.pushedItems.indexOf(e);this.pushedItemsPath[t].push({x:e.$item.x,y:e.$item.y,cols:e.$item.cols,rows:e.$item.rows})}}removeFromPushed(e){e>-1&&(this.pushedItems.splice(e,1),this.pushedItemsPath.splice(e,1))}checkPushedItem(e,t){let i=this.pushedItemsPath[t],s=i.length-2,o,r,a,C,u;for(;s>-1;s--)o=i[s],r=e.$item.x,a=e.$item.y,C=e.$item.cols,u=e.$item.rows,e.$item.x=o.x,e.$item.y=o.y,e.$item.cols=o.cols,e.$item.rows=o.rows,this.gridster.findItemWithItem(e.$item)?(e.$item.x=r,e.$item.y=a,e.$item.cols=C,e.$item.rows=u):(e.setSize(),i.splice(s+1,i.length-1-s));return i.length<2?(this.removeFromPushed(t),!0):!1}},be=class{zone;gridsterItem;gridster;lastMouse;itemBackup={x:0,y:0,cols:0,rows:0};resizeEventScrollType;directionFunction=null;resizeEnabled;resizableHandles;mousemove;mouseup;mouseleave;cancelOnBlur;touchmove;touchend;touchcancel;push;pushResize;minHeight;minWidth;offsetTop;offsetLeft;diffTop;diffLeft;diffRight;diffBottom;margin;outerMarginTop;outerMarginRight;outerMarginBottom;outerMarginLeft;originalClientX;originalClientY;top;left;bottom;right;width;height;hasRatio;constructor(e,t,i){this.zone=i,this.gridsterItem=e,this.gridster=t,this.lastMouse={clientX:0,clientY:0},this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1}}destroy(){this.gridster?.previewStyle(),this.gridster=this.gridsterItem=null}dragStart(e){if(e.which&&e.which!==1||this.gridster.dragInProgress)return;this.gridster.options.resizable&&this.gridster.options.resizable.start&&this.gridster.options.resizable.start(this.gridsterItem.item,this.gridsterItem,e),e.stopPropagation(),e.preventDefault(),this.zone.runOutsideAngular(()=>{this.mousemove=this.gridsterItem.renderer.listen("document","mousemove",this.dragMove),this.touchmove=this.gridster.renderer.listen(this.gridster.el,"touchmove",this.dragMove)}),this.mouseup=this.gridsterItem.renderer.listen("document","mouseup",this.dragStop),this.mouseleave=this.gridsterItem.renderer.listen("document","mouseleave",this.dragStop),this.cancelOnBlur=this.gridsterItem.renderer.listen("window","blur",this.dragStop),this.touchend=this.gridsterItem.renderer.listen("document","touchend",this.dragStop),this.touchcancel=this.gridsterItem.renderer.listen("document","touchcancel",this.dragStop),this.gridsterItem.renderer.addClass(this.gridsterItem.el,"gridster-item-resizing"),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.left=this.gridsterItem.left,this.top=this.gridsterItem.top,this.originalClientX=e.clientX,this.originalClientY=e.clientY,this.width=this.gridsterItem.width,this.height=this.gridsterItem.height,this.bottom=this.gridsterItem.top+this.gridsterItem.height,this.right=this.gridsterItem.left+this.gridsterItem.width,this.margin=this.gridster.$options.margin,this.outerMarginTop=this.gridster.$options.outerMarginTop,this.outerMarginRight=this.gridster.$options.outerMarginRight,this.outerMarginBottom=this.gridster.$options.outerMarginBottom,this.outerMarginLeft=this.gridster.$options.outerMarginLeft,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.diffLeft=e.clientX+this.offsetLeft-this.left,this.diffRight=e.clientX+this.offsetLeft-this.right,this.diffTop=e.clientY+this.offsetTop-this.top,this.diffBottom=e.clientY+this.offsetTop-this.bottom,this.minHeight=this.gridster.positionYToPixels(this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows)-this.margin,this.minWidth=this.gridster.positionXToPixels(this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols)-this.margin,this.gridster.movingItem=this.gridsterItem.$item,this.gridster.previewStyle(),this.push=new ie(this.gridsterItem),this.pushResize=new Ie(this.gridsterItem),this.gridster.dragInProgress=!0,this.hasRatio=!!(this.gridster.$options.itemAspectRatio||this.gridsterItem.$item.itemAspectRatio),this.itemBackup={x:0,y:0,cols:0,rows:0},this.gridster.updateGrid();let{classList:t}=e.target;t.contains("handle-n")?(this.resizeEventScrollType.north=!0,this.directionFunction=this.handleNorth):t.contains("handle-w")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):t.contains("handle-s")?(this.resizeEventScrollType.south=!0,this.directionFunction=this.handleSouth):t.contains("handle-e")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.west=!0,this.directionFunction=this.handleWest):(this.resizeEventScrollType.east=!0,this.directionFunction=this.handleEast):t.contains("handle-nw")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):t.contains("handle-ne")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleNorthWest):(this.resizeEventScrollType.north=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleNorthEast):t.contains("handle-sw")?this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):t.contains("handle-se")&&(this.gridster.$options.dirType===E.RTL?(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.west=!0,this.directionFunction=this.handleSouthWest):(this.resizeEventScrollType.south=!0,this.resizeEventScrollType.east=!0,this.directionFunction=this.handleSouthEast))}dragMove=e=>{if(this.directionFunction===null)throw new Error("The `directionFunction` has not been set before calling `dragMove`.");e.stopPropagation(),e.preventDefault(),W.checkTouchEvent(e),this.offsetTop=this.gridster.el.scrollTop-this.gridster.el.offsetTop,this.offsetLeft=this.gridster.el.scrollLeft-this.gridster.el.offsetLeft,gi(this.gridster,this.left,this.top,this.width,this.height,e,this.lastMouse,this.directionFunction,!0,this.resizeEventScrollType);let t=this.gridster.options.scale||1;this.directionFunction({clientX:this.originalClientX+(e.clientX-this.originalClientX)/t,clientY:this.originalClientY+(e.clientY-this.originalClientY)/t}),this.lastMouse.clientX=e.clientX,this.lastMouse.clientY=e.clientY,this.zone.run(()=>{this.gridster.updateGrid()})};dragStop=e=>{e.stopPropagation(),e.preventDefault(),ui(),this.mousemove(),this.mouseup(),this.mouseleave(),this.cancelOnBlur(),this.touchmove(),this.touchend(),this.touchcancel(),this.gridster.dragInProgress=!1,this.resizeEventScrollType={west:!1,east:!1,north:!1,south:!1},this.gridster.updateGrid(),this.gridster.options.resizable&&this.gridster.options.resizable.stop?Promise.resolve(this.gridster.options.resizable.stop(this.gridsterItem.item,this.gridsterItem,e)).then(this.makeResize,this.cancelResize):this.makeResize(),setTimeout(()=>{this.gridsterItem.renderer.removeClass(this.gridsterItem.el,"gridster-item-resizing"),this.gridster&&(this.gridster.movingItem=null,this.gridster.previewStyle())})};cancelResize=()=>{this.gridsterItem.$item.cols=this.gridsterItem.item.cols||1,this.gridsterItem.$item.rows=this.gridsterItem.item.rows||1,this.gridsterItem.$item.x=this.gridsterItem.item.x||0,this.gridsterItem.$item.y=this.gridsterItem.item.y||0,this.gridsterItem.setSize(),this.push.restoreItems(),this.pushResize.restoreItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null};makeResize=()=>{this.gridsterItem.setSize(),this.gridsterItem.checkItemChanges(this.gridsterItem.$item,this.gridsterItem.item),this.push.setPushedItems(),this.pushResize.setPushedItems(),this.push.destroy(),this.push=null,this.pushResize.destroy(),this.pushResize=null};check=e=>(this.hasRatio&&this.enforceAspectRatio(),this.pushResize.pushItems(e),this.push.pushItems(e,this.gridster.$options.disablePushOnResize),this.gridster.checkCollision(this.gridsterItem.$item,!0)?(this.resetItem(this.hasRatio),!1):(this.gridster.previewStyle(),this.pushResize.checkPushBack(),this.push.checkPushBack(),!0));getNewNorthPosition=e=>{this.top=e.clientY+this.offsetTop-this.diffTop,this.height=this.bottom-this.top,this.minHeight>this.height?(this.height=this.minHeight,this.top=this.bottom-this.minHeight):this.gridster.options.enableBoundaryControl&&(this.top=Math.max(0,this.top),this.height=this.bottom-this.top);let t=this.gridster.options.pushItems?this.margin:0;return this.gridster.pixelsToPositionY(this.top+t,Math.floor)};handleNorth=e=>{let t=this.getNewNorthPosition(e);this.gridsterItem.$item.y!==t&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height))};getNewWestPosition=e=>{let t=this.gridster.$options.dirType===E.RTL?this.originalClientX+(this.originalClientX-e.clientX):e.clientX;this.left=t+this.offsetLeft-this.diffLeft,this.width=this.right-this.left,this.minWidth>this.width?(this.width=this.minWidth,this.left=this.right-this.minWidth):this.gridster.options.enableBoundaryControl&&(this.left=Math.max(0,this.left),this.width=this.right-this.left);let i=this.gridster.options.pushItems?this.margin:0;return this.gridster.pixelsToPositionX(this.left+i,Math.floor)};handleWest=e=>{let t=this.getNewWestPosition(e);this.gridsterItem.$item.x!==t&&(this.makeItemBackup(),this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-t,this.gridsterItem.$item.x=t,!this.check(this.pushResize.fromEast))||(this.setItemLeft(this.left),this.setItemWidth(this.width))};getNewSouthPosition=e=>{if(this.height=e.clientY+this.offsetTop-this.diffBottom-this.top,this.minHeight>this.height&&(this.height=this.minHeight),this.bottom=this.top+this.height,this.gridster.options.enableBoundaryControl){let i=this.outerMarginBottom??this.margin,s=this.gridster.el.getBoundingClientRect();this.bottom=Math.min(this.bottom,s.bottom-s.top-2*i),this.height=this.bottom-this.top}let t=this.gridster.options.pushItems?0:this.margin;return this.gridster.pixelsToPositionY(this.bottom+t,Math.ceil)};handleSouth=e=>{let t=this.getNewSouthPosition(e);this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,!this.check(this.pushResize.fromNorth))||this.setItemHeight(this.height)};getNewEastPosition=e=>{let t=this.gridster.$options.dirType===E.RTL?this.originalClientX+(this.originalClientX-e.clientX):e.clientX;if(this.width=t+this.offsetLeft-this.diffRight-this.left,this.minWidth>this.width&&(this.width=this.minWidth),this.right=this.left+this.width,this.gridster.options.enableBoundaryControl){let s=this.outerMarginRight??this.margin,o=this.gridster.el.getBoundingClientRect();this.right=Math.min(this.right,o.right-o.left-2*s),this.width=this.right-this.left}let i=this.gridster.options.pushItems?0:this.margin;return this.gridster.pixelsToPositionX(this.right+i,Math.ceil)};handleEast=e=>{let t=this.getNewEastPosition(e);this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==t&&(this.makeItemBackup(),this.gridsterItem.$item.cols=t-this.gridsterItem.$item.x,!this.check(this.pushResize.fromWest))||this.setItemWidth(this.width)};handleNorthWest=e=>{let t=this.getNewNorthPosition(e),i=this.getNewWestPosition(e);(this.gridsterItem.$item.y!==t||this.gridsterItem.$item.x!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-i,this.gridsterItem.$item.x=i,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height),this.setItemLeft(this.left),this.setItemWidth(this.width))};handleNorthEast=e=>{let t=this.getNewNorthPosition(e),i=this.getNewEastPosition(e);(this.gridsterItem.$item.y!==t||this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows+=this.gridsterItem.$item.y-t,this.gridsterItem.$item.y=t,this.gridsterItem.$item.cols=i-this.gridsterItem.$item.x,!this.check(this.pushResize.fromSouth))||(this.setItemTop(this.top),this.setItemHeight(this.height),this.setItemWidth(this.width))};handleSouthWest=e=>{let t=this.getNewSouthPosition(e),i=this.getNewWestPosition(e);(this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t||this.gridsterItem.$item.x!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,this.gridsterItem.$item.cols+=this.gridsterItem.$item.x-i,this.gridsterItem.$item.x=i,!this.check(this.pushResize.fromNorth))||(this.setItemLeft(this.left),this.setItemHeight(this.height),this.setItemWidth(this.width))};handleSouthEast=e=>{let t=this.getNewSouthPosition(e),i=this.getNewEastPosition(e);(this.gridsterItem.$item.y+this.gridsterItem.$item.rows!==t||this.gridsterItem.$item.x+this.gridsterItem.$item.cols!==i)&&(this.makeItemBackup(),this.gridsterItem.$item.rows=t-this.gridsterItem.$item.y,this.gridsterItem.$item.cols=i-this.gridsterItem.$item.x,!this.check(this.pushResize.fromNorth))||(this.setItemHeight(this.height),this.setItemWidth(this.width))};makeItemBackup(){this.itemBackup.x=this.gridsterItem.$item.x,this.itemBackup.y=this.gridsterItem.$item.y,this.itemBackup.cols=this.gridsterItem.$item.cols,this.itemBackup.rows=this.gridsterItem.$item.rows}resetItem(e=!1){this.gridsterItem.$item.x!==this.itemBackup.x&&(this.gridsterItem.$item.x=this.itemBackup.x,e||(this.left=this.gridster.positionXToPixels(this.gridsterItem.$item.x),this.setItemLeft(this.left))),this.gridsterItem.$item.y!==this.itemBackup.y&&(this.gridsterItem.$item.y=this.itemBackup.y,e||(this.top=this.gridster.positionYToPixels(this.gridsterItem.$item.y),this.setItemTop(this.top))),this.gridsterItem.$item.cols!==this.itemBackup.cols&&(this.gridsterItem.$item.cols=this.itemBackup.cols,e||this.setItemWidth(this.gridster.positionXToPixels(this.gridsterItem.$item.cols)-this.margin)),this.gridsterItem.$item.rows!==this.itemBackup.rows&&(this.gridsterItem.$item.rows=this.itemBackup.rows,e||this.setItemHeight(this.gridster.positionYToPixels(this.gridsterItem.$item.rows)-this.margin))}toggle(){this.resizeEnabled=this.gridsterItem.canBeResized(),this.resizableHandles=this.gridsterItem.getResizableHandles()}dragStartDelay(e){if(W.checkTouchEvent(e),!this.gridster.$options.resizable.delayStart){this.dragStart(e);return}let t=setTimeout(()=>{this.dragStart(e),$()},this.gridster.$options.resizable.delayStart),{cancelMouse:i,cancelMouseLeave:s,cancelOnBlur:o,cancelTouchMove:r,cancelTouchEnd:a,cancelTouchCancel:C}=this.zone.runOutsideAngular(()=>{let y=this.gridsterItem.renderer.listen("document","mouseup",$),I=this.gridsterItem.renderer.listen("document","mouseleave",$),J=this.gridsterItem.renderer.listen("window","blur",$),ft=this.gridsterItem.renderer.listen("document","touchmove",u),Ct=this.gridsterItem.renderer.listen("document","touchend",$),Z=this.gridsterItem.renderer.listen("document","touchcancel",$);return{cancelMouse:y,cancelMouseLeave:I,cancelOnBlur:J,cancelTouchMove:ft,cancelTouchEnd:Ct,cancelTouchCancel:Z}});function u(y){W.checkTouchEvent(y),(Math.abs(y.clientX-e.clientX)>9||Math.abs(y.clientY-e.clientY)>9)&&$()}function $(){clearTimeout(t),o(),i(),s(),r(),a(),C()}}setItemTop(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,this.left,e)}setItemLeft(e){this.gridster.gridRenderer.setCellPosition(this.gridsterItem.renderer,this.gridsterItem.el,e,this.top)}setItemHeight(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"height",e+"px")}setItemWidth(e){this.gridsterItem.renderer.setStyle(this.gridsterItem.el,"width",e+"px")}enforceAspectRatio(){let e=this.gridsterItem.$item.itemAspectRatio||this.gridster.$options.itemAspectRatio;if(!e)return;let t=e*(this.gridster.curColWidth/this.gridster.curRowHeight),i=this.gridsterItem.$item.minItemCols||this.gridster.$options.minItemCols,s=this.gridsterItem.$item.minItemRows||this.gridster.$options.minItemRows,o=this.gridster.positionXToPixels(i)-this.margin,r=this.gridster.positionYToPixels(s)-this.margin,a=this.gridsterItem.$item.maxItemCols||this.gridster.$options.maxItemCols||0,C=this.gridsterItem.$item.maxItemRows||this.gridster.$options.maxItemRows||0,u=a?this.gridster.positionXToPixels(a)-this.margin:Number.MAX_VALUE,$=C?this.gridster.positionYToPixels(C)-this.margin:Number.MAX_VALUE,y=this.width,I=this.height;if(this.resizeEventScrollType.north||this.resizeEventScrollType.south?(y=this.height*t,y<o?(y=o,I=o/t):y>u&&(y=u,I=u/t)):(this.resizeEventScrollType.east||this.resizeEventScrollType.west)&&(I=this.width/t,I<r?(I=r,y=r*t):I>$&&(I=$,y=$*t)),this.gridster.options.enableBoundaryControl){let at=this.gridster.el.getBoundingClientRect(),vt=Math.max(this.outerMarginTop||this.margin,this.outerMarginRight||this.margin,this.outerMarginBottom||this.margin,this.outerMarginLeft||this.margin),yt=at.width-2*vt,wt=at.height-2*vt;this.resizeEventScrollType.west?this.right-y<0&&(y=this.right,I=y/t):this.resizeEventScrollType.east&&this.left+y>yt&&(y=yt-this.left,I=y/t),this.resizeEventScrollType.north?this.bottom-I<0&&(I=this.bottom,y=I*t):this.resizeEventScrollType.south&&this.top+I>wt&&(I=wt-this.top,y=I*t)}this.width=y,this.height=I,this.resizeEventScrollType.west&&(this.left=this.right-this.width),this.resizeEventScrollType.north&&(this.top=this.bottom-this.height);let J=this.gridster.options.pushItems?0:this.margin,ft=this.gridster.options.pushItems?0:this.margin,Ct=this.gridster.options.pushItems?this.margin:0,Z=this.gridster.options.pushItems?this.margin:0;this.gridsterItem.$item.x=this.gridster.pixelsToPositionX(this.left+J,Math.floor),this.gridsterItem.$item.y=this.gridster.pixelsToPositionY(this.top+ft,Math.floor),this.gridsterItem.$item.cols=this.gridster.pixelsToPositionX(this.width+Ct,Math.ceil),this.gridsterItem.$item.rows=this.gridster.pixelsToPositionY(this.height+Z,Math.ceil),this.setItemTop(this.top),this.setItemLeft(this.left),this.setItemWidth(this.width),this.setItemHeight(this.height)}},xi=(()=>{class n{renderer;zone;item;itemInit=new ot;itemChange=new ot;itemResize=new ot;$item;el;gridster;top;left;width;height;drag;resize;notPlaced;init;get zIndex(){return this.getLayerIndex()+this.gridster.$options.baseLayerIndex}constructor(t,i,s,o){this.renderer=s,this.zone=o,this.el=t.nativeElement,this.$item={cols:-1,rows:-1,x:-1,y:-1},this.gridster=i,this.drag=new ve(this,i,this.zone),this.resize=new be(this,i,this.zone)}ngOnInit(){this.gridster.addItem(this)}ngOnChanges(t){t.item&&(this.updateOptions(),this.init||this.gridster.calculateLayout$.next()),t.item&&t.item.previousValue&&this.setSize()}updateOptions(){this.$item=W.merge(this.$item,this.item,{cols:void 0,rows:void 0,x:void 0,y:void 0,layerIndex:void 0,dragEnabled:void 0,resizeEnabled:void 0,compactEnabled:void 0,itemAspectRatio:void 0,maxItemRows:void 0,minItemRows:void 0,maxItemCols:void 0,minItemCols:void 0,maxItemArea:void 0,minItemArea:void 0,resizableHandles:{s:void 0,e:void 0,n:void 0,w:void 0,se:void 0,ne:void 0,sw:void 0,nw:void 0}})}ngOnDestroy(){this.gridster.removeItem(this),this.drag.destroy(),this.resize.destroy(),this.gridster=this.drag=this.resize=null}setSize(){this.renderer.setStyle(this.el,"display",this.notPlaced?"":"block"),this.gridster.gridRenderer.updateItem(this.el,this.$item,this.renderer),this.updateItemSize()}updateItemSize(){let t=this.$item.y*this.gridster.curRowHeight,i=this.$item.x*this.gridster.curColWidth,s=this.$item.cols*this.gridster.curColWidth-this.gridster.$options.margin,o=this.$item.rows*this.gridster.curRowHeight-this.gridster.$options.margin;this.top=t,this.left=i,!this.init&&s>0&&o>0&&(this.init=!0,this.item.initCallback&&this.item.initCallback(this.item,this),this.gridster.options.itemInitCallback&&this.gridster.options.itemInitCallback(this.item,this),this.itemInit.next({item:this.item,itemComponent:this}),this.gridster.$options.scrollToNewItems&&this.el.scrollIntoView({block:"end",inline:"nearest",behavior:"smooth"})),(s!==this.width||o!==this.height)&&(this.width=s,this.height=o,this.gridster.options.itemResizeCallback&&this.gridster.options.itemResizeCallback(this.item,this),this.itemResize.next({item:this.item,itemComponent:this}))}itemChanged(){this.gridster.options.itemChangeCallback&&this.gridster.options.itemChangeCallback(this.item,this),this.itemChange.next({item:this.item,itemComponent:this})}checkItemChanges(t,i){t.rows===i.rows&&t.cols===i.cols&&t.x===i.x&&t.y===i.y||(this.gridster.checkCollision(this.$item)?(this.$item.x=i.x||0,this.$item.y=i.y||0,this.$item.cols=i.cols||1,this.$item.rows=i.rows||1,this.setSize()):(this.item.cols=this.$item.cols,this.item.rows=this.$item.rows,this.item.x=this.$item.x,this.item.y=this.$item.y,this.gridster.calculateLayout$.next(),this.itemChanged()))}canBeDragged(){let t=this.gridster.$options.draggable.enabled,i=this.$item.dragEnabled===void 0?t:this.$item.dragEnabled;return!this.gridster.mobile&&t&&i}canBeResized(){let t=this.gridster.$options.resizable.enabled,i=this.$item.resizeEnabled===void 0?t:this.$item.resizeEnabled;return!this.gridster.mobile&&t&&i}getResizableHandles(){let t=this.gridster.$options.resizable.handles,i=this.$item.resizableHandles;return i===void 0?t:P(P({},t),i)}bringToFront(t){if(t&&t<=0)return;let i=this.getLayerIndex(),s=this.gridster.$options.maxLayerIndex;if(i<s){let o=t?i+t:s;this.item.layerIndex=this.$item.layerIndex=o>s?s:o}}sendToBack(t){if(t&&t<=0)return;let i=this.getLayerIndex();if(i>0){let s=t?i-t:0;this.item.layerIndex=this.$item.layerIndex=s<0?0:s}}getLayerIndex(){return this.item.layerIndex!==void 0?this.item.layerIndex:this.gridster.$options.defaultLayerIndex!==void 0?this.gridster.$options.defaultLayerIndex:0}static \u0275fac=function(i){return new(i||n)(U(St),U(_e),U(Pt),U(pe))};static \u0275cmp=T({type:n,selectors:[["gridster-item"]],hostVars:2,hostBindings:function(i,s){i&2&&Ne("z-index",s.zIndex)},inputs:{item:"item"},outputs:{itemInit:"itemInit",itemChange:"itemChange",itemResize:"itemResize"},features:[nt],ngContentSelectors:mi,decls:9,vars:8,consts:[[1,"gridster-item-resizable-handler","handle-s"],[1,"gridster-item-resizable-handler","handle-e"],[1,"gridster-item-resizable-handler","handle-n"],[1,"gridster-item-resizable-handler","handle-w"],[1,"gridster-item-resizable-handler","handle-se"],[1,"gridster-item-resizable-handler","handle-ne"],[1,"gridster-item-resizable-handler","handle-sw"],[1,"gridster-item-resizable-handler","handle-nw"],[1,"gridster-item-resizable-handler","handle-s",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-e",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-n",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-w",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-se",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-ne",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-sw",3,"mousedown","touchstart"],[1,"gridster-item-resizable-handler","handle-nw",3,"mousedown","touchstart"]],template:function(i,s){i&1&&(Dt(),bt(0),b(1,Ti,1,0,"div",0),b(2,ki,1,0,"div",1),b(3,Si,1,0,"div",2),b(4,Pi,1,0,"div",3),b(5,Di,1,0,"div",4),b(6,Ei,1,0,"div",5),b(7,Ri,1,0,"div",6),b(8,Fi,1,0,"div",7)),i&2&&(d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.s&&s.resize.resizeEnabled?1:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.e&&s.resize.resizeEnabled?2:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.n&&s.resize.resizeEnabled?3:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.w&&s.resize.resizeEnabled?4:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.se&&s.resize.resizeEnabled?5:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.ne&&s.resize.resizeEnabled?6:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.sw&&s.resize.resizeEnabled?7:-1),d(),_(s.resize.resizableHandles!=null&&s.resize.resizableHandles.nw&&s.resize.resizeEnabled?8:-1))},styles:[`gridster-item{box-sizing:border-box;z-index:1;position:absolute;overflow:hidden;transition:.3s;display:none;background:#fff;-webkit-user-select:text;user-select:text}gridster-item.gridster-item-moving{cursor:move}gridster-item.gridster-item-resizing,gridster-item.gridster-item-moving{transition:0s;z-index:2;box-shadow:0 0 5px 5px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.gridster-item-resizable-handler{position:absolute;z-index:2}.gridster-item-resizable-handler.handle-n{cursor:ns-resize;height:10px;right:0;top:0;left:0}.gridster-item-resizable-handler.handle-e{cursor:ew-resize;width:10px;bottom:0;right:0;top:0}.gridster-item-resizable-handler.handle-s{cursor:ns-resize;height:10px;right:0;bottom:0;left:0}.gridster-item-resizable-handler.handle-w{cursor:ew-resize;width:10px;left:0;top:0;bottom:0}.gridster-item-resizable-handler.handle-ne{cursor:ne-resize;width:10px;height:10px;right:0;top:0}.gridster-item-resizable-handler.handle-nw{cursor:nw-resize;width:10px;height:10px;left:0;top:0}.gridster-item-resizable-handler.handle-se{cursor:se-resize;width:0;height:0;right:0;bottom:0;border-style:solid;border-width:0 0 10px 10px;border-color:transparent}.gridster-item-resizable-handler.handle-sw{cursor:sw-resize;width:10px;height:10px;left:0;bottom:0}gridster-item:hover .gridster-item-resizable-handler.handle-se{border-color:transparent transparent #ccc}
|
|
4
|
+
`],encapsulation:2})}return n})();var Ni=["*",[["actions"]]],Li=["*","actions"];function Bi(n,e){n&1&&(V(0,"div",3),bt(1,1),N())}var st=class n{item;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-widget-base"]],inputs:{item:"item"},ngContentSelectors:Li,decls:7,vars:2,consts:[[1,"widget"],[1,"header"],[1,"title"],[1,"actions"],[1,"content"]],template:function(t,i){t&1&&(Dt(Ni),V(0,"div",0)(1,"div",1)(2,"div",2),f(3),N(),b(4,Bi,2,0,"div",3),N(),V(5,"div",4),bt(6),N()()),t&2&&(d(3),A(i.item.title),d(),_(i.item.configurable?4:-1))},dependencies:[D,O,F],styles:["[_nghost-%COMP%]{display:block;height:100%}.widget[_ngcontent-%COMP%]{height:100%;padding:12px 0;display:flex;flex-direction:column}.header[_ngcontent-%COMP%]{flex:0 0 auto;padding:0 16px;display:flex;align-items:center;justify-content:space-between}.title[_ngcontent-%COMP%]{font-size:18px;font-weight:600;flex:1 1 auto;opacity:.5}.actions[_ngcontent-%COMP%]{flex:0 0 auto}.content[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;width:100%;height:0;overflow:hidden}"]})};var ne=class n{item;port="";static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-kill-port-widget"]],inputs:{item:"item"},decls:11,vars:2,consts:[[3,"item"],[1,"logo"],[1,"icon-wrapper"],["nzType","thunderbolt","nzTheme","outline"],["nz-input","","placeholder","\u8F93\u5165\u4E00\u4E2A\u7F51\u7EDC\u7AEF\u53E3","name","port",3,"ngModelChange","ngModel"],["nz-button","","nzType","primary"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0)(1,"div",1)(2,"div",2),m(3,"nz-icon",3),h(),l(4,"h3"),f(5,"\u51C6\u5907\u597D\u7EC8\u6B62"),h()(),l(6,"nz-space")(7,"input",4),ct("ngModelChange",function(o){return dt(i.port,o)||(i.port=o),o}),h(),l(8,"button",5),m(9,"nz-icon",3),f(10," \u7EC8\u6B62 "),h()()()),t&2&&(p("item",i.item),d(7),ht("ngModel",i.port))},dependencies:[D,gt,zt,mt,pt,st,F,L,$t,Mt,Qe,Ue,O,Y,B,X],styles:[".logo[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:16px 0}.logo[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{width:32px;height:32px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;background-color:var(--app-gray);border-radius:50%}.logo[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:20px;color:var(--app-primary-5)}.logo[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{flex:1 1 auto;font-size:18px;margin:0;font-weight:500}"],changeDetection:0})};var oe=class n{api=k(Qt);preview(e,t){let i=new Ge().set("url",e);return t?.limit&&(i=i.set("limit",String(t.limit))),t?.cacheSec&&(i=i.set("cacheSec",String(t.cacheSec))),t?.force&&(i=i.set("force","1")),this.api.get("/api/rss/preview",i)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=It({token:n,factory:n.\u0275fac,providedIn:"root"})};var Hi=(n,e)=>e.link;function Ai(n,e){if(n&1){let t=M();l(0,"div",6)(1,"div",10),f(2,"\u672A\u914D\u7F6E RSS \u6E90"),h(),l(3,"button",11),z("click",function(){w(t);let s=c();return x(s.openConfig())}),f(4,"\u53BB\u914D\u7F6E"),h()()}}function Xi(n,e){if(n&1){let t=M();l(0,"div",12)(1,"p"),f(2),h(),l(3,"button",2),z("click",function(){w(t);let s=c(2);return x(s.reload(!0))}),f(4,"\u91CD\u8BD5"),h()()}if(n&2){let t=c(2);d(2),A(t.errorMsg())}}function Yi(n,e){if(n&1&&(l(0,"span",17),f(1),Le(2,"date"),h()),n&2){let t=c().$implicit;d(),A(Be(2,1,t.pubDate,"yyyy-MM-dd HH:mm"))}}function Gi(n,e){if(n&1&&(l(0,"span",18),f(1),h()),n&2){let t=c().$implicit;d(),A(t.author)}}function ji(n,e){if(n&1&&(l(0,"a",14)(1,"div",15),f(2),h(),l(3,"div",16),b(4,Yi,3,4,"span",17),b(5,Gi,2,1,"span",18),h()()),n&2){let t=e.$implicit;p("href",t.link,Re),d(2),A(t.title),d(2),_(t.pubDate?4:-1),d(),_(t.author?5:-1)}}function Ui(n,e){if(n&1&&(l(0,"div",13),Q(1,ji,6,4,"a",14,Hi),h()),n&2){let t=c(2);d(),K(t.feedItems())}}function Qi(n,e){if(n&1&&b(0,Xi,5,1,"div",12)(1,Ui,3,0,"div",13),n&2){let t=c();_(t.errorMsg()?0:1)}}function Ki(n,e){if(n&1){let t=M();tt(0),l(1,"div",19)(2,"label"),f(3,"RSS\u6E90\u5730\u5740"),h(),l(4,"nz-input-wrapper")(5,"input",20),ct("ngModelChange",function(s){w(t);let o=c();return dt(o.rssUrl,s)||(o.rssUrl=s),x(s)}),h(),m(6,"nz-icon",21),h()(),et()}if(n&2){let t=c();d(5),ht("ngModel",t.rssUrl)}}function qi(n,e){if(n&1){let t=M();tt(0),l(1,"button",22),z("click",function(){w(t);let s=c();return x(s.save())}),f(2,"\u4FDD\u5B58"),h(),et()}if(n&2){let t=c();d(),p("disabled",!t.rssUrl().trim())}}var re=class n{item;layout=k(it);rss=k(oe);cdr=k(Xt);curConfig=S(null);rssUrl=S("");isModalVisible=S(!1);loading=S(!1);feedTitle=S("");feedItems=S([]);errorMsg=S("");hasConfig=R(()=>!!this.curConfig()?.rssUrl?.trim());ngOnChanges(e){if(e.item&&e.item.currentValue){let t=this.item?.config;this.curConfig.set(t?P({},t):null),t?.rssUrl&&this.reload(!1)}}openConfig(){let e=this.item?.config;this.rssUrl.set(e?.rssUrl??""),this.isModalVisible.set(!0)}reload(e=!0){let t=this.curConfig()??this.item?.config,i=(t?.rssUrl??"").trim();if(!i)return;this.loading.set(!0),this.errorMsg.set("");let s=t?.limit??20,o=t?.cacheSec??300;this.rss.preview(i,{limit:s,cacheSec:o,force:e}).subscribe({next:r=>{this.loading.set(!1),this.feedTitle.set(r.title??""),this.feedItems.set(r.items??[]),this.feedTitle()&&(this.item.title=this.feedTitle(),this.cdr.markForCheck())},error:r=>{this.errorMsg.set(r?.error?.detail||r?.message||"\u52A0\u8F7D\u5931\u8D25"),this.loading.set(!1)}})}save(){let e=this.item.projectId,t=(this.rssUrl()??"").trim();if(!e||!t)return;let i=this.item?.config??{},s=j(P({},i),{rssUrl:t,limit:i.limit??20,cacheSec:i.cacheSec??300});this.item.config=s,this.curConfig.set(s),this.layout.updateConfig(e,this.item.id,s),this.isModalVisible.set(!1),this.reload(!0)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-news-feed-widget"]],inputs:{item:"item"},features:[nt],decls:12,vars:5,consts:[[3,"item"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzTheme","outline",3,"nzType"],["nzType","setting","nzTheme","outline"],[1,"news-feed-widget"],[1,"empty"],["nzCentered","","nzTitle","\u914D\u7F6E\u90E8\u4EF6",3,"nzVisibleChange","nzOnCancel","nzVisible","nzMaskClosable"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"hint"],["nz-button","","nzType","default","nzSize","small",3,"click"],[1,"error"],[1,"list"],["target","_blank","rel","noreferrer",1,"row",3,"href"],[1,"t"],[1,"m"],[1,"d"],[1,"a"],[1,"modal-body"],["nz-input","","placeholder","\u8BF7\u8F93\u5165RSS\u6E90\u5730\u5740",2,"width","100%",3,"ngModelChange","ngModel"],["nzType","global","nzTheme","outline","nzInputPrefix",""],["nz-button","","nzType","primary",3,"click","disabled"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0),tt(1,1),l(2,"button",2),z("click",function(){return i.reload()}),m(3,"nz-icon",3),h(),l(4,"button",2),z("click",function(){return i.openConfig()}),m(5,"nz-icon",4),h(),et(),l(6,"div",5),b(7,Ai,5,0,"div",6)(8,Qi,2,1),h()(),l(9,"nz-modal",7),ct("nzVisibleChange",function(o){return dt(i.isModalVisible,o)||(i.isModalVisible=o),o}),z("nzOnCancel",function(){return i.isModalVisible.set(!1)}),At(10,Ki,7,1,"ng-container",8)(11,qi,3,1,"ng-container",9),h()),t&2&&(p("item",i.item),d(3),p("nzType",i.loading()?"loading":"reload"),d(4),_(i.hasConfig()?8:7),d(2),ht("nzVisible",i.isModalVisible),p("nzMaskClosable",!1))},dependencies:[D,gt,zt,mt,pt,$t,Mt,Gt,Yt,O,Y,B,X,st,Zt,Jt,qt,Kt,F,L,Ye],styles:[".news-feed-widget[_ngcontent-%COMP%]{padding:8px 12px;height:100%;overflow:auto}.empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;height:100%;opacity:.75}.list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.row[_ngcontent-%COMP%]{display:block;padding:8px;border-radius:8px;text-decoration:none;border:1px solid rgba(0,0,0,.06)}.row[_ngcontent-%COMP%]:hover{background:#00000005}.t[_ngcontent-%COMP%]{font-size:13px;line-height:1.3;color:#000000e0}.m[_ngcontent-%COMP%]{margin-top:4px;display:flex;gap:10px;font-size:12px;color:#00000073}.error[_ngcontent-%COMP%]{display:flex;gap:8px;flex-direction:column;align-items:center;justify-content:center;color:#d4380d}.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{width:100%;white-space:pre-wrap;word-break:break-word}.loading[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center;opacity:.75}.modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{flex:0 0 auto;margin-right:16px;display:inline-block;width:100px}.modal-body[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1;margin-left:16px}"]})};var Ji=(n,e)=>e.value;function Zi(n,e){if(n&1){let t=M();m(0,"nz-icon",9),l(1,"button",10),z("click",function(){w(t);let s=c(2);return x(s.openConfig())}),f(2,"\u914D\u7F6E\u90E8\u4EF6"),h()}}function ts(n,e){n&1&&m(0,"nz-badge",15)}function es(n,e){n&1&&m(0,"nz-badge",16)}function is(n,e){n&1&&m(0,"nz-badge",17)}function ss(n,e){if(n&1){let t=M();l(0,"div",11)(1,"div",12)(2,"div",13),m(3,"nz-icon",14),b(4,ts,1,0,"nz-badge",15)(5,es,1,0,"nz-badge",16)(6,is,1,0,"nz-badge",17),h(),l(7,"div",18)(8,"div",19),f(9),h(),l(10,"div",20),f(11),h()()()(),l(12,"div",21)(13,"app-task-actions",22),z("toggle",function(){w(t);let s=c(2);return x(s.toggleTask())}),h(),l(14,"button",23),z("click",function(){w(t);let s=c(2);return x(s.goToTask())}),m(15,"nz-icon",24),f(16," \u524D\u5F80\u4EFB\u52A1\u9875 "),h()()}if(n&2){let t,i,s,o,r=c(2);d(),p("nz-tooltip",((t=r.curConfig())==null?null:t.description)??""),d(3),_(r.curRuntime().status==="running"?4:r.curRuntime().status==="stopping"?5:6),d(4),p("title",(i=r.curConfig())==null?null:i.taskName),d(),A((s=r.curConfig())==null?null:s.taskName),d(2),_t(" ",r.curRuntime().status==="running"?"\u8FD0\u884C\u4E2D":r.curRuntime().status==="stopping"?"\u505C\u6B62\u4E2D":r.curRuntime().status==="stopped"?"\u5DF2\u505C\u6B62":((o=r.curConfig())==null?null:o.description)||"\u7A7A\u95F2\u4E2D"," "),d(2),p("isRunning",r.isRunning())("isStopping",r.isStopping())("isStopped",r.isStopped())}}function ns(n,e){if(n&1&&(l(0,"div",8),b(1,Zi,3,0)(2,ss,17,8),h()),n&2){let t=c();xt("no-config",t.curConfig()===null),d(),_(t.curConfig()===null?1:2)}}function os(n,e){if(n&1&&m(0,"nz-option",27),n&2){let t=e.$implicit;p("nzLabel",t.label)("nzValue",t.value)}}function rs(n,e){if(n&1){let t=M();tt(0),l(1,"div",25)(2,"label"),f(3,"\u9009\u62E9\u4E00\u9879\u4EFB\u52A1"),h(),l(4,"nz-select",26),ct("ngModelChange",function(s){w(t);let o=c();return dt(o.selectedTaskId,s)||(o.selectedTaskId=s),x(s)}),Q(5,os,1,2,"nz-option",27,Ji),h()(),et()}if(n&2){let t=c();d(4),ht("ngModel",t.selectedTaskId),p("nzLoading",t.loading())("nzDisabled",t.loading()),d(),K(t.taskOptions())}}function ls(n,e){if(n&1){let t=M();tt(0),l(1,"button",28),z("click",function(){w(t);let s=c();return x(s.save())}),f(2,"\u4FDD\u5B58"),h(),et()}if(n&2){let t=c();d(),p("disabled",!t.selectedTaskId)}}var le=class n{item;taskState=k(ii);layout=k(it);router=k(je);isModalVisible=S(!1);loading=S(!1);curConfig=S(null);curRuntime=R(()=>{let e=this.curConfig();if(!e)return{status:"idle"};let t=e.taskId;return this.taskState.getRuntime(t)||{status:"idle"}});isRunning=R(()=>this.curRuntime().status==="running");isStopping=R(()=>this.curRuntime().status==="stopping");isStopped=R(()=>{let e=this.curRuntime().status;return e==="idle"||e==="stopped"||e==="failed"||e==="success"});selectedTaskId="";rowsOfProject=R(()=>{let e=this.item.projectId;return e?this.taskState.rowsViewOf(e)():[]});taskOptions=R(()=>this.rowsOfProject().map(t=>({value:t.spec.id,label:t.spec.name??t.spec.id,description:t.spec.description??""})));ngOnChanges(e){if(e.item){let t=this.item?.config;this.curConfig.set(t?P({},t):null)}}async openConfig(){let e=this.item.projectId;if(!e){this.isModalVisible.set(!1);return}let t=this.item?.config;this.selectedTaskId=t?.taskId??"",this.isModalVisible.set(!0),this.loading.set(!0);try{await this.taskState.ensureProjectLoaded(e)}finally{this.loading.set(!1)}}save(){let e=this.item.projectId,t=(this.selectedTaskId??"").trim();if(!e||!t)return;let i=this.rowsOfProject().find(a=>a.spec.id===t),s=i?.spec.name??"",o=i?.spec.description??"",r={taskId:t,taskName:s,description:o};this.item.config=r,this.curConfig.set(r),this.layout.updateConfig(e,this.item.id,r),this.isModalVisible.set(!1)}toggleTask(){if(this.curConfig()==null||!this.curConfig().taskId)return;let e=this.curConfig().taskId;this.isRunning()?this.taskState.stopSelected(e):this.isStopped()&&this.taskState.startSelected(e),this.goToTask()}async goToTask(){let e=this.curConfig();if(!e)return;let t=e.taskId;this.taskState.select(t),await this.router.navigate(["/tasks"])}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-quick-task-widget"]],inputs:{item:"item"},features:[nt],decls:8,vars:4,consts:[[3,"item"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","link","nzSize","small",3,"click"],["nzType","setting","nzTheme","outline"],[1,"configured-info",3,"no-config"],["nzCentered","","nzTitle","\u914D\u7F6E\u90E8\u4EF6",3,"nzVisibleChange","nzOnCancel","nzVisible","nzMaskClosable"],[4,"nzModalContent"],[4,"nzModalFooter"],[1,"configured-info"],["nzType","setting","nzTheme","fill"],["nz-button","","nzType","primary",3,"click"],[1,"item"],["nzTooltipPlacement","right",1,"row",3,"nz-tooltip"],[1,"icon"],["nzType","codepen-circle","nzTheme","outline"],["nzStatus","processing"],["nzStatus","warning"],["nzStatus","default"],[1,"info"],[1,"name",3,"title"],[1,"description"],[1,"actions"],[3,"toggle","isRunning","isStopping","isStopped"],["nz-button","","nzType","default",3,"click"],["nzType","schedule","nzTheme","outline"],[1,"modal-body"],["nzPlaceHolder","\u8BF7\u9009\u62E9\u4EFB\u52A1",2,"width","100%",3,"ngModelChange","ngModel","nzLoading","nzDisabled"],[3,"nzLabel","nzValue"],["nz-button","","nzType","primary",3,"click","disabled"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0),tt(1,1),l(2,"button",2),z("click",function(){return i.openConfig()}),m(3,"nz-icon",3),h(),et(),b(4,ns,3,3,"div",4),h(),l(5,"nz-modal",5),ct("nzVisibleChange",function(o){return dt(i.isModalVisible,o)||(i.isModalVisible=o),o}),z("nzOnCancel",function(){return i.isModalVisible.set(!1)}),At(6,rs,7,3,"ng-container",6)(7,ls,3,1,"ng-container",7),h()),t&2&&(p("item",i.item),d(4),_(i.item.configurable?4:-1),d(),ht("nzVisible",i.isModalVisible),p("nzMaskClosable",!1))},dependencies:[D,gt,mt,pt,st,O,Y,B,X,F,L,Zt,Jt,qt,Kt,oi,si,ni,li,ri,Ut,jt,ai],styles:[".configured-info[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%}.configured-info.no-config[_ngcontent-%COMP%]{gap:20px}.configured-info.no-config[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:48px;color:var(--app-gray)}.configured-info[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;justify-content:center;gap:8px}.item[_ngcontent-%COMP%]{width:100%;padding:12px 16px;cursor:pointer}.item[_ngcontent-%COMP%]:hover, .item.active[_ngcontent-%COMP%]{background:var(--app-primary-3)}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{display:flex;gap:10px;align-items:center;overflow:hidden;justify-content:space-between}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:36px;flex:0 0 auto;position:relative}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{flex:1 1 auto;display:flex;flex-direction:column;gap:4px;overflow:hidden}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item[_ngcontent-%COMP%] .row[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:13px;color:var(--app-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{font-size:12px;padding:2px 8px;border-radius:999px;border:1px solid rgba(0,0,0,.2);opacity:.85}.item[_ngcontent-%COMP%] .badge[data-status=running][_ngcontent-%COMP%]{font-weight:700}.item[_ngcontent-%COMP%] .badge[data-status=stopped][_ngcontent-%COMP%]{opacity:.7}.item[_ngcontent-%COMP%] .badge[data-status=failed][_ngcontent-%COMP%]{font-weight:700}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{margin-top:6px;font-size:12px;opacity:.75;display:flex;align-items:center;gap:6px}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.item[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%] .sep[_ngcontent-%COMP%]{opacity:.5}.modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{flex:0 0 auto;margin-right:16px;display:inline-block;width:120px}.modal-body[_ngcontent-%COMP%] nz-select[_ngcontent-%COMP%]{flex:1;margin-left:16px}"]})};var ae=class n{item;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-welcome-widget"]],inputs:{item:"item"},decls:20,vars:1,consts:[[3,"item"],[1,"logo"],["nzType","proj:angular","nzTheme","outline"],[1,"item"],[1,"icon-wrapper"],["nzType","appstore","nzTheme","outline"],["nzType","arrow-left","nzTheme","outline"],["nzType","home","nzTheme","outline"]],template:function(t,i){t&1&&(l(0,"app-widget-base",0)(1,"div",1),m(2,"nz-icon",2),h(),l(3,"h2"),f(4,"\u6B22\u8FCE\u6765\u5230\u65B0\u9879\u76EE\uFF01"),h(),l(5,"div",3)(6,"div",4),m(7,"nz-icon",5),h(),l(8,"p"),f(9,"\u8FD9\u91CC\u662F\u9879\u76EE\u4EEA\u8868\u76D8\uFF0C\u4F60\u53EF\u4EE5\u70B9\u51FB\u53F3\u4E0A\u65B9\u7684\u201C\u81EA\u5B9A\u4E49\u201D\u6309\u94AE\u6765\u6DFB\u52A0\u90E8\u4EF6\u3002\u4F60\u7684\u6539\u52A8\u5C06\u4F1A\u81EA\u52A8\u4FDD\u5B58\u3002"),h()(),l(10,"div",3)(11,"div",4),m(12,"nz-icon",6),h(),l(13,"p"),f(14,"\u5DE6\u4FA7\u662F\u5404\u4E2A\u7BA1\u7406\u9875\u9762\u3002\u5728\u300C\u63D2\u4EF6\u300D\u9875\u9762\u53EF\u4EE5\u6DFB\u52A0\u65B0\u7684 Vue CLI \u63D2\u4EF6\uFF0C\u300C\u4F9D\u8D56\u300D\u9875\u9762\u7528\u4E8E\u7BA1\u7406\u9879\u76EE\u7684\u4F9D\u8D56\u5305\uFF0C\u300C\u914D\u7F6E\u300D\u9875\u9762\u7528\u4E8E\u914D\u7F6E\u5404\u79CD\u5DE5\u5177\uFF0C\u300C\u4EFB\u52A1\u300D\u9875\u9762\u7528\u4E8E\u8FD0\u884C\u5404\u4E2A\u811A\u672C\uFF08\u6BD4\u5982 webpack \u6253\u5305\uFF09\u3002"),h()(),l(15,"div",3)(16,"div",4),m(17,"nz-icon",7),h(),l(18,"p"),f(19,"\u70B9\u51FB\u5DE6\u4E0A\u65B9\u7684\u4E0B\u62C9\u83DC\u5355\u6216\u72B6\u6001\u680F\u4E0A\u7684\u5C0F\u623F\u5B50\u6309\u94AE\u6765\u8FD4\u56DE\u5230\u9879\u76EE\u7BA1\u7406\u5668\u3002"),h()()()),t&2&&p("item",i.item)},dependencies:[D,F,L,O,B,st],styles:[".logo[_ngcontent-%COMP%]{width:70px;height:70px;border-radius:50%;background-color:var(--app-primary-2);display:flex;align-items:center;justify-content:center;margin:0 auto 16px}.logo[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:50px}h2[_ngcontent-%COMP%]{text-align:center;font-weight:600}.item[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;padding:24px 16px}.item[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%]{width:50px;height:50px;margin-right:12px;flex:0 0 auto;background-color:var(--app-gray);border-radius:50%;display:flex;align-items:center;justify-content:center}.item[_ngcontent-%COMP%] .icon-wrapper[_ngcontent-%COMP%] nz-icon[_ngcontent-%COMP%]{font-size:24px;color:var(--app-primary-5)}"]})};function as(n,e){if(n&1&&m(0,"app-welcome-widget",0),n&2){let t=c(2);p("item",t.item)}}function hs(n,e){if(n&1&&m(0,"app-quick-task-widget",0),n&2){let t=c(2);p("item",t.item)}}function ds(n,e){if(n&1&&m(0,"app-kill-port-widget",0),n&2){let t=c(2);p("item",t.item)}}function cs(n,e){if(n&1&&m(0,"app-news-feed-widget",0),n&2){let t=c(2);p("item",t.item)}}function ms(n,e){if(n&1&&b(0,as,1,1,"app-welcome-widget",0)(1,hs,1,1,"app-quick-task-widget",0)(2,ds,1,1,"app-kill-port-widget",0)(3,cs,1,1,"app-news-feed-widget",0),n&2){let t,i=c();_((t=i.item.key)==="welcome"?0:t==="quickTasks"?1:t==="killPort"?2:t==="newsFeed"?3:-1)}}var he=class n{item;editMode=!1;static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-widget-host"]],inputs:{item:"item",editMode:"editMode"},decls:1,vars:1,consts:[[3,"item"]],template:function(t,i){t&1&&b(0,ms,4,1),t&2&&_(i.item?0:-1)},dependencies:[D,ae,le,ne,re],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}.widget-shell[_ngcontent-%COMP%]{width:100%;height:100%}.widget-shell[data-fit=scroll][_ngcontent-%COMP%]{overflow:auto}.widget-shell[data-fit=responsive][_ngcontent-%COMP%], .widget-shell[data-fit=scale][_ngcontent-%COMP%]{overflow:hidden}.widget-scale[_ngcontent-%COMP%]{width:100%;height:100%}"]})};var ps=(n,e)=>e.id;function gs(n,e){if(n&1){let t=M();l(0,"div",5)(1,"button",6),m(2,"i",7),f(3),h()(),l(4,"button",8),z("click",function(){w(t);let s=c().$implicit,o=c();return x(o.remove.emit(s.id))}),m(5,"nz-icon",9),h()}if(n&2){let t=c().$implicit;d(2),p("nzType",t.icon||"appstore"),d(),_t(" ",t.title," ")}}function us(n,e){if(n&1&&(l(0,"gridster-item",1)(1,"div",2),b(2,gs,6,2),l(3,"div",3),m(4,"app-widget-host",4),h()()()),n&2){let t=e.$implicit,i=c();p("item",t),d(),xt("edit-mode",i.editMode),d(),_(i.editMode?2:-1),d(2),p("item",t)("editMode",i.editMode)}}var de=class n{editMode=!1;items=[];itemsChange=new ot;remove=new ot;patch=new Map;itemChange=(e,t)=>{let i=t.item.id;i&&this.patch.set(i,{x:e.x??t.item.x,y:e.y??t.item.y,cols:e.cols??t.item.cols,rows:e.rows??t.item.rows})};itemResize=(e,t)=>{};options={gridType:g.Fixed,fixedColWidth:90,fixedRowHeight:90,margin:10,outerMargin:!0,compactType:v.None,pushItems:!0,displayGrid:se.None,resizable:{enabled:!0,stop:()=>this.emitSync()},draggable:{enabled:!1,stop:()=>this.emitSync()},itemChangeCallback:this.itemChange,itemResizeCallback:this.itemResize};ngOnChanges(e){let t=e.editMode;t&&t.currentValue!=t.previousValue&&(this.options=j(P({},this.options),{draggable:j(P({},this.options.draggable),{enabled:this.editMode}),resizable:j(P({},this.options.resizable),{enabled:this.editMode}),fixedColWidth:this.editMode?70:90,fixedRowHeight:this.editMode?70:90}))}emitSync(){let e=this.items.map(t=>{let i=this.patch.get(t.id);return i?P(P({},t),i):t});this.patch.clear(),this.itemsChange.emit(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-dashboard-canvas"]],inputs:{editMode:"editMode",items:"items"},outputs:{itemsChange:"itemsChange",remove:"remove"},features:[nt],decls:3,vars:1,consts:[[3,"options"],[3,"item"],[1,"card"],[1,"card-body"],[3,"item","editMode"],["aria-hidden","true",1,"card-overlay"],["nz-button","","nzType","primary","nzSize","large"],["nz-icon","","nzTheme","outline",3,"nzType"],["nz-button","","nzType","text","nzSize","small","nz-tooltip","\u79FB\u9664\u90E8\u4EF6",1,"remove-button",3,"click"],["nzType","close","nzTheme","outline"]],template:function(t,i){t&1&&(l(0,"gridster",0),Q(1,us,5,6,"gridster-item",1,ps),h()),t&2&&(p("options",i.options),d(),K(i.items))},dependencies:[D,O,Y,B,X,F,L,_e,xi,he,jt],styles:["[_nghost-%COMP%]{display:block;height:100%}gridster[_ngcontent-%COMP%]{display:block;height:100%;background:var(--app-primary-1)}gridster-item[_ngcontent-%COMP%]{border-radius:10px}.card[_ngcontent-%COMP%]{height:100%;background:#fff;border-radius:10px;box-shadow:0 2px 10px #0000000f;overflow:hidden;position:relative}.card.edit-mode[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.card-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:#ffffff8c;display:flex;justify-content:center;align-items:center;pointer-events:none;z-index:2}.remove-button[_ngcontent-%COMP%]{position:absolute;right:16px;top:16px;z-index:3;background:var(--app-primary-1);color:var(--app-primary);transition:all .3s}.remove-button[_ngcontent-%COMP%]:hover{background:var(--app-primary);color:#fff}.card-overlay[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{pointer-events:none;border-radius:20px}.title[_ngcontent-%COMP%]{font-size:12px;color:#000000bf}.card-body[_ngcontent-%COMP%]{position:relative;height:100%}.card.edit-mode[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{cursor:move;pointer-events:none;opacity:.8}"]})};var fs=["class","component"],vi=class n{projectState=k(ei);layout=k(it);envInjector=k(De);projectId=R(()=>this.projectState.currentProjectId()||"");editMode=S(!1);items=R(()=>this.layout.items());constructor(){He(()=>{let e=this.projectId();e&&(Ve(()=>this.layout.load(e)),Ee(this.envInjector,()=>{Fe(()=>{queueMicrotask(()=>this.editMode.set(!1))})}))})}toggleEdit(){let e=!this.editMode();this.editMode.set(e),e?this.layout.getWidgets():this.layout.flushSave(this.projectId())}onItemsChange(e){this.layout.setItems(this.projectId(),e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=T({type:n,selectors:[["app-dashboard",8,"component"]],hostVars:2,hostBindings:function(t,i){t&2&&xt("collapsed",i.editMode())},attrs:fs,decls:14,vars:8,consts:[[3,"title","isFullscreen"],["ngProjectAs","actions",5,["actions"]],["nz-button","","nzType","primary",3,"click"],["nzTheme","outline",3,"nzType"],[3,"itemsChange","remove","editMode","items"],[1,"side-panel"],[1,"side-header"],[1,"title"],["nz-button","","nzType","text",3,"click"],["nzType","close"],[1,"side-body"],[3,"add"]],template:function(t,i){t&1&&(l(0,"page-layout",0),tt(1,1),l(2,"button",2),z("click",function(){return i.toggleEdit()}),m(3,"nz-icon",3),f(4),h(),et(),l(5,"app-dashboard-canvas",4),z("itemsChange",function(o){return i.onItemsChange(o)})("remove",function(o){return i.layout.remove(o)}),h()(),l(6,"div",5)(7,"div",6)(8,"div",7),f(9,"\u6DFB\u52A0\u90E8\u4EF6"),h(),l(10,"button",8),z("click",function(){return i.editMode.set(!1)}),m(11,"nz-icon",9),h()(),l(12,"div",10)(13,"app-add-widget-drawer",11),z("add",function(o){return i.layout.add(o)}),h()()()),t&2&&(p("title","\u9879\u76EE\u4EEA\u8868\u76D8")("isFullscreen",!0),d(3),p("nzType",i.editMode()?"check":"edit"),d(),_t(" ",i.editMode()?"\u5B8C\u6210":"\u81EA\u5B9A\u4E49"," "),d(),p("editMode",i.editMode())("items",i.items()),d(),xt("open",i.editMode()))},dependencies:[D,O,Y,B,X,F,L,Ke,qe,Je,de,ee],styles:["[_nghost-%COMP%]{height:100%;display:block;position:relative;transition:width .2s}.collapsed[_nghost-%COMP%]{width:calc(100% - 360px)}.side-panel[_ngcontent-%COMP%]{position:fixed;top:0;right:0;height:100vh;width:360px;background:#fff;box-shadow:-8px 0 24px #0000001f;transform:translate(100%);transition:transform .2s ease;z-index:1000;display:flex;flex-direction:column}.side-panel.open[_ngcontent-%COMP%]{transform:translate(0)}.side-header[_ngcontent-%COMP%]{height:56px;padding:0 12px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.06)}.side-body[_ngcontent-%COMP%]{flex:1;overflow:hidden}"]})};export{vi as DashboardComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as H,H as Z,x as G,z as C}from"./chunk-J43J3F2V.js";import{d as W}from"./chunk-53YRDYLS.js";import{Ca as M,Dc as k,Eb as w,Fb as E,Fc as z,Ha as O,Ic as A,Jc as P,Kb as S,Oa as j,U as I,Vb as d,Xb as m,ac as R,ad as B,bc as s,ca as N,cc as p,da as _,dc as F,f,i as y,m as v,mb as l,n as x,na as T,r as b,ra as c,rd as U,s as g,tc as u,u as D,uc as L,vc as $,vd as h,wd as V}from"./chunk-SJG2JCPL.js";var K=["*"];function Q(n,r){n&1&&(s(0,"span",2),F(1,"i",3)(2,"i",3)(3,"i",3)(4,"i",3),p())}function X(n,r){}function Y(n,r){if(n&1&&(s(0,"div",6),A(1),p()),n&2){let i=u(2);l(),P(i.nzTip)}}function nn(n,r){if(n&1&&(s(0,"div")(1,"div",4),S(2,X,0,0,"ng-template",5),d(3,Y,2,1,"div",6),p()()),n&2){let i=u(),o=k(1);l(),z("ant-spin-rtl",i.dir==="rtl")("ant-spin-lg",i.nzSize==="large")("ant-spin-sm",i.nzSize==="small")("ant-spin-show-text",i.nzTip),l(),R("ngTemplateOutlet",i.nzIndicator||o),l(),m(i.nzTip?3:-1)}}function tn(n,r){if(n&1&&(s(0,"div",7),$(1),p()),n&2){let i=u();z("ant-spin-blur",i.isLoading())}}var q="spin",gn=(()=>{var o;let n,r=[],i=[];return o=class{_nzModuleName=q;cdr=c(U);directionality=c(G);destroyRef=c(M);nzIndicator=g(this,r,null);nzSize=(g(this,i),"default");nzTip=null;nzDelay=0;nzSimple=!1;nzSpinning=!0;spinning$=new v(this.nzSpinning);delay$=new x(1);isLoading=O(!1);dir="ltr";constructor(){H(q,()=>this.cdr.markForCheck())}ngOnInit(){this.delay$.pipe(N(this.nzDelay),I(),_(e=>this.spinning$.pipe(_(t=>e===0||!t?D(t):new y(a=>{let J=setTimeout(()=>a.next(t),e);return()=>clearTimeout(J)})))),C(this.destroyRef)).subscribe(e=>{this.isLoading.set(e)}),this.directionality.change?.pipe(C(this.destroyRef)).subscribe(e=>{this.dir=e,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(e){let{nzSpinning:t,nzDelay:a}=e;t&&this.spinning$.next(this.nzSpinning),a&&this.delay$.next(this.nzDelay)}},(()=>{let e=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;n=[Z()],b(null,null,n,{kind:"field",name:"nzIndicator",static:!1,private:!1,access:{has:t=>"nzIndicator"in t,get:t=>t.nzIndicator,set:(t,a)=>{t.nzIndicator=a}},metadata:e},r,i),e&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})})(),f(o,"\u0275fac",function(t){return new(t||o)}),f(o,"\u0275cmp",w({type:o,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(t,a){t&2&&z("ant-spin-nested-loading",!a.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:[2,"nzDelay","nzDelay",V],nzSimple:[2,"nzSimple","nzSimple",h],nzSpinning:[2,"nzSpinning","nzSpinning",h]},exportAs:["nzSpin"],features:[j],ngContentSelectors:K,decls:4,vars:2,consts:[["defaultTemplate",""],[1,"ant-spin-container",3,"ant-spin-blur"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin","ant-spin-spinning"],[3,"ngTemplateOutlet"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(t,a){t&1&&(L(),S(0,Q,5,0,"ng-template",null,0,B),d(2,nn,4,10,"div"),d(3,tn,2,2,"div",1)),t&2&&(l(2),m(a.isLoading()?2:-1),l(),m(a.nzSimple?-1:3))},dependencies:[W],encapsulation:2})),o})(),_n=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=E({type:n});static \u0275inj=T({})}return n})();export{gn as a,_n as b};
|