@designsystem-se/af 39.1.0-beta.2 → 39.2.0
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/README.md +1 -1
- package/components/digi-badge-notification.js +1 -1
- package/components/digi-badge-status.js +11 -22
- package/components/digi-bar-chart.js +32 -45
- package/components/digi-button.js +1 -1
- package/components/digi-calendar-datepicker.js +141 -217
- package/components/digi-calendar-week-view.js +69 -82
- package/components/digi-calendar.js +1 -1
- package/components/digi-chart-line.js +34 -37
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +43 -53
- package/components/digi-code.js +14 -29
- package/components/digi-context-menu.js +29 -38
- package/components/digi-dialog.js +73 -92
- package/components/digi-expandable-accordion.js +22 -54
- package/components/digi-expandable-faq-item.js +24 -52
- package/components/digi-expandable-faq.js +13 -20
- package/components/digi-footer-card.js +10 -15
- package/components/digi-footer.js +65 -70
- package/components/digi-form-category-filter.js +16 -53
- package/components/digi-form-checkbox.js +1 -1
- package/components/digi-form-error-list.js +78 -94
- package/components/digi-form-fieldset.js +1 -1
- package/components/digi-form-file-upload.js +68 -105
- package/components/digi-form-filter.js +37 -56
- package/components/digi-form-input-search.js +49 -63
- package/components/digi-form-input.js +1 -1
- package/components/digi-form-label.js +1 -1
- package/components/digi-form-radiobutton.js +1 -1
- package/components/digi-form-radiogroup.js +46 -78
- package/components/digi-form-receipt.js +64 -85
- package/components/digi-form-select-filter.js +120 -172
- package/components/digi-form-select.js +1 -1
- package/components/digi-form-textarea.js +46 -64
- package/components/digi-form-validation-message.js +1 -1
- package/components/digi-header-avatar.js +58 -45
- package/components/digi-header-navigation-item.js +11 -11
- package/components/digi-header-navigation.js +81 -91
- package/components/digi-header-notification.js +12 -12
- package/components/digi-header.js +77 -77
- package/components/digi-icon-accessibility-deaf.js +14 -16
- package/components/digi-icon-accessibility-universal.js +14 -16
- package/components/digi-icon-apple.js +14 -16
- package/components/digi-icon-archive-outline.js +14 -16
- package/components/digi-icon-archive.js +14 -16
- package/components/digi-icon-arrow-back.js +14 -16
- package/components/digi-icon-arrow-down.js +14 -16
- package/components/digi-icon-arrow-left.js +14 -16
- package/components/digi-icon-arrow-right.js +1 -1
- package/components/digi-icon-arrow-sign-in.js +14 -16
- package/components/digi-icon-arrow-sign-out.js +14 -16
- package/components/digi-icon-arrow-up.js +14 -16
- package/components/digi-icon-at.js +14 -16
- package/components/digi-icon-bars.js +1 -1
- package/components/digi-icon-bell-filled.js +14 -16
- package/components/digi-icon-bell.js +14 -16
- package/components/digi-icon-book.js +14 -16
- package/components/digi-icon-bookmark-outline.js +14 -16
- package/components/digi-icon-bookmark-solid.js +14 -16
- package/components/digi-icon-bubble-ellipsis.js +14 -16
- package/components/digi-icon-bubble.js +14 -16
- package/components/digi-icon-building-outline.js +14 -16
- package/components/digi-icon-building-solid.js +14 -16
- package/components/digi-icon-bullseye.js +14 -16
- package/components/digi-icon-calculator-solid.js +14 -16
- package/components/digi-icon-calendar-alt-alert.js +14 -16
- package/components/digi-icon-calendar-alt.js +1 -1
- package/components/digi-icon-calendar.js +14 -16
- package/components/digi-icon-caret-circle-right.js +14 -16
- package/components/digi-icon-caret-down.js +1 -1
- package/components/digi-icon-caret-left.js +14 -16
- package/components/digi-icon-caret-right.js +14 -16
- package/components/digi-icon-caret-up.js +1 -1
- package/components/digi-icon-chart.js +1 -1
- package/components/digi-icon-chat.js +14 -16
- package/components/digi-icon-check-circle-reg-alt.js +14 -16
- package/components/digi-icon-check-circle-solid.js +1 -1
- package/components/digi-icon-check.js +1 -1
- package/components/digi-icon-checklist.js +14 -16
- package/components/digi-icon-chevron-down.js +1 -1
- package/components/digi-icon-chevron-left.js +1 -1
- package/components/digi-icon-chevron-right.js +1 -1
- package/components/digi-icon-chevron-up.js +14 -16
- package/components/digi-icon-clock.js +14 -16
- package/components/digi-icon-communication-play-solid.js +14 -16
- package/components/digi-icon-compress-alt.js +14 -16
- package/components/digi-icon-comunication-case.js +14 -16
- package/components/digi-icon-comunication-flag.js +14 -16
- package/components/digi-icon-comunication-graduate.js +14 -16
- package/components/digi-icon-comunication-play.js +14 -16
- package/components/digi-icon-cooperation.js +14 -16
- package/components/digi-icon-copy.js +1 -1
- package/components/digi-icon-danger-outline.js +14 -16
- package/components/digi-icon-download.js +14 -16
- package/components/digi-icon-dxa.js +14 -16
- package/components/digi-icon-edit.js +14 -16
- package/components/digi-icon-ellipsis.js +14 -16
- package/components/digi-icon-envelope-filled.js +14 -16
- package/components/digi-icon-envelope.js +14 -16
- package/components/digi-icon-exclamation-circle-filled.js +14 -16
- package/components/digi-icon-exclamation-triangle-filled.js +14 -16
- package/components/digi-icon-exclamation-triangle-warning.js +14 -16
- package/components/digi-icon-exclamation-triangle.js +14 -16
- package/components/digi-icon-expand-alt.js +14 -16
- package/components/digi-icon-external-link-alt.js +1 -1
- package/components/digi-icon-eye-slash.js +14 -16
- package/components/digi-icon-eye.js +14 -16
- package/components/digi-icon-facebook-square.js +14 -16
- package/components/digi-icon-file-add.js +13 -15
- package/components/digi-icon-file-document.js +14 -16
- package/components/digi-icon-file-excel.js +14 -16
- package/components/digi-icon-file-export.js +13 -15
- package/components/digi-icon-file-governing.js +14 -16
- package/components/digi-icon-file-pdf.js +14 -16
- package/components/digi-icon-file-powerpoint.js +14 -16
- package/components/digi-icon-file-remove.js +13 -15
- package/components/digi-icon-file-word.js +14 -16
- package/components/digi-icon-film.js +14 -16
- package/components/digi-icon-filter.js +14 -16
- package/components/digi-icon-folder-add.js +13 -15
- package/components/digi-icon-folder-directory.js +13 -15
- package/components/digi-icon-folder-open.js +13 -15
- package/components/digi-icon-folder.js +13 -15
- package/components/digi-icon-globe-filled.js +14 -16
- package/components/digi-icon-globe.js +14 -16
- package/components/digi-icon-headphones.js +14 -16
- package/components/digi-icon-heart-solid.js +14 -16
- package/components/digi-icon-heart.js +14 -16
- package/components/digi-icon-history.js +14 -16
- package/components/digi-icon-home.js +14 -16
- package/components/digi-icon-image.js +14 -16
- package/components/digi-icon-info-circle-solid.js +14 -16
- package/components/digi-icon-input-select-marker.js +1 -1
- package/components/digi-icon-instagram.js +14 -16
- package/components/digi-icon-job-suggestion.js +14 -16
- package/components/digi-icon-language-outline.js +14 -16
- package/components/digi-icon-language.js +14 -16
- package/components/digi-icon-laptop-phone.js +14 -16
- package/components/digi-icon-lattlast.js +14 -16
- package/components/digi-icon-licence-bus.js +14 -16
- package/components/digi-icon-licence-car.js +14 -16
- package/components/digi-icon-licence-motorcycle.js +14 -16
- package/components/digi-icon-licence-truck.js +14 -16
- package/components/digi-icon-lightbulb.js +14 -16
- package/components/digi-icon-linkedin-in.js +14 -16
- package/components/digi-icon-list-ul.js +1 -1
- package/components/digi-icon-lock.js +14 -16
- package/components/digi-icon-marker-filled.js +14 -16
- package/components/digi-icon-marker.js +14 -16
- package/components/digi-icon-media-course.js +14 -16
- package/components/digi-icon-media-podcast.js +14 -16
- package/components/digi-icon-microphone-off.js +14 -16
- package/components/digi-icon-microphone.js +14 -16
- package/components/digi-icon-minus.js +1 -1
- package/components/digi-icon-move.js +14 -16
- package/components/digi-icon-news.js +1 -1
- package/components/digi-icon-notification-error.js +1 -1
- package/components/digi-icon-notification-info.js +1 -1
- package/components/digi-icon-notification-succes.js +1 -1
- package/components/digi-icon-notification-warning.js +1 -1
- package/components/digi-icon-online-computervideo.js +1 -1
- package/components/digi-icon-online-interview.js +14 -16
- package/components/digi-icon-online-meeting.js +14 -16
- package/components/digi-icon-online-task.js +14 -16
- package/components/digi-icon-online-video.js +1 -1
- package/components/digi-icon-open-source.js +14 -16
- package/components/digi-icon-palette.js +14 -16
- package/components/digi-icon-paperclip.js +1 -1
- package/components/digi-icon-paste.js +13 -15
- package/components/digi-icon-pen.js +14 -16
- package/components/digi-icon-phone-hangup.js +14 -16
- package/components/digi-icon-phone.js +14 -16
- package/components/digi-icon-plus.js +1 -1
- package/components/digi-icon-pod.js +1 -1
- package/components/digi-icon-print.js +14 -16
- package/components/digi-icon-read.js +14 -16
- package/components/digi-icon-redo.js +14 -16
- package/components/digi-icon-scale.js +13 -15
- package/components/digi-icon-screensharing-off.js +14 -16
- package/components/digi-icon-screensharing.js +14 -16
- package/components/digi-icon-search.js +1 -1
- package/components/digi-icon-send-outline.js +14 -16
- package/components/digi-icon-send-solid.js +14 -16
- package/components/digi-icon-settings.js +14 -16
- package/components/digi-icon-share-alt.js +14 -16
- package/components/digi-icon-share-chain.js +14 -16
- package/components/digi-icon-sign.js +14 -16
- package/components/digi-icon-sliders-h.js +14 -16
- package/components/digi-icon-sokkandidat.js +14 -16
- package/components/digi-icon-sort-down.js +14 -16
- package/components/digi-icon-sort-up.js +14 -16
- package/components/digi-icon-sort.js +14 -16
- package/components/digi-icon-spinner.js +1 -1
- package/components/digi-icon-star-reg.js +14 -16
- package/components/digi-icon-star.js +14 -16
- package/components/digi-icon-suitcase-outline.js +14 -16
- package/components/digi-icon-suitcase-solid.js +14 -16
- package/components/digi-icon-system-assistance.js +14 -16
- package/components/digi-icon-table-column.js +14 -16
- package/components/digi-icon-table-row.js +14 -16
- package/components/digi-icon-table.js +1 -1
- package/components/digi-icon-task-done.js +14 -16
- package/components/digi-icon-toggle-off.js +14 -16
- package/components/digi-icon-toggle-on.js +14 -16
- package/components/digi-icon-trash.js +1 -1
- package/components/digi-icon-twitter.js +14 -16
- package/components/digi-icon-tyck-till.js +14 -16
- package/components/digi-icon-unlock.js +14 -16
- package/components/digi-icon-update.js +14 -16
- package/components/digi-icon-upload.js +14 -16
- package/components/digi-icon-user-add.js +13 -15
- package/components/digi-icon-user-alt.js +14 -16
- package/components/digi-icon-user-edit.js +13 -15
- package/components/digi-icon-users-solid.js +14 -16
- package/components/digi-icon-validation-error.js +1 -1
- package/components/digi-icon-validation-success.js +1 -1
- package/components/digi-icon-validation-warning.js +1 -1
- package/components/digi-icon-videocamera-off.js +14 -16
- package/components/digi-icon-videocamera.js +14 -16
- package/components/digi-icon-volume.js +14 -16
- package/components/digi-icon-web-tv.js +14 -16
- package/components/digi-icon-webinar.js +1 -1
- package/components/digi-icon-wifi-signal0.js +14 -16
- package/components/digi-icon-wifi-signal1.js +14 -16
- package/components/digi-icon-wifi-signal2.js +14 -16
- package/components/digi-icon-wifi-signal3.js +14 -16
- package/components/digi-icon-window.js +14 -16
- package/components/digi-icon-x-button-outline.js +1 -1
- package/components/digi-icon-x-button.js +14 -16
- package/components/digi-icon-x.js +1 -1
- package/components/digi-icon-youtube.js +14 -16
- package/components/digi-info-card-multi-container.js +14 -13
- package/components/digi-info-card-multi.js +44 -54
- package/components/digi-info-card.js +30 -49
- package/components/digi-layout-block.js +1 -1
- package/components/digi-layout-columns.js +1 -1
- package/components/digi-layout-container.js +1 -1
- package/components/digi-link-button.js +30 -36
- package/components/digi-link-external.js +1 -1
- package/components/digi-link-internal.js +1 -1
- package/components/digi-link.js +1 -1
- package/components/digi-list.js +20 -29
- package/components/digi-loader-skeleton.js +9 -18
- package/components/digi-loader-spinner.js +12 -16
- package/components/digi-logo.js +15 -24
- package/components/digi-media-figure.js +11 -15
- package/components/digi-media-image.js +1 -1
- package/components/digi-navigation-breadcrumbs.js +35 -72
- package/components/digi-navigation-pagination.js +74 -90
- package/components/digi-navigation-sidebar-button.js +1 -1
- package/components/digi-navigation-sidebar.js +36 -72
- package/components/digi-navigation-vertical-menu-item.js +24 -51
- package/components/digi-navigation-vertical-menu.js +13 -26
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +347 -88
- package/components/digi-progress-circle.js +36 -59
- package/components/digi-progress-indicator.js +65 -76
- package/components/digi-progress-list-item.js +26 -64
- package/components/digi-progress-list.js +16 -47
- package/components/digi-progressbar.js +48 -60
- package/components/digi-quote.js +20 -33
- package/components/digi-table.js +12 -25
- package/components/digi-tablist-panel.js +7 -8
- package/components/digi-tablist.js +41 -68
- package/components/digi-tag-media.js +1 -1
- package/components/digi-tag.js +17 -27
- package/components/digi-title-logo.js +66 -62
- package/components/digi-tools-feedback-banner.js +59 -80
- package/components/digi-tools-feedback-rating.js +48 -74
- package/components/digi-tools-feedback.js +71 -102
- package/components/digi-tools-theme-provider.js +11 -16
- package/components/digi-typography-heading-jumbo.js +11 -23
- package/components/digi-typography-meta.js +11 -16
- package/components/digi-typography-preamble.js +10 -11
- package/components/digi-typography-time.js +13 -24
- package/components/digi-typography.js +1 -1
- package/components/digi-util-breakpoint-observer.js +1 -1
- package/components/digi-util-detect-click-outside.js +9 -15
- package/components/digi-util-detect-focus-outside.js +9 -15
- package/components/digi-util-intersection-observer.js +1 -1
- package/components/digi-util-keydown-handler.js +1 -1
- package/components/digi-util-keyup-handler.js +8 -10
- package/components/digi-util-mutation-observer.js +1 -94
- package/components/digi-util-resize-observer.js +1 -1
- package/components/index.d.ts +0 -1
- package/components/index.js +51 -51
- package/components/p-01264cdd.js +46 -0
- package/components/p-02cac754.js +46 -0
- package/components/p-02ebe13f.js +46 -0
- package/components/p-06905c58.js +46 -0
- package/components/p-0e6a31ff.js +58 -0
- package/components/p-14119afa.js +46 -0
- package/components/p-1e730762.js +46 -0
- package/components/p-210a5fb1.js +46 -0
- package/components/p-222f510d.js +72 -0
- package/components/p-22bcbe8a.js +70 -0
- package/components/p-2881b363.js +38 -0
- package/components/p-2f619b66.js +79 -0
- package/components/p-36826879.js +176 -0
- package/components/p-36b65cd5.js +46 -0
- package/components/p-430607cb.js +7 -0
- package/components/p-433c995f.js +46 -0
- package/components/p-43c92e65.js +46 -0
- package/components/p-4851d4b6.js +46 -0
- package/components/p-4b44f757.js +46 -0
- package/components/p-4c4c38fd.js +46 -0
- package/components/p-4cdabbdb.js +88 -0
- package/components/p-517dba78.js +46 -0
- package/components/p-58f84239.js +46 -0
- package/components/p-59ead9fe.js +96 -0
- package/components/p-6ee85572.js +172 -0
- package/components/p-704e0126.js +276 -0
- package/components/p-70c8d84e.js +52 -0
- package/components/p-70fad0ea.js +165 -0
- package/components/p-71afaf70.js +132 -0
- package/components/p-77d8d575.js +157 -0
- package/components/p-7af943bd.js +46 -0
- package/components/p-7d7af765.js +46 -0
- package/components/p-7e9f8ee6.js +46 -0
- package/components/p-7f08536e.js +46 -0
- package/components/p-806d4bbf.js +64 -0
- package/components/p-88605ec3.js +71 -0
- package/components/p-8d67da4c.js +46 -0
- package/components/p-8ee7ec0b.js +46 -0
- package/components/p-965c3fa4.js +177 -0
- package/components/p-96ef4705.js +46 -0
- package/components/p-9963ea8d.js +99 -0
- package/components/p-9df35672.js +57 -0
- package/components/p-9e98bc1f.js +46 -0
- package/components/p-9f757d46.js +46 -0
- package/components/p-a1255d30.js +133 -0
- package/components/p-a43d5fe6.js +46 -0
- package/components/p-a480e81e.js +46 -0
- package/components/p-a53686b3.js +2052 -0
- package/components/p-ac5035f1.js +93 -0
- package/components/p-b18e3596.js +46 -0
- package/components/p-b53be17d.js +46 -0
- package/components/p-c7949525.js +865 -0
- package/components/p-d0f35bd6.js +23 -0
- package/components/p-d2b12caf.js +46 -0
- package/components/p-d851dc90.js +66 -0
- package/components/p-dab20489.js +98 -0
- package/components/p-db0d140d.js +79 -0
- package/components/p-db6386c7.js +46 -0
- package/components/p-db81738c.js +46 -0
- package/components/p-dbb0665a.js +596 -0
- package/components/p-de2295b7.js +47 -0
- package/components/p-e2a68e2b.js +242 -0
- package/components/p-e6b042b3.js +47 -0
- package/components/p-e788c4e0.js +46 -0
- package/components/p-e78c723f.js +75 -0
- package/components/p-ee33960b.js +7 -0
- package/components/p-f25f9ca8.js +2431 -0
- package/components/p-f461911c.js +46 -0
- package/components/p-f884ee43.js +46 -0
- package/components/p-f9a1a787.js +3722 -0
- package/components/p-fe63f0b9.js +17 -0
- package/components/p-ff74fdd6.js +46 -0
- package/custom-elements.json +13 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/button-size.enum-1fd86b9e.js +7 -0
- package/dist/cjs/button-type.enum-406723db.js +8 -0
- package/dist/cjs/code-example-variation.enum-c6557727.js +27 -0
- package/dist/cjs/detectClickOutside.util-3e764eb3.js +9 -0
- package/dist/cjs/detectFocusOutside.util-03c62976.js +9 -0
- package/dist/cjs/digi-arbetsformedlingen.cjs.js +8 -28
- package/dist/cjs/digi-badge-notification.cjs.entry.js +9 -11
- package/dist/cjs/digi-badge-status.cjs.entry.js +9 -16
- package/dist/cjs/digi-bar-chart.cjs.entry.js +74 -81
- package/dist/cjs/digi-button.cjs.entry.js +130 -0
- package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +86 -148
- package/dist/cjs/digi-calendar-week-view.cjs.entry.js +55 -58
- package/dist/cjs/digi-calendar_2.cjs.entry.js +32 -58
- package/dist/cjs/digi-chart-line.cjs.entry.js +123 -120
- package/dist/cjs/digi-code-block_3.cjs.entry.js +88 -112
- package/dist/cjs/digi-code-example.cjs.entry.js +22 -25
- package/dist/cjs/digi-code.cjs.entry.js +11 -20
- package/dist/cjs/digi-context-menu.cjs.entry.js +20 -21
- package/dist/cjs/digi-dialog.cjs.entry.js +64 -75
- package/dist/cjs/digi-expandable-accordion.cjs.entry.js +14 -40
- package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +16 -38
- package/dist/cjs/digi-expandable-faq.cjs.entry.js +10 -13
- package/dist/cjs/digi-footer-card.cjs.entry.js +7 -8
- package/dist/cjs/digi-footer.cjs.entry.js +57 -54
- package/dist/cjs/digi-form-category-filter.cjs.entry.js +7 -38
- package/dist/cjs/digi-form-checkbox.cjs.entry.js +25 -27
- package/dist/cjs/digi-form-error-list.cjs.entry.js +60 -68
- package/dist/cjs/digi-form-file-upload.cjs.entry.js +49 -79
- package/dist/cjs/digi-form-filter.cjs.entry.js +26 -35
- package/dist/cjs/digi-form-input-search.cjs.entry.js +35 -39
- package/dist/cjs/digi-form-input.cjs.entry.js +194 -0
- package/dist/cjs/digi-form-label_3.cjs.entry.js +129 -0
- package/dist/cjs/digi-form-radiogroup.cjs.entry.js +22 -52
- package/dist/cjs/digi-form-receipt.cjs.entry.js +58 -71
- package/dist/cjs/digi-form-select-filter.cjs.entry.js +605 -0
- package/dist/cjs/digi-form-select_2.cjs.entry.js +49 -64
- package/dist/cjs/digi-form-textarea.cjs.entry.js +31 -39
- package/dist/cjs/digi-header-avatar.cjs.entry.js +50 -34
- package/dist/cjs/digi-header-navigation-item.cjs.entry.js +8 -4
- package/dist/cjs/digi-header-navigation.cjs.entry.js +68 -68
- package/dist/cjs/digi-header-notification.cjs.entry.js +9 -5
- package/dist/cjs/digi-header.cjs.entry.js +63 -55
- package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-apple.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-archive.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-at.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bars.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bell.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-book.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bubble.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-building-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-building-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-bullseye.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-calendar.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-caret-left.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-caret-right.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-chart_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-chat.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-check-circle-solid_4.cjs.entry.js +36 -34
- package/dist/cjs/digi-icon-check_6.cjs.entry.js +340 -0
- package/dist/cjs/digi-icon-checklist.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +30 -0
- package/dist/cjs/digi-icon-chevron-left_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-clock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-cooperation.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-copy.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-download.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-dxa.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-edit.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-envelope.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +21 -13
- package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-eye.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-document.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-excel.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-export.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-governing.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-file-remove.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-file-word.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-film.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-filter.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-folder-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder-open.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-folder.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-globe.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-headphones.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-heart.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-history.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-home.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-image.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-instagram.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-language-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-language.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-lattlast.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-car.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +52 -50
- package/dist/cjs/digi-icon-lock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-marker.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-media-course.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-microphone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-minus_2.cjs.entry.js +20 -18
- package/dist/cjs/digi-icon-move.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-notification-error_4.cjs.entry.js +36 -34
- package/dist/cjs/digi-icon-online-interview.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-online-task.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-open-source.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-palette.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-paste.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-pen.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-phone.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-print.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-read.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-redo.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-scale.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-screensharing.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-search.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-send-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-send-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-settings.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-share-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-share-chain.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sign.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort-down.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort-up.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-sort.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-spinner.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-star-reg.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-star.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-table-column.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-table-row.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-task-done.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-twitter.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-unlock.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-update.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-upload.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-user-add.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-user-alt.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-user-edit.cjs.entry.js +11 -9
- package/dist/cjs/digi-icon-users-solid.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-videocamera.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-volume.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-web-tv.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-window.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-x-button.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-x.cjs.entry.js +12 -10
- package/dist/cjs/digi-icon-youtube.cjs.entry.js +12 -10
- package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +9 -4
- package/dist/cjs/digi-info-card-multi.cjs.entry.js +19 -21
- package/dist/cjs/digi-info-card.cjs.entry.js +17 -28
- package/dist/cjs/digi-layout-block_2.cjs.entry.js +22 -31
- package/dist/cjs/digi-layout-columns.cjs.entry.js +9 -13
- package/dist/cjs/digi-link-button.cjs.entry.js +23 -26
- package/dist/cjs/digi-link-internal.cjs.entry.js +11 -13
- package/dist/cjs/digi-link.cjs.entry.js +17 -17
- package/dist/cjs/digi-list.cjs.entry.js +13 -18
- package/dist/cjs/digi-loader-skeleton.cjs.entry.js +7 -12
- package/dist/cjs/digi-loader-spinner.cjs.entry.js +8 -8
- package/dist/cjs/digi-logo.cjs.entry.js +13 -18
- package/dist/cjs/digi-media-figure.cjs.entry.js +8 -8
- package/dist/cjs/digi-media-image_2.cjs.entry.js +18 -31
- package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +24 -61
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +63 -71
- package/dist/cjs/digi-navigation-sidebar-button.cjs.entry.js +9 -8
- package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +22 -48
- package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +15 -32
- package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +10 -19
- package/dist/cjs/digi-notification-alert.cjs.entry.js +59 -75
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +334 -66
- package/dist/cjs/digi-progress-list-item.cjs.entry.js +17 -51
- package/dist/cjs/digi-progress-list.cjs.entry.js +11 -38
- package/dist/cjs/digi-progressbar.cjs.entry.js +36 -46
- package/dist/cjs/digi-quote.cjs.entry.js +13 -22
- package/dist/cjs/digi-table.cjs.entry.js +9 -18
- package/dist/cjs/digi-tablist-panel.cjs.entry.js +4 -1
- package/dist/cjs/digi-tablist.cjs.entry.js +27 -36
- package/dist/cjs/digi-tag-media.cjs.entry.js +10 -10
- package/dist/cjs/digi-tag.cjs.entry.js +11 -17
- package/dist/cjs/digi-title-logo.cjs.entry.js +62 -50
- package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +33 -52
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +31 -50
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +64 -85
- package/dist/cjs/digi-tools-theme-provider.cjs.entry.js +8 -9
- package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +9 -17
- package/dist/cjs/digi-typography-meta.cjs.entry.js +8 -9
- package/dist/cjs/digi-typography-preamble.cjs.entry.js +7 -4
- package/dist/cjs/digi-typography-time.cjs.entry.js +10 -15
- package/dist/cjs/digi-typography.cjs.entry.js +8 -4
- package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +8 -5
- package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +7 -9
- package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +7 -9
- package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +83 -0
- package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +5 -3
- package/dist/cjs/digi-util-resize-observer.cjs.entry.js +6 -3
- package/dist/cjs/form-file-upload-variation.enum-634cfae8.js +24 -0
- package/dist/cjs/form-input-search-variation.enum-c50239bc.js +8 -0
- package/dist/cjs/form-input-type.enum-9c8ee12a.js +25 -0
- package/dist/cjs/form-input-variation.enum-c750520c.js +29 -0
- package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +8 -0
- package/dist/cjs/index-7a477838.js +3225 -0
- package/dist/cjs/index-ac8e01b4.js +884 -0
- package/dist/cjs/index-cad91a90.js +66 -0
- package/dist/cjs/index.cjs.js +578 -304
- package/dist/cjs/linear-86314cb2.js +3737 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/prism-git-df985529.js +2433 -0
- package/dist/cjs/progress-indicator-heading-level.enum-13c38ed0.js +39 -0
- package/dist/cjs/typography-variation.enum-50512a4e.js +238 -0
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/_badge/badge-notification/badge-notification.js +4 -7
- package/dist/collection/components/_badge/badge-status/badge-status.js +12 -25
- package/dist/collection/components/_button/button/button.js +54 -59
- package/dist/collection/components/_calendar/calendar/calendar.js +10 -29
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +2 -2
- package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +39 -99
- package/dist/collection/components/_calendar/week-view/calendar-week-view.js +11 -21
- package/dist/collection/components/_chart/bar-chart/bar-chart.js +11 -21
- package/dist/collection/components/_chart/chart-line/chart-line.js +9 -8
- package/dist/collection/components/_code/code/code.js +9 -21
- package/dist/collection/components/_code/code-block/code-block.js +10 -26
- package/dist/collection/components/_code/code-example/code-example.js +21 -30
- package/dist/collection/components/_dialog/dialog/dialog.js +23 -44
- package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +14 -42
- package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +8 -16
- package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +17 -42
- package/dist/collection/components/_footer/footer/footer.js +2 -7
- package/dist/collection/components/_footer/footer-card/footer-card.js +2 -7
- package/dist/collection/components/_form/form-category-filter/form-category-filter.js +8 -41
- package/dist/collection/components/_form/form-checkbox/form-checkbox.css +2 -2
- package/dist/collection/components/_form/form-checkbox/form-checkbox.js +50 -54
- package/dist/collection/components/_form/form-error-list/form-error-list.js +12 -29
- package/dist/collection/components/_form/form-fieldset/form-fieldset.js +16 -27
- package/dist/collection/components/_form/form-file-upload/form-file-upload.css +8 -15
- package/dist/collection/components/_form/form-file-upload/form-file-upload.js +66 -102
- package/dist/collection/components/_form/form-filter/form-filter.js +39 -50
- package/dist/collection/components/_form/form-input/form-input.js +89 -102
- package/dist/collection/components/_form/form-input-search/form-input-search.js +54 -63
- package/dist/collection/components/_form/form-label/form-label.js +18 -28
- package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +39 -43
- package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +23 -59
- package/dist/collection/components/_form/form-receipt/form-receipt.js +8 -31
- package/dist/collection/components/_form/form-select/form-select.js +64 -80
- package/dist/collection/components/_form/form-select-filter/form-select-filter.js +78 -126
- package/dist/collection/components/_form/form-textarea/form-textarea.js +61 -68
- package/dist/collection/components/_form/form-validation-message/form-validation-message.js +3 -8
- package/dist/collection/components/_header/header/header.js +12 -12
- package/dist/collection/components/_header/header-avatar/header-avatar.css +2 -2
- package/dist/collection/components/_header/header-avatar/header-avatar.js +24 -46
- package/dist/collection/components/_header/header-navigation/header-navigation.js +24 -30
- package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +6 -3
- package/dist/collection/components/_header/header-notification/header-notification.js +7 -4
- package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +12 -13
- package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +12 -13
- package/dist/collection/components/_icon/icon-apple/icon-apple.js +12 -13
- package/dist/collection/components/_icon/icon-archive/icon-archive.js +12 -13
- package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +12 -13
- package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +12 -13
- package/dist/collection/components/_icon/icon-at/icon-at.js +12 -13
- package/dist/collection/components/_icon/icon-bars/icon-bars.js +12 -13
- package/dist/collection/components/_icon/icon-bell/icon-bell.js +12 -13
- package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +12 -13
- package/dist/collection/components/_icon/icon-book/icon-book.js +12 -13
- package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +12 -13
- package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +12 -13
- package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +12 -13
- package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +12 -13
- package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +12 -13
- package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +12 -13
- package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +12 -13
- package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +12 -13
- package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +12 -13
- package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +12 -13
- package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +12 -13
- package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +12 -13
- package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +12 -13
- package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +12 -13
- package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +12 -13
- package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +12 -13
- package/dist/collection/components/_icon/icon-chart/icon-chart.js +12 -13
- package/dist/collection/components/_icon/icon-chat/icon-chat.js +12 -13
- package/dist/collection/components/_icon/icon-check/icon-check.js +12 -13
- package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +12 -13
- package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +12 -13
- package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +12 -13
- package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +12 -13
- package/dist/collection/components/_icon/icon-clock/icon-clock.js +12 -13
- package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +12 -13
- package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +12 -13
- package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +12 -13
- package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +12 -13
- package/dist/collection/components/_icon/icon-copy/icon-copy.js +12 -13
- package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +12 -13
- package/dist/collection/components/_icon/icon-download/icon-download.js +12 -13
- package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +12 -13
- package/dist/collection/components/_icon/icon-edit/icon-edit.js +12 -13
- package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +12 -13
- package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +12 -13
- package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +12 -13
- package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +12 -13
- package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +12 -13
- package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +12 -13
- package/dist/collection/components/_icon/icon-eye/icon-eye.js +12 -13
- package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +12 -13
- package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +12 -13
- package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +11 -12
- package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +12 -13
- package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +12 -13
- package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +11 -12
- package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +12 -13
- package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +12 -13
- package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +12 -13
- package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +11 -12
- package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +12 -13
- package/dist/collection/components/_icon/icon-film/icon-film.js +12 -13
- package/dist/collection/components/_icon/icon-filter/icon-filter.js +12 -13
- package/dist/collection/components/_icon/icon-folder/icon-folder.js +11 -12
- package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +11 -12
- package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +11 -12
- package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +11 -12
- package/dist/collection/components/_icon/icon-globe/icon-globe.js +12 -13
- package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +12 -13
- package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +12 -13
- package/dist/collection/components/_icon/icon-heart/icon-heart.js +12 -13
- package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +12 -13
- package/dist/collection/components/_icon/icon-history/icon-history.js +12 -13
- package/dist/collection/components/_icon/icon-home/icon-home.js +12 -13
- package/dist/collection/components/_icon/icon-image/icon-image.js +12 -13
- package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +12 -13
- package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +12 -13
- package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +12 -13
- package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +12 -13
- package/dist/collection/components/_icon/icon-language/icon-language.js +12 -13
- package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +12 -13
- package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +12 -13
- package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +12 -13
- package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +12 -13
- package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +12 -13
- package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +12 -13
- package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +12 -13
- package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +12 -13
- package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +12 -13
- package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +12 -13
- package/dist/collection/components/_icon/icon-lock/icon-lock.js +12 -13
- package/dist/collection/components/_icon/icon-marker/icon-marker.js +12 -13
- package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +12 -13
- package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +12 -13
- package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +12 -13
- package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +12 -13
- package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +12 -13
- package/dist/collection/components/_icon/icon-minus/icon-minus.js +12 -13
- package/dist/collection/components/_icon/icon-move/icon-move.js +12 -13
- package/dist/collection/components/_icon/icon-news/icon-news.js +12 -13
- package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +12 -13
- package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +12 -13
- package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +12 -13
- package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +12 -13
- package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +12 -13
- package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +12 -13
- package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +12 -13
- package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +12 -13
- package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +12 -13
- package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +12 -13
- package/dist/collection/components/_icon/icon-palette/icon-palette.js +12 -13
- package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +12 -13
- package/dist/collection/components/_icon/icon-paste/icon-paste.js +11 -12
- package/dist/collection/components/_icon/icon-pen/icon-pen.js +12 -13
- package/dist/collection/components/_icon/icon-phone/icon-phone.js +12 -13
- package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +12 -13
- package/dist/collection/components/_icon/icon-plus/icon-plus.js +12 -13
- package/dist/collection/components/_icon/icon-pod/icon-pod.js +12 -13
- package/dist/collection/components/_icon/icon-print/icon-print.js +12 -13
- package/dist/collection/components/_icon/icon-read/icon-read.js +12 -13
- package/dist/collection/components/_icon/icon-redo/icon-redo.js +12 -13
- package/dist/collection/components/_icon/icon-scale/icon-scale.js +11 -12
- package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +12 -13
- package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +12 -13
- package/dist/collection/components/_icon/icon-search/icon-search.js +12 -13
- package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +12 -13
- package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +12 -13
- package/dist/collection/components/_icon/icon-settings/icon-settings.js +12 -13
- package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +12 -13
- package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +12 -13
- package/dist/collection/components/_icon/icon-sign/icon-sign.js +12 -13
- package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +12 -13
- package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +12 -13
- package/dist/collection/components/_icon/icon-sort/icon-sort.js +12 -13
- package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +12 -13
- package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +12 -13
- package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +12 -13
- package/dist/collection/components/_icon/icon-star/icon-star.js +12 -13
- package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +12 -13
- package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +12 -13
- package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +12 -13
- package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +12 -13
- package/dist/collection/components/_icon/icon-table/icon-table.js +12 -13
- package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +12 -13
- package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +12 -13
- package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +12 -13
- package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +12 -13
- package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +12 -13
- package/dist/collection/components/_icon/icon-trash/icon-trash.js +12 -13
- package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +12 -13
- package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +12 -13
- package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +12 -13
- package/dist/collection/components/_icon/icon-update/icon-update.js +12 -13
- package/dist/collection/components/_icon/icon-upload/icon-upload.js +12 -13
- package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +11 -12
- package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +12 -13
- package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +11 -12
- package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +12 -13
- package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +12 -13
- package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +12 -13
- package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +12 -13
- package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +12 -13
- package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +12 -13
- package/dist/collection/components/_icon/icon-volume/icon-volume.js +12 -13
- package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +12 -13
- package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +12 -13
- package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +12 -13
- package/dist/collection/components/_icon/icon-window/icon-window.js +12 -13
- package/dist/collection/components/_icon/icon-x/icon-x.js +12 -13
- package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +12 -13
- package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +12 -13
- package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +12 -13
- package/dist/collection/components/_info-card/info-card/info-card.js +28 -43
- package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +27 -31
- package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +10 -7
- package/dist/collection/components/_layout/layout-block/layout-block.js +14 -21
- package/dist/collection/components/_layout/layout-columns/layout-columns.js +9 -19
- package/dist/collection/components/_layout/layout-container/layout-container.js +17 -23
- package/dist/collection/components/_link/link/link.css +16 -61
- package/dist/collection/components/_link/link/link.js +24 -25
- package/dist/collection/components/_link/link-button/link-button.css +7 -64
- package/dist/collection/components/_link/link-button/link-button.js +31 -33
- package/dist/collection/components/_link/link-external/link-external.css +0 -3
- package/dist/collection/components/_link/link-external/link-external.js +18 -11
- package/dist/collection/components/_link/link-internal/link-internal.css +10 -5
- package/dist/collection/components/_link/link-internal/link-internal.js +15 -20
- package/dist/collection/components/_list/list/list.css +1 -23
- package/dist/collection/components/_list/list/list.js +8 -17
- package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -12
- package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +5 -9
- package/dist/collection/components/_logo/logo/logo.js +15 -24
- package/dist/collection/components/_logo/title-logo/title-logo.js +9 -4
- package/dist/collection/components/_media/media-figure/media-figure.js +5 -9
- package/dist/collection/components/_media/media-image/media-image.js +26 -30
- package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +18 -56
- package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +30 -36
- package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +16 -31
- package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +40 -69
- package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +7 -9
- package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +29 -31
- package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +4 -3
- package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +8 -22
- package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +19 -33
- package/dist/collection/components/_notification/notification-alert/notification-alert.js +12 -38
- package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +13 -11
- package/dist/collection/components/_progress/progress-circle/progress-circle-heading-level.enum.js +9 -0
- package/dist/collection/components/_progress/progress-circle/progress-circle.js +70 -59
- package/dist/collection/components/_progress/progress-indicator/progress-indicator-heading-level.enum.js +9 -0
- package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +87 -67
- package/dist/collection/components/_progress/progress-list/progress-list.js +17 -50
- package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +28 -69
- package/dist/collection/components/_progress/progressbar/progressbar.js +36 -47
- package/dist/collection/components/_quote/quote/quote.js +21 -37
- package/dist/collection/components/_table/table/table.js +6 -20
- package/dist/collection/components/_tag/tag/tag.js +11 -21
- package/dist/collection/components/_tag/tag-media/tag-media.js +7 -11
- package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +16 -45
- package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +28 -48
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +73 -72
- package/dist/collection/components/_tools/tools-theme-provider/tools-theme-provider.js +3 -8
- package/dist/collection/components/_typography/typography/typography.js +6 -3
- package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +9 -22
- package/dist/collection/components/_typography/typography-meta/typography-meta.js +3 -8
- package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
- package/dist/collection/components/_typography/typography-time/typography-time.js +9 -15
- package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
- package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +2 -6
- package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +2 -6
- package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +3 -11
- package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
- package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
- package/dist/collection/components/_util/util-mutation-observer/util-mutation-observer.js +6 -17
- package/dist/collection/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/collection/enums.js +2 -0
- package/dist/collection/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/collection/styles/src/tokens-documentation/web-AF25.json +2 -2
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +15 -17
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.css +1 -1
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/p-01874a31.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-01a1b9c9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-02854c3f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-04033c3a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0464dca2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-05ca733b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-075bd3c6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-09ded933.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b2e2c33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0b586930.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0c66c1d8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0ef5ec06.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0fbe6e50.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-0ff7a0b3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10261517.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-10ada07d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-111fb07d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1122ceea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-118d3294.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-11d24d40.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1324a098.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-138540b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1486034d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-153e6f52.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1541bdea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-15562b33.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1649e5cf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-16d86f97.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-197903bf.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1a984b8d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1c575074.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1d9cc992.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f3345e9.js +1 -0
- package/dist/digi-arbetsformedlingen/p-1f956af8.js +1 -0
- package/dist/digi-arbetsformedlingen/p-21b5747f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-22d204d6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-269ef8dc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2788683e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-27c75cf5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2938e001.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-295dddb9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-29b838ce.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2b134ff1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2c685e4f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2dd2a2de.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-2f94203c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-305262db.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-30dc159d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-328bd8e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-332ed107.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3510d041.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-366e18f4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-386e5da9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-398d0f60.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3ae4cb29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3c8e2e00.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3dfd0cea.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3efa2f0b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-3f9dfdb0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-408e9b2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4128b648.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-416992c0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-41f4b689.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-430607cb.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4319f1b4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-443c70b2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-44c75bab.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-44f2fa8c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4588ebc2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-45fba8fe.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-45fceb9c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-46224607.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-48eee8b1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49182a51.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-498e1eff.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49914705.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-49a4fe71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4a5a934d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4b8cae8a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4bb2bf83.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4d74331b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e8439d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4e9f2f05.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-505d6802.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-51f1f0a2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-52e3bb32.js +2 -0
- package/dist/digi-arbetsformedlingen/p-544bf960.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-54d5aa93.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55bcba7c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-55d02ef7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-565cb408.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-56edf062.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-59182ae9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a3f2339.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a5babd1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5a602122.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5ad1a828.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f20045a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f4ece29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-5f981b60.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-60916953.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6274431e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6546c48d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-658863ba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-675fe9ae.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69922ec2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69aeb038.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-69cdbd95.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6abd8d58.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6b7e7040.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bc1255b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6bd37def.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6c8491a5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6ca83bc0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6cf784b6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6f5f87eb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6fb0f1a4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-6ff42bef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-70744e7e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-741ec2d5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7581e47c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-784b28bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-78794f38.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7933b555.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7a4abd41.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7aa50e36.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7af556aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7afe3783.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7b82a34b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7c2c13ba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7c3f6a30.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e77bbe7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7e85c9e3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-7ed49934.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-801f8747.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-81c5af98.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-821d5a2c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-82611050.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-83643aa3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8442b257.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-84bff8ef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-851fe52d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8713df13.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8846018d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-88b4d03a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-898bc9f7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-89ea748b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-89ef4ec1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8c91e232.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8de3b839.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8e53e821.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8ef41ad9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8f33b97c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-8fa50755.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-905ccb30.js +1 -0
- package/dist/digi-arbetsformedlingen/p-915b2a14.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-931057a8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-93158bc8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-942700b8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-951bedf9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9526fbc3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-97aab77e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-991c8ab8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-99b2094a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9a72b453.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9b6afae4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9cdbe632.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9d0704a6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9e13d85b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-9f47d4b7.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2008b0a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a2420f61.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3c8bff0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a3eeb86f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a48de93b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a5810f26.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a682d6d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a75e7291.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8705ac5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a8a75edb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a902ddef.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a9114fb8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-a969ba67.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-aa0a3d89.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ac212ad2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad186c98.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ad62f485.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ae5326a8.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-af72f16f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b0c82cd5.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b207a2ac.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3cd12d2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b3d93b8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-b58169ec.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bb96a67a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bb9ae588.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-bc3d2778.js +1 -0
- package/dist/digi-arbetsformedlingen/p-be2ff8df.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c04ae2fc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c06930c2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c1fd535b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c21e4aa2.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c3efe169.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c461917d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c590fb8b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c5dcd4a3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c604694f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7949525.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7a512ee.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c7d079d0.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-c89542dc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cb4b3028.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cb74e4f3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cbc32f8f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cbd72c5d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cdf86efc.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cea5ef63.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cedbe18a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cef82303.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-cf977a1e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d03e21e9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d0d10d50.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d13202aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d182d8bb.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d3e14568.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d55628aa.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d7f91b57.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d8985c32.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d8f12bc6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d926e01a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d945efbc.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9a9ce27.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9ee06b3.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-d9fe47c6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-da66642b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-db7c0461.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dc2900ed.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-dd4dbce9.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e1255160.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e23d905e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e2673aa1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e325cf29.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e41c954e.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e4b39465.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e54c2bba.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e64c656d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e7816175.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-e88d7860.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ea57a1da.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ebd9596f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ecc2e481.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee33960b.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee4cb21a.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ee9589e6.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f1857d71.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f1e9e690.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f25f9ca8.js +9 -0
- package/dist/digi-arbetsformedlingen/p-f2e16531.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f2e9f090.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f489832c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4ca6ba6.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f4edca16.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f50ab13d.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f5bcd77b.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f5bd6a43.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f87c0b45.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f96939e4.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-f9a1a787.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fb9b3544.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fd094929.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-fdca581c.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-ff346c2a.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/styles/src/themes/_brand-af25.mixin.scss +2 -2
- package/dist/digi-arbetsformedlingen/styles/src/tokens-documentation/web-AF25.json +2 -2
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/button-size.enum-d5ff6ff3.js +7 -0
- package/dist/esm/button-type.enum-5250ae0b.js +8 -0
- package/dist/esm/code-example-variation.enum-e9f9fced.js +27 -0
- package/dist/esm/detectClickOutside.util-72594957.js +7 -0
- package/dist/esm/detectFocusOutside.util-a8676bee.js +7 -0
- package/dist/esm/digi-arbetsformedlingen.js +5 -26
- package/dist/esm/digi-badge-notification.entry.js +7 -11
- package/dist/esm/digi-badge-status.entry.js +7 -16
- package/dist/esm/digi-bar-chart.entry.js +13 -22
- package/dist/esm/digi-button.entry.js +126 -0
- package/dist/esm/digi-calendar-datepicker.entry.js +89 -153
- package/dist/esm/digi-calendar-week-view.entry.js +53 -58
- package/dist/esm/digi-calendar_2.entry.js +30 -58
- package/dist/esm/digi-chart-line.entry.js +19 -18
- package/dist/esm/digi-code-block_3.entry.js +85 -111
- package/dist/esm/digi-code-example.entry.js +18 -23
- package/dist/esm/digi-code.entry.js +9 -20
- package/dist/esm/digi-context-menu.entry.js +18 -21
- package/dist/esm/digi-dialog.entry.js +61 -74
- package/dist/esm/digi-expandable-accordion.entry.js +12 -40
- package/dist/esm/digi-expandable-faq-item.entry.js +14 -38
- package/dist/esm/digi-expandable-faq.entry.js +8 -13
- package/dist/esm/digi-footer-card.entry.js +5 -8
- package/dist/esm/digi-footer.entry.js +55 -54
- package/dist/esm/digi-form-category-filter.entry.js +5 -38
- package/dist/esm/digi-form-checkbox.entry.js +23 -27
- package/dist/esm/digi-form-error-list.entry.js +58 -68
- package/dist/esm/digi-form-file-upload.entry.js +41 -73
- package/dist/esm/digi-form-filter.entry.js +24 -35
- package/dist/esm/digi-form-input-search.entry.js +28 -34
- package/dist/esm/digi-form-input.entry.js +190 -0
- package/dist/esm/digi-form-label_3.entry.js +123 -0
- package/dist/esm/digi-form-radiogroup.entry.js +20 -52
- package/dist/esm/digi-form-receipt.entry.js +56 -71
- package/dist/esm/digi-form-select-filter.entry.js +601 -0
- package/dist/esm/digi-form-select_2.entry.js +47 -64
- package/dist/esm/digi-form-textarea.entry.js +29 -39
- package/dist/esm/digi-header-avatar.entry.js +48 -34
- package/dist/esm/digi-header-navigation-item.entry.js +6 -4
- package/dist/esm/digi-header-navigation.entry.js +66 -68
- package/dist/esm/digi-header-notification.entry.js +7 -5
- package/dist/esm/digi-header.entry.js +61 -55
- package/dist/esm/digi-icon-accessibility-deaf.entry.js +10 -10
- package/dist/esm/digi-icon-accessibility-universal.entry.js +10 -10
- package/dist/esm/digi-icon-apple.entry.js +10 -10
- package/dist/esm/digi-icon-archive-outline.entry.js +10 -10
- package/dist/esm/digi-icon-archive.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-back.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-down.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-left.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-right.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-in.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-sign-out.entry.js +10 -10
- package/dist/esm/digi-icon-arrow-up.entry.js +10 -10
- package/dist/esm/digi-icon-at.entry.js +10 -10
- package/dist/esm/digi-icon-bars.entry.js +10 -10
- package/dist/esm/digi-icon-bell-filled.entry.js +10 -10
- package/dist/esm/digi-icon-bell.entry.js +10 -10
- package/dist/esm/digi-icon-book.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-outline.entry.js +10 -10
- package/dist/esm/digi-icon-bookmark-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bubble-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-bubble.entry.js +10 -10
- package/dist/esm/digi-icon-building-outline.entry.js +10 -10
- package/dist/esm/digi-icon-building-solid.entry.js +10 -10
- package/dist/esm/digi-icon-bullseye.entry.js +10 -10
- package/dist/esm/digi-icon-calculator-solid.entry.js +10 -10
- package/dist/esm/digi-icon-calendar-alt-alert.entry.js +10 -10
- package/dist/esm/digi-icon-calendar.entry.js +10 -10
- package/dist/esm/digi-icon-caret-circle-right.entry.js +10 -10
- package/dist/esm/digi-icon-caret-down_2.entry.js +18 -18
- package/dist/esm/digi-icon-caret-left.entry.js +10 -10
- package/dist/esm/digi-icon-caret-right.entry.js +10 -10
- package/dist/esm/digi-icon-chart_2.entry.js +18 -18
- package/dist/esm/digi-icon-chat.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +10 -10
- package/dist/esm/digi-icon-check-circle-solid_4.entry.js +34 -34
- package/dist/esm/digi-icon-check_6.entry.js +331 -0
- package/dist/esm/digi-icon-checklist.entry.js +10 -10
- package/dist/esm/digi-icon-chevron-down.entry.js +26 -0
- package/dist/esm/digi-icon-chevron-left_2.entry.js +18 -18
- package/dist/esm/digi-icon-chevron-up.entry.js +10 -10
- package/dist/esm/digi-icon-clock.entry.js +10 -10
- package/dist/esm/digi-icon-communication-play-solid.entry.js +10 -10
- package/dist/esm/digi-icon-compress-alt.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-case.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-flag.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-graduate.entry.js +10 -10
- package/dist/esm/digi-icon-comunication-play.entry.js +10 -10
- package/dist/esm/digi-icon-cooperation.entry.js +10 -10
- package/dist/esm/digi-icon-copy.entry.js +10 -10
- package/dist/esm/digi-icon-danger-outline.entry.js +10 -10
- package/dist/esm/digi-icon-download.entry.js +10 -10
- package/dist/esm/digi-icon-dxa.entry.js +10 -10
- package/dist/esm/digi-icon-edit.entry.js +10 -10
- package/dist/esm/digi-icon-ellipsis.entry.js +10 -10
- package/dist/esm/digi-icon-envelope-filled.entry.js +10 -10
- package/dist/esm/digi-icon-envelope.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +10 -10
- package/dist/esm/digi-icon-exclamation-triangle.entry.js +10 -10
- package/dist/esm/digi-icon-expand-alt.entry.js +10 -10
- package/dist/esm/digi-icon-external-link-alt_2.entry.js +19 -13
- package/dist/esm/digi-icon-eye-slash.entry.js +10 -10
- package/dist/esm/digi-icon-eye.entry.js +10 -10
- package/dist/esm/digi-icon-facebook-square.entry.js +10 -10
- package/dist/esm/digi-icon-file-add.entry.js +9 -9
- package/dist/esm/digi-icon-file-document.entry.js +10 -10
- package/dist/esm/digi-icon-file-excel.entry.js +10 -10
- package/dist/esm/digi-icon-file-export.entry.js +9 -9
- package/dist/esm/digi-icon-file-governing.entry.js +10 -10
- package/dist/esm/digi-icon-file-pdf.entry.js +10 -10
- package/dist/esm/digi-icon-file-powerpoint.entry.js +10 -10
- package/dist/esm/digi-icon-file-remove.entry.js +9 -9
- package/dist/esm/digi-icon-file-word.entry.js +10 -10
- package/dist/esm/digi-icon-film.entry.js +10 -10
- package/dist/esm/digi-icon-filter.entry.js +10 -10
- package/dist/esm/digi-icon-folder-add.entry.js +9 -9
- package/dist/esm/digi-icon-folder-directory.entry.js +9 -9
- package/dist/esm/digi-icon-folder-open.entry.js +9 -9
- package/dist/esm/digi-icon-folder.entry.js +9 -9
- package/dist/esm/digi-icon-globe-filled.entry.js +10 -10
- package/dist/esm/digi-icon-globe.entry.js +10 -10
- package/dist/esm/digi-icon-headphones.entry.js +10 -10
- package/dist/esm/digi-icon-heart-solid.entry.js +10 -10
- package/dist/esm/digi-icon-heart.entry.js +10 -10
- package/dist/esm/digi-icon-history.entry.js +10 -10
- package/dist/esm/digi-icon-home.entry.js +10 -10
- package/dist/esm/digi-icon-image.entry.js +10 -10
- package/dist/esm/digi-icon-info-circle-solid.entry.js +10 -10
- package/dist/esm/digi-icon-instagram.entry.js +10 -10
- package/dist/esm/digi-icon-job-suggestion.entry.js +10 -10
- package/dist/esm/digi-icon-language-outline.entry.js +10 -10
- package/dist/esm/digi-icon-language.entry.js +10 -10
- package/dist/esm/digi-icon-laptop-phone.entry.js +10 -10
- package/dist/esm/digi-icon-lattlast.entry.js +10 -10
- package/dist/esm/digi-icon-licence-bus.entry.js +10 -10
- package/dist/esm/digi-icon-licence-car.entry.js +10 -10
- package/dist/esm/digi-icon-licence-motorcycle.entry.js +10 -10
- package/dist/esm/digi-icon-licence-truck.entry.js +10 -10
- package/dist/esm/digi-icon-lightbulb.entry.js +10 -10
- package/dist/esm/digi-icon-linkedin-in.entry.js +10 -10
- package/dist/esm/digi-icon-list-ul_6.entry.js +50 -50
- package/dist/esm/digi-icon-lock.entry.js +10 -10
- package/dist/esm/digi-icon-marker-filled.entry.js +10 -10
- package/dist/esm/digi-icon-marker.entry.js +10 -10
- package/dist/esm/digi-icon-media-course.entry.js +10 -10
- package/dist/esm/digi-icon-media-podcast.entry.js +10 -10
- package/dist/esm/digi-icon-microphone-off.entry.js +10 -10
- package/dist/esm/digi-icon-microphone.entry.js +10 -10
- package/dist/esm/digi-icon-minus_2.entry.js +18 -18
- package/dist/esm/digi-icon-move.entry.js +10 -10
- package/dist/esm/digi-icon-notification-error_4.entry.js +34 -34
- package/dist/esm/digi-icon-online-interview.entry.js +10 -10
- package/dist/esm/digi-icon-online-meeting.entry.js +10 -10
- package/dist/esm/digi-icon-online-task.entry.js +10 -10
- package/dist/esm/digi-icon-open-source.entry.js +10 -10
- package/dist/esm/digi-icon-palette.entry.js +10 -10
- package/dist/esm/digi-icon-paste.entry.js +9 -9
- package/dist/esm/digi-icon-pen.entry.js +10 -10
- package/dist/esm/digi-icon-phone-hangup.entry.js +10 -10
- package/dist/esm/digi-icon-phone.entry.js +10 -10
- package/dist/esm/digi-icon-print.entry.js +10 -10
- package/dist/esm/digi-icon-read.entry.js +10 -10
- package/dist/esm/digi-icon-redo.entry.js +10 -10
- package/dist/esm/digi-icon-scale.entry.js +9 -9
- package/dist/esm/digi-icon-screensharing-off.entry.js +10 -10
- package/dist/esm/digi-icon-screensharing.entry.js +10 -10
- package/dist/esm/digi-icon-search.entry.js +10 -10
- package/dist/esm/digi-icon-send-outline.entry.js +10 -10
- package/dist/esm/digi-icon-send-solid.entry.js +10 -10
- package/dist/esm/digi-icon-settings.entry.js +10 -10
- package/dist/esm/digi-icon-share-alt.entry.js +10 -10
- package/dist/esm/digi-icon-share-chain.entry.js +10 -10
- package/dist/esm/digi-icon-sign.entry.js +10 -10
- package/dist/esm/digi-icon-sliders-h.entry.js +10 -10
- package/dist/esm/digi-icon-sokkandidat.entry.js +10 -10
- package/dist/esm/digi-icon-sort-down.entry.js +10 -10
- package/dist/esm/digi-icon-sort-up.entry.js +10 -10
- package/dist/esm/digi-icon-sort.entry.js +10 -10
- package/dist/esm/digi-icon-spinner.entry.js +10 -10
- package/dist/esm/digi-icon-star-reg.entry.js +10 -10
- package/dist/esm/digi-icon-star.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-outline.entry.js +10 -10
- package/dist/esm/digi-icon-suitcase-solid.entry.js +10 -10
- package/dist/esm/digi-icon-system-assistance.entry.js +10 -10
- package/dist/esm/digi-icon-table-column.entry.js +10 -10
- package/dist/esm/digi-icon-table-row.entry.js +10 -10
- package/dist/esm/digi-icon-task-done.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-off.entry.js +10 -10
- package/dist/esm/digi-icon-toggle-on.entry.js +10 -10
- package/dist/esm/digi-icon-twitter.entry.js +10 -10
- package/dist/esm/digi-icon-tyck-till.entry.js +10 -10
- package/dist/esm/digi-icon-unlock.entry.js +10 -10
- package/dist/esm/digi-icon-update.entry.js +10 -10
- package/dist/esm/digi-icon-upload.entry.js +10 -10
- package/dist/esm/digi-icon-user-add.entry.js +9 -9
- package/dist/esm/digi-icon-user-alt.entry.js +10 -10
- package/dist/esm/digi-icon-user-edit.entry.js +9 -9
- package/dist/esm/digi-icon-users-solid.entry.js +10 -10
- package/dist/esm/digi-icon-videocamera-off.entry.js +10 -10
- package/dist/esm/digi-icon-videocamera.entry.js +10 -10
- package/dist/esm/digi-icon-volume.entry.js +10 -10
- package/dist/esm/digi-icon-web-tv.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal0.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal1.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal2.entry.js +10 -10
- package/dist/esm/digi-icon-wifi-signal3.entry.js +10 -10
- package/dist/esm/digi-icon-window.entry.js +10 -10
- package/dist/esm/digi-icon-x-button.entry.js +10 -10
- package/dist/esm/digi-icon-x.entry.js +10 -10
- package/dist/esm/digi-icon-youtube.entry.js +10 -10
- package/dist/esm/digi-info-card-multi-container.entry.js +7 -4
- package/dist/esm/digi-info-card-multi.entry.js +17 -21
- package/dist/esm/digi-info-card.entry.js +15 -28
- package/dist/esm/digi-layout-block_2.entry.js +20 -31
- package/dist/esm/digi-layout-columns.entry.js +7 -13
- package/dist/esm/digi-link-button.entry.js +21 -26
- package/dist/esm/digi-link-internal.entry.js +9 -13
- package/dist/esm/digi-link.entry.js +15 -17
- package/dist/esm/digi-list.entry.js +11 -18
- package/dist/esm/digi-loader-skeleton.entry.js +5 -12
- package/dist/esm/digi-loader-spinner.entry.js +6 -8
- package/dist/esm/digi-logo.entry.js +11 -18
- package/dist/esm/digi-media-figure.entry.js +6 -8
- package/dist/esm/digi-media-image_2.entry.js +16 -31
- package/dist/esm/digi-navigation-breadcrumbs.entry.js +22 -61
- package/dist/esm/digi-navigation-pagination.entry.js +61 -71
- package/dist/esm/digi-navigation-sidebar-button.entry.js +7 -8
- package/dist/esm/digi-navigation-sidebar.entry.js +20 -48
- package/dist/esm/digi-navigation-vertical-menu-item.entry.js +13 -32
- package/dist/esm/digi-navigation-vertical-menu.entry.js +8 -19
- package/dist/esm/digi-notification-alert.entry.js +57 -75
- package/dist/esm/digi-notification-error-page.entry.js +332 -66
- package/dist/esm/digi-progress-list-item.entry.js +15 -51
- package/dist/esm/digi-progress-list.entry.js +9 -38
- package/dist/esm/digi-progressbar.entry.js +34 -46
- package/dist/esm/digi-quote.entry.js +11 -22
- package/dist/esm/digi-table.entry.js +7 -18
- package/dist/esm/digi-tablist-panel.entry.js +2 -1
- package/dist/esm/digi-tablist.entry.js +25 -36
- package/dist/esm/digi-tag-media.entry.js +8 -10
- package/dist/esm/digi-tag.entry.js +9 -17
- package/dist/esm/digi-title-logo.entry.js +60 -50
- package/dist/esm/digi-tools-feedback-banner.entry.js +31 -52
- package/dist/esm/digi-tools-feedback-rating.entry.js +29 -50
- package/dist/esm/digi-tools-feedback.entry.js +60 -83
- package/dist/esm/digi-tools-theme-provider.entry.js +6 -9
- package/dist/esm/digi-typography-heading-jumbo.entry.js +7 -17
- package/dist/esm/digi-typography-meta.entry.js +6 -9
- package/dist/esm/digi-typography-preamble.entry.js +5 -4
- package/dist/esm/digi-typography-time.entry.js +8 -15
- package/dist/esm/digi-typography.entry.js +6 -4
- package/dist/esm/digi-util-breakpoint-observer.entry.js +6 -5
- package/dist/esm/digi-util-detect-click-outside.entry.js +5 -9
- package/dist/esm/digi-util-detect-focus-outside.entry.js +5 -9
- package/dist/esm/digi-util-keydown-handler.entry.js +79 -0
- package/dist/esm/digi-util-keyup-handler.entry.js +3 -3
- package/dist/esm/digi-util-resize-observer.entry.js +4 -3
- package/dist/esm/form-file-upload-variation.enum-9c49ec5e.js +24 -0
- package/dist/esm/form-input-search-variation.enum-f9d669f2.js +8 -0
- package/dist/esm/form-input-type.enum-3da3db27.js +25 -0
- package/dist/esm/form-input-variation.enum-64d9450f.js +29 -0
- package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +8 -0
- package/dist/esm/index-148a7577.js +3195 -0
- package/dist/esm/index-2fce392f.js +865 -0
- package/dist/esm/index-5b6c95c6.js +63 -0
- package/dist/esm/index.js +52 -48
- package/dist/esm/linear-78b9219d.js +3722 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/prism-git-92a0d5cd.js +2431 -0
- package/dist/esm/progress-indicator-heading-level.enum-ace13afe.js +39 -0
- package/dist/esm/typography-variation.enum-8c3ff25c.js +238 -0
- package/dist/types/components/_form/form-radiogroup/form-radiogroup.d.ts +1 -3
- package/dist/types/components/_form/form-select/form-select.d.ts +1 -2
- package/dist/types/components/_form/form-select-filter/form-select-filter.d.ts +1 -1
- package/dist/types/components/_link/link-button/link-button.d.ts +4 -0
- package/dist/types/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.d.ts +1 -4
- package/dist/types/components/_progress/progress-circle/progress-circle-heading-level.enum.d.ts +8 -0
- package/dist/types/components/_progress/progress-circle/progress-circle.d.ts +7 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator-heading-level.enum.d.ts +8 -0
- package/dist/types/components/_progress/progress-indicator/progress-indicator.d.ts +9 -1
- package/dist/types/components/_progress/progressbar/progressbar.d.ts +2 -1
- package/dist/types/components/_tools/tools-feedback-banner/tools-feedback-banner.d.ts +2 -1
- package/dist/types/components/_tools/tools-feedback-rating/tools-feedback-rating.d.ts +8 -0
- package/dist/types/components/_util/util-mutation-observer/util-mutation-observer.d.ts +3 -3
- package/dist/types/components.d.ts +611 -3559
- package/dist/types/enums.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +12 -204
- package/hydrate/index.d.ts +7 -52
- package/hydrate/index.js +7147 -13235
- package/hydrate/index.mjs +7147 -13233
- package/loader/package.json +11 -0
- package/package.json +1 -1
- package/components/p--RxphPe_.js +0 -172
- package/components/p--ZuKDULH.js +0 -48
- package/components/p-37OSb7i5.js +0 -171
- package/components/p-6OPMMTWC.js +0 -100
- package/components/p-9_M1AU0w.js +0 -48
- package/components/p-B-pDXa1I.js +0 -3032
- package/components/p-B-skL7jb.js +0 -48
- package/components/p-B7vPoZZ1.js +0 -48
- package/components/p-B7ySbjLX.js +0 -48
- package/components/p-BNaLCgyB.js +0 -48
- package/components/p-BUevqckQ.js +0 -48
- package/components/p-BWafqFGT.js +0 -48
- package/components/p-Bez-IpRZ.js +0 -48
- package/components/p-BfpDLsk8.js +0 -141
- package/components/p-BhUSv9Tx.js +0 -105
- package/components/p-BjQfGb3o.js +0 -72
- package/components/p-Bpwy3fl1.js +0 -48
- package/components/p-BtWOyQUR.js +0 -95
- package/components/p-BypBypc4.js +0 -49
- package/components/p-C32dTT4K.js +0 -152
- package/components/p-C33Pdme5.js +0 -48
- package/components/p-C4cIvg7J.js +0 -7
- package/components/p-C5wMIedF.js +0 -48
- package/components/p-CEuXK8qB.js +0 -81
- package/components/p-CLQ4pNhc.js +0 -48
- package/components/p-CP-F50PI.js +0 -48
- package/components/p-CSbNpd4b.js +0 -48
- package/components/p-CXE3XLMF.js +0 -59
- package/components/p-CXEUAghk.js +0 -48
- package/components/p-CXvUvwhd.js +0 -38
- package/components/p-CZha43zL.js +0 -48
- package/components/p-CZrDWyoh.js +0 -7
- package/components/p-CawlWrYM.js +0 -48
- package/components/p-CbFLEMCv.js +0 -48
- package/components/p-CdcGvoTs.js +0 -2465
- package/components/p-CfNd9HJm.js +0 -48
- package/components/p-Cj_CEKJ0.js +0 -48
- package/components/p-Csv9l_VB.js +0 -48
- package/components/p-DCIb7eD_.js +0 -87
- package/components/p-DDK_G64l.js +0 -48
- package/components/p-DDZ0nalw.js +0 -60
- package/components/p-DE9VXsrm.js +0 -48
- package/components/p-DHimVTR7.js +0 -48
- package/components/p-DL00PIFj.js +0 -75
- package/components/p-DMrSPsPW.js +0 -13
- package/components/p-DNWabI1w.js +0 -48
- package/components/p-DZybm_x7.js +0 -48
- package/components/p-DbBOgLZR.js +0 -856
- package/components/p-DcANgscM.js +0 -48
- package/components/p-DcgYXHOJ.js +0 -297
- package/components/p-DkUpuIVH.js +0 -630
- package/components/p-DktWHFdS.js +0 -102
- package/components/p-DoxcSmni.js +0 -48
- package/components/p-Dq9EWvk8.js +0 -200
- package/components/p-DrQguBS0.js +0 -187
- package/components/p-Dt8-iBiI.js +0 -81
- package/components/p-DtMATLkl.js +0 -86
- package/components/p-DwLPI0Vz.js +0 -53
- package/components/p-DzcqVx6i.js +0 -125
- package/components/p-FY5wP3tw.js +0 -48
- package/components/p-JD3sZh4E.js +0 -55
- package/components/p-L3j8lIki.js +0 -48
- package/components/p-LoxMejwP.js +0 -48
- package/components/p-M12oZQxr.js +0 -259
- package/components/p-PRn7QHy8.js +0 -48
- package/components/p-SEimRMvt.js +0 -60
- package/components/p-lPbx4RHH.js +0 -3780
- package/components/p-nlZEONZC.js +0 -48
- package/components/p-oOtcntHo.js +0 -48
- package/components/p-w8pbG68a.js +0 -7
- package/dist/cjs/code-example-variation.enum-BCENTUV2.js +0 -33
- package/dist/cjs/detectClickOutside.util-DKR8Sdiw.js +0 -9
- package/dist/cjs/detectFocusOutside.util-BNHrXMJ2.js +0 -9
- package/dist/cjs/digi-button_11.cjs.entry.js +0 -1274
- package/dist/cjs/digi-progress-circle.cjs.entry.js +0 -103
- package/dist/cjs/digi-progress-indicator.cjs.entry.js +0 -148
- package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -75
- package/dist/cjs/form-input-type.enum-B2CsNSBg.js +0 -39
- package/dist/cjs/form-validation-message-variation.enum-DgkifAnP.js +0 -31
- package/dist/cjs/index-Bdlw-Iuy.js +0 -875
- package/dist/cjs/index-r0sb9TCr.js +0 -66
- package/dist/cjs/index-tbq85ezH.js +0 -4328
- package/dist/cjs/prism-git-BqyC7bKv.js +0 -2467
- package/dist/cjs/progress-circle-role.enum-DCkczyl8.js +0 -7
- package/dist/cjs/progress-indicator-variation.enum-3KORUGDH.js +0 -13
- package/dist/cjs/transform-DteoCOaq.js +0 -3795
- package/dist/cjs/typography-variation.enum-4snUBTF7.js +0 -266
- package/dist/digi-arbetsformedlingen/p-02c58b9b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-02e10363.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-031eae5a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-044b506e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-06f61c0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07383e97.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0767666f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-07a2b181.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-08294cde.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-084d3ee6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0abd9cc0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0abe895e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0d02ea92.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0d7edb19.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0dc8c1f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0deb49e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0df0f326.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-0e660f15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-102df53c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-11b15639.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-144b1853.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d011c8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-14d96e28.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-15925a66.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1674f819.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1788ac95.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-19b7e0e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a035f0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a1e4fb1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1a6ebf27.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-1c7fe613.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-200e7bd2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-20b64adb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-21271c0f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2290f981.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-23a7989c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-26055f0c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-27bd7e51.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-286c4dfa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-286cf43f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-28d80523.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-28e43058.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2adb74c5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2b337e70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2c716660.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2cd96585.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2cf36f22.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2e10b84a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-2e727b11.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-30f53f1f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-31d3b121.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3317e035.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3560704d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-35a4901b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-36434ac5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-364360bd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-364ddc47.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-375d8b7a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-37a709ec.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3890fd08.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-389db61b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-38d6c196.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-396eac33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3ab2a15c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b3bb443.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3b622a7d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3c060627.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3d82d1a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3dd9c1f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-3f1671c1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-403243b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-41c7f06b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-435a0dba.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-44c16261.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-45f30e15.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4683cd13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4756df5e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-478dd735.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4989639d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-49f03697.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4a752caa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4c3c79f6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4c4d950c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ded8d67.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4e994f05.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-4ee30389.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5006e02f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-50b38a4b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5143d041.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-51fd7a80.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5265c8bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-52ccb445.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-54145dbe.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5515f605.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5682d42d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57755d00.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-57cf0217.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-591509af.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-595dae1e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-598d254d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-59cd8482.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5aa16cb5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c6fe9a5.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5c7adb9a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5ce7a0cc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5d45b98c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5d5b94df.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-5df19f2f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-60b5521a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-61017b7c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6176ea32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-62b9bb8f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-62c988f0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-63f759d2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-66607908.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-66c5a455.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-692d9b87.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6dc5624b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6e1454de.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-6fa5ac48.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-706dc7fb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-70c61feb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-720e3b1d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-72467e23.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-734f0081.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-737fc4ac.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-738fa191.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-76e1e837.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-77d355fe.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-79d0015d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7b33d599.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7bd087d7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7d82fcfa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e22dfaa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7e47ec88.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-7f49feb0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-80102f44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-801aff33.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-82bff4f2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8580f7a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-85fbfc44.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-86c9bfbf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-87e74383.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-88b6d8f7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ab3bfef.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8b178670.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8c4b642e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8cdcfc32.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8d1ed6b8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8e34f6fa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8ecf90b9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8f837246.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-8fb4e6a3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-90156bca.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-916c6a0a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-93367afb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9548dfcd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-95766ae4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-95a4c837.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-96cf06d2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-972e842a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-979551ad.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9ba04395.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9c07d750.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9cdd7e2e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9d5651f3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9fc3ca68.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-9n7Okhf1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-BDBYHWrh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-C4cIvg7J.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CN1mgrt1.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CZrDWyoh.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CdcGvoTs.js +0 -9
- package/dist/digi-arbetsformedlingen/p-CgSR-RTl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Co_lVhh_.js +0 -3
- package/dist/digi-arbetsformedlingen/p-DbBOgLZR.js +0 -1
- package/dist/digi-arbetsformedlingen/p-Ooszw6tl.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a1b1cf3c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a242d391.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2828f13.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a2a82c7a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a3a46f12.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a5aa7bbc.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-a95fbeac.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aa210eb6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-aaeddc10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab4cf798.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ab84eed8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad204374.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ad53075b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af521167.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-af6d2f18.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-afd6f901.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b0cce211.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b0fbb427.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b153be5d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b1f075bb.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b3bbeaad.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b50f6e63.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b7556224.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b75eaf8d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b8df813f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b9890b11.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-b9f0e9b7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ba3fc023.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ba608189.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd635299.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-bd6b1662.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-be67603d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c0a969a0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c273763e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c38b51ed.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c3d1227d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c6527446.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c68f2ca3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c73ddbe2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9b6b7ce.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-c9d3fba8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ca26822e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ca52fec4.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-caf49b30.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cd90ab0b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cf4de879.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-cfe0bcf9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d130518a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d1b3ddb6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d28b4c70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d40a352a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d441cad3.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d53829d7.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d6c21995.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d79a6e5b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-d916c84c.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-de2f8cfd.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dea2e950.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-deda4b10.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-dfe13724.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e127de34.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e23f783e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e247bf5d.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e43ace8f.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e57591e8.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e5e69c70.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7279c3b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7732122.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7cd01a6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e7f1925e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e88410f9.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e90d61e2.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e91421aa.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-e92c111b.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ebf96a2e.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-ec61c989.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f1d12296.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f31c94f1.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f7c3711a.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-f7cd0818.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fb699428.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fd330ef0.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fe09b0d6.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-fed80c68.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-lPbx4RHH.js +0 -1
- package/dist/digi-arbetsformedlingen/p-m9xS70Ez.js +0 -1
- package/dist/digi-arbetsformedlingen/p-w8pbG68a.js +0 -1
- package/dist/esm/code-example-variation.enum-Ooszw6tl.js +0 -33
- package/dist/esm/detectClickOutside.util-ROzp1Ej2.js +0 -7
- package/dist/esm/detectFocusOutside.util-aFLLVVle.js +0 -7
- package/dist/esm/digi-button_11.entry.js +0 -1262
- package/dist/esm/digi-progress-circle.entry.js +0 -101
- package/dist/esm/digi-progress-indicator.entry.js +0 -146
- package/dist/esm/digi-util-mutation-observer.entry.js +0 -73
- package/dist/esm/form-input-type.enum-CN1mgrt1.js +0 -39
- package/dist/esm/form-validation-message-variation.enum-9n7Okhf1.js +0 -31
- package/dist/esm/index-BsIL3T_0.js +0 -63
- package/dist/esm/index-Co_lVhh_.js +0 -4298
- package/dist/esm/index-DnTiPaEs.js +0 -856
- package/dist/esm/prism-git-CdcGvoTs.js +0 -2465
- package/dist/esm/progress-circle-role.enum-w8pbG68a.js +0 -7
- package/dist/esm/progress-indicator-variation.enum-DMrSPsPW.js +0 -13
- package/dist/esm/transform-lPbx4RHH.js +0 -3780
- package/dist/esm/typography-variation.enum-BDBYHWrh.js +0 -266
- /package/components/{p-CAr8ZNeD.js → p-06625463.js} +0 -0
- /package/components/{p-DoZkBEe8.js → p-06f939ab.js} +0 -0
- /package/components/{p-DJCufAhy.js → p-07303cb5.js} +0 -0
- /package/components/{p-DBcU_EnL.js → p-0f3fbb1e.js} +0 -0
- /package/components/{p-CkIb3cUS.js → p-0f6c0360.js} +0 -0
- /package/components/{p-CES5gUEo.js → p-1f68d501.js} +0 -0
- /package/components/{p-DcnvI7UR.js → p-24fe2189.js} +0 -0
- /package/components/{p-CPzcg9n3.js → p-2a023831.js} +0 -0
- /package/components/{p-DPkRL9Bv.js → p-3b20ec86.js} +0 -0
- /package/components/{p-evtVuhQt.js → p-40657c82.js} +0 -0
- /package/components/{p-bQJ38En_.js → p-46cbbcb5.js} +0 -0
- /package/components/{p-CmH9mJ43.js → p-484a1d6d.js} +0 -0
- /package/components/{p-DpDyNuVC.js → p-4bad4fb0.js} +0 -0
- /package/components/{p-CflatMTG.js → p-517dd6a0.js} +0 -0
- /package/components/{p-CsNHGpkJ.js → p-5ba6737a.js} +0 -0
- /package/components/{p-qc6KRZue.js → p-5d21a361.js} +0 -0
- /package/components/{p-oKq_eErM.js → p-5f8dc01a.js} +0 -0
- /package/components/{p-CAmn5qzb.js → p-6e383896.js} +0 -0
- /package/components/{p-CKoZU0-H.js → p-717306ef.js} +0 -0
- /package/components/{p-BbGPkkqr.js → p-768f56d4.js} +0 -0
- /package/components/{p-DXqRzyRP.js → p-77a93845.js} +0 -0
- /package/components/{p-B8hpiXmh.js → p-7933b555.js} +0 -0
- /package/components/{p-BixPaBHw.js → p-7aacd45f.js} +0 -0
- /package/components/{p-DH_-wpLB.js → p-7e32c40b.js} +0 -0
- /package/components/{p-6-MpaVf8.js → p-8142cc73.js} +0 -0
- /package/components/{p-_ycZeBN4.js → p-814ca2ad.js} +0 -0
- /package/components/{p-BvcVTm_t.js → p-820e795b.js} +0 -0
- /package/components/{p-m9xS70Ez.js → p-8cd2d6dd.js} +0 -0
- /package/components/{p-DsO1BTml.js → p-903a27d9.js} +0 -0
- /package/components/{p-BfyJgcLA.js → p-905ccb30.js} +0 -0
- /package/components/{p-Dp9SgP94.js → p-9a1bec0e.js} +0 -0
- /package/components/{p-DogB9kfH.js → p-9c5a93d8.js} +0 -0
- /package/components/{p-Chk3GCYK.js → p-9dd41cc4.js} +0 -0
- /package/components/{p-C0A-p3cU.js → p-a4a001e1.js} +0 -0
- /package/components/{p-CHxBAbI8.js → p-a6ca40fc.js} +0 -0
- /package/components/{p-DwNlf6Sh.js → p-ad16c7a1.js} +0 -0
- /package/components/{p-rhVqmQwC.js → p-b0e88537.js} +0 -0
- /package/components/{p-BvWKyXb_.js → p-bc3d2778.js} +0 -0
- /package/components/{p-DwBvm-Nc.js → p-bdd811bc.js} +0 -0
- /package/components/{p-7F-7XlTz.js → p-c8429245.js} +0 -0
- /package/components/{p-DPq588Q4.js → p-cdcaf0eb.js} +0 -0
- /package/components/{p-DNjGvZvz.js → p-d1886fff.js} +0 -0
- /package/components/{p-DrVSK7Ws.js → p-d74742b8.js} +0 -0
- /package/components/{p-rbgkevJv.js → p-d8a98b3b.js} +0 -0
- /package/components/{p-DPeoHh1J.js → p-dcdffb3c.js} +0 -0
- /package/components/{p-DdB9j8uV.js → p-e3d2e899.js} +0 -0
- /package/components/{p-D_VIx0pC.js → p-e4a9f8f0.js} +0 -0
- /package/components/{p-DzSu1-K0.js → p-ee88e3f1.js} +0 -0
- /package/components/{p-ArGkfrXt.js → p-f2a6768b.js} +0 -0
- /package/components/{p-C6B2KRZo.js → p-f40f4b2a.js} +0 -0
- /package/components/{p-DCS1KcvC.js → p-f447b984.js} +0 -0
- /package/components/{p-DNHRmpND.js → p-f518a4cf.js} +0 -0
- /package/components/{p-V-HTxO5a.js → p-f600576a.js} +0 -0
- /package/components/{p-BGaIliX6.js → p-ffe5c0e8.js} +0 -0
- /package/dist/cjs/{badge-notification-shape.enum-CEyEo2G5.js → badge-notification-shape.enum-ff802554.js} +0 -0
- /package/dist/cjs/{badge-status-variation.enum-XX8d--rj.js → badge-status-variation.enum-0a5adc21.js} +0 -0
- /package/dist/cjs/{bar-chart-variation.enum-BZFN4377.js → bar-chart-variation.enum-a4e866b6.js} +0 -0
- /package/dist/cjs/{button-variation.enum-DkUalo9f.js → button-variation.enum-bc521499.js} +0 -0
- /package/dist/cjs/{calendar-week-view-heading-level.enum-NEkm5SUq.js → calendar-week-view-heading-level.enum-fd0c841b.js} +0 -0
- /package/dist/cjs/{code-variation.enum-BM-hhQuD.js → code-variation.enum-c4a4e6fd.js} +0 -0
- /package/dist/cjs/{detectClosest.util-D1z809xM.js → detectClosest.util-85b3507b.js} +0 -0
- /package/dist/cjs/{expandable-accordion-header-level.enum-CjL9V3Kt.js → expandable-accordion-header-level.enum-45483252.js} +0 -0
- /package/dist/cjs/{expandable-faq-item-variation.enum-aKkYAQgd.js → expandable-faq-item-variation.enum-89427195.js} +0 -0
- /package/dist/cjs/{expandable-faq-variation.enum-FEybT9s4.js → expandable-faq-variation.enum-af923f49.js} +0 -0
- /package/dist/cjs/{footer-card-variation.enum-BPnpkC45.js → footer-card-variation.enum-99555edc.js} +0 -0
- /package/dist/cjs/{form-checkbox-variation.enum-BfOGU4Qt.js → form-checkbox-variation.enum-d2ca879e.js} +0 -0
- /package/dist/cjs/{form-radiogroup-validation.enum-DBDbjF6N.js → form-radiogroup-validation.enum-03a17d4d.js} +0 -0
- /package/dist/cjs/{form-select-variation.enum-e6wjWyaS.js → form-select-variation.enum-528c1bf0.js} +0 -0
- /package/dist/cjs/{form-textarea-variation.enum-BcEyaR5W.js → form-textarea-variation.enum-9c90d40f.js} +0 -0
- /package/dist/cjs/{index-Snltmefx.js → index-e8333bcc.js} +0 -0
- /package/dist/cjs/{info-card-multi-type.enum-pqhvdrsN.js → info-card-multi-type.enum-14746572.js} +0 -0
- /package/dist/cjs/{info-card-variation.enum-B1cqmknX.js → info-card-variation.enum-64cef637.js} +0 -0
- /package/dist/cjs/{keyboardHandler.util-Co9WoNpM.js → keyboardHandler.util-d8600adb.js} +0 -0
- /package/dist/cjs/{layout-block-variation.enum-BldWvnDk.js → layout-block-variation.enum-f6102119.js} +0 -0
- /package/dist/cjs/{layout-columns-variation.enum-OgD-hvRN.js → layout-columns-variation.enum-65675649.js} +0 -0
- /package/dist/cjs/{layout-container-max-width.enum-DqWtU7WK.js → layout-container-max-width.enum-7e637f44.js} +0 -0
- /package/dist/cjs/{link-button-variation.enum-03cHZQxx.js → link-button-variation.enum-137785e3.js} +0 -0
- /package/dist/cjs/{list-type.enum-CkFOn-eB.js → list-type.enum-aea4d012.js} +0 -0
- /package/dist/cjs/{loader-skeleton-variation.enum-UvPtdesw.js → loader-skeleton-variation.enum-d52ba55e.js} +0 -0
- /package/dist/cjs/{loader-spinner-size.enum-u5AQs-UJ.js → loader-spinner-size.enum-db2973f0.js} +0 -0
- /package/dist/cjs/{logger.util-DUhrcCTY.js → logger.util-fdafc086.js} +0 -0
- /package/dist/cjs/{logo-color.enum-BJZv-f6R.js → logo-color.enum-76f6c506.js} +0 -0
- /package/dist/cjs/{media-figure-alignment.enum-BWO1sg67.js → media-figure-alignment.enum-3885aba5.js} +0 -0
- /package/dist/cjs/{navigation-sidebar-variation.enum-70NIGQoi.js → navigation-sidebar-variation.enum-1c0c3064.js} +0 -0
- /package/dist/cjs/{navigation-tablist.types-B5QU-sSH.js → navigation-tablist.types-f042f1bd.js} +0 -0
- /package/dist/cjs/{navigation-vertical-menu-variation.enum-7IUICId3.js → navigation-vertical-menu-variation.enum-c237edd3.js} +0 -0
- /package/dist/cjs/{progress-list-item-variation.enum-Dk3YS--x.js → progress-list-item-variation.enum-90e4c874.js} +0 -0
- /package/dist/cjs/{progress-list-variation.enum-BvLLJK9O.js → progress-list-variation.enum-06d5ce27.js} +0 -0
- /package/dist/cjs/{progressbar-variation.enum-CnRJPSs7.js → progressbar-variation.enum-aff9fa80.js} +0 -0
- /package/dist/cjs/{quote-image-inner-position.enum-CLifVlj0.js → quote-image-inner-position.enum-e64e7a6d.js} +0 -0
- /package/dist/cjs/{randomIdGenerator.util-C8XR2Tn1.js → randomIdGenerator.util-e7f4b6de.js} +0 -0
- /package/dist/cjs/{table-variation.enum-DlDZKXbq.js → table-variation.enum-25df2ad7.js} +0 -0
- /package/dist/cjs/{tag-media-icon.enum-DzhiwvjI.js → tag-media-icon.enum-372563c5.js} +0 -0
- /package/dist/cjs/{tag-size.enum-DFom3Smn.js → tag-size.enum-387c516c.js} +0 -0
- /package/dist/cjs/{text-Cu3CaHGj.js → text-65b1b58c.js} +0 -0
- /package/dist/cjs/{tools-feedback-banner-type.enum-Dyeg3XNb.js → tools-feedback-banner-type.enum-de373ba0.js} +0 -0
- /package/dist/cjs/{tools-feedback-rating-variation.enum-CBI4GhXs.js → tools-feedback-rating-variation.enum-2f71e84d.js} +0 -0
- /package/dist/cjs/{tools-theme-provider.brand.enum-BzduvCUY.js → tools-theme-provider.brand.enum-bc855272.js} +0 -0
- /package/dist/cjs/{typography-heading-jumbo-variation.enum-Di1Jeh0G.js → typography-heading-jumbo-variation.enum-8677e099.js} +0 -0
- /package/dist/cjs/{typography-meta-variation.enum-lvDemnSz.js → typography-meta-variation.enum-13ac3538.js} +0 -0
- /package/dist/cjs/{typography-time-variation.enum-D2gIVzYH.js → typography-time-variation.enum-bce1d87e.js} +0 -0
- /package/dist/cjs/{util-breakpoint-observer-breakpoints.enum-zoJiezkV.js → util-breakpoint-observer-breakpoints.enum-e96d3a84.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DXqRzyRP.js → p-06f939ab.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DJCufAhy.js → p-07303cb5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DBcU_EnL.js → p-0f3fbb1e.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CkIb3cUS.js → p-0f6c0360.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-C6B2KRZo.js → p-1f68d501.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DcnvI7UR.js → p-24fe2189.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CPzcg9n3.js → p-2a023831.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CuhrrYGE.js → p-300aa9ef.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPkRL9Bv.js → p-3b20ec86.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-evtVuhQt.js → p-40657c82.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-bQJ38En_.js → p-46cbbcb5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CmH9mJ43.js → p-484a1d6d.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DpDyNuVC.js → p-4bad4fb0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CflatMTG.js → p-517dd6a0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CsNHGpkJ.js → p-5ba6737a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-qc6KRZue.js → p-5d21a361.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CAmn5qzb.js → p-6e383896.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CKoZU0-H.js → p-717306ef.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DoZkBEe8.js → p-77a93845.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BixPaBHw.js → p-7aacd45f.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DH_-wpLB.js → p-7e32c40b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-6-MpaVf8.js → p-8142cc73.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-_ycZeBN4.js → p-814ca2ad.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BvcVTm_t.js → p-820e795b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DMrSPsPW.js → p-8cd2d6dd.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DsO1BTml.js → p-903a27d9.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DogB9kfH.js → p-9c5a93d8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-Chk3GCYK.js → p-9dd41cc4.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CWFirwyE.js → p-a39f86c9.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-C0A-p3cU.js → p-a4a001e1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CHxBAbI8.js → p-a6ca40fc.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DwNlf6Sh.js → p-ad16c7a1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-rhVqmQwC.js → p-b0e88537.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-Ua3MxeBh.js → p-b4022c44.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DwBvm-Nc.js → p-bdd811bc.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPq588Q4.js → p-cdcaf0eb.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-y5Nm4oWF.js → p-cf3ce3c5.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DNjGvZvz.js → p-d1886fff.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DrVSK7Ws.js → p-d74742b8.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DPeoHh1J.js → p-dcdffb3c.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DdB9j8uV.js → p-e3d2e899.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-D_VIx0pC.js → p-e4a9f8f0.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DzSu1-K0.js → p-ee88e3f1.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-ArGkfrXt.js → p-f2a6768b.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-CES5gUEo.js → p-f40f4b2a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-DCS1KcvC.js → p-f447b984.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-V-HTxO5a.js → p-f600576a.js} +0 -0
- /package/dist/digi-arbetsformedlingen/{p-BGaIliX6.js → p-ffe5c0e8.js} +0 -0
- /package/dist/esm/{badge-notification-shape.enum-CKoZU0-H.js → badge-notification-shape.enum-e15a6245.js} +0 -0
- /package/dist/esm/{badge-status-variation.enum-C0A-p3cU.js → badge-status-variation.enum-8d6370ff.js} +0 -0
- /package/dist/esm/{bar-chart-variation.enum-DPeoHh1J.js → bar-chart-variation.enum-97c0b47f.js} +0 -0
- /package/dist/esm/{button-variation.enum-y5Nm4oWF.js → button-variation.enum-94fffdd6.js} +0 -0
- /package/dist/esm/{calendar-week-view-heading-level.enum-DH_-wpLB.js → calendar-week-view-heading-level.enum-6774297c.js} +0 -0
- /package/dist/esm/{code-variation.enum-qc6KRZue.js → code-variation.enum-1eee7c7a.js} +0 -0
- /package/dist/esm/{detectClosest.util-DwBvm-Nc.js → detectClosest.util-58a7504f.js} +0 -0
- /package/dist/esm/{expandable-accordion-header-level.enum-DwNlf6Sh.js → expandable-accordion-header-level.enum-85681e2f.js} +0 -0
- /package/dist/esm/{expandable-faq-item-variation.enum-C6B2KRZo.js → expandable-faq-item-variation.enum-a8cb225b.js} +0 -0
- /package/dist/esm/{expandable-faq-variation.enum-CES5gUEo.js → expandable-faq-variation.enum-6934c367.js} +0 -0
- /package/dist/esm/{footer-card-variation.enum-DzSu1-K0.js → footer-card-variation.enum-cc732148.js} +0 -0
- /package/dist/esm/{form-checkbox-variation.enum-6-MpaVf8.js → form-checkbox-variation.enum-83e906fc.js} +0 -0
- /package/dist/esm/{form-radiogroup-validation.enum-DcnvI7UR.js → form-radiogroup-validation.enum-d790fc66.js} +0 -0
- /package/dist/esm/{form-select-variation.enum-DCS1KcvC.js → form-select-variation.enum-f2f6098d.js} +0 -0
- /package/dist/esm/{form-textarea-variation.enum-DogB9kfH.js → form-textarea-variation.enum-05017e8e.js} +0 -0
- /package/dist/esm/{index-BixPaBHw.js → index-8685f88d.js} +0 -0
- /package/dist/esm/{info-card-multi-type.enum-CkIb3cUS.js → info-card-multi-type.enum-07ee124f.js} +0 -0
- /package/dist/esm/{info-card-variation.enum-_ycZeBN4.js → info-card-variation.enum-2ccc52c1.js} +0 -0
- /package/dist/esm/{keyboardHandler.util-CflatMTG.js → keyboardHandler.util-383c0054.js} +0 -0
- /package/dist/esm/{layout-block-variation.enum-CWFirwyE.js → layout-block-variation.enum-b7a20db4.js} +0 -0
- /package/dist/esm/{layout-columns-variation.enum-DJCufAhy.js → layout-columns-variation.enum-34f7754e.js} +0 -0
- /package/dist/esm/{layout-container-max-width.enum-CuhrrYGE.js → layout-container-max-width.enum-c40018ac.js} +0 -0
- /package/dist/esm/{link-button-variation.enum-CPzcg9n3.js → link-button-variation.enum-84d4976f.js} +0 -0
- /package/dist/esm/{list-type.enum-CsNHGpkJ.js → list-type.enum-fbb331ad.js} +0 -0
- /package/dist/esm/{loader-skeleton-variation.enum-D_VIx0pC.js → loader-skeleton-variation.enum-f9f867b4.js} +0 -0
- /package/dist/esm/{loader-spinner-size.enum-ArGkfrXt.js → loader-spinner-size.enum-0b246fa0.js} +0 -0
- /package/dist/esm/{logger.util-DdB9j8uV.js → logger.util-ede3c48a.js} +0 -0
- /package/dist/esm/{logo-color.enum-Chk3GCYK.js → logo-color.enum-8593dca6.js} +0 -0
- /package/dist/esm/{media-figure-alignment.enum-evtVuhQt.js → media-figure-alignment.enum-a1d36567.js} +0 -0
- /package/dist/esm/{navigation-sidebar-variation.enum-V-HTxO5a.js → navigation-sidebar-variation.enum-8fead764.js} +0 -0
- /package/dist/esm/{navigation-tablist.types-Ua3MxeBh.js → navigation-tablist.types-61def4f1.js} +0 -0
- /package/dist/esm/{navigation-vertical-menu-variation.enum-DPkRL9Bv.js → navigation-vertical-menu-variation.enum-c30b0ea9.js} +0 -0
- /package/dist/esm/{progress-list-item-variation.enum-DXqRzyRP.js → progress-list-item-variation.enum-384b9a3a.js} +0 -0
- /package/dist/esm/{progress-list-variation.enum-DoZkBEe8.js → progress-list-variation.enum-300bd89d.js} +0 -0
- /package/dist/esm/{progressbar-variation.enum-m9xS70Ez.js → progressbar-variation.enum-40adaab4.js} +0 -0
- /package/dist/esm/{quote-image-inner-position.enum-CmH9mJ43.js → quote-image-inner-position.enum-8e9b1e65.js} +0 -0
- /package/dist/esm/{randomIdGenerator.util-BGaIliX6.js → randomIdGenerator.util-56406f2e.js} +0 -0
- /package/dist/esm/{table-variation.enum-DBcU_EnL.js → table-variation.enum-dd9366b6.js} +0 -0
- /package/dist/esm/{tag-media-icon.enum-BvcVTm_t.js → tag-media-icon.enum-fefa191c.js} +0 -0
- /package/dist/esm/{tag-size.enum-bQJ38En_.js → tag-size.enum-403e0cd8.js} +0 -0
- /package/dist/esm/{text-DsO1BTml.js → text-8f88c0f6.js} +0 -0
- /package/dist/esm/{tools-feedback-banner-type.enum-DrVSK7Ws.js → tools-feedback-banner-type.enum-74b4e580.js} +0 -0
- /package/dist/esm/{tools-feedback-rating-variation.enum-CAmn5qzb.js → tools-feedback-rating-variation.enum-29058ff2.js} +0 -0
- /package/dist/esm/{tools-theme-provider.brand.enum-DpDyNuVC.js → tools-theme-provider.brand.enum-8c5a98c9.js} +0 -0
- /package/dist/esm/{typography-heading-jumbo-variation.enum-DNjGvZvz.js → typography-heading-jumbo-variation.enum-eb737f1b.js} +0 -0
- /package/dist/esm/{typography-meta-variation.enum-CHxBAbI8.js → typography-meta-variation.enum-1f7c2878.js} +0 -0
- /package/dist/esm/{typography-time-variation.enum-rhVqmQwC.js → typography-time-variation.enum-34c830ef.js} +0 -0
- /package/dist/esm/{util-breakpoint-observer-breakpoints.enum-DPq588Q4.js → util-breakpoint-observer-breakpoints.enum-6d004731.js} +0 -0
|
@@ -0,0 +1,2431 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
var prism = {exports: {}};
|
|
4
|
+
|
|
5
|
+
(function (module) {
|
|
6
|
+
/* **********************************************
|
|
7
|
+
Begin prism-core.js
|
|
8
|
+
********************************************** */
|
|
9
|
+
|
|
10
|
+
/// <reference lib="WebWorker"/>
|
|
11
|
+
|
|
12
|
+
var _self = (typeof window !== 'undefined')
|
|
13
|
+
? window // if in browser
|
|
14
|
+
: (
|
|
15
|
+
(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)
|
|
16
|
+
? self // if in worker
|
|
17
|
+
: {} // if in node js
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
22
|
+
*
|
|
23
|
+
* @license MIT <https://opensource.org/licenses/MIT>
|
|
24
|
+
* @author Lea Verou <https://lea.verou.me>
|
|
25
|
+
* @namespace
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
var Prism = (function (_self) {
|
|
29
|
+
|
|
30
|
+
// Private helper vars
|
|
31
|
+
var lang = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i;
|
|
32
|
+
var uniqueId = 0;
|
|
33
|
+
|
|
34
|
+
// The grammar object for plaintext
|
|
35
|
+
var plainTextGrammar = {};
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
var _ = {
|
|
39
|
+
/**
|
|
40
|
+
* By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
|
|
41
|
+
* current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
|
|
42
|
+
* additional languages or plugins yourself.
|
|
43
|
+
*
|
|
44
|
+
* By setting this value to `true`, Prism will not automatically highlight all code elements on the page.
|
|
45
|
+
*
|
|
46
|
+
* You obviously have to change this value before the automatic highlighting started. To do this, you can add an
|
|
47
|
+
* empty Prism object into the global scope before loading the Prism script like this:
|
|
48
|
+
*
|
|
49
|
+
* ```js
|
|
50
|
+
* window.Prism = window.Prism || {};
|
|
51
|
+
* Prism.manual = true;
|
|
52
|
+
* // add a new <script> to load Prism's script
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Prism
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
manual: _self.Prism && _self.Prism.manual,
|
|
61
|
+
/**
|
|
62
|
+
* By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
|
|
63
|
+
* `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
|
|
64
|
+
* own worker, you don't want it to do this.
|
|
65
|
+
*
|
|
66
|
+
* By setting this value to `true`, Prism will not add its own listeners to the worker.
|
|
67
|
+
*
|
|
68
|
+
* You obviously have to change this value before Prism executes. To do this, you can add an
|
|
69
|
+
* empty Prism object into the global scope before loading the Prism script like this:
|
|
70
|
+
*
|
|
71
|
+
* ```js
|
|
72
|
+
* window.Prism = window.Prism || {};
|
|
73
|
+
* Prism.disableWorkerMessageHandler = true;
|
|
74
|
+
* // Load Prism's script
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @default false
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof Prism
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
disableWorkerMessageHandler: _self.Prism && _self.Prism.disableWorkerMessageHandler,
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* A namespace for utility methods.
|
|
86
|
+
*
|
|
87
|
+
* All function in this namespace that are not explicitly marked as _public_ are for __internal use only__ and may
|
|
88
|
+
* change or disappear at any time.
|
|
89
|
+
*
|
|
90
|
+
* @namespace
|
|
91
|
+
* @memberof Prism
|
|
92
|
+
*/
|
|
93
|
+
util: {
|
|
94
|
+
encode: function encode(tokens) {
|
|
95
|
+
if (tokens instanceof Token) {
|
|
96
|
+
return new Token(tokens.type, encode(tokens.content), tokens.alias);
|
|
97
|
+
} else if (Array.isArray(tokens)) {
|
|
98
|
+
return tokens.map(encode);
|
|
99
|
+
} else {
|
|
100
|
+
return tokens.replace(/&/g, '&').replace(/</g, '<').replace(/\u00a0/g, ' ');
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Returns the name of the type of the given value.
|
|
106
|
+
*
|
|
107
|
+
* @param {any} o
|
|
108
|
+
* @returns {string}
|
|
109
|
+
* @example
|
|
110
|
+
* type(null) === 'Null'
|
|
111
|
+
* type(undefined) === 'Undefined'
|
|
112
|
+
* type(123) === 'Number'
|
|
113
|
+
* type('foo') === 'String'
|
|
114
|
+
* type(true) === 'Boolean'
|
|
115
|
+
* type([1, 2]) === 'Array'
|
|
116
|
+
* type({}) === 'Object'
|
|
117
|
+
* type(String) === 'Function'
|
|
118
|
+
* type(/abc+/) === 'RegExp'
|
|
119
|
+
*/
|
|
120
|
+
type: function (o) {
|
|
121
|
+
return Object.prototype.toString.call(o).slice(8, -1);
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Returns a unique number for the given object. Later calls will still return the same number.
|
|
126
|
+
*
|
|
127
|
+
* @param {Object} obj
|
|
128
|
+
* @returns {number}
|
|
129
|
+
*/
|
|
130
|
+
objId: function (obj) {
|
|
131
|
+
if (!obj['__id']) {
|
|
132
|
+
Object.defineProperty(obj, '__id', { value: ++uniqueId });
|
|
133
|
+
}
|
|
134
|
+
return obj['__id'];
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Creates a deep clone of the given object.
|
|
139
|
+
*
|
|
140
|
+
* The main intended use of this function is to clone language definitions.
|
|
141
|
+
*
|
|
142
|
+
* @param {T} o
|
|
143
|
+
* @param {Record<number, any>} [visited]
|
|
144
|
+
* @returns {T}
|
|
145
|
+
* @template T
|
|
146
|
+
*/
|
|
147
|
+
clone: function deepClone(o, visited) {
|
|
148
|
+
visited = visited || {};
|
|
149
|
+
|
|
150
|
+
var clone; var id;
|
|
151
|
+
switch (_.util.type(o)) {
|
|
152
|
+
case 'Object':
|
|
153
|
+
id = _.util.objId(o);
|
|
154
|
+
if (visited[id]) {
|
|
155
|
+
return visited[id];
|
|
156
|
+
}
|
|
157
|
+
clone = /** @type {Record<string, any>} */ ({});
|
|
158
|
+
visited[id] = clone;
|
|
159
|
+
|
|
160
|
+
for (var key in o) {
|
|
161
|
+
if (o.hasOwnProperty(key)) {
|
|
162
|
+
clone[key] = deepClone(o[key], visited);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
return /** @type {any} */ (clone);
|
|
167
|
+
|
|
168
|
+
case 'Array':
|
|
169
|
+
id = _.util.objId(o);
|
|
170
|
+
if (visited[id]) {
|
|
171
|
+
return visited[id];
|
|
172
|
+
}
|
|
173
|
+
clone = [];
|
|
174
|
+
visited[id] = clone;
|
|
175
|
+
|
|
176
|
+
(/** @type {Array} */(/** @type {any} */(o))).forEach(function (v, i) {
|
|
177
|
+
clone[i] = deepClone(v, visited);
|
|
178
|
+
});
|
|
179
|
+
|
|
180
|
+
return /** @type {any} */ (clone);
|
|
181
|
+
|
|
182
|
+
default:
|
|
183
|
+
return o;
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Returns the Prism language of the given element set by a `language-xxxx` or `lang-xxxx` class.
|
|
189
|
+
*
|
|
190
|
+
* If no language is set for the element or the element is `null` or `undefined`, `none` will be returned.
|
|
191
|
+
*
|
|
192
|
+
* @param {Element} element
|
|
193
|
+
* @returns {string}
|
|
194
|
+
*/
|
|
195
|
+
getLanguage: function (element) {
|
|
196
|
+
while (element) {
|
|
197
|
+
var m = lang.exec(element.className);
|
|
198
|
+
if (m) {
|
|
199
|
+
return m[1].toLowerCase();
|
|
200
|
+
}
|
|
201
|
+
element = element.parentElement;
|
|
202
|
+
}
|
|
203
|
+
return 'none';
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Sets the Prism `language-xxxx` class of the given element.
|
|
208
|
+
*
|
|
209
|
+
* @param {Element} element
|
|
210
|
+
* @param {string} language
|
|
211
|
+
* @returns {void}
|
|
212
|
+
*/
|
|
213
|
+
setLanguage: function (element, language) {
|
|
214
|
+
// remove all `language-xxxx` classes
|
|
215
|
+
// (this might leave behind a leading space)
|
|
216
|
+
element.className = element.className.replace(RegExp(lang, 'gi'), '');
|
|
217
|
+
|
|
218
|
+
// add the new `language-xxxx` class
|
|
219
|
+
// (using `classList` will automatically clean up spaces for us)
|
|
220
|
+
element.classList.add('language-' + language);
|
|
221
|
+
},
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Returns the script element that is currently executing.
|
|
225
|
+
*
|
|
226
|
+
* This does __not__ work for line script element.
|
|
227
|
+
*
|
|
228
|
+
* @returns {HTMLScriptElement | null}
|
|
229
|
+
*/
|
|
230
|
+
currentScript: function () {
|
|
231
|
+
if (typeof document === 'undefined') {
|
|
232
|
+
return null;
|
|
233
|
+
}
|
|
234
|
+
if (document.currentScript && document.currentScript.tagName === 'SCRIPT' && 1 < 2 /* hack to trip TS' flow analysis */) {
|
|
235
|
+
return /** @type {any} */ (document.currentScript);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// IE11 workaround
|
|
239
|
+
// we'll get the src of the current script by parsing IE11's error stack trace
|
|
240
|
+
// this will not work for inline scripts
|
|
241
|
+
|
|
242
|
+
try {
|
|
243
|
+
throw new Error();
|
|
244
|
+
} catch (err) {
|
|
245
|
+
// Get file src url from stack. Specifically works with the format of stack traces in IE.
|
|
246
|
+
// A stack will look like this:
|
|
247
|
+
//
|
|
248
|
+
// Error
|
|
249
|
+
// at _.util.currentScript (http://localhost/components/prism-core.js:119:5)
|
|
250
|
+
// at Global code (http://localhost/components/prism-core.js:606:1)
|
|
251
|
+
|
|
252
|
+
var src = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack) || [])[1];
|
|
253
|
+
if (src) {
|
|
254
|
+
var scripts = document.getElementsByTagName('script');
|
|
255
|
+
for (var i in scripts) {
|
|
256
|
+
if (scripts[i].src == src) {
|
|
257
|
+
return scripts[i];
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Returns whether a given class is active for `element`.
|
|
267
|
+
*
|
|
268
|
+
* The class can be activated if `element` or one of its ancestors has the given class and it can be deactivated
|
|
269
|
+
* if `element` or one of its ancestors has the negated version of the given class. The _negated version_ of the
|
|
270
|
+
* given class is just the given class with a `no-` prefix.
|
|
271
|
+
*
|
|
272
|
+
* Whether the class is active is determined by the closest ancestor of `element` (where `element` itself is
|
|
273
|
+
* closest ancestor) that has the given class or the negated version of it. If neither `element` nor any of its
|
|
274
|
+
* ancestors have the given class or the negated version of it, then the default activation will be returned.
|
|
275
|
+
*
|
|
276
|
+
* In the paradoxical situation where the closest ancestor contains __both__ the given class and the negated
|
|
277
|
+
* version of it, the class is considered active.
|
|
278
|
+
*
|
|
279
|
+
* @param {Element} element
|
|
280
|
+
* @param {string} className
|
|
281
|
+
* @param {boolean} [defaultActivation=false]
|
|
282
|
+
* @returns {boolean}
|
|
283
|
+
*/
|
|
284
|
+
isActive: function (element, className, defaultActivation) {
|
|
285
|
+
var no = 'no-' + className;
|
|
286
|
+
|
|
287
|
+
while (element) {
|
|
288
|
+
var classList = element.classList;
|
|
289
|
+
if (classList.contains(className)) {
|
|
290
|
+
return true;
|
|
291
|
+
}
|
|
292
|
+
if (classList.contains(no)) {
|
|
293
|
+
return false;
|
|
294
|
+
}
|
|
295
|
+
element = element.parentElement;
|
|
296
|
+
}
|
|
297
|
+
return !!defaultActivation;
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* This namespace contains all currently loaded languages and the some helper functions to create and modify languages.
|
|
303
|
+
*
|
|
304
|
+
* @namespace
|
|
305
|
+
* @memberof Prism
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
languages: {
|
|
309
|
+
/**
|
|
310
|
+
* The grammar for plain, unformatted text.
|
|
311
|
+
*/
|
|
312
|
+
plain: plainTextGrammar,
|
|
313
|
+
plaintext: plainTextGrammar,
|
|
314
|
+
text: plainTextGrammar,
|
|
315
|
+
txt: plainTextGrammar,
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Creates a deep copy of the language with the given id and appends the given tokens.
|
|
319
|
+
*
|
|
320
|
+
* If a token in `redef` also appears in the copied language, then the existing token in the copied language
|
|
321
|
+
* will be overwritten at its original position.
|
|
322
|
+
*
|
|
323
|
+
* ## Best practices
|
|
324
|
+
*
|
|
325
|
+
* Since the position of overwriting tokens (token in `redef` that overwrite tokens in the copied language)
|
|
326
|
+
* doesn't matter, they can technically be in any order. However, this can be confusing to others that trying to
|
|
327
|
+
* understand the language definition because, normally, the order of tokens matters in Prism grammars.
|
|
328
|
+
*
|
|
329
|
+
* Therefore, it is encouraged to order overwriting tokens according to the positions of the overwritten tokens.
|
|
330
|
+
* Furthermore, all non-overwriting tokens should be placed after the overwriting ones.
|
|
331
|
+
*
|
|
332
|
+
* @param {string} id The id of the language to extend. This has to be a key in `Prism.languages`.
|
|
333
|
+
* @param {Grammar} redef The new tokens to append.
|
|
334
|
+
* @returns {Grammar} The new language created.
|
|
335
|
+
* @public
|
|
336
|
+
* @example
|
|
337
|
+
* Prism.languages['css-with-colors'] = Prism.languages.extend('css', {
|
|
338
|
+
* // Prism.languages.css already has a 'comment' token, so this token will overwrite CSS' 'comment' token
|
|
339
|
+
* // at its original position
|
|
340
|
+
* 'comment': { ... },
|
|
341
|
+
* // CSS doesn't have a 'color' token, so this token will be appended
|
|
342
|
+
* 'color': /\b(?:red|green|blue)\b/
|
|
343
|
+
* });
|
|
344
|
+
*/
|
|
345
|
+
extend: function (id, redef) {
|
|
346
|
+
var lang = _.util.clone(_.languages[id]);
|
|
347
|
+
|
|
348
|
+
for (var key in redef) {
|
|
349
|
+
lang[key] = redef[key];
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
return lang;
|
|
353
|
+
},
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* Inserts tokens _before_ another token in a language definition or any other grammar.
|
|
357
|
+
*
|
|
358
|
+
* ## Usage
|
|
359
|
+
*
|
|
360
|
+
* This helper method makes it easy to modify existing languages. For example, the CSS language definition
|
|
361
|
+
* not only defines CSS highlighting for CSS documents, but also needs to define highlighting for CSS embedded
|
|
362
|
+
* in HTML through `<style>` elements. To do this, it needs to modify `Prism.languages.markup` and add the
|
|
363
|
+
* appropriate tokens. However, `Prism.languages.markup` is a regular JavaScript object literal, so if you do
|
|
364
|
+
* this:
|
|
365
|
+
*
|
|
366
|
+
* ```js
|
|
367
|
+
* Prism.languages.markup.style = {
|
|
368
|
+
* // token
|
|
369
|
+
* };
|
|
370
|
+
* ```
|
|
371
|
+
*
|
|
372
|
+
* then the `style` token will be added (and processed) at the end. `insertBefore` allows you to insert tokens
|
|
373
|
+
* before existing tokens. For the CSS example above, you would use it like this:
|
|
374
|
+
*
|
|
375
|
+
* ```js
|
|
376
|
+
* Prism.languages.insertBefore('markup', 'cdata', {
|
|
377
|
+
* 'style': {
|
|
378
|
+
* // token
|
|
379
|
+
* }
|
|
380
|
+
* });
|
|
381
|
+
* ```
|
|
382
|
+
*
|
|
383
|
+
* ## Special cases
|
|
384
|
+
*
|
|
385
|
+
* If the grammars of `inside` and `insert` have tokens with the same name, the tokens in `inside`'s grammar
|
|
386
|
+
* will be ignored.
|
|
387
|
+
*
|
|
388
|
+
* This behavior can be used to insert tokens after `before`:
|
|
389
|
+
*
|
|
390
|
+
* ```js
|
|
391
|
+
* Prism.languages.insertBefore('markup', 'comment', {
|
|
392
|
+
* 'comment': Prism.languages.markup.comment,
|
|
393
|
+
* // tokens after 'comment'
|
|
394
|
+
* });
|
|
395
|
+
* ```
|
|
396
|
+
*
|
|
397
|
+
* ## Limitations
|
|
398
|
+
*
|
|
399
|
+
* The main problem `insertBefore` has to solve is iteration order. Since ES2015, the iteration order for object
|
|
400
|
+
* properties is guaranteed to be the insertion order (except for integer keys) but some browsers behave
|
|
401
|
+
* differently when keys are deleted and re-inserted. So `insertBefore` can't be implemented by temporarily
|
|
402
|
+
* deleting properties which is necessary to insert at arbitrary positions.
|
|
403
|
+
*
|
|
404
|
+
* To solve this problem, `insertBefore` doesn't actually insert the given tokens into the target object.
|
|
405
|
+
* Instead, it will create a new object and replace all references to the target object with the new one. This
|
|
406
|
+
* can be done without temporarily deleting properties, so the iteration order is well-defined.
|
|
407
|
+
*
|
|
408
|
+
* However, only references that can be reached from `Prism.languages` or `insert` will be replaced. I.e. if
|
|
409
|
+
* you hold the target object in a variable, then the value of the variable will not change.
|
|
410
|
+
*
|
|
411
|
+
* ```js
|
|
412
|
+
* var oldMarkup = Prism.languages.markup;
|
|
413
|
+
* var newMarkup = Prism.languages.insertBefore('markup', 'comment', { ... });
|
|
414
|
+
*
|
|
415
|
+
* assert(oldMarkup !== Prism.languages.markup);
|
|
416
|
+
* assert(newMarkup === Prism.languages.markup);
|
|
417
|
+
* ```
|
|
418
|
+
*
|
|
419
|
+
* @param {string} inside The property of `root` (e.g. a language id in `Prism.languages`) that contains the
|
|
420
|
+
* object to be modified.
|
|
421
|
+
* @param {string} before The key to insert before.
|
|
422
|
+
* @param {Grammar} insert An object containing the key-value pairs to be inserted.
|
|
423
|
+
* @param {Object<string, any>} [root] The object containing `inside`, i.e. the object that contains the
|
|
424
|
+
* object to be modified.
|
|
425
|
+
*
|
|
426
|
+
* Defaults to `Prism.languages`.
|
|
427
|
+
* @returns {Grammar} The new grammar object.
|
|
428
|
+
* @public
|
|
429
|
+
*/
|
|
430
|
+
insertBefore: function (inside, before, insert, root) {
|
|
431
|
+
root = root || /** @type {any} */ (_.languages);
|
|
432
|
+
var grammar = root[inside];
|
|
433
|
+
/** @type {Grammar} */
|
|
434
|
+
var ret = {};
|
|
435
|
+
|
|
436
|
+
for (var token in grammar) {
|
|
437
|
+
if (grammar.hasOwnProperty(token)) {
|
|
438
|
+
|
|
439
|
+
if (token == before) {
|
|
440
|
+
for (var newToken in insert) {
|
|
441
|
+
if (insert.hasOwnProperty(newToken)) {
|
|
442
|
+
ret[newToken] = insert[newToken];
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// Do not insert token which also occur in insert. See #1525
|
|
448
|
+
if (!insert.hasOwnProperty(token)) {
|
|
449
|
+
ret[token] = grammar[token];
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
var old = root[inside];
|
|
455
|
+
root[inside] = ret;
|
|
456
|
+
|
|
457
|
+
// Update references in other language definitions
|
|
458
|
+
_.languages.DFS(_.languages, function (key, value) {
|
|
459
|
+
if (value === old && key != inside) {
|
|
460
|
+
this[key] = ret;
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
|
|
464
|
+
return ret;
|
|
465
|
+
},
|
|
466
|
+
|
|
467
|
+
// Traverse a language definition with Depth First Search
|
|
468
|
+
DFS: function DFS(o, callback, type, visited) {
|
|
469
|
+
visited = visited || {};
|
|
470
|
+
|
|
471
|
+
var objId = _.util.objId;
|
|
472
|
+
|
|
473
|
+
for (var i in o) {
|
|
474
|
+
if (o.hasOwnProperty(i)) {
|
|
475
|
+
callback.call(o, i, o[i], type || i);
|
|
476
|
+
|
|
477
|
+
var property = o[i];
|
|
478
|
+
var propertyType = _.util.type(property);
|
|
479
|
+
|
|
480
|
+
if (propertyType === 'Object' && !visited[objId(property)]) {
|
|
481
|
+
visited[objId(property)] = true;
|
|
482
|
+
DFS(property, callback, null, visited);
|
|
483
|
+
} else if (propertyType === 'Array' && !visited[objId(property)]) {
|
|
484
|
+
visited[objId(property)] = true;
|
|
485
|
+
DFS(property, callback, i, visited);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
|
|
492
|
+
plugins: {},
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* This is the most high-level function in Prism’s API.
|
|
496
|
+
* It fetches all the elements that have a `.language-xxxx` class and then calls {@link Prism.highlightElement} on
|
|
497
|
+
* each one of them.
|
|
498
|
+
*
|
|
499
|
+
* This is equivalent to `Prism.highlightAllUnder(document, async, callback)`.
|
|
500
|
+
*
|
|
501
|
+
* @param {boolean} [async=false] Same as in {@link Prism.highlightAllUnder}.
|
|
502
|
+
* @param {HighlightCallback} [callback] Same as in {@link Prism.highlightAllUnder}.
|
|
503
|
+
* @memberof Prism
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
highlightAll: function (async, callback) {
|
|
507
|
+
_.highlightAllUnder(document, async, callback);
|
|
508
|
+
},
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
|
|
512
|
+
* {@link Prism.highlightElement} on each one of them.
|
|
513
|
+
*
|
|
514
|
+
* The following hooks will be run:
|
|
515
|
+
* 1. `before-highlightall`
|
|
516
|
+
* 2. `before-all-elements-highlight`
|
|
517
|
+
* 3. All hooks of {@link Prism.highlightElement} for each element.
|
|
518
|
+
*
|
|
519
|
+
* @param {ParentNode} container The root element, whose descendants that have a `.language-xxxx` class will be highlighted.
|
|
520
|
+
* @param {boolean} [async=false] Whether each element is to be highlighted asynchronously using Web Workers.
|
|
521
|
+
* @param {HighlightCallback} [callback] An optional callback to be invoked on each element after its highlighting is done.
|
|
522
|
+
* @memberof Prism
|
|
523
|
+
* @public
|
|
524
|
+
*/
|
|
525
|
+
highlightAllUnder: function (container, async, callback) {
|
|
526
|
+
var env = {
|
|
527
|
+
callback: callback,
|
|
528
|
+
container: container,
|
|
529
|
+
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
_.hooks.run('before-highlightall', env);
|
|
533
|
+
|
|
534
|
+
env.elements = Array.prototype.slice.apply(env.container.querySelectorAll(env.selector));
|
|
535
|
+
|
|
536
|
+
_.hooks.run('before-all-elements-highlight', env);
|
|
537
|
+
|
|
538
|
+
for (var i = 0, element; (element = env.elements[i++]);) {
|
|
539
|
+
_.highlightElement(element, async === true, env.callback);
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Highlights the code inside a single element.
|
|
545
|
+
*
|
|
546
|
+
* The following hooks will be run:
|
|
547
|
+
* 1. `before-sanity-check`
|
|
548
|
+
* 2. `before-highlight`
|
|
549
|
+
* 3. All hooks of {@link Prism.highlight}. These hooks will be run by an asynchronous worker if `async` is `true`.
|
|
550
|
+
* 4. `before-insert`
|
|
551
|
+
* 5. `after-highlight`
|
|
552
|
+
* 6. `complete`
|
|
553
|
+
*
|
|
554
|
+
* Some the above hooks will be skipped if the element doesn't contain any text or there is no grammar loaded for
|
|
555
|
+
* the element's language.
|
|
556
|
+
*
|
|
557
|
+
* @param {Element} element The element containing the code.
|
|
558
|
+
* It must have a class of `language-xxxx` to be processed, where `xxxx` is a valid language identifier.
|
|
559
|
+
* @param {boolean} [async=false] Whether the element is to be highlighted asynchronously using Web Workers
|
|
560
|
+
* to improve performance and avoid blocking the UI when highlighting very large chunks of code. This option is
|
|
561
|
+
* [disabled by default](https://prismjs.com/faq.html#why-is-asynchronous-highlighting-disabled-by-default).
|
|
562
|
+
*
|
|
563
|
+
* Note: All language definitions required to highlight the code must be included in the main `prism.js` file for
|
|
564
|
+
* asynchronous highlighting to work. You can build your own bundle on the
|
|
565
|
+
* [Download page](https://prismjs.com/download.html).
|
|
566
|
+
* @param {HighlightCallback} [callback] An optional callback to be invoked after the highlighting is done.
|
|
567
|
+
* Mostly useful when `async` is `true`, since in that case, the highlighting is done asynchronously.
|
|
568
|
+
* @memberof Prism
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
highlightElement: function (element, async, callback) {
|
|
572
|
+
// Find language
|
|
573
|
+
var language = _.util.getLanguage(element);
|
|
574
|
+
var grammar = _.languages[language];
|
|
575
|
+
|
|
576
|
+
// Set language on the element, if not present
|
|
577
|
+
_.util.setLanguage(element, language);
|
|
578
|
+
|
|
579
|
+
// Set language on the parent, for styling
|
|
580
|
+
var parent = element.parentElement;
|
|
581
|
+
if (parent && parent.nodeName.toLowerCase() === 'pre') {
|
|
582
|
+
_.util.setLanguage(parent, language);
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
var code = element.textContent;
|
|
586
|
+
|
|
587
|
+
var env = {
|
|
588
|
+
element: element,
|
|
589
|
+
language: language,
|
|
590
|
+
grammar: grammar,
|
|
591
|
+
code: code
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
function insertHighlightedCode(highlightedCode) {
|
|
595
|
+
env.highlightedCode = highlightedCode;
|
|
596
|
+
|
|
597
|
+
_.hooks.run('before-insert', env);
|
|
598
|
+
|
|
599
|
+
env.element.innerHTML = env.highlightedCode;
|
|
600
|
+
|
|
601
|
+
_.hooks.run('after-highlight', env);
|
|
602
|
+
_.hooks.run('complete', env);
|
|
603
|
+
callback && callback.call(env.element);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
_.hooks.run('before-sanity-check', env);
|
|
607
|
+
|
|
608
|
+
// plugins may change/add the parent/element
|
|
609
|
+
parent = env.element.parentElement;
|
|
610
|
+
if (parent && parent.nodeName.toLowerCase() === 'pre' && !parent.hasAttribute('tabindex')) {
|
|
611
|
+
parent.setAttribute('tabindex', '0');
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (!env.code) {
|
|
615
|
+
_.hooks.run('complete', env);
|
|
616
|
+
callback && callback.call(env.element);
|
|
617
|
+
return;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
_.hooks.run('before-highlight', env);
|
|
621
|
+
|
|
622
|
+
if (!env.grammar) {
|
|
623
|
+
insertHighlightedCode(_.util.encode(env.code));
|
|
624
|
+
return;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
if (async && _self.Worker) {
|
|
628
|
+
var worker = new Worker(_.filename);
|
|
629
|
+
|
|
630
|
+
worker.onmessage = function (evt) {
|
|
631
|
+
insertHighlightedCode(evt.data);
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
worker.postMessage(JSON.stringify({
|
|
635
|
+
language: env.language,
|
|
636
|
+
code: env.code,
|
|
637
|
+
immediateClose: true
|
|
638
|
+
}));
|
|
639
|
+
} else {
|
|
640
|
+
insertHighlightedCode(_.highlight(env.code, env.grammar, env.language));
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
646
|
+
* and the language definitions to use, and returns a string with the HTML produced.
|
|
647
|
+
*
|
|
648
|
+
* The following hooks will be run:
|
|
649
|
+
* 1. `before-tokenize`
|
|
650
|
+
* 2. `after-tokenize`
|
|
651
|
+
* 3. `wrap`: On each {@link Token}.
|
|
652
|
+
*
|
|
653
|
+
* @param {string} text A string with the code to be highlighted.
|
|
654
|
+
* @param {Grammar} grammar An object containing the tokens to use.
|
|
655
|
+
*
|
|
656
|
+
* Usually a language definition like `Prism.languages.markup`.
|
|
657
|
+
* @param {string} language The name of the language definition passed to `grammar`.
|
|
658
|
+
* @returns {string} The highlighted HTML.
|
|
659
|
+
* @memberof Prism
|
|
660
|
+
* @public
|
|
661
|
+
* @example
|
|
662
|
+
* Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
|
|
663
|
+
*/
|
|
664
|
+
highlight: function (text, grammar, language) {
|
|
665
|
+
var env = {
|
|
666
|
+
code: text,
|
|
667
|
+
grammar: grammar,
|
|
668
|
+
language: language
|
|
669
|
+
};
|
|
670
|
+
_.hooks.run('before-tokenize', env);
|
|
671
|
+
if (!env.grammar) {
|
|
672
|
+
throw new Error('The language "' + env.language + '" has no grammar.');
|
|
673
|
+
}
|
|
674
|
+
env.tokens = _.tokenize(env.code, env.grammar);
|
|
675
|
+
_.hooks.run('after-tokenize', env);
|
|
676
|
+
return Token.stringify(_.util.encode(env.tokens), env.language);
|
|
677
|
+
},
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
|
|
681
|
+
* and the language definitions to use, and returns an array with the tokenized code.
|
|
682
|
+
*
|
|
683
|
+
* When the language definition includes nested tokens, the function is called recursively on each of these tokens.
|
|
684
|
+
*
|
|
685
|
+
* This method could be useful in other contexts as well, as a very crude parser.
|
|
686
|
+
*
|
|
687
|
+
* @param {string} text A string with the code to be highlighted.
|
|
688
|
+
* @param {Grammar} grammar An object containing the tokens to use.
|
|
689
|
+
*
|
|
690
|
+
* Usually a language definition like `Prism.languages.markup`.
|
|
691
|
+
* @returns {TokenStream} An array of strings and tokens, a token stream.
|
|
692
|
+
* @memberof Prism
|
|
693
|
+
* @public
|
|
694
|
+
* @example
|
|
695
|
+
* let code = `var foo = 0;`;
|
|
696
|
+
* let tokens = Prism.tokenize(code, Prism.languages.javascript);
|
|
697
|
+
* tokens.forEach(token => {
|
|
698
|
+
* if (token instanceof Prism.Token && token.type === 'number') {
|
|
699
|
+
* console.log(`Found numeric literal: ${token.content}`);
|
|
700
|
+
* }
|
|
701
|
+
* });
|
|
702
|
+
*/
|
|
703
|
+
tokenize: function (text, grammar) {
|
|
704
|
+
var rest = grammar.rest;
|
|
705
|
+
if (rest) {
|
|
706
|
+
for (var token in rest) {
|
|
707
|
+
grammar[token] = rest[token];
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
delete grammar.rest;
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
var tokenList = new LinkedList();
|
|
714
|
+
addAfter(tokenList, tokenList.head, text);
|
|
715
|
+
|
|
716
|
+
matchGrammar(text, tokenList, grammar, tokenList.head, 0);
|
|
717
|
+
|
|
718
|
+
return toArray(tokenList);
|
|
719
|
+
},
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* @namespace
|
|
723
|
+
* @memberof Prism
|
|
724
|
+
* @public
|
|
725
|
+
*/
|
|
726
|
+
hooks: {
|
|
727
|
+
all: {},
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Adds the given callback to the list of callbacks for the given hook.
|
|
731
|
+
*
|
|
732
|
+
* The callback will be invoked when the hook it is registered for is run.
|
|
733
|
+
* Hooks are usually directly run by a highlight function but you can also run hooks yourself.
|
|
734
|
+
*
|
|
735
|
+
* One callback function can be registered to multiple hooks and the same hook multiple times.
|
|
736
|
+
*
|
|
737
|
+
* @param {string} name The name of the hook.
|
|
738
|
+
* @param {HookCallback} callback The callback function which is given environment variables.
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
add: function (name, callback) {
|
|
742
|
+
var hooks = _.hooks.all;
|
|
743
|
+
|
|
744
|
+
hooks[name] = hooks[name] || [];
|
|
745
|
+
|
|
746
|
+
hooks[name].push(callback);
|
|
747
|
+
},
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Runs a hook invoking all registered callbacks with the given environment variables.
|
|
751
|
+
*
|
|
752
|
+
* Callbacks will be invoked synchronously and in the order in which they were registered.
|
|
753
|
+
*
|
|
754
|
+
* @param {string} name The name of the hook.
|
|
755
|
+
* @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
|
|
756
|
+
* @public
|
|
757
|
+
*/
|
|
758
|
+
run: function (name, env) {
|
|
759
|
+
var callbacks = _.hooks.all[name];
|
|
760
|
+
|
|
761
|
+
if (!callbacks || !callbacks.length) {
|
|
762
|
+
return;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
for (var i = 0, callback; (callback = callbacks[i++]);) {
|
|
766
|
+
callback(env);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
|
|
771
|
+
Token: Token
|
|
772
|
+
};
|
|
773
|
+
_self.Prism = _;
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
// Typescript note:
|
|
777
|
+
// The following can be used to import the Token type in JSDoc:
|
|
778
|
+
//
|
|
779
|
+
// @typedef {InstanceType<import("./prism-core")["Token"]>} Token
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Creates a new token.
|
|
783
|
+
*
|
|
784
|
+
* @param {string} type See {@link Token#type type}
|
|
785
|
+
* @param {string | TokenStream} content See {@link Token#content content}
|
|
786
|
+
* @param {string|string[]} [alias] The alias(es) of the token.
|
|
787
|
+
* @param {string} [matchedStr=""] A copy of the full string this token was created from.
|
|
788
|
+
* @class
|
|
789
|
+
* @global
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
function Token(type, content, alias, matchedStr) {
|
|
793
|
+
/**
|
|
794
|
+
* The type of the token.
|
|
795
|
+
*
|
|
796
|
+
* This is usually the key of a pattern in a {@link Grammar}.
|
|
797
|
+
*
|
|
798
|
+
* @type {string}
|
|
799
|
+
* @see GrammarToken
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
this.type = type;
|
|
803
|
+
/**
|
|
804
|
+
* The strings or tokens contained by this token.
|
|
805
|
+
*
|
|
806
|
+
* This will be a token stream if the pattern matched also defined an `inside` grammar.
|
|
807
|
+
*
|
|
808
|
+
* @type {string | TokenStream}
|
|
809
|
+
* @public
|
|
810
|
+
*/
|
|
811
|
+
this.content = content;
|
|
812
|
+
/**
|
|
813
|
+
* The alias(es) of the token.
|
|
814
|
+
*
|
|
815
|
+
* @type {string|string[]}
|
|
816
|
+
* @see GrammarToken
|
|
817
|
+
* @public
|
|
818
|
+
*/
|
|
819
|
+
this.alias = alias;
|
|
820
|
+
// Copy of the full string this token was created from
|
|
821
|
+
this.length = (matchedStr || '').length | 0;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* A token stream is an array of strings and {@link Token Token} objects.
|
|
826
|
+
*
|
|
827
|
+
* Token streams have to fulfill a few properties that are assumed by most functions (mostly internal ones) that process
|
|
828
|
+
* them.
|
|
829
|
+
*
|
|
830
|
+
* 1. No adjacent strings.
|
|
831
|
+
* 2. No empty strings.
|
|
832
|
+
*
|
|
833
|
+
* The only exception here is the token stream that only contains the empty string and nothing else.
|
|
834
|
+
*
|
|
835
|
+
* @typedef {Array<string | Token>} TokenStream
|
|
836
|
+
* @global
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Converts the given token or token stream to an HTML representation.
|
|
842
|
+
*
|
|
843
|
+
* The following hooks will be run:
|
|
844
|
+
* 1. `wrap`: On each {@link Token}.
|
|
845
|
+
*
|
|
846
|
+
* @param {string | Token | TokenStream} o The token or token stream to be converted.
|
|
847
|
+
* @param {string} language The name of current language.
|
|
848
|
+
* @returns {string} The HTML representation of the token or token stream.
|
|
849
|
+
* @memberof Token
|
|
850
|
+
* @static
|
|
851
|
+
*/
|
|
852
|
+
Token.stringify = function stringify(o, language) {
|
|
853
|
+
if (typeof o == 'string') {
|
|
854
|
+
return o;
|
|
855
|
+
}
|
|
856
|
+
if (Array.isArray(o)) {
|
|
857
|
+
var s = '';
|
|
858
|
+
o.forEach(function (e) {
|
|
859
|
+
s += stringify(e, language);
|
|
860
|
+
});
|
|
861
|
+
return s;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
var env = {
|
|
865
|
+
type: o.type,
|
|
866
|
+
content: stringify(o.content, language),
|
|
867
|
+
tag: 'span',
|
|
868
|
+
classes: ['token', o.type],
|
|
869
|
+
attributes: {},
|
|
870
|
+
language: language
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
var aliases = o.alias;
|
|
874
|
+
if (aliases) {
|
|
875
|
+
if (Array.isArray(aliases)) {
|
|
876
|
+
Array.prototype.push.apply(env.classes, aliases);
|
|
877
|
+
} else {
|
|
878
|
+
env.classes.push(aliases);
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
_.hooks.run('wrap', env);
|
|
883
|
+
|
|
884
|
+
var attributes = '';
|
|
885
|
+
for (var name in env.attributes) {
|
|
886
|
+
attributes += ' ' + name + '="' + (env.attributes[name] || '').replace(/"/g, '"') + '"';
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
return '<' + env.tag + ' class="' + env.classes.join(' ') + '"' + attributes + '>' + env.content + '</' + env.tag + '>';
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* @param {RegExp} pattern
|
|
894
|
+
* @param {number} pos
|
|
895
|
+
* @param {string} text
|
|
896
|
+
* @param {boolean} lookbehind
|
|
897
|
+
* @returns {RegExpExecArray | null}
|
|
898
|
+
*/
|
|
899
|
+
function matchPattern(pattern, pos, text, lookbehind) {
|
|
900
|
+
pattern.lastIndex = pos;
|
|
901
|
+
var match = pattern.exec(text);
|
|
902
|
+
if (match && lookbehind && match[1]) {
|
|
903
|
+
// change the match to remove the text matched by the Prism lookbehind group
|
|
904
|
+
var lookbehindLength = match[1].length;
|
|
905
|
+
match.index += lookbehindLength;
|
|
906
|
+
match[0] = match[0].slice(lookbehindLength);
|
|
907
|
+
}
|
|
908
|
+
return match;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* @param {string} text
|
|
913
|
+
* @param {LinkedList<string | Token>} tokenList
|
|
914
|
+
* @param {any} grammar
|
|
915
|
+
* @param {LinkedListNode<string | Token>} startNode
|
|
916
|
+
* @param {number} startPos
|
|
917
|
+
* @param {RematchOptions} [rematch]
|
|
918
|
+
* @returns {void}
|
|
919
|
+
* @private
|
|
920
|
+
*
|
|
921
|
+
* @typedef RematchOptions
|
|
922
|
+
* @property {string} cause
|
|
923
|
+
* @property {number} reach
|
|
924
|
+
*/
|
|
925
|
+
function matchGrammar(text, tokenList, grammar, startNode, startPos, rematch) {
|
|
926
|
+
for (var token in grammar) {
|
|
927
|
+
if (!grammar.hasOwnProperty(token) || !grammar[token]) {
|
|
928
|
+
continue;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
var patterns = grammar[token];
|
|
932
|
+
patterns = Array.isArray(patterns) ? patterns : [patterns];
|
|
933
|
+
|
|
934
|
+
for (var j = 0; j < patterns.length; ++j) {
|
|
935
|
+
if (rematch && rematch.cause == token + ',' + j) {
|
|
936
|
+
return;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
var patternObj = patterns[j];
|
|
940
|
+
var inside = patternObj.inside;
|
|
941
|
+
var lookbehind = !!patternObj.lookbehind;
|
|
942
|
+
var greedy = !!patternObj.greedy;
|
|
943
|
+
var alias = patternObj.alias;
|
|
944
|
+
|
|
945
|
+
if (greedy && !patternObj.pattern.global) {
|
|
946
|
+
// Without the global flag, lastIndex won't work
|
|
947
|
+
var flags = patternObj.pattern.toString().match(/[imsuy]*$/)[0];
|
|
948
|
+
patternObj.pattern = RegExp(patternObj.pattern.source, flags + 'g');
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/** @type {RegExp} */
|
|
952
|
+
var pattern = patternObj.pattern || patternObj;
|
|
953
|
+
|
|
954
|
+
for ( // iterate the token list and keep track of the current token/string position
|
|
955
|
+
var currentNode = startNode.next, pos = startPos;
|
|
956
|
+
currentNode !== tokenList.tail;
|
|
957
|
+
pos += currentNode.value.length, currentNode = currentNode.next
|
|
958
|
+
) {
|
|
959
|
+
|
|
960
|
+
if (rematch && pos >= rematch.reach) {
|
|
961
|
+
break;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
var str = currentNode.value;
|
|
965
|
+
|
|
966
|
+
if (tokenList.length > text.length) {
|
|
967
|
+
// Something went terribly wrong, ABORT, ABORT!
|
|
968
|
+
return;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
if (str instanceof Token) {
|
|
972
|
+
continue;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
var removeCount = 1; // this is the to parameter of removeBetween
|
|
976
|
+
var match;
|
|
977
|
+
|
|
978
|
+
if (greedy) {
|
|
979
|
+
match = matchPattern(pattern, pos, text, lookbehind);
|
|
980
|
+
if (!match || match.index >= text.length) {
|
|
981
|
+
break;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
var from = match.index;
|
|
985
|
+
var to = match.index + match[0].length;
|
|
986
|
+
var p = pos;
|
|
987
|
+
|
|
988
|
+
// find the node that contains the match
|
|
989
|
+
p += currentNode.value.length;
|
|
990
|
+
while (from >= p) {
|
|
991
|
+
currentNode = currentNode.next;
|
|
992
|
+
p += currentNode.value.length;
|
|
993
|
+
}
|
|
994
|
+
// adjust pos (and p)
|
|
995
|
+
p -= currentNode.value.length;
|
|
996
|
+
pos = p;
|
|
997
|
+
|
|
998
|
+
// the current node is a Token, then the match starts inside another Token, which is invalid
|
|
999
|
+
if (currentNode.value instanceof Token) {
|
|
1000
|
+
continue;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
// find the last node which is affected by this match
|
|
1004
|
+
for (
|
|
1005
|
+
var k = currentNode;
|
|
1006
|
+
k !== tokenList.tail && (p < to || typeof k.value === 'string');
|
|
1007
|
+
k = k.next
|
|
1008
|
+
) {
|
|
1009
|
+
removeCount++;
|
|
1010
|
+
p += k.value.length;
|
|
1011
|
+
}
|
|
1012
|
+
removeCount--;
|
|
1013
|
+
|
|
1014
|
+
// replace with the new match
|
|
1015
|
+
str = text.slice(pos, p);
|
|
1016
|
+
match.index -= pos;
|
|
1017
|
+
} else {
|
|
1018
|
+
match = matchPattern(pattern, 0, str, lookbehind);
|
|
1019
|
+
if (!match) {
|
|
1020
|
+
continue;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
// eslint-disable-next-line no-redeclare
|
|
1025
|
+
var from = match.index;
|
|
1026
|
+
var matchStr = match[0];
|
|
1027
|
+
var before = str.slice(0, from);
|
|
1028
|
+
var after = str.slice(from + matchStr.length);
|
|
1029
|
+
|
|
1030
|
+
var reach = pos + str.length;
|
|
1031
|
+
if (rematch && reach > rematch.reach) {
|
|
1032
|
+
rematch.reach = reach;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
var removeFrom = currentNode.prev;
|
|
1036
|
+
|
|
1037
|
+
if (before) {
|
|
1038
|
+
removeFrom = addAfter(tokenList, removeFrom, before);
|
|
1039
|
+
pos += before.length;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
removeRange(tokenList, removeFrom, removeCount);
|
|
1043
|
+
|
|
1044
|
+
var wrapped = new Token(token, inside ? _.tokenize(matchStr, inside) : matchStr, alias, matchStr);
|
|
1045
|
+
currentNode = addAfter(tokenList, removeFrom, wrapped);
|
|
1046
|
+
|
|
1047
|
+
if (after) {
|
|
1048
|
+
addAfter(tokenList, currentNode, after);
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
if (removeCount > 1) {
|
|
1052
|
+
// at least one Token object was removed, so we have to do some rematching
|
|
1053
|
+
// this can only happen if the current pattern is greedy
|
|
1054
|
+
|
|
1055
|
+
/** @type {RematchOptions} */
|
|
1056
|
+
var nestedRematch = {
|
|
1057
|
+
cause: token + ',' + j,
|
|
1058
|
+
reach: reach
|
|
1059
|
+
};
|
|
1060
|
+
matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
|
|
1061
|
+
|
|
1062
|
+
// the reach might have been extended because of the rematching
|
|
1063
|
+
if (rematch && nestedRematch.reach > rematch.reach) {
|
|
1064
|
+
rematch.reach = nestedRematch.reach;
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* @typedef LinkedListNode
|
|
1074
|
+
* @property {T} value
|
|
1075
|
+
* @property {LinkedListNode<T> | null} prev The previous node.
|
|
1076
|
+
* @property {LinkedListNode<T> | null} next The next node.
|
|
1077
|
+
* @template T
|
|
1078
|
+
* @private
|
|
1079
|
+
*/
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @template T
|
|
1083
|
+
* @private
|
|
1084
|
+
*/
|
|
1085
|
+
function LinkedList() {
|
|
1086
|
+
/** @type {LinkedListNode<T>} */
|
|
1087
|
+
var head = { value: null, prev: null, next: null };
|
|
1088
|
+
/** @type {LinkedListNode<T>} */
|
|
1089
|
+
var tail = { value: null, prev: head, next: null };
|
|
1090
|
+
head.next = tail;
|
|
1091
|
+
|
|
1092
|
+
/** @type {LinkedListNode<T>} */
|
|
1093
|
+
this.head = head;
|
|
1094
|
+
/** @type {LinkedListNode<T>} */
|
|
1095
|
+
this.tail = tail;
|
|
1096
|
+
this.length = 0;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* Adds a new node with the given value to the list.
|
|
1101
|
+
*
|
|
1102
|
+
* @param {LinkedList<T>} list
|
|
1103
|
+
* @param {LinkedListNode<T>} node
|
|
1104
|
+
* @param {T} value
|
|
1105
|
+
* @returns {LinkedListNode<T>} The added node.
|
|
1106
|
+
* @template T
|
|
1107
|
+
*/
|
|
1108
|
+
function addAfter(list, node, value) {
|
|
1109
|
+
// assumes that node != list.tail && values.length >= 0
|
|
1110
|
+
var next = node.next;
|
|
1111
|
+
|
|
1112
|
+
var newNode = { value: value, prev: node, next: next };
|
|
1113
|
+
node.next = newNode;
|
|
1114
|
+
next.prev = newNode;
|
|
1115
|
+
list.length++;
|
|
1116
|
+
|
|
1117
|
+
return newNode;
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* Removes `count` nodes after the given node. The given node will not be removed.
|
|
1121
|
+
*
|
|
1122
|
+
* @param {LinkedList<T>} list
|
|
1123
|
+
* @param {LinkedListNode<T>} node
|
|
1124
|
+
* @param {number} count
|
|
1125
|
+
* @template T
|
|
1126
|
+
*/
|
|
1127
|
+
function removeRange(list, node, count) {
|
|
1128
|
+
var next = node.next;
|
|
1129
|
+
for (var i = 0; i < count && next !== list.tail; i++) {
|
|
1130
|
+
next = next.next;
|
|
1131
|
+
}
|
|
1132
|
+
node.next = next;
|
|
1133
|
+
next.prev = node;
|
|
1134
|
+
list.length -= i;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* @param {LinkedList<T>} list
|
|
1138
|
+
* @returns {T[]}
|
|
1139
|
+
* @template T
|
|
1140
|
+
*/
|
|
1141
|
+
function toArray(list) {
|
|
1142
|
+
var array = [];
|
|
1143
|
+
var node = list.head.next;
|
|
1144
|
+
while (node !== list.tail) {
|
|
1145
|
+
array.push(node.value);
|
|
1146
|
+
node = node.next;
|
|
1147
|
+
}
|
|
1148
|
+
return array;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
if (!_self.document) {
|
|
1153
|
+
if (!_self.addEventListener) {
|
|
1154
|
+
// in Node.js
|
|
1155
|
+
return _;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
if (!_.disableWorkerMessageHandler) {
|
|
1159
|
+
// In worker
|
|
1160
|
+
_self.addEventListener('message', function (evt) {
|
|
1161
|
+
var message = JSON.parse(evt.data);
|
|
1162
|
+
var lang = message.language;
|
|
1163
|
+
var code = message.code;
|
|
1164
|
+
var immediateClose = message.immediateClose;
|
|
1165
|
+
|
|
1166
|
+
_self.postMessage(_.highlight(code, _.languages[lang], lang));
|
|
1167
|
+
if (immediateClose) {
|
|
1168
|
+
_self.close();
|
|
1169
|
+
}
|
|
1170
|
+
}, false);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
return _;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
// Get current script and highlight
|
|
1177
|
+
var script = _.util.currentScript();
|
|
1178
|
+
|
|
1179
|
+
if (script) {
|
|
1180
|
+
_.filename = script.src;
|
|
1181
|
+
|
|
1182
|
+
if (script.hasAttribute('data-manual')) {
|
|
1183
|
+
_.manual = true;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
function highlightAutomaticallyCallback() {
|
|
1188
|
+
if (!_.manual) {
|
|
1189
|
+
_.highlightAll();
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
if (!_.manual) {
|
|
1194
|
+
// If the document state is "loading", then we'll use DOMContentLoaded.
|
|
1195
|
+
// If the document state is "interactive" and the prism.js script is deferred, then we'll also use the
|
|
1196
|
+
// DOMContentLoaded event because there might be some plugins or languages which have also been deferred and they
|
|
1197
|
+
// might take longer one animation frame to execute which can create a race condition where only some plugins have
|
|
1198
|
+
// been loaded when Prism.highlightAll() is executed, depending on how fast resources are loaded.
|
|
1199
|
+
// See https://github.com/PrismJS/prism/issues/2102
|
|
1200
|
+
var readyState = document.readyState;
|
|
1201
|
+
if (readyState === 'loading' || readyState === 'interactive' && script && script.defer) {
|
|
1202
|
+
document.addEventListener('DOMContentLoaded', highlightAutomaticallyCallback);
|
|
1203
|
+
} else {
|
|
1204
|
+
if (window.requestAnimationFrame) {
|
|
1205
|
+
window.requestAnimationFrame(highlightAutomaticallyCallback);
|
|
1206
|
+
} else {
|
|
1207
|
+
window.setTimeout(highlightAutomaticallyCallback, 16);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
return _;
|
|
1213
|
+
|
|
1214
|
+
}(_self));
|
|
1215
|
+
|
|
1216
|
+
if (module.exports) {
|
|
1217
|
+
module.exports = Prism;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
// hack for components to work correctly in node.js
|
|
1221
|
+
if (typeof commonjsGlobal !== 'undefined') {
|
|
1222
|
+
commonjsGlobal.Prism = Prism;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
// some additional documentation/types
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* The expansion of a simple `RegExp` literal to support additional properties.
|
|
1229
|
+
*
|
|
1230
|
+
* @typedef GrammarToken
|
|
1231
|
+
* @property {RegExp} pattern The regular expression of the token.
|
|
1232
|
+
* @property {boolean} [lookbehind=false] If `true`, then the first capturing group of `pattern` will (effectively)
|
|
1233
|
+
* behave as a lookbehind group meaning that the captured text will not be part of the matched text of the new token.
|
|
1234
|
+
* @property {boolean} [greedy=false] Whether the token is greedy.
|
|
1235
|
+
* @property {string|string[]} [alias] An optional alias or list of aliases.
|
|
1236
|
+
* @property {Grammar} [inside] The nested grammar of this token.
|
|
1237
|
+
*
|
|
1238
|
+
* The `inside` grammar will be used to tokenize the text value of each token of this kind.
|
|
1239
|
+
*
|
|
1240
|
+
* This can be used to make nested and even recursive language definitions.
|
|
1241
|
+
*
|
|
1242
|
+
* Note: This can cause infinite recursion. Be careful when you embed different languages or even the same language into
|
|
1243
|
+
* each another.
|
|
1244
|
+
* @global
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* @typedef Grammar
|
|
1250
|
+
* @type {Object<string, RegExp | GrammarToken | Array<RegExp | GrammarToken>>}
|
|
1251
|
+
* @property {Grammar} [rest] An optional grammar object that will be appended to this grammar.
|
|
1252
|
+
* @global
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* A function which will invoked after an element was successfully highlighted.
|
|
1258
|
+
*
|
|
1259
|
+
* @callback HighlightCallback
|
|
1260
|
+
* @param {Element} element The element successfully highlighted.
|
|
1261
|
+
* @returns {void}
|
|
1262
|
+
* @global
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* @callback HookCallback
|
|
1268
|
+
* @param {Object<string, any>} env The environment variables of the hook.
|
|
1269
|
+
* @returns {void}
|
|
1270
|
+
* @global
|
|
1271
|
+
* @public
|
|
1272
|
+
*/
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
/* **********************************************
|
|
1276
|
+
Begin prism-markup.js
|
|
1277
|
+
********************************************** */
|
|
1278
|
+
|
|
1279
|
+
Prism.languages.markup = {
|
|
1280
|
+
'comment': {
|
|
1281
|
+
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
1282
|
+
greedy: true
|
|
1283
|
+
},
|
|
1284
|
+
'prolog': {
|
|
1285
|
+
pattern: /<\?[\s\S]+?\?>/,
|
|
1286
|
+
greedy: true
|
|
1287
|
+
},
|
|
1288
|
+
'doctype': {
|
|
1289
|
+
// https://www.w3.org/TR/xml/#NT-doctypedecl
|
|
1290
|
+
pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
|
|
1291
|
+
greedy: true,
|
|
1292
|
+
inside: {
|
|
1293
|
+
'internal-subset': {
|
|
1294
|
+
pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
|
|
1295
|
+
lookbehind: true,
|
|
1296
|
+
greedy: true,
|
|
1297
|
+
inside: null // see below
|
|
1298
|
+
},
|
|
1299
|
+
'string': {
|
|
1300
|
+
pattern: /"[^"]*"|'[^']*'/,
|
|
1301
|
+
greedy: true
|
|
1302
|
+
},
|
|
1303
|
+
'punctuation': /^<!|>$|[[\]]/,
|
|
1304
|
+
'doctype-tag': /^DOCTYPE/i,
|
|
1305
|
+
'name': /[^\s<>'"]+/
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
'cdata': {
|
|
1309
|
+
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
1310
|
+
greedy: true
|
|
1311
|
+
},
|
|
1312
|
+
'tag': {
|
|
1313
|
+
pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
|
|
1314
|
+
greedy: true,
|
|
1315
|
+
inside: {
|
|
1316
|
+
'tag': {
|
|
1317
|
+
pattern: /^<\/?[^\s>\/]+/,
|
|
1318
|
+
inside: {
|
|
1319
|
+
'punctuation': /^<\/?/,
|
|
1320
|
+
'namespace': /^[^\s>\/:]+:/
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
'special-attr': [],
|
|
1324
|
+
'attr-value': {
|
|
1325
|
+
pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
|
|
1326
|
+
inside: {
|
|
1327
|
+
'punctuation': [
|
|
1328
|
+
{
|
|
1329
|
+
pattern: /^=/,
|
|
1330
|
+
alias: 'attr-equals'
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
pattern: /^(\s*)["']|["']$/,
|
|
1334
|
+
lookbehind: true
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
'punctuation': /\/?>/,
|
|
1340
|
+
'attr-name': {
|
|
1341
|
+
pattern: /[^\s>\/]+/,
|
|
1342
|
+
inside: {
|
|
1343
|
+
'namespace': /^[^\s>\/:]+:/
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
'entity': [
|
|
1350
|
+
{
|
|
1351
|
+
pattern: /&[\da-z]{1,8};/i,
|
|
1352
|
+
alias: 'named-entity'
|
|
1353
|
+
},
|
|
1354
|
+
/&#x?[\da-f]{1,8};/i
|
|
1355
|
+
]
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
Prism.languages.markup['tag'].inside['attr-value'].inside['entity'] =
|
|
1359
|
+
Prism.languages.markup['entity'];
|
|
1360
|
+
Prism.languages.markup['doctype'].inside['internal-subset'].inside = Prism.languages.markup;
|
|
1361
|
+
|
|
1362
|
+
// Plugin to make entity title show the real entity, idea by Roman Komarov
|
|
1363
|
+
Prism.hooks.add('wrap', function (env) {
|
|
1364
|
+
|
|
1365
|
+
if (env.type === 'entity') {
|
|
1366
|
+
env.attributes['title'] = env.content.replace(/&/, '&');
|
|
1367
|
+
}
|
|
1368
|
+
});
|
|
1369
|
+
|
|
1370
|
+
Object.defineProperty(Prism.languages.markup.tag, 'addInlined', {
|
|
1371
|
+
/**
|
|
1372
|
+
* Adds an inlined language to markup.
|
|
1373
|
+
*
|
|
1374
|
+
* An example of an inlined language is CSS with `<style>` tags.
|
|
1375
|
+
*
|
|
1376
|
+
* @param {string} tagName The name of the tag that contains the inlined language. This name will be treated as
|
|
1377
|
+
* case insensitive.
|
|
1378
|
+
* @param {string} lang The language key.
|
|
1379
|
+
* @example
|
|
1380
|
+
* addInlined('style', 'css');
|
|
1381
|
+
*/
|
|
1382
|
+
value: function addInlined(tagName, lang) {
|
|
1383
|
+
var includedCdataInside = {};
|
|
1384
|
+
includedCdataInside['language-' + lang] = {
|
|
1385
|
+
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
1386
|
+
lookbehind: true,
|
|
1387
|
+
inside: Prism.languages[lang]
|
|
1388
|
+
};
|
|
1389
|
+
includedCdataInside['cdata'] = /^<!\[CDATA\[|\]\]>$/i;
|
|
1390
|
+
|
|
1391
|
+
var inside = {
|
|
1392
|
+
'included-cdata': {
|
|
1393
|
+
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
1394
|
+
inside: includedCdataInside
|
|
1395
|
+
}
|
|
1396
|
+
};
|
|
1397
|
+
inside['language-' + lang] = {
|
|
1398
|
+
pattern: /[\s\S]+/,
|
|
1399
|
+
inside: Prism.languages[lang]
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
var def = {};
|
|
1403
|
+
def[tagName] = {
|
|
1404
|
+
pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function () { return tagName; }), 'i'),
|
|
1405
|
+
lookbehind: true,
|
|
1406
|
+
greedy: true,
|
|
1407
|
+
inside: inside
|
|
1408
|
+
};
|
|
1409
|
+
|
|
1410
|
+
Prism.languages.insertBefore('markup', 'cdata', def);
|
|
1411
|
+
}
|
|
1412
|
+
});
|
|
1413
|
+
Object.defineProperty(Prism.languages.markup.tag, 'addAttribute', {
|
|
1414
|
+
/**
|
|
1415
|
+
* Adds an pattern to highlight languages embedded in HTML attributes.
|
|
1416
|
+
*
|
|
1417
|
+
* An example of an inlined language is CSS with `style` attributes.
|
|
1418
|
+
*
|
|
1419
|
+
* @param {string} attrName The name of the tag that contains the inlined language. This name will be treated as
|
|
1420
|
+
* case insensitive.
|
|
1421
|
+
* @param {string} lang The language key.
|
|
1422
|
+
* @example
|
|
1423
|
+
* addAttribute('style', 'css');
|
|
1424
|
+
*/
|
|
1425
|
+
value: function (attrName, lang) {
|
|
1426
|
+
Prism.languages.markup.tag.inside['special-attr'].push({
|
|
1427
|
+
pattern: RegExp(
|
|
1428
|
+
/(^|["'\s])/.source + '(?:' + attrName + ')' + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
|
|
1429
|
+
'i'
|
|
1430
|
+
),
|
|
1431
|
+
lookbehind: true,
|
|
1432
|
+
inside: {
|
|
1433
|
+
'attr-name': /^[^\s=]+/,
|
|
1434
|
+
'attr-value': {
|
|
1435
|
+
pattern: /=[\s\S]+/,
|
|
1436
|
+
inside: {
|
|
1437
|
+
'value': {
|
|
1438
|
+
pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
|
|
1439
|
+
lookbehind: true,
|
|
1440
|
+
alias: [lang, 'language-' + lang],
|
|
1441
|
+
inside: Prism.languages[lang]
|
|
1442
|
+
},
|
|
1443
|
+
'punctuation': [
|
|
1444
|
+
{
|
|
1445
|
+
pattern: /^=/,
|
|
1446
|
+
alias: 'attr-equals'
|
|
1447
|
+
},
|
|
1448
|
+
/"|'/
|
|
1449
|
+
]
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1455
|
+
});
|
|
1456
|
+
|
|
1457
|
+
Prism.languages.html = Prism.languages.markup;
|
|
1458
|
+
Prism.languages.mathml = Prism.languages.markup;
|
|
1459
|
+
Prism.languages.svg = Prism.languages.markup;
|
|
1460
|
+
|
|
1461
|
+
Prism.languages.xml = Prism.languages.extend('markup', {});
|
|
1462
|
+
Prism.languages.ssml = Prism.languages.xml;
|
|
1463
|
+
Prism.languages.atom = Prism.languages.xml;
|
|
1464
|
+
Prism.languages.rss = Prism.languages.xml;
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
/* **********************************************
|
|
1468
|
+
Begin prism-css.js
|
|
1469
|
+
********************************************** */
|
|
1470
|
+
|
|
1471
|
+
(function (Prism) {
|
|
1472
|
+
|
|
1473
|
+
var string = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
1474
|
+
|
|
1475
|
+
Prism.languages.css = {
|
|
1476
|
+
'comment': /\/\*[\s\S]*?\*\//,
|
|
1477
|
+
'atrule': {
|
|
1478
|
+
pattern: RegExp('@[\\w-](?:' + /[^;{\s"']|\s+(?!\s)/.source + '|' + string.source + ')*?' + /(?:;|(?=\s*\{))/.source),
|
|
1479
|
+
inside: {
|
|
1480
|
+
'rule': /^@[\w-]+/,
|
|
1481
|
+
'selector-function-argument': {
|
|
1482
|
+
pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
|
|
1483
|
+
lookbehind: true,
|
|
1484
|
+
alias: 'selector'
|
|
1485
|
+
},
|
|
1486
|
+
'keyword': {
|
|
1487
|
+
pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
|
|
1488
|
+
lookbehind: true
|
|
1489
|
+
}
|
|
1490
|
+
// See rest below
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
'url': {
|
|
1494
|
+
// https://drafts.csswg.org/css-values-3/#urls
|
|
1495
|
+
pattern: RegExp('\\burl\\((?:' + string.source + '|' + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ')\\)', 'i'),
|
|
1496
|
+
greedy: true,
|
|
1497
|
+
inside: {
|
|
1498
|
+
'function': /^url/i,
|
|
1499
|
+
'punctuation': /^\(|\)$/,
|
|
1500
|
+
'string': {
|
|
1501
|
+
pattern: RegExp('^' + string.source + '$'),
|
|
1502
|
+
alias: 'url'
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
},
|
|
1506
|
+
'selector': {
|
|
1507
|
+
pattern: RegExp('(^|[{}\\s])[^{}\\s](?:[^{};"\'\\s]|\\s+(?![\\s{])|' + string.source + ')*(?=\\s*\\{)'),
|
|
1508
|
+
lookbehind: true
|
|
1509
|
+
},
|
|
1510
|
+
'string': {
|
|
1511
|
+
pattern: string,
|
|
1512
|
+
greedy: true
|
|
1513
|
+
},
|
|
1514
|
+
'property': {
|
|
1515
|
+
pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
|
|
1516
|
+
lookbehind: true
|
|
1517
|
+
},
|
|
1518
|
+
'important': /!important\b/i,
|
|
1519
|
+
'function': {
|
|
1520
|
+
pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
|
|
1521
|
+
lookbehind: true
|
|
1522
|
+
},
|
|
1523
|
+
'punctuation': /[(){};:,]/
|
|
1524
|
+
};
|
|
1525
|
+
|
|
1526
|
+
Prism.languages.css['atrule'].inside.rest = Prism.languages.css;
|
|
1527
|
+
|
|
1528
|
+
var markup = Prism.languages.markup;
|
|
1529
|
+
if (markup) {
|
|
1530
|
+
markup.tag.addInlined('style', 'css');
|
|
1531
|
+
markup.tag.addAttribute('style', 'css');
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
}(Prism));
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
/* **********************************************
|
|
1538
|
+
Begin prism-clike.js
|
|
1539
|
+
********************************************** */
|
|
1540
|
+
|
|
1541
|
+
Prism.languages.clike = {
|
|
1542
|
+
'comment': [
|
|
1543
|
+
{
|
|
1544
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
1545
|
+
lookbehind: true,
|
|
1546
|
+
greedy: true
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
pattern: /(^|[^\\:])\/\/.*/,
|
|
1550
|
+
lookbehind: true,
|
|
1551
|
+
greedy: true
|
|
1552
|
+
}
|
|
1553
|
+
],
|
|
1554
|
+
'string': {
|
|
1555
|
+
pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
1556
|
+
greedy: true
|
|
1557
|
+
},
|
|
1558
|
+
'class-name': {
|
|
1559
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
|
|
1560
|
+
lookbehind: true,
|
|
1561
|
+
inside: {
|
|
1562
|
+
'punctuation': /[.\\]/
|
|
1563
|
+
}
|
|
1564
|
+
},
|
|
1565
|
+
'keyword': /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
|
|
1566
|
+
'boolean': /\b(?:false|true)\b/,
|
|
1567
|
+
'function': /\b\w+(?=\()/,
|
|
1568
|
+
'number': /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
1569
|
+
'operator': /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
|
|
1570
|
+
'punctuation': /[{}[\];(),.:]/
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
/* **********************************************
|
|
1575
|
+
Begin prism-javascript.js
|
|
1576
|
+
********************************************** */
|
|
1577
|
+
|
|
1578
|
+
Prism.languages.javascript = Prism.languages.extend('clike', {
|
|
1579
|
+
'class-name': [
|
|
1580
|
+
Prism.languages.clike['class-name'],
|
|
1581
|
+
{
|
|
1582
|
+
pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
|
|
1583
|
+
lookbehind: true
|
|
1584
|
+
}
|
|
1585
|
+
],
|
|
1586
|
+
'keyword': [
|
|
1587
|
+
{
|
|
1588
|
+
pattern: /((?:^|\})\s*)catch\b/,
|
|
1589
|
+
lookbehind: true
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
|
|
1593
|
+
lookbehind: true
|
|
1594
|
+
},
|
|
1595
|
+
],
|
|
1596
|
+
// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
|
|
1597
|
+
'function': /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
|
|
1598
|
+
'number': {
|
|
1599
|
+
pattern: RegExp(
|
|
1600
|
+
/(^|[^\w$])/.source +
|
|
1601
|
+
'(?:' +
|
|
1602
|
+
(
|
|
1603
|
+
// constant
|
|
1604
|
+
/NaN|Infinity/.source +
|
|
1605
|
+
'|' +
|
|
1606
|
+
// binary integer
|
|
1607
|
+
/0[bB][01]+(?:_[01]+)*n?/.source +
|
|
1608
|
+
'|' +
|
|
1609
|
+
// octal integer
|
|
1610
|
+
/0[oO][0-7]+(?:_[0-7]+)*n?/.source +
|
|
1611
|
+
'|' +
|
|
1612
|
+
// hexadecimal integer
|
|
1613
|
+
/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source +
|
|
1614
|
+
'|' +
|
|
1615
|
+
// decimal bigint
|
|
1616
|
+
/\d+(?:_\d+)*n/.source +
|
|
1617
|
+
'|' +
|
|
1618
|
+
// decimal number (integer or float) but no bigint
|
|
1619
|
+
/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source
|
|
1620
|
+
) +
|
|
1621
|
+
')' +
|
|
1622
|
+
/(?![\w$])/.source
|
|
1623
|
+
),
|
|
1624
|
+
lookbehind: true
|
|
1625
|
+
},
|
|
1626
|
+
'operator': /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
|
|
1627
|
+
});
|
|
1628
|
+
|
|
1629
|
+
Prism.languages.javascript['class-name'][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;
|
|
1630
|
+
|
|
1631
|
+
Prism.languages.insertBefore('javascript', 'keyword', {
|
|
1632
|
+
'regex': {
|
|
1633
|
+
pattern: RegExp(
|
|
1634
|
+
// lookbehind
|
|
1635
|
+
// eslint-disable-next-line regexp/no-dupe-characters-character-class
|
|
1636
|
+
/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source +
|
|
1637
|
+
// Regex pattern:
|
|
1638
|
+
// There are 2 regex patterns here. The RegExp set notation proposal added support for nested character
|
|
1639
|
+
// classes if the `v` flag is present. Unfortunately, nested CCs are both context-free and incompatible
|
|
1640
|
+
// with the only syntax, so we have to define 2 different regex patterns.
|
|
1641
|
+
/\//.source +
|
|
1642
|
+
'(?:' +
|
|
1643
|
+
/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source +
|
|
1644
|
+
'|' +
|
|
1645
|
+
// `v` flag syntax. This supports 3 levels of nested character classes.
|
|
1646
|
+
/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source +
|
|
1647
|
+
')' +
|
|
1648
|
+
// lookahead
|
|
1649
|
+
/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source
|
|
1650
|
+
),
|
|
1651
|
+
lookbehind: true,
|
|
1652
|
+
greedy: true,
|
|
1653
|
+
inside: {
|
|
1654
|
+
'regex-source': {
|
|
1655
|
+
pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
|
|
1656
|
+
lookbehind: true,
|
|
1657
|
+
alias: 'language-regex',
|
|
1658
|
+
inside: Prism.languages.regex
|
|
1659
|
+
},
|
|
1660
|
+
'regex-delimiter': /^\/|\/$/,
|
|
1661
|
+
'regex-flags': /^[a-z]+$/,
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
// This must be declared before keyword because we use "function" inside the look-forward
|
|
1665
|
+
'function-variable': {
|
|
1666
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
|
|
1667
|
+
alias: 'function'
|
|
1668
|
+
},
|
|
1669
|
+
'parameter': [
|
|
1670
|
+
{
|
|
1671
|
+
pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
|
|
1672
|
+
lookbehind: true,
|
|
1673
|
+
inside: Prism.languages.javascript
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
|
|
1677
|
+
lookbehind: true,
|
|
1678
|
+
inside: Prism.languages.javascript
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
|
|
1682
|
+
lookbehind: true,
|
|
1683
|
+
inside: Prism.languages.javascript
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
|
|
1687
|
+
lookbehind: true,
|
|
1688
|
+
inside: Prism.languages.javascript
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
'constant': /\b[A-Z](?:[A-Z_]|\dx?)*\b/
|
|
1692
|
+
});
|
|
1693
|
+
|
|
1694
|
+
Prism.languages.insertBefore('javascript', 'string', {
|
|
1695
|
+
'hashbang': {
|
|
1696
|
+
pattern: /^#!.*/,
|
|
1697
|
+
greedy: true,
|
|
1698
|
+
alias: 'comment'
|
|
1699
|
+
},
|
|
1700
|
+
'template-string': {
|
|
1701
|
+
pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
|
|
1702
|
+
greedy: true,
|
|
1703
|
+
inside: {
|
|
1704
|
+
'template-punctuation': {
|
|
1705
|
+
pattern: /^`|`$/,
|
|
1706
|
+
alias: 'string'
|
|
1707
|
+
},
|
|
1708
|
+
'interpolation': {
|
|
1709
|
+
pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
|
|
1710
|
+
lookbehind: true,
|
|
1711
|
+
inside: {
|
|
1712
|
+
'interpolation-punctuation': {
|
|
1713
|
+
pattern: /^\$\{|\}$/,
|
|
1714
|
+
alias: 'punctuation'
|
|
1715
|
+
},
|
|
1716
|
+
rest: Prism.languages.javascript
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
'string': /[\s\S]+/
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
'string-property': {
|
|
1723
|
+
pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
|
|
1724
|
+
lookbehind: true,
|
|
1725
|
+
greedy: true,
|
|
1726
|
+
alias: 'property'
|
|
1727
|
+
}
|
|
1728
|
+
});
|
|
1729
|
+
|
|
1730
|
+
Prism.languages.insertBefore('javascript', 'operator', {
|
|
1731
|
+
'literal-property': {
|
|
1732
|
+
pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
|
|
1733
|
+
lookbehind: true,
|
|
1734
|
+
alias: 'property'
|
|
1735
|
+
},
|
|
1736
|
+
});
|
|
1737
|
+
|
|
1738
|
+
if (Prism.languages.markup) {
|
|
1739
|
+
Prism.languages.markup.tag.addInlined('script', 'javascript');
|
|
1740
|
+
|
|
1741
|
+
// add attribute support for all DOM events.
|
|
1742
|
+
// https://developer.mozilla.org/en-US/docs/Web/Events#Standard_events
|
|
1743
|
+
Prism.languages.markup.tag.addAttribute(
|
|
1744
|
+
/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,
|
|
1745
|
+
'javascript'
|
|
1746
|
+
);
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
Prism.languages.js = Prism.languages.javascript;
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
/* **********************************************
|
|
1753
|
+
Begin prism-file-highlight.js
|
|
1754
|
+
********************************************** */
|
|
1755
|
+
|
|
1756
|
+
(function () {
|
|
1757
|
+
|
|
1758
|
+
if (typeof Prism === 'undefined' || typeof document === 'undefined') {
|
|
1759
|
+
return;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill
|
|
1763
|
+
if (!Element.prototype.matches) {
|
|
1764
|
+
Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
var LOADING_MESSAGE = 'Loading…';
|
|
1768
|
+
var FAILURE_MESSAGE = function (status, message) {
|
|
1769
|
+
return '✖ Error ' + status + ' while fetching file: ' + message;
|
|
1770
|
+
};
|
|
1771
|
+
var FAILURE_EMPTY_MESSAGE = '✖ Error: File does not exist or is empty';
|
|
1772
|
+
|
|
1773
|
+
var EXTENSIONS = {
|
|
1774
|
+
'js': 'javascript',
|
|
1775
|
+
'py': 'python',
|
|
1776
|
+
'rb': 'ruby',
|
|
1777
|
+
'ps1': 'powershell',
|
|
1778
|
+
'psm1': 'powershell',
|
|
1779
|
+
'sh': 'bash',
|
|
1780
|
+
'bat': 'batch',
|
|
1781
|
+
'h': 'c',
|
|
1782
|
+
'tex': 'latex'
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
var STATUS_ATTR = 'data-src-status';
|
|
1786
|
+
var STATUS_LOADING = 'loading';
|
|
1787
|
+
var STATUS_LOADED = 'loaded';
|
|
1788
|
+
var STATUS_FAILED = 'failed';
|
|
1789
|
+
|
|
1790
|
+
var SELECTOR = 'pre[data-src]:not([' + STATUS_ATTR + '="' + STATUS_LOADED + '"])'
|
|
1791
|
+
+ ':not([' + STATUS_ATTR + '="' + STATUS_LOADING + '"])';
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Loads the given file.
|
|
1795
|
+
*
|
|
1796
|
+
* @param {string} src The URL or path of the source file to load.
|
|
1797
|
+
* @param {(result: string) => void} success
|
|
1798
|
+
* @param {(reason: string) => void} error
|
|
1799
|
+
*/
|
|
1800
|
+
function loadFile(src, success, error) {
|
|
1801
|
+
var xhr = new XMLHttpRequest();
|
|
1802
|
+
xhr.open('GET', src, true);
|
|
1803
|
+
xhr.onreadystatechange = function () {
|
|
1804
|
+
if (xhr.readyState == 4) {
|
|
1805
|
+
if (xhr.status < 400 && xhr.responseText) {
|
|
1806
|
+
success(xhr.responseText);
|
|
1807
|
+
} else {
|
|
1808
|
+
if (xhr.status >= 400) {
|
|
1809
|
+
error(FAILURE_MESSAGE(xhr.status, xhr.statusText));
|
|
1810
|
+
} else {
|
|
1811
|
+
error(FAILURE_EMPTY_MESSAGE);
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
};
|
|
1816
|
+
xhr.send(null);
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
/**
|
|
1820
|
+
* Parses the given range.
|
|
1821
|
+
*
|
|
1822
|
+
* This returns a range with inclusive ends.
|
|
1823
|
+
*
|
|
1824
|
+
* @param {string | null | undefined} range
|
|
1825
|
+
* @returns {[number, number | undefined] | undefined}
|
|
1826
|
+
*/
|
|
1827
|
+
function parseRange(range) {
|
|
1828
|
+
var m = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(range || '');
|
|
1829
|
+
if (m) {
|
|
1830
|
+
var start = Number(m[1]);
|
|
1831
|
+
var comma = m[2];
|
|
1832
|
+
var end = m[3];
|
|
1833
|
+
|
|
1834
|
+
if (!comma) {
|
|
1835
|
+
return [start, start];
|
|
1836
|
+
}
|
|
1837
|
+
if (!end) {
|
|
1838
|
+
return [start, undefined];
|
|
1839
|
+
}
|
|
1840
|
+
return [start, Number(end)];
|
|
1841
|
+
}
|
|
1842
|
+
return undefined;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
Prism.hooks.add('before-highlightall', function (env) {
|
|
1846
|
+
env.selector += ', ' + SELECTOR;
|
|
1847
|
+
});
|
|
1848
|
+
|
|
1849
|
+
Prism.hooks.add('before-sanity-check', function (env) {
|
|
1850
|
+
var pre = /** @type {HTMLPreElement} */ (env.element);
|
|
1851
|
+
if (pre.matches(SELECTOR)) {
|
|
1852
|
+
env.code = ''; // fast-path the whole thing and go to complete
|
|
1853
|
+
|
|
1854
|
+
pre.setAttribute(STATUS_ATTR, STATUS_LOADING); // mark as loading
|
|
1855
|
+
|
|
1856
|
+
// add code element with loading message
|
|
1857
|
+
var code = pre.appendChild(document.createElement('CODE'));
|
|
1858
|
+
code.textContent = LOADING_MESSAGE;
|
|
1859
|
+
|
|
1860
|
+
var src = pre.getAttribute('data-src');
|
|
1861
|
+
|
|
1862
|
+
var language = env.language;
|
|
1863
|
+
if (language === 'none') {
|
|
1864
|
+
// the language might be 'none' because there is no language set;
|
|
1865
|
+
// in this case, we want to use the extension as the language
|
|
1866
|
+
var extension = (/\.(\w+)$/.exec(src) || [, 'none'])[1];
|
|
1867
|
+
language = EXTENSIONS[extension] || extension;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
// set language classes
|
|
1871
|
+
Prism.util.setLanguage(code, language);
|
|
1872
|
+
Prism.util.setLanguage(pre, language);
|
|
1873
|
+
|
|
1874
|
+
// preload the language
|
|
1875
|
+
var autoloader = Prism.plugins.autoloader;
|
|
1876
|
+
if (autoloader) {
|
|
1877
|
+
autoloader.loadLanguages(language);
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
// load file
|
|
1881
|
+
loadFile(
|
|
1882
|
+
src,
|
|
1883
|
+
function (text) {
|
|
1884
|
+
// mark as loaded
|
|
1885
|
+
pre.setAttribute(STATUS_ATTR, STATUS_LOADED);
|
|
1886
|
+
|
|
1887
|
+
// handle data-range
|
|
1888
|
+
var range = parseRange(pre.getAttribute('data-range'));
|
|
1889
|
+
if (range) {
|
|
1890
|
+
var lines = text.split(/\r\n?|\n/g);
|
|
1891
|
+
|
|
1892
|
+
// the range is one-based and inclusive on both ends
|
|
1893
|
+
var start = range[0];
|
|
1894
|
+
var end = range[1] == null ? lines.length : range[1];
|
|
1895
|
+
|
|
1896
|
+
if (start < 0) { start += lines.length; }
|
|
1897
|
+
start = Math.max(0, Math.min(start - 1, lines.length));
|
|
1898
|
+
if (end < 0) { end += lines.length; }
|
|
1899
|
+
end = Math.max(0, Math.min(end, lines.length));
|
|
1900
|
+
|
|
1901
|
+
text = lines.slice(start, end).join('\n');
|
|
1902
|
+
|
|
1903
|
+
// add data-start for line numbers
|
|
1904
|
+
if (!pre.hasAttribute('data-start')) {
|
|
1905
|
+
pre.setAttribute('data-start', String(start + 1));
|
|
1906
|
+
}
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
// highlight code
|
|
1910
|
+
code.textContent = text;
|
|
1911
|
+
Prism.highlightElement(code);
|
|
1912
|
+
},
|
|
1913
|
+
function (error) {
|
|
1914
|
+
// mark as failed
|
|
1915
|
+
pre.setAttribute(STATUS_ATTR, STATUS_FAILED);
|
|
1916
|
+
|
|
1917
|
+
code.textContent = error;
|
|
1918
|
+
}
|
|
1919
|
+
);
|
|
1920
|
+
}
|
|
1921
|
+
});
|
|
1922
|
+
|
|
1923
|
+
Prism.plugins.fileHighlight = {
|
|
1924
|
+
/**
|
|
1925
|
+
* Executes the File Highlight plugin for all matching `pre` elements under the given container.
|
|
1926
|
+
*
|
|
1927
|
+
* Note: Elements which are already loaded or currently loading will not be touched by this method.
|
|
1928
|
+
*
|
|
1929
|
+
* @param {ParentNode} [container=document]
|
|
1930
|
+
*/
|
|
1931
|
+
highlight: function highlight(container) {
|
|
1932
|
+
var elements = (container || document).querySelectorAll(SELECTOR);
|
|
1933
|
+
|
|
1934
|
+
for (var i = 0, element; (element = elements[i++]);) {
|
|
1935
|
+
Prism.highlightElement(element);
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
var logged = false;
|
|
1941
|
+
/** @deprecated Use `Prism.plugins.fileHighlight.highlight` instead. */
|
|
1942
|
+
Prism.fileHighlight = function () {
|
|
1943
|
+
if (!logged) {
|
|
1944
|
+
console.warn('Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead.');
|
|
1945
|
+
logged = true;
|
|
1946
|
+
}
|
|
1947
|
+
Prism.plugins.fileHighlight.highlight.apply(this, arguments);
|
|
1948
|
+
};
|
|
1949
|
+
|
|
1950
|
+
}());
|
|
1951
|
+
}(prism));
|
|
1952
|
+
|
|
1953
|
+
const Prism$1 = prism.exports;
|
|
1954
|
+
|
|
1955
|
+
(function (Prism) {
|
|
1956
|
+
|
|
1957
|
+
Prism.languages.typescript = Prism.languages.extend('javascript', {
|
|
1958
|
+
'class-name': {
|
|
1959
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
1960
|
+
lookbehind: true,
|
|
1961
|
+
greedy: true,
|
|
1962
|
+
inside: null // see below
|
|
1963
|
+
},
|
|
1964
|
+
'builtin': /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/,
|
|
1965
|
+
});
|
|
1966
|
+
|
|
1967
|
+
// The keywords TypeScript adds to JavaScript
|
|
1968
|
+
Prism.languages.typescript.keyword.push(
|
|
1969
|
+
/\b(?:abstract|declare|is|keyof|readonly|require)\b/,
|
|
1970
|
+
// keywords that have to be followed by an identifier
|
|
1971
|
+
/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,
|
|
1972
|
+
// This is for `import type *, {}`
|
|
1973
|
+
/\btype\b(?=\s*(?:[\{*]|$))/
|
|
1974
|
+
);
|
|
1975
|
+
|
|
1976
|
+
// doesn't work with TS because TS is too complex
|
|
1977
|
+
delete Prism.languages.typescript['parameter'];
|
|
1978
|
+
delete Prism.languages.typescript['literal-property'];
|
|
1979
|
+
|
|
1980
|
+
// a version of typescript specifically for highlighting types
|
|
1981
|
+
var typeInside = Prism.languages.extend('typescript', {});
|
|
1982
|
+
delete typeInside['class-name'];
|
|
1983
|
+
|
|
1984
|
+
Prism.languages.typescript['class-name'].inside = typeInside;
|
|
1985
|
+
|
|
1986
|
+
Prism.languages.insertBefore('typescript', 'function', {
|
|
1987
|
+
'decorator': {
|
|
1988
|
+
pattern: /@[$\w\xA0-\uFFFF]+/,
|
|
1989
|
+
inside: {
|
|
1990
|
+
'at': {
|
|
1991
|
+
pattern: /^@/,
|
|
1992
|
+
alias: 'operator'
|
|
1993
|
+
},
|
|
1994
|
+
'function': /^[\s\S]+/
|
|
1995
|
+
}
|
|
1996
|
+
},
|
|
1997
|
+
'generic-function': {
|
|
1998
|
+
// e.g. foo<T extends "bar" | "baz">( ...
|
|
1999
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
2000
|
+
greedy: true,
|
|
2001
|
+
inside: {
|
|
2002
|
+
'function': /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
2003
|
+
'generic': {
|
|
2004
|
+
pattern: /<[\s\S]+/, // everything after the first <
|
|
2005
|
+
alias: 'class-name',
|
|
2006
|
+
inside: typeInside
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
});
|
|
2011
|
+
|
|
2012
|
+
Prism.languages.ts = Prism.languages.typescript;
|
|
2013
|
+
|
|
2014
|
+
}(Prism));
|
|
2015
|
+
|
|
2016
|
+
(function (Prism) {
|
|
2017
|
+
// $ set | grep '^[A-Z][^[:space:]]*=' | cut -d= -f1 | tr '\n' '|'
|
|
2018
|
+
// + LC_ALL, RANDOM, REPLY, SECONDS.
|
|
2019
|
+
// + make sure PS1..4 are here as they are not always set,
|
|
2020
|
+
// - some useless things.
|
|
2021
|
+
var envVars = '\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b';
|
|
2022
|
+
|
|
2023
|
+
var commandAfterHeredoc = {
|
|
2024
|
+
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
2025
|
+
lookbehind: true,
|
|
2026
|
+
alias: 'punctuation', // this looks reasonably well in all themes
|
|
2027
|
+
inside: null // see below
|
|
2028
|
+
};
|
|
2029
|
+
|
|
2030
|
+
var insideString = {
|
|
2031
|
+
'bash': commandAfterHeredoc,
|
|
2032
|
+
'environment': {
|
|
2033
|
+
pattern: RegExp('\\$' + envVars),
|
|
2034
|
+
alias: 'constant'
|
|
2035
|
+
},
|
|
2036
|
+
'variable': [
|
|
2037
|
+
// [0]: Arithmetic Environment
|
|
2038
|
+
{
|
|
2039
|
+
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
2040
|
+
greedy: true,
|
|
2041
|
+
inside: {
|
|
2042
|
+
// If there is a $ sign at the beginning highlight $(( and )) as variable
|
|
2043
|
+
'variable': [
|
|
2044
|
+
{
|
|
2045
|
+
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
2046
|
+
lookbehind: true
|
|
2047
|
+
},
|
|
2048
|
+
/^\$\(\(/
|
|
2049
|
+
],
|
|
2050
|
+
'number': /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
2051
|
+
// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
|
|
2052
|
+
'operator': /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
2053
|
+
// If there is no $ sign at the beginning highlight (( and )) as punctuation
|
|
2054
|
+
'punctuation': /\(\(?|\)\)?|,|;/
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
// [1]: Command Substitution
|
|
2058
|
+
{
|
|
2059
|
+
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
2060
|
+
greedy: true,
|
|
2061
|
+
inside: {
|
|
2062
|
+
'variable': /^\$\(|^`|\)$|`$/
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
// [2]: Brace expansion
|
|
2066
|
+
{
|
|
2067
|
+
pattern: /\$\{[^}]+\}/,
|
|
2068
|
+
greedy: true,
|
|
2069
|
+
inside: {
|
|
2070
|
+
'operator': /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
2071
|
+
'punctuation': /[\[\]]/,
|
|
2072
|
+
'environment': {
|
|
2073
|
+
pattern: RegExp('(\\{)' + envVars),
|
|
2074
|
+
lookbehind: true,
|
|
2075
|
+
alias: 'constant'
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
},
|
|
2079
|
+
/\$(?:\w+|[#?*!@$])/
|
|
2080
|
+
],
|
|
2081
|
+
// Escape sequences from echo and printf's manuals, and escaped quotes.
|
|
2082
|
+
'entity': /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
|
|
2083
|
+
};
|
|
2084
|
+
|
|
2085
|
+
Prism.languages.bash = {
|
|
2086
|
+
'shebang': {
|
|
2087
|
+
pattern: /^#!\s*\/.*/,
|
|
2088
|
+
alias: 'important'
|
|
2089
|
+
},
|
|
2090
|
+
'comment': {
|
|
2091
|
+
pattern: /(^|[^"{\\$])#.*/,
|
|
2092
|
+
lookbehind: true
|
|
2093
|
+
},
|
|
2094
|
+
'function-name': [
|
|
2095
|
+
// a) function foo {
|
|
2096
|
+
// b) foo() {
|
|
2097
|
+
// c) function foo() {
|
|
2098
|
+
// but not “foo {”
|
|
2099
|
+
{
|
|
2100
|
+
// a) and c)
|
|
2101
|
+
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
2102
|
+
lookbehind: true,
|
|
2103
|
+
alias: 'function'
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
// b)
|
|
2107
|
+
pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
|
|
2108
|
+
alias: 'function'
|
|
2109
|
+
}
|
|
2110
|
+
],
|
|
2111
|
+
// Highlight variable names as variables in for and select beginnings.
|
|
2112
|
+
'for-or-select': {
|
|
2113
|
+
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
2114
|
+
alias: 'variable',
|
|
2115
|
+
lookbehind: true
|
|
2116
|
+
},
|
|
2117
|
+
// Highlight variable names as variables in the left-hand part
|
|
2118
|
+
// of assignments (“=” and “+=”).
|
|
2119
|
+
'assign-left': {
|
|
2120
|
+
pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
|
|
2121
|
+
inside: {
|
|
2122
|
+
'environment': {
|
|
2123
|
+
pattern: RegExp('(^|[\\s;|&]|[<>]\\()' + envVars),
|
|
2124
|
+
lookbehind: true,
|
|
2125
|
+
alias: 'constant'
|
|
2126
|
+
}
|
|
2127
|
+
},
|
|
2128
|
+
alias: 'variable',
|
|
2129
|
+
lookbehind: true
|
|
2130
|
+
},
|
|
2131
|
+
// Highlight parameter names as variables
|
|
2132
|
+
'parameter': {
|
|
2133
|
+
pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
|
|
2134
|
+
alias: 'variable',
|
|
2135
|
+
lookbehind: true
|
|
2136
|
+
},
|
|
2137
|
+
'string': [
|
|
2138
|
+
// Support for Here-documents https://en.wikipedia.org/wiki/Here_document
|
|
2139
|
+
{
|
|
2140
|
+
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
2141
|
+
lookbehind: true,
|
|
2142
|
+
greedy: true,
|
|
2143
|
+
inside: insideString
|
|
2144
|
+
},
|
|
2145
|
+
// Here-document with quotes around the tag
|
|
2146
|
+
// → No expansion (so no “inside”).
|
|
2147
|
+
{
|
|
2148
|
+
pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
2149
|
+
lookbehind: true,
|
|
2150
|
+
greedy: true,
|
|
2151
|
+
inside: {
|
|
2152
|
+
'bash': commandAfterHeredoc
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
// “Normal” string
|
|
2156
|
+
{
|
|
2157
|
+
// https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html
|
|
2158
|
+
pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
2159
|
+
lookbehind: true,
|
|
2160
|
+
greedy: true,
|
|
2161
|
+
inside: insideString
|
|
2162
|
+
},
|
|
2163
|
+
{
|
|
2164
|
+
// https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
|
|
2165
|
+
pattern: /(^|[^$\\])'[^']*'/,
|
|
2166
|
+
lookbehind: true,
|
|
2167
|
+
greedy: true
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
// https://www.gnu.org/software/bash/manual/html_node/ANSI_002dC-Quoting.html
|
|
2171
|
+
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
2172
|
+
greedy: true,
|
|
2173
|
+
inside: {
|
|
2174
|
+
'entity': insideString.entity
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
],
|
|
2178
|
+
'environment': {
|
|
2179
|
+
pattern: RegExp('\\$?' + envVars),
|
|
2180
|
+
alias: 'constant'
|
|
2181
|
+
},
|
|
2182
|
+
'variable': insideString.variable,
|
|
2183
|
+
'function': {
|
|
2184
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
2185
|
+
lookbehind: true
|
|
2186
|
+
},
|
|
2187
|
+
'keyword': {
|
|
2188
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
2189
|
+
lookbehind: true
|
|
2190
|
+
},
|
|
2191
|
+
// https://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
|
|
2192
|
+
'builtin': {
|
|
2193
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
|
|
2194
|
+
lookbehind: true,
|
|
2195
|
+
// Alias added to make those easier to distinguish from strings.
|
|
2196
|
+
alias: 'class-name'
|
|
2197
|
+
},
|
|
2198
|
+
'boolean': {
|
|
2199
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
2200
|
+
lookbehind: true
|
|
2201
|
+
},
|
|
2202
|
+
'file-descriptor': {
|
|
2203
|
+
pattern: /\B&\d\b/,
|
|
2204
|
+
alias: 'important'
|
|
2205
|
+
},
|
|
2206
|
+
'operator': {
|
|
2207
|
+
// Lots of redirections here, but not just that.
|
|
2208
|
+
pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
2209
|
+
inside: {
|
|
2210
|
+
'file-descriptor': {
|
|
2211
|
+
pattern: /^\d/,
|
|
2212
|
+
alias: 'important'
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
'punctuation': /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
2217
|
+
'number': {
|
|
2218
|
+
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
2219
|
+
lookbehind: true
|
|
2220
|
+
}
|
|
2221
|
+
};
|
|
2222
|
+
|
|
2223
|
+
commandAfterHeredoc.inside = Prism.languages.bash;
|
|
2224
|
+
|
|
2225
|
+
/* Patterns in command substitution. */
|
|
2226
|
+
var toBeCopied = [
|
|
2227
|
+
'comment',
|
|
2228
|
+
'function-name',
|
|
2229
|
+
'for-or-select',
|
|
2230
|
+
'assign-left',
|
|
2231
|
+
'parameter',
|
|
2232
|
+
'string',
|
|
2233
|
+
'environment',
|
|
2234
|
+
'function',
|
|
2235
|
+
'keyword',
|
|
2236
|
+
'builtin',
|
|
2237
|
+
'boolean',
|
|
2238
|
+
'file-descriptor',
|
|
2239
|
+
'operator',
|
|
2240
|
+
'punctuation',
|
|
2241
|
+
'number'
|
|
2242
|
+
];
|
|
2243
|
+
var inside = insideString.variable[1].inside;
|
|
2244
|
+
for (var i = 0; i < toBeCopied.length; i++) {
|
|
2245
|
+
inside[toBeCopied[i]] = Prism.languages.bash[toBeCopied[i]];
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
Prism.languages.sh = Prism.languages.bash;
|
|
2249
|
+
Prism.languages.shell = Prism.languages.bash;
|
|
2250
|
+
}(Prism));
|
|
2251
|
+
|
|
2252
|
+
Prism.languages.scss = Prism.languages.extend('css', {
|
|
2253
|
+
'comment': {
|
|
2254
|
+
pattern: /(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,
|
|
2255
|
+
lookbehind: true
|
|
2256
|
+
},
|
|
2257
|
+
'atrule': {
|
|
2258
|
+
pattern: /@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,
|
|
2259
|
+
inside: {
|
|
2260
|
+
'rule': /@[\w-]+/
|
|
2261
|
+
// See rest below
|
|
2262
|
+
}
|
|
2263
|
+
},
|
|
2264
|
+
// url, compassified
|
|
2265
|
+
'url': /(?:[-a-z]+-)?url(?=\()/i,
|
|
2266
|
+
// CSS selector regex is not appropriate for Sass
|
|
2267
|
+
// since there can be lot more things (var, @ directive, nesting..)
|
|
2268
|
+
// a selector must start at the end of a property or after a brace (end of other rules or nesting)
|
|
2269
|
+
// it can contain some characters that aren't used for defining rules or end of selector, & (parent selector), or interpolated variable
|
|
2270
|
+
// the end of a selector is found when there is no rules in it ( {} or {\s}) or if there is a property (because an interpolated var
|
|
2271
|
+
// can "pass" as a selector- e.g: proper#{$erty})
|
|
2272
|
+
// this one was hard to do, so please be careful if you edit this one :)
|
|
2273
|
+
'selector': {
|
|
2274
|
+
// Initial look-ahead is used to prevent matching of blank selectors
|
|
2275
|
+
pattern: /(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,
|
|
2276
|
+
inside: {
|
|
2277
|
+
'parent': {
|
|
2278
|
+
pattern: /&/,
|
|
2279
|
+
alias: 'important'
|
|
2280
|
+
},
|
|
2281
|
+
'placeholder': /%[-\w]+/,
|
|
2282
|
+
'variable': /\$[-\w]+|#\{\$[-\w]+\}/
|
|
2283
|
+
}
|
|
2284
|
+
},
|
|
2285
|
+
'property': {
|
|
2286
|
+
pattern: /(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,
|
|
2287
|
+
inside: {
|
|
2288
|
+
'variable': /\$[-\w]+|#\{\$[-\w]+\}/
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
});
|
|
2292
|
+
|
|
2293
|
+
Prism.languages.insertBefore('scss', 'atrule', {
|
|
2294
|
+
'keyword': [
|
|
2295
|
+
/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,
|
|
2296
|
+
{
|
|
2297
|
+
pattern: /( )(?:from|through)(?= )/,
|
|
2298
|
+
lookbehind: true
|
|
2299
|
+
}
|
|
2300
|
+
]
|
|
2301
|
+
});
|
|
2302
|
+
|
|
2303
|
+
Prism.languages.insertBefore('scss', 'important', {
|
|
2304
|
+
// var and interpolated vars
|
|
2305
|
+
'variable': /\$[-\w]+|#\{\$[-\w]+\}/
|
|
2306
|
+
});
|
|
2307
|
+
|
|
2308
|
+
Prism.languages.insertBefore('scss', 'function', {
|
|
2309
|
+
'module-modifier': {
|
|
2310
|
+
pattern: /\b(?:as|hide|show|with)\b/i,
|
|
2311
|
+
alias: 'keyword'
|
|
2312
|
+
},
|
|
2313
|
+
'placeholder': {
|
|
2314
|
+
pattern: /%[-\w]+/,
|
|
2315
|
+
alias: 'selector'
|
|
2316
|
+
},
|
|
2317
|
+
'statement': {
|
|
2318
|
+
pattern: /\B!(?:default|optional)\b/i,
|
|
2319
|
+
alias: 'keyword'
|
|
2320
|
+
},
|
|
2321
|
+
'boolean': /\b(?:false|true)\b/,
|
|
2322
|
+
'null': {
|
|
2323
|
+
pattern: /\bnull\b/,
|
|
2324
|
+
alias: 'keyword'
|
|
2325
|
+
},
|
|
2326
|
+
'operator': {
|
|
2327
|
+
pattern: /(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,
|
|
2328
|
+
lookbehind: true
|
|
2329
|
+
}
|
|
2330
|
+
});
|
|
2331
|
+
|
|
2332
|
+
Prism.languages.scss['atrule'].inside.rest = Prism.languages.scss;
|
|
2333
|
+
|
|
2334
|
+
// https://www.json.org/json-en.html
|
|
2335
|
+
Prism.languages.json = {
|
|
2336
|
+
'property': {
|
|
2337
|
+
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
2338
|
+
lookbehind: true,
|
|
2339
|
+
greedy: true
|
|
2340
|
+
},
|
|
2341
|
+
'string': {
|
|
2342
|
+
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
|
|
2343
|
+
lookbehind: true,
|
|
2344
|
+
greedy: true
|
|
2345
|
+
},
|
|
2346
|
+
'comment': {
|
|
2347
|
+
pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
2348
|
+
greedy: true
|
|
2349
|
+
},
|
|
2350
|
+
'number': /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
2351
|
+
'punctuation': /[{}[\],]/,
|
|
2352
|
+
'operator': /:/,
|
|
2353
|
+
'boolean': /\b(?:false|true)\b/,
|
|
2354
|
+
'null': {
|
|
2355
|
+
pattern: /\bnull\b/,
|
|
2356
|
+
alias: 'keyword'
|
|
2357
|
+
}
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
Prism.languages.webmanifest = Prism.languages.json;
|
|
2361
|
+
|
|
2362
|
+
Prism.languages.git = {
|
|
2363
|
+
/*
|
|
2364
|
+
* A simple one line comment like in a git status command
|
|
2365
|
+
* For instance:
|
|
2366
|
+
* $ git status
|
|
2367
|
+
* # On branch infinite-scroll
|
|
2368
|
+
* # Your branch and 'origin/sharedBranches/frontendTeam/infinite-scroll' have diverged,
|
|
2369
|
+
* # and have 1 and 2 different commits each, respectively.
|
|
2370
|
+
* nothing to commit (working directory clean)
|
|
2371
|
+
*/
|
|
2372
|
+
'comment': /^#.*/m,
|
|
2373
|
+
|
|
2374
|
+
/*
|
|
2375
|
+
* Regexp to match the changed lines in a git diff output. Check the example below.
|
|
2376
|
+
*/
|
|
2377
|
+
'deleted': /^[-–].*/m,
|
|
2378
|
+
'inserted': /^\+.*/m,
|
|
2379
|
+
|
|
2380
|
+
/*
|
|
2381
|
+
* a string (double and simple quote)
|
|
2382
|
+
*/
|
|
2383
|
+
'string': /("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,
|
|
2384
|
+
|
|
2385
|
+
/*
|
|
2386
|
+
* a git command. It starts with a random prompt finishing by a $, then "git" then some other parameters
|
|
2387
|
+
* For instance:
|
|
2388
|
+
* $ git add file.txt
|
|
2389
|
+
*/
|
|
2390
|
+
'command': {
|
|
2391
|
+
pattern: /^.*\$ git .*$/m,
|
|
2392
|
+
inside: {
|
|
2393
|
+
/*
|
|
2394
|
+
* A git command can contain a parameter starting by a single or a double dash followed by a string
|
|
2395
|
+
* For instance:
|
|
2396
|
+
* $ git diff --cached
|
|
2397
|
+
* $ git log -p
|
|
2398
|
+
*/
|
|
2399
|
+
'parameter': /\s--?\w+/
|
|
2400
|
+
}
|
|
2401
|
+
},
|
|
2402
|
+
|
|
2403
|
+
/*
|
|
2404
|
+
* Coordinates displayed in a git diff command
|
|
2405
|
+
* For instance:
|
|
2406
|
+
* $ git diff
|
|
2407
|
+
* diff --git file.txt file.txt
|
|
2408
|
+
* index 6214953..1d54a52 100644
|
|
2409
|
+
* --- file.txt
|
|
2410
|
+
* +++ file.txt
|
|
2411
|
+
* @@ -1 +1,2 @@
|
|
2412
|
+
* -Here's my tetx file
|
|
2413
|
+
* +Here's my text file
|
|
2414
|
+
* +And this is the second line
|
|
2415
|
+
*/
|
|
2416
|
+
'coord': /^@@.*@@$/m,
|
|
2417
|
+
|
|
2418
|
+
/*
|
|
2419
|
+
* Match a "commit [SHA1]" line in a git log output.
|
|
2420
|
+
* For instance:
|
|
2421
|
+
* $ git log
|
|
2422
|
+
* commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09
|
|
2423
|
+
* Author: lgiraudel
|
|
2424
|
+
* Date: Mon Feb 17 11:18:34 2014 +0100
|
|
2425
|
+
*
|
|
2426
|
+
* Add of a new line
|
|
2427
|
+
*/
|
|
2428
|
+
'commit-sha1': /^commit \w{40}$/m
|
|
2429
|
+
};
|
|
2430
|
+
|
|
2431
|
+
export { Prism$1 as P };
|