UNPKG

altinn-designsystem

Version:

Altinn Design system based on Pattern Lab.

682 lines 16.7 kB
{ "icon-prefix": "ai", "icon-class": "ai-deadline", "icon-size": "", "icon-extra-class": "", "icon-text": "", "icon-id": false, "sr-only": false, "aria-hidden": false, "stacked-background": false, "icon-post-text": false, "icon-title": false, "icon-sr-only-text": false, "themeCss": "../../css/style.prototype.altinn.css", "themeJs": "./../../js/altinnPrototyping.js", "themeJsVendor": "../../js/altinnPrototyping.vendor.js", "dropdown-link-class": "a-borderBottom", "dropdown-top-item": { "dropdown-top-item-content": "Lagrede søk", "overflow-extraclass": "pt-1 pb-1" }, "dropdown-item": [ { "dropdown-icon": { "icon-prefix": "ai", "icon-class": "ai-letter-r", "icon-size": "", "icon-extra-class": "a-blue" }, "dropdown-item-content": "Lagre søk", "dropdown-item-content-class": "a-fontBold" }, { "dropdown-icon": { "icon-prefix": "ai", "icon-class": "ai-letter-r", "icon-size": "", "icon-extra-class": "a-blue" }, "dropdown-item-content": "Annet lagret søk", "dropdown-item-content-class": "a-fontBold" }, { "dropdown-icon": { "icon-prefix": "ai", "icon-class": "ai-settings", "icon-size": "", "icon-extra-class": "a-blue" }, "dropdown-item-content": "tilpass", "dropdown-item-content-class": "a-fontBold" } ], "label-class": "badge-primary", "label-id": false, "label-content": "9", "button-text": "En standard knapp", "button-class": "a-btn", "button-colorClass": "", "link-url": "/patterns/04-sider-infoportal-01-forside-00-forside/04-sider-infoportal-01-forside-00-forside.html", "button-shadow-label": false, "button-icon": false, "info-delete-add": { "added-content": [ { "title": "Tittel på elementet", "delete-btn": { "button-text": "Slett", "button-class": "a-btn a-btn-icon", "button-colorClass": "", "link-url": "", "button-shadow-label": false, "button-icon": { "icon-prefix": "ai", "icon-class": "ai-circle-exit", "icon-extra-class": "a-danger ai-left" } }, "description": "Dette er en beskrivelse av elementet som er blitt lagt til" } ], "add-btn": { "button-text": "Legg til", "button-class": "a-btn a-btn-icon a-btn-add a-add-certificate", "button-colorClass": "", "link-url": "", "button-shadow-label": false, "button-icon": { "icon-prefix": "ai", "icon-class": "ai-circle-plus", "icon-extra-class": "a-blueText" } } }, "button-disabled": false, "button-type": "button", "onclick": false, "display-as-link": false, "ferdigsegment-done": { "button-text": "Ferdig", "button-class": "a-btn a-btn-success a-js-confirmAddRightBtn", "button-id": "confirm-deletion", "data-toggle": "collapse", "data-target": "#eksempelID2", "aria-expanded": false }, "ferdigsegment-cancel": { "button-text": "Avbryt", "button-class": "a-btn-link", "display-as-link": true, "button-id": "cancel-deletion", "margin-right-multiplier": 3, "data-toggle": "collapse", "data-target": "#eksempelID2", "aria-expanded": false }, "print-form-tag": false, "text-input-id": "text-input-generic", "isHidden": false, "top-label": "Label: ", "isDisabled": false, "isInactive": false, "text-input-placeholder": "f.eks placeholder", "input-type": "text", "isRequired": false, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "input-field", "form-control-class": "", "checkbuttons": [ { "checkbuttons-title": " Kun lese", "checkbuttons-id": "checkbutton-read", "checkbuttons-class": "", "hasIcon": { "icon-prefix": "ai", "icon-class": "ai-read" } }, { "checkbuttons-title": " Fylle ut", "checkbuttons-id": "checkbutton-edit", "checkbuttons-class": "", "hasIcon": { "icon-prefix": "ai", "icon-class": "ai-write" } }, { "checkbuttons-title": " Signere", "checkbuttons-id": "checkbutton-sign", "checkbuttons-class": "", "role": "button", "hasIcon": { "icon-prefix": "ai", "icon-class": "ai-sign" }, "stacked-background": false, "enable-popover": true, "popover-placement": "bottom", "popover-content-id": "conditionalPopover", "popover-class": "popover-warning", "popover-text": "Dette er en popover tekst", "data-trigger": "onchange", "popover-buttons": [ { "button-text": "knapp", "button-class": "a-btn a-btn-danger" } ] }, { "checkbuttons-title": " Toggle state icon", "checkbuttons-id": "checkbutton-toggle", "checkbuttons-class": "a-toggle-icon", "hasIcon": { "icon-prefix": "ai", "icon-class": "ai-plus" }, "checkbuttons-toggle-icon": { "checkbuttons-class": "a-toggle-icon", "icon-prefix": "ai", "icon-class": "ai-check" } }, { "checkbuttons-title": "Eksempel uten ikon", "checkbuttons-id": "checkbutton-example", "checkbuttons-class": "", "hasIcon": false }, { "checkbuttons-title": "Eksempel på deaktivert", "checkbuttons-id": "checkbutton-deactivated", "checkbuttons-class": "disabled", "isDisabled": true, "hasIcon": { "icon-prefix": "ai", "icon-class": "ai-sign" } }, { "checkbuttons-title": "Eksempel med veldig veldig veldig lang tekst som blir kuttet av på mobilvisning", "checkbuttons-id": "checkbutton-longtext", "checkbuttons-class": "", "hasIcon": false } ], "sortable-action-text": "Velg roller den ansatte skal ha:", "sortable-action-link": { "button-text": "Fjern alle", "button-textClass": "a-btn-black-noUnderline a-fontBold", "button-class": "a-btn-link", "button-colorClass": "", "link-url": "", "aria-label": "Fjern alle roller", "button-shadow-label": false, "button-icon": { "icon-prefix": "ai", "icon-class": "ai-circle-exit ai-nw", "icon-extra-class": "a-danger" } }, "sortable-action-items": { "checkbuttons": [ { "checkbuttons-id": "filterID14", "checkbuttons-title": "Begrenset signeringsrett" }, { "checkbuttons-id": "filterID15", "checkbuttons-title": "Lønn og personalmedarbeider" }, { "checkbuttons-id": "filterID16", "checkbuttons-title": "Primærnæring og næringsmidler" }, { "checkbuttons-id": "filterID17", "checkbuttons-title": "Regnskapsfører med signeringsrett" }, { "checkbuttons-id": "filterID18", "checkbuttons-title": "Regnskapsfører lønn" }, { "checkbuttons-id": "filterID19", "checkbuttons-title": "Basisrolle" }, { "checkbuttons-id": "filterID20", "checkbuttons-title": "Regnskapsfører uten signeringsrett" }, { "checkbuttons-id": "filterID21", "checkbuttons-title": "Revisorattester - MVA kompensasjon" }, { "checkbuttons-id": "filterID22", "checkbuttons-title": "Utfyller/Innsender" }, { "checkbuttons-id": "filterID23", "checkbuttons-title": "Ansvarlig revisor" }, { "checkbuttons-id": "filterID24", "checkbuttons-title": "Revisormedarbeider" }, { "checkbuttons-id": "filterID25", "checkbuttons-title": "Revisorrettighet" }, { "checkbuttons-id": "filterID26", "checkbuttons-title": "Regnskapsmedarbeider" } ] }, "column-info-delete-edit": false, "column-switches-with-text": false, "column-info-delete-add": false, "link-text": "En lenke ser slik ut", "sr-text": false, "header-text": "Forklarende tittel", "intro-text": "Beskrivelse av innholdet i listen:", "rows": [ { "additional-classes": "a-dotted", "columns": [ { "additional-classes": "col", "column-items": [ { "column-text": { "text": "Første rad" } } ] } ] }, { "additional-classes": "a-dotted", "columns": [ { "additional-classes": "col", "column-items": [ { "column-text": { "text": "Andre rad" } } ] } ] } ], "popover-aria-label": "valid", "open-popover-class": "a-helpIconButton a-helpIconButton--blue a-js-togglePopoverIcons", "popover-data-target": "myPopup", "popover-title": false, "popover-content": false, "popover-class": "", "popover-link-text": "", "popover-various-content": { "alert-items": [ { "alert-text": { "text": "Dette er en tekst " } }, { "alert-link": { "link-text": "med en lenke som står i løpende tekst", "link-url": "http://www.altinn.no" } }, { "alert-text": { "text": "og man kan ha mer tekst etter." } } ] }, "popover-link-icon": [ { "icon-prefix": "ai", "icon-class": "ai-circle-plus", "icon-extra-class": "a-js-popoverIconInitial" }, { "icon-prefix": "ai", "icon-class": "ai-circle-minus", "icon-extra-class": "a-js-popoverIconExpanded" } ], "popover-content-id": "popoverWithIconToggle", "altText": { "altText": "Vis mer info" }, "linkIcon-url": "#", "linkIcon-text": "En lenke", "column-items": [ { "column-text": false, "column-icon": false, "column-link": false, "column-button": false, "column-popover": false } ], "dropdown-name": "KARI NORDMANNS FORETAK", "dropdown-number": "995 644 944", "dropdown-number-prefix": "org. nr.", "isTransparent": true, "show-label": true, "label-text": "For:", "dropdown-items": [ { "icon-prefix": "ai", "icon-class": "ai-private", "icon-extra-class": "d-none d-lg-inline", "dropdown-item-name": "KARI NORDMANN", "dropdown-item-number": "", "value": 1 }, { "icon-prefix": "ai", "icon-class": "ai-private", "icon-extra-class": "d-none d-lg-inline", "dropdown-item-name": "OLA NORDMANN", "dropdown-item-number": "", "value": 2 }, { "icon-prefix": "ai", "icon-class": "ai-client", "icon-extra-class": "d-none d-lg-inline", "dropdown-item-name": "OLA NORDMANNS FORETAK", "dropdown-item-number-prefix": "org. nr.", "dropdown-item-number": "995 644 944", "value": 3 }, { "icon-prefix": "ai", "icon-class": "ai-client", "icon-extra-class": "d-none d-lg-inline", "dropdown-item-name": "OLA NORDMANNS ANDRE FORETAK", "dropdown-item-number-prefix": "org. nr.", "dropdown-item-number": "995 644 944", "value": 4 } ], "alert-id": "alert", "alert-class": "a-message-info", "alert-items": { "alert-text": { "text": "Dette er en driftsmelding eller endringsinformasjon" } }, "computersystem-heading": "Datasystemer", "computersystem-text": "Legg inn et passord her, og bruk det sammen med id-en du får oppgitt i ditt system for å sende inn til Altinn.", "computersystem-edit-message": { "alert-class": "a-message-edit a-message--arrow-off a-message--fullwidth", "alert-items": [ { "alert-text": { "text": "Endre registrert datasystem" } } ] }, "computersystem-add-button": { "button-text": "Legg til", "button-class": "a-btn a-btn-success" }, "computersystem-name": { "text-input-id": "text-input-computersystem-name", "isHidden": true, "top-label": "navn på datasystem ", "isDisabled": false, "isInactive": false, "text-input-placeholder": "Hva vil du kalle systemet?", "input-type": "text", "isRequired": false, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "input-field" }, "computersystem-list-heading": "Datasysten", "computersystem-list": { "dropdown-name": "Hvilket system bruker du?", "dropdown-number": "", "dropdown-number-prefix": "", "icon-prefix": "ai", "icon-class": "ai-server", "isTransparent": true, "show-label": false, "label-text": "", "dropdown-items": [ { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Agro Økonimi", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Aksjeservice", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Akvadok", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "AR6 Økonomi", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "ASPECT4 HRM", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Aureus AltUt", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Autodata", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Avendo Skatt", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "BAS", "dropdown-item-number-prefix": "", "dropdown-item-number": "" }, { "icon-prefix": "ai", "icon-class": "ai-server", "dropdown-item-name": "Bluegarden Paga", "dropdown-item-number-prefix": "", "dropdown-item-number": "" } ] }, "computersystem-name-message": { "alert-id": "alert-systemname", "alert-class": "a-message-info a-message--fullwidth", "alert-items": [ { "alert-text": { "text": "<b>Obs!</b> Gi systemet et navn slik at du kjenner det igjen. Du kan kalle det hva du vil, men husk at alle som har tilgang til denne profilen kan se det." } } ] }, "computersystem-password": { "text-input-id": "text-input-computersystem-name", "isHidden": true, "top-label": "passord", "text-input-placeholder": "Lag et passord", "input-type": "password", "isRequired": false, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "input-field" }, "computersystem-repeat-password": { "text-input-id": "text-input-computersystem-name", "isHidden": true, "top-label": "Bekreft passord", "text-input-placeholder": "Bekreft passord", "input-type": "password", "isRequired": false, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "input-field" }, "computersystem-added-list": { "rows": [ { "additional-classes": "a-dotted a-selectable", "id": "firstRow", "onclick": false, "columns": [ { "additional-classes": "col-3", "onclick": false, "column-items": [ { "column-text": { "classes": "a-fontBold", "text": "ID" } } ] }, { "additional-classes": "col", "onclick": false, "column-items": [ { "column-text": { "classes": "a-fontBold", "text": "Beskrivelse" } } ] }, { "additional-classes": "col-auto", "onclick": false, "column-items": [ { "column-text": { "classes": "a-fontBold", "text": "Handlinger" } } ] } ] }, { "additional-classes": "a-dotted a-selectable", "id": "firstRow", "onclick": false, "columns": [ { "additional-classes": "col-3", "onclick": false, "column-items": [ { "column-text": { "text": "1581" } } ] }, { "additional-classes": "col", "onclick": false, "column-items": [ { "column-text": { "text": "DatasystemEn" } } ] }, { "additional-classes": "col-auto", "onclick": false, "column-items": [ { "column-icon-link": { "linkIcon-url": "#", "linkIcon-text": "Rediger", "icon-prefix": "ai ai-sm", "icon-class": "ai-edit", "link-icon-class": "a-btn-blue-noUnderline pr-0", "text-class": "d-none d-lg-inline a-fontSizeXS pr-1" } }, { "column-icon-link": { "linkIcon-url": "#", "linkIcon-text": "Slett", "text-class": "sr-only", "icon-prefix": "ai", "icon-class": "ai-circle-exit ai-nw ai-sm ml-0 mr-0 a-danger", "link-icon-class": "pr-0" } } ] } ] } ] }, "computersystem-ID-message": { "alert-id": "alert-system-number", "alert-class": "a-message-info a-message--fullwidth", "alert-items": [ { "alert-text": { "text": "Legg til ID nummeret til systemet ditt" } } ] } }