altinn-designsystem
Version:
Altinn Design system based on Pattern Lab.
182 lines (174 loc) • 6.08 kB
JSON
{
"modal-content-wide": true,
"hide-modal-body-header": true,
"modal-navbar-override": {
"hide-buttons": true
},
"icontext": "Felles varslingsadresse",
"show-felles-varslingsadresse": {
"isModal": true,
"section-title": "Vi mangler varslingsadresse for <b>KAJAKK OG SKI AS</b>",
"lead-text-content": "Denne adressen er ikke personlig. Den brukes til å varsle om <b>alle</b> nye meldinger til foretaket.",
"varslingsadresse-information-popover": {
"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-gray",
"popover-link-text": "",
"popover-various-content": {
"alert-items": [
{
"alert-text": {
"text": "For å sikre at alle meldinger som kommer til foretaket blir mottatt må det oppgis minst en varslingsaddresse. Hvis dere har et postmottak el.er det naturlig å legge inn dette her"
}
},
{
"alert-link": {
"link-text": "Les mer",
"link-url": "http://www.altinn.no"
}
}
]
},
"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"
}
},
"hasAddEmailLink": {
"button-id": "link-email",
"button-text": "Legge til epost-varsling",
"button-class": "a-btn-link d-none",
"display-as-link": true
},
"email-section-title-id": "emailTitle",
"email-sectiontitle": "Epost",
"shared-notificationinfo-email-input": {
"email-input-row-id": "emailInput-1",
"template-id": "notificationInfoEmailTemplate",
"text-input-id": "text-input-notification-epost",
"top-label": "Epost",
"text-input-placeholder": "f.eks. post@firma.no",
"input-type": "email",
"isRequired": false,
"extra-help": false,
"isHidden": true,
"isDisabled": false,
"isLarge": false,
"delete-shared-contactinfo-email-icon": {
"additional-class": "d-none",
"button-id": "emailDelete-1",
"button-type": "button",
"button-text": false,
"link-url": "",
"button-textClass": "a-fontBold",
"button-colorClass": "",
"button-class": "a-btn a-btn-icon-transparent a-delete px-0",
"onclick": false,
"button-shadow-label": false,
"aria-label": "fjern",
"button-icon": {
"icon-prefix": "reg",
"icon-class": "reg-delete"
}
}
},
"shared-notification-add-links": {
"hasAddMoreEmailLink": {
"addmore-email-id": "addmore-email",
"button-id": "link-addmore-email",
"button-text": "Legge til flere e-post addresser",
"button-class": "a-btn-link",
"display-as-link": true
},
"hasAddSMSLink": {
"button-id": "link-sms",
"button-text": "Legge til sms-varsling",
"button-class": "a-btn-link",
"display-as-link": true
}
},
"additionalinfo-sharednotification": {
"sms-input-row-id": "smsInput-1",
"sms-sectiontitle": "SMS",
"sms-section-title-id": "phoneTitle",
"template-id": "notificationInfoSMSTemplate",
"additional-class": "d-none",
"shared-notificationinfo-phone-input": {
"text-input-id": "",
"form-control-class": "a-input-phonenumber",
"top-label": "Label:",
"text-input-placeholder": false,
"input-type": "tel",
"isRequired": true,
"error-message-popover": true,
"extra-help": false,
"isHidden": true,
"isLarge": false,
"visible": false,
"input-regex-validation": {
"error-message": "Telefonnummer må bestå av 8 siffer",
"validation-pattern": "\"[0-9]{8}\""
},
"form-label-isPhoneNumber": {
"text-input-id": "",
"text-input-value": "+47",
"form-control-class": "a-input-countryCode a-js-countryCode",
"input-type": "tel",
"isRequired": true,
"maxlength": 6,
"minlength": 2,
"input-regex-validation": {
"error-message": "Landskode må bestå av '+' og 2 eller 3 siffer",
"validation-pattern": ""
}
}
},
"delete-shared-contactinfo-phone-icon": {
"button-id": "smsDelete-1",
"button-type": "button",
"button-text": false,
"button-textClass": "a-fontBold",
"aria-label": "fjern",
"link-url": "",
"button-class": "a-btn a-btn-icon-transparent a-delete px-0",
"button-colorClass": "",
"button-shadow-label": false,
"button-icon": {
"icon-prefix": "reg",
"icon-class": "reg-delete"
}
}
},
"hasAddMoreSMSLink": {
"addmore-sms-id": "addmore-sms",
"additional-class": "d-none",
"button-id": "link-sms-addmore",
"button-text": "Legge til flere mobilnummer",
"button-class": "a-btn-link",
"display-as-link": true
},
"save-notificationaddress-button": {
"id": "btn-save-notificationaddress",
"button-type": "button",
"button-text": "Lagre",
"button-class": "a-btn a-btn-success",
"onclick": false,
"button-disabled": "disabled"
}
}
}