UNPKG

altinn-designsystem

Version:

Altinn Design system based on Pattern Lab.

189 lines 7.01 kB
{ "overview-enterprise-certificate": { "additional-class": "a-js-certificateUpload", "enterprise-certificate-heading": "Lorem ipsumzzz", "upload-certificate": true, "users": { "users-heading": "Dolores sit", "additional-classes": "a-list-borderTop", "rows": [ { "additional-classes": "a-dotted a-selectable", "onclick": false, "columns": [ { "additional-classes": "col-auto pr-2 pb-1 pb-md-0", "onclick": false, "searchable": false, "column-items": [ { "column-text": { "classes": "", "text": "ReceiverUser2" } } ] }, { "additional-classes": "col-12 d-md-none pb-1", "onclick": false, "column-items": [ { "column-link": { "link-icon-left": { "icon-prefix": "ai", "icon-class": "ai-edit", "icon-extra-class": "a-hiddenWhenExpanded ai-left a-blueText" }, "link-icon": false, "link-class": "collapsed a-hiddenWhenExpanded a-noUnderline a-pr-half a-js-certificateEdit", "link-url": "#", "link-text": "<span>Rediger</span>", "data-target": "collapseIdSampleSertificate" } }, { "column-link": { "link-class": "a-visibleWhenExpanded", "link-url": "#", "link-text": "<span>Avbryt</span>", "data-target": "collapseIdSampleSertificate" } } ] }, { "additional-classes": "col-12 col-md-auto a-visibleWhenExpanded pr-2 pb-1 pb-md-0", "onclick": false, "column-items": [ { "column-button": { "button-text": "Slett", "button-class": "a-btn a-btn-icon", "link-url": false, "button-shadow-label": false, "button-icon": { "icon-prefix": "ai", "icon-class": "ai-circle-exit", "icon-extra-class": "a-danger a-blueText ai-left" } } } ] }, { "additional-classes": "col-12 col-md-auto a-visibleWhenExpanded pb-1 pb-md-0", "onclick": false, "column-items": [ { "column-button": { "button-text": "Endre", "button-class": "a-btn a-btn-icon", "link-url": false, "button-shadow-label": false, "button-icon": { "icon-prefix": "ai", "icon-class": "ai-edit", "icon-extra-class": "a-blueText ai-left" } } } ] }, { "additional-classes": "col a-visibleWhenExpanded", "onclick": false, "column-items": false }, { "additional-classes": "col-auto text-right d-none d-md-block", "onclick": false, "column-items": [ { "column-link": { "link-icon-left": { "icon-prefix": "ai", "icon-class": "ai-edit", "icon-extra-class": "a-hiddenWhenExpanded a-blueText" }, "link-icon": false, "link-class": "collapsed a-fullWidthLink a-hiddenWhenExpanded a-noUnderline a-pr-half a-js-certificateEdit", "link-url": "#", "link-text": "<span>Rediger</span>", "data-target": "collapseIdSampleSertificate" } }, { "column-link": { "link-class": "a-fullWidthLink a-fullWidthLink--underline a-visibleWhenExpanded a-pr-half", "link-url": "#", "link-text": "<span>Avbryt</span>", "data-target": "collapseIdSampleSertificate" } } ] } ], "expandable-section": { "additional-classes": "col-12 collapse", "id": "collapseIdSampleSertificate", "content-id": "collapseIdSampleContentSertificate", "column-items": [ { "column-info-delete-add": true } ] } } ] } }, "edit-username-password": { "additional-class": "d-none a-js-edit-userpass", "edit-header": "Du redigerer brukernavn og passord for:", "user-name": "ReceiverUser3", "enterprise-certificate-username": { "text-input-id": "text-input-name-cert", "isHidden": false, "top-label": "Brukernavn", "isDisabled": false, "isInactive": false, "text-input-placeholder": "ReceiverUser2", "input-type": "text", "isRequired": false, "extra-help": false, "isLarge": false, "form-label-hasIcon": false, "input-name": "input-field" }, "enterprise-certificate-password": { "form-control-class": "form-control-noAddon", "auto-complete-off": true, "text-input-id": "text-input-pw-update", "top-label": "Passord", "text-input-placeholder": "Passord", "input-type": "password", "isRequired": true, "error-message-popover": true, "input-regex-validation": { "error-message": "Passordet er ikke gyldig. Må bestå av minst 7 tegn og inneholde både bokstaver og tall. Bare bokstavene A-Z er tillatt.", "validation-pattern": "(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{7,50})$" }, "form-input-isPassword": true, "form-input-showPassword-text": "Vis <span class=\"sr-only\">passord</span>", "form-input-obfuscatePassword-text": "Skjul <span class=\"sr-only\">passord</span>", "form-label-hasIcon": false }, "next-btn": { "button-text": "Lagre", "button-class": "a-btn a-btn-success mr-1 a-js-certificateSave", "onclick": false, "button-icon": false }, "cancel-btn": { "link-text": "Avbryt", "link-url": "#", "onclick": false } } }