@dnb/eufemia 10.39.0 → 10.40.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/CHANGELOG.md +14 -0
- package/cjs/components/badge/Badge.js +2 -1
- package/cjs/components/badge/Badge.js.map +1 -1
- package/cjs/components/badge/style/dnb-badge.css +6 -0
- package/cjs/components/badge/style/dnb-badge.min.css +1 -1
- package/cjs/components/badge/style/dnb-badge.scss +12 -0
- package/cjs/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js +3 -3
- package/cjs/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js.map +1 -1
- package/cjs/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js +2 -2
- package/cjs/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/cjs/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +6 -5
- package/cjs/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
- package/cjs/extensions/forms/Iterate/RemoveButton/RemoveButton.js +2 -2
- package/cjs/extensions/forms/Iterate/RemoveButton/RemoveButton.js.map +1 -1
- package/cjs/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js +3 -3
- package/cjs/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/cjs/extensions/forms/Wizard/EditButton/EditButton.js +2 -2
- package/cjs/extensions/forms/Wizard/EditButton/EditButton.js.map +1 -1
- package/cjs/extensions/forms/Wizard/NextButton/NextButton.js +2 -2
- package/cjs/extensions/forms/Wizard/NextButton/NextButton.js.map +1 -1
- package/cjs/extensions/forms/Wizard/PreviousButton/PreviousButton.js +2 -2
- package/cjs/extensions/forms/Wizard/PreviousButton/PreviousButton.js.map +1 -1
- package/cjs/extensions/forms/constants/locales/en-GB.d.ts +28 -8
- package/cjs/extensions/forms/constants/locales/en-GB.js +28 -8
- package/cjs/extensions/forms/constants/locales/en-GB.js.map +1 -1
- package/cjs/extensions/forms/constants/locales/en-US.d.ts +28 -8
- package/cjs/extensions/forms/constants/locales/index.d.ts +56 -16
- package/cjs/extensions/forms/constants/locales/nb-NO.d.ts +28 -8
- package/cjs/extensions/forms/constants/locales/nb-NO.js +28 -8
- package/cjs/extensions/forms/constants/locales/nb-NO.js.map +1 -1
- package/cjs/shared/Eufemia.d.ts +1 -1
- package/cjs/shared/Eufemia.js +2 -2
- package/cjs/shared/Eufemia.js.map +1 -1
- package/cjs/shared/helpers/isAsync.js +5 -1
- package/cjs/shared/helpers/isAsync.js.map +1 -1
- package/cjs/style/core/scopes.scss +1 -1
- package/cjs/style/dnb-ui-basis.css +1 -1
- package/cjs/style/dnb-ui-basis.min.css +1 -1
- package/cjs/style/dnb-ui-body.css +1 -1
- package/cjs/style/dnb-ui-body.min.css +1 -1
- package/cjs/style/dnb-ui-components.css +6 -0
- package/cjs/style/dnb-ui-components.min.css +1 -1
- package/cjs/style/dnb-ui-core.css +1 -1
- package/cjs/style/dnb-ui-core.min.css +1 -1
- package/cjs/style/themes/theme-eiendom/eiendom-theme-components.css +6 -0
- package/cjs/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/cjs/style/themes/theme-sbanken/sbanken-theme-components.css +6 -0
- package/cjs/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/cjs/style/themes/theme-ui/ui-theme-components.css +6 -0
- package/cjs/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/components/badge/Badge.js +2 -1
- package/components/badge/Badge.js.map +1 -1
- package/components/badge/style/dnb-badge.css +6 -0
- package/components/badge/style/dnb-badge.min.css +1 -1
- package/components/badge/style/dnb-badge.scss +12 -0
- package/es/components/badge/Badge.js +2 -1
- package/es/components/badge/Badge.js.map +1 -1
- package/es/components/badge/style/dnb-badge.css +6 -0
- package/es/components/badge/style/dnb-badge.min.css +1 -1
- package/es/components/badge/style/dnb-badge.scss +12 -0
- package/es/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js +3 -3
- package/es/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js.map +1 -1
- package/es/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js +2 -2
- package/es/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/es/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +5 -4
- package/es/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
- package/es/extensions/forms/Iterate/RemoveButton/RemoveButton.js +2 -2
- package/es/extensions/forms/Iterate/RemoveButton/RemoveButton.js.map +1 -1
- package/es/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js +3 -3
- package/es/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/es/extensions/forms/Wizard/EditButton/EditButton.js +2 -2
- package/es/extensions/forms/Wizard/EditButton/EditButton.js.map +1 -1
- package/es/extensions/forms/Wizard/NextButton/NextButton.js +2 -2
- package/es/extensions/forms/Wizard/NextButton/NextButton.js.map +1 -1
- package/es/extensions/forms/Wizard/PreviousButton/PreviousButton.js +2 -2
- package/es/extensions/forms/Wizard/PreviousButton/PreviousButton.js.map +1 -1
- package/es/extensions/forms/constants/locales/en-GB.d.ts +28 -8
- package/es/extensions/forms/constants/locales/en-GB.js +28 -8
- package/es/extensions/forms/constants/locales/en-GB.js.map +1 -1
- package/es/extensions/forms/constants/locales/en-US.d.ts +28 -8
- package/es/extensions/forms/constants/locales/index.d.ts +56 -16
- package/es/extensions/forms/constants/locales/nb-NO.d.ts +28 -8
- package/es/extensions/forms/constants/locales/nb-NO.js +28 -8
- package/es/extensions/forms/constants/locales/nb-NO.js.map +1 -1
- package/es/shared/Eufemia.d.ts +1 -1
- package/es/shared/Eufemia.js +2 -2
- package/es/shared/Eufemia.js.map +1 -1
- package/es/shared/helpers/isAsync.js +5 -1
- package/es/shared/helpers/isAsync.js.map +1 -1
- package/es/style/core/scopes.scss +1 -1
- package/es/style/dnb-ui-basis.css +1 -1
- package/es/style/dnb-ui-basis.min.css +1 -1
- package/es/style/dnb-ui-body.css +1 -1
- package/es/style/dnb-ui-body.min.css +1 -1
- package/es/style/dnb-ui-components.css +6 -0
- package/es/style/dnb-ui-components.min.css +1 -1
- package/es/style/dnb-ui-core.css +1 -1
- package/es/style/dnb-ui-core.min.css +1 -1
- package/es/style/themes/theme-eiendom/eiendom-theme-components.css +6 -0
- package/es/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/es/style/themes/theme-sbanken/sbanken-theme-components.css +6 -0
- package/es/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/es/style/themes/theme-ui/ui-theme-components.css +6 -0
- package/es/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/esm/dnb-ui-basis.min.mjs +1 -1
- package/esm/dnb-ui-components.min.mjs +1 -1
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +3 -3
- package/esm/dnb-ui-lib.min.mjs +1 -1
- package/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js +3 -3
- package/extensions/forms/Form/Section/EditContainer/EditToolbarTools.js.map +1 -1
- package/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js +2 -2
- package/extensions/forms/Form/Section/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/extensions/forms/Iterate/EditContainer/EditToolbarTools.js +5 -4
- package/extensions/forms/Iterate/EditContainer/EditToolbarTools.js.map +1 -1
- package/extensions/forms/Iterate/RemoveButton/RemoveButton.js +2 -2
- package/extensions/forms/Iterate/RemoveButton/RemoveButton.js.map +1 -1
- package/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js +3 -3
- package/extensions/forms/Iterate/ViewContainer/ViewToolbarTools.js.map +1 -1
- package/extensions/forms/Wizard/EditButton/EditButton.js +2 -2
- package/extensions/forms/Wizard/EditButton/EditButton.js.map +1 -1
- package/extensions/forms/Wizard/NextButton/NextButton.js +2 -2
- package/extensions/forms/Wizard/NextButton/NextButton.js.map +1 -1
- package/extensions/forms/Wizard/PreviousButton/PreviousButton.js +2 -2
- package/extensions/forms/Wizard/PreviousButton/PreviousButton.js.map +1 -1
- package/extensions/forms/constants/locales/en-GB.d.ts +28 -8
- package/extensions/forms/constants/locales/en-GB.js +28 -8
- package/extensions/forms/constants/locales/en-GB.js.map +1 -1
- package/extensions/forms/constants/locales/en-US.d.ts +28 -8
- package/extensions/forms/constants/locales/index.d.ts +56 -16
- package/extensions/forms/constants/locales/nb-NO.d.ts +28 -8
- package/extensions/forms/constants/locales/nb-NO.js +28 -8
- package/extensions/forms/constants/locales/nb-NO.js.map +1 -1
- package/package.json +1 -1
- package/shared/Eufemia.d.ts +1 -1
- package/shared/Eufemia.js +2 -2
- package/shared/Eufemia.js.map +1 -1
- package/shared/helpers/isAsync.js +5 -1
- package/shared/helpers/isAsync.js.map +1 -1
- package/style/core/scopes.scss +1 -1
- package/style/dnb-ui-basis.css +1 -1
- package/style/dnb-ui-basis.min.css +1 -1
- package/style/dnb-ui-body.css +1 -1
- package/style/dnb-ui-body.min.css +1 -1
- package/style/dnb-ui-components.css +6 -0
- package/style/dnb-ui-components.min.css +1 -1
- package/style/dnb-ui-core.css +1 -1
- package/style/dnb-ui-core.min.css +1 -1
- package/style/themes/theme-eiendom/eiendom-theme-components.css +6 -0
- package/style/themes/theme-eiendom/eiendom-theme-components.min.css +1 -1
- package/style/themes/theme-sbanken/sbanken-theme-components.css +6 -0
- package/style/themes/theme-sbanken/sbanken-theme-components.min.css +1 -1
- package/style/themes/theme-ui/ui-theme-components.css +6 -0
- package/style/themes/theme-ui/ui-theme-components.min.css +1 -1
- package/umd/dnb-ui-basis.min.js +1 -1
- package/umd/dnb-ui-components.min.js +1 -1
- package/umd/dnb-ui-elements.min.js +1 -1
- package/umd/dnb-ui-extensions.min.js +3 -3
- package/umd/dnb-ui-lib.min.js +1 -1
|
@@ -15,16 +15,36 @@ declare const _default: {
|
|
|
15
15
|
sendText: string;
|
|
16
16
|
};
|
|
17
17
|
Step: {
|
|
18
|
-
next: string;
|
|
19
|
-
previous: string;
|
|
20
|
-
edit: string;
|
|
21
18
|
summaryTitle: string;
|
|
22
19
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
WizardEditButton: {
|
|
21
|
+
text: string;
|
|
22
|
+
};
|
|
23
|
+
WizardPreviousButton: {
|
|
24
|
+
text: string;
|
|
25
|
+
};
|
|
26
|
+
WizardNextButton: {
|
|
27
|
+
text: string;
|
|
28
|
+
};
|
|
29
|
+
RemoveButton: {
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
IterateViewContainer: {
|
|
33
|
+
removeButton: string;
|
|
34
|
+
editButton: string;
|
|
35
|
+
};
|
|
36
|
+
SectionViewContainer: {
|
|
37
|
+
editButton: string;
|
|
38
|
+
};
|
|
39
|
+
SectionEditContainer: {
|
|
40
|
+
doneButton: string;
|
|
41
|
+
cancelButton: string;
|
|
42
|
+
errorInSection: string;
|
|
43
|
+
};
|
|
44
|
+
IterateEditContainer: {
|
|
45
|
+
removeButton: string;
|
|
46
|
+
doneButton: string;
|
|
47
|
+
cancelButton: string;
|
|
28
48
|
errorInSection: string;
|
|
29
49
|
};
|
|
30
50
|
/**
|
|
@@ -18,16 +18,36 @@ var _default = {
|
|
|
18
18
|
sendText: 'Send'
|
|
19
19
|
},
|
|
20
20
|
Step: {
|
|
21
|
-
next: 'Next',
|
|
22
|
-
previous: 'Back',
|
|
23
|
-
edit: 'Edit',
|
|
24
21
|
summaryTitle: 'Summary'
|
|
25
22
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
WizardEditButton: {
|
|
24
|
+
text: 'Edit'
|
|
25
|
+
},
|
|
26
|
+
WizardPreviousButton: {
|
|
27
|
+
text: 'Back'
|
|
28
|
+
},
|
|
29
|
+
WizardNextButton: {
|
|
30
|
+
text: 'Next'
|
|
31
|
+
},
|
|
32
|
+
RemoveButton: {
|
|
33
|
+
text: 'Remove'
|
|
34
|
+
},
|
|
35
|
+
IterateViewContainer: {
|
|
36
|
+
removeButton: 'Remove',
|
|
37
|
+
editButton: 'Edit'
|
|
38
|
+
},
|
|
39
|
+
SectionViewContainer: {
|
|
40
|
+
editButton: 'Edit'
|
|
41
|
+
},
|
|
42
|
+
SectionEditContainer: {
|
|
43
|
+
doneButton: 'Done',
|
|
44
|
+
cancelButton: 'Cancel',
|
|
45
|
+
errorInSection: 'Please correct the errors above'
|
|
46
|
+
},
|
|
47
|
+
IterateEditContainer: {
|
|
48
|
+
removeButton: 'Remove',
|
|
49
|
+
doneButton: 'Done',
|
|
50
|
+
cancelButton: 'Cancel',
|
|
31
51
|
errorInSection: 'Please correct the errors above'
|
|
32
52
|
},
|
|
33
53
|
StringField: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en-GB.js","names":["Field","errorSummaryTitle","stateSummary","errorSummary","errorRequired","errorPattern","SubmitButton","text","sendText","Step","
|
|
1
|
+
{"version":3,"file":"en-GB.js","names":["Field","errorSummaryTitle","stateSummary","errorSummary","errorRequired","errorPattern","SubmitButton","text","sendText","Step","summaryTitle","WizardEditButton","WizardPreviousButton","WizardNextButton","RemoveButton","IterateViewContainer","removeButton","editButton","SectionViewContainer","SectionEditContainer","doneButton","cancelButton","errorInSection","IterateEditContainer","StringField","errorMinLength","errorMaxLength","NumberField","errorMinimum","errorMaximum","errorExclusiveMinimum","errorExclusiveMaximum","errorMultipleOf","BooleanField","yes","no","Date","label","Expiry","Email","FirstName","LastName","CompanyName","NationalIdentityNumber","OrganizationNumber","BankAccountNumber","PhoneNumber","countryCodeLabel","warningRequired","PostalCodeAndCity","PostalCode","City","SelectCountry","placeholder","Password","ariaLabelShow","ariaLabelHide","exports","default","_default"],"sources":["../../../../../../src/extensions/forms/constants/locales/en-GB.ts"],"sourcesContent":["export default {\n 'en-GB': {\n /**\n * General\n */\n Field: {\n errorSummaryTitle: 'Please correct the following errors',\n stateSummary: 'Summary:',\n errorSummary: 'Please correct the following errors:',\n errorRequired: 'This field is required.',\n errorPattern: 'The value is invalid.',\n },\n SubmitButton: {\n text: 'Send',\n sendText: 'Send',\n },\n Step: {\n summaryTitle: 'Summary',\n },\n WizardEditButton: {\n text: 'Edit',\n },\n WizardPreviousButton: {\n text: 'Back',\n },\n WizardNextButton: {\n text: 'Next',\n },\n RemoveButton: {\n text: 'Remove',\n },\n IterateViewContainer: {\n removeButton: 'Remove',\n editButton: 'Edit',\n },\n SectionViewContainer: {\n editButton: 'Edit',\n },\n SectionEditContainer: {\n doneButton: 'Done',\n cancelButton: 'Cancel',\n errorInSection: 'Please correct the errors above',\n },\n IterateEditContainer: {\n removeButton: 'Remove',\n doneButton: 'Done',\n cancelButton: 'Cancel',\n errorInSection: 'Please correct the errors above',\n },\n\n /**\n * Base fields\n */\n StringField: {\n errorMinLength:\n 'The value can not be shorter than {minLength} characters.',\n errorMaxLength:\n 'The value can not be longer than {maxLength} characters.',\n },\n NumberField: {\n errorMinimum: 'The value must be at least {minimum}.',\n errorMaximum: 'The value must be a maximum of {maximum}.',\n errorExclusiveMinimum:\n 'The value must be greater than {exclusiveMinimum}.',\n errorExclusiveMaximum:\n 'The value must be less than {exclusiveMaximum}.',\n errorMultipleOf: 'The value must be a multiple of {multipleOf}.',\n },\n BooleanField: {\n yes: 'Yes',\n no: 'No',\n },\n\n /**\n * Feature fields\n */\n Date: {\n label: 'Date',\n errorRequired: 'You must provide a valid date.',\n },\n Expiry: {\n label: 'Expiry date',\n },\n Email: {\n label: 'Email address',\n errorRequired: 'You must enter a Email address.',\n errorPattern: 'Invalid Email address. Enter a valid Email address.',\n },\n FirstName: {\n label: 'Given name',\n errorRequired: 'You must enter a given name (first name).',\n errorPattern:\n 'Enter a given name (first name) using only letters and characters such as hyphens and spaces.',\n },\n LastName: {\n label: 'Surname',\n errorRequired: 'You must enter a surname (last name).',\n errorPattern:\n 'Enter a surname (last name) using only letters and characters such as hyphens and spaces.',\n },\n CompanyName: {\n label: 'Company name',\n errorRequired: 'You must enter a company name.',\n },\n NationalIdentityNumber: {\n label: 'National identity number (11 digits)',\n errorRequired:\n 'Invalid national identity number. Enter a valid 11-digit number.',\n },\n OrganizationNumber: {\n label: 'Organisation number',\n errorRequired: 'You must enter an organisation number.',\n errorPattern: 'This is not a valid organisation number.',\n },\n BankAccountNumber: {\n label: 'Bank account',\n errorRequired:\n 'Enter a valid account number. Account number is mandatory to fill out.',\n errorPattern: 'This is not a valid bank account number.',\n },\n PhoneNumber: {\n label: 'Mobile number',\n countryCodeLabel: 'Country code',\n errorRequired:\n 'Mobile number must be filled in. If you don’t have a mobile number, you can enter another phone number.',\n warningRequired:\n 'You have not entered a mobile number. You can still use this number if it is correct.',\n },\n PostalCodeAndCity: {\n label: 'Postcode and city',\n },\n PostalCode: {\n label: 'Postc.',\n errorRequired: 'You must enter a postcode.',\n errorPattern: 'This is not a valid postcode (four-digits).',\n },\n City: {\n label: 'City',\n errorRequired: 'You must enter a city name.',\n errorPattern:\n 'City names can only contain letters and valid characters such as hyphens and spaces.',\n },\n SelectCountry: {\n label: 'Country',\n placeholder: 'Select country',\n errorRequired: 'You must select a country from the list.',\n },\n Password: {\n label: 'Password',\n ariaLabelShow: 'Show password',\n ariaLabelHide: 'Hide password',\n },\n },\n}\n"],"mappings":";;;;;;eAAe;EACb,OAAO,EAAE;IAIPA,KAAK,EAAE;MACLC,iBAAiB,EAAE,qCAAqC;MACxDC,YAAY,EAAE,UAAU;MACxBC,YAAY,EAAE,sCAAsC;MACpDC,aAAa,EAAE,yBAAyB;MACxCC,YAAY,EAAE;IAChB,CAAC;IACDC,YAAY,EAAE;MACZC,IAAI,EAAE,MAAM;MACZC,QAAQ,EAAE;IACZ,CAAC;IACDC,IAAI,EAAE;MACJC,YAAY,EAAE;IAChB,CAAC;IACDC,gBAAgB,EAAE;MAChBJ,IAAI,EAAE;IACR,CAAC;IACDK,oBAAoB,EAAE;MACpBL,IAAI,EAAE;IACR,CAAC;IACDM,gBAAgB,EAAE;MAChBN,IAAI,EAAE;IACR,CAAC;IACDO,YAAY,EAAE;MACZP,IAAI,EAAE;IACR,CAAC;IACDQ,oBAAoB,EAAE;MACpBC,YAAY,EAAE,QAAQ;MACtBC,UAAU,EAAE;IACd,CAAC;IACDC,oBAAoB,EAAE;MACpBD,UAAU,EAAE;IACd,CAAC;IACDE,oBAAoB,EAAE;MACpBC,UAAU,EAAE,MAAM;MAClBC,YAAY,EAAE,QAAQ;MACtBC,cAAc,EAAE;IAClB,CAAC;IACDC,oBAAoB,EAAE;MACpBP,YAAY,EAAE,QAAQ;MACtBI,UAAU,EAAE,MAAM;MAClBC,YAAY,EAAE,QAAQ;MACtBC,cAAc,EAAE;IAClB,CAAC;IAKDE,WAAW,EAAE;MACXC,cAAc,EACZ,2DAA2D;MAC7DC,cAAc,EACZ;IACJ,CAAC;IACDC,WAAW,EAAE;MACXC,YAAY,EAAE,uCAAuC;MACrDC,YAAY,EAAE,2CAA2C;MACzDC,qBAAqB,EACnB,oDAAoD;MACtDC,qBAAqB,EACnB,iDAAiD;MACnDC,eAAe,EAAE;IACnB,CAAC;IACDC,YAAY,EAAE;MACZC,GAAG,EAAE,KAAK;MACVC,EAAE,EAAE;IACN,CAAC;IAKDC,IAAI,EAAE;MACJC,KAAK,EAAE,MAAM;MACbjC,aAAa,EAAE;IACjB,CAAC;IACDkC,MAAM,EAAE;MACND,KAAK,EAAE;IACT,CAAC;IACDE,KAAK,EAAE;MACLF,KAAK,EAAE,eAAe;MACtBjC,aAAa,EAAE,iCAAiC;MAChDC,YAAY,EAAE;IAChB,CAAC;IACDmC,SAAS,EAAE;MACTH,KAAK,EAAE,YAAY;MACnBjC,aAAa,EAAE,2CAA2C;MAC1DC,YAAY,EACV;IACJ,CAAC;IACDoC,QAAQ,EAAE;MACRJ,KAAK,EAAE,SAAS;MAChBjC,aAAa,EAAE,uCAAuC;MACtDC,YAAY,EACV;IACJ,CAAC;IACDqC,WAAW,EAAE;MACXL,KAAK,EAAE,cAAc;MACrBjC,aAAa,EAAE;IACjB,CAAC;IACDuC,sBAAsB,EAAE;MACtBN,KAAK,EAAE,sCAAsC;MAC7CjC,aAAa,EACX;IACJ,CAAC;IACDwC,kBAAkB,EAAE;MAClBP,KAAK,EAAE,qBAAqB;MAC5BjC,aAAa,EAAE,wCAAwC;MACvDC,YAAY,EAAE;IAChB,CAAC;IACDwC,iBAAiB,EAAE;MACjBR,KAAK,EAAE,cAAc;MACrBjC,aAAa,EACX,wEAAwE;MAC1EC,YAAY,EAAE;IAChB,CAAC;IACDyC,WAAW,EAAE;MACXT,KAAK,EAAE,eAAe;MACtBU,gBAAgB,EAAE,cAAc;MAChC3C,aAAa,EACX,yGAAyG;MAC3G4C,eAAe,EACb;IACJ,CAAC;IACDC,iBAAiB,EAAE;MACjBZ,KAAK,EAAE;IACT,CAAC;IACDa,UAAU,EAAE;MACVb,KAAK,EAAE,QAAQ;MACfjC,aAAa,EAAE,4BAA4B;MAC3CC,YAAY,EAAE;IAChB,CAAC;IACD8C,IAAI,EAAE;MACJd,KAAK,EAAE,MAAM;MACbjC,aAAa,EAAE,6BAA6B;MAC5CC,YAAY,EACV;IACJ,CAAC;IACD+C,aAAa,EAAE;MACbf,KAAK,EAAE,SAAS;MAChBgB,WAAW,EAAE,gBAAgB;MAC7BjD,aAAa,EAAE;IACjB,CAAC;IACDkD,QAAQ,EAAE;MACRjB,KAAK,EAAE,UAAU;MACjBkB,aAAa,EAAE,eAAe;MAC9BC,aAAa,EAAE;IACjB;EACF;AACF,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAC,QAAA"}
|
|
@@ -17,16 +17,36 @@ declare const _default: {
|
|
|
17
17
|
sendText: string;
|
|
18
18
|
};
|
|
19
19
|
Step: {
|
|
20
|
-
next: string;
|
|
21
|
-
previous: string;
|
|
22
|
-
edit: string;
|
|
23
20
|
summaryTitle: string;
|
|
24
21
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
WizardEditButton: {
|
|
23
|
+
text: string;
|
|
24
|
+
};
|
|
25
|
+
WizardPreviousButton: {
|
|
26
|
+
text: string;
|
|
27
|
+
};
|
|
28
|
+
WizardNextButton: {
|
|
29
|
+
text: string;
|
|
30
|
+
};
|
|
31
|
+
RemoveButton: {
|
|
32
|
+
text: string;
|
|
33
|
+
};
|
|
34
|
+
IterateViewContainer: {
|
|
35
|
+
removeButton: string;
|
|
36
|
+
editButton: string;
|
|
37
|
+
};
|
|
38
|
+
SectionViewContainer: {
|
|
39
|
+
editButton: string;
|
|
40
|
+
};
|
|
41
|
+
SectionEditContainer: {
|
|
42
|
+
doneButton: string;
|
|
43
|
+
cancelButton: string;
|
|
44
|
+
errorInSection: string;
|
|
45
|
+
};
|
|
46
|
+
IterateEditContainer: {
|
|
47
|
+
removeButton: string;
|
|
48
|
+
doneButton: string;
|
|
49
|
+
cancelButton: string;
|
|
30
50
|
errorInSection: string;
|
|
31
51
|
};
|
|
32
52
|
StringField: {
|
|
@@ -12,16 +12,36 @@ declare const locales: {
|
|
|
12
12
|
sendText: string;
|
|
13
13
|
};
|
|
14
14
|
Step: {
|
|
15
|
-
next: string;
|
|
16
|
-
previous: string;
|
|
17
|
-
edit: string;
|
|
18
15
|
summaryTitle: string;
|
|
19
16
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
WizardEditButton: {
|
|
18
|
+
text: string;
|
|
19
|
+
};
|
|
20
|
+
WizardPreviousButton: {
|
|
21
|
+
text: string;
|
|
22
|
+
};
|
|
23
|
+
WizardNextButton: {
|
|
24
|
+
text: string;
|
|
25
|
+
};
|
|
26
|
+
RemoveButton: {
|
|
27
|
+
text: string;
|
|
28
|
+
};
|
|
29
|
+
IterateViewContainer: {
|
|
30
|
+
removeButton: string;
|
|
31
|
+
editButton: string;
|
|
32
|
+
};
|
|
33
|
+
SectionViewContainer: {
|
|
34
|
+
editButton: string;
|
|
35
|
+
};
|
|
36
|
+
SectionEditContainer: {
|
|
37
|
+
doneButton: string;
|
|
38
|
+
cancelButton: string;
|
|
39
|
+
errorInSection: string;
|
|
40
|
+
};
|
|
41
|
+
IterateEditContainer: {
|
|
42
|
+
removeButton: string;
|
|
43
|
+
doneButton: string;
|
|
44
|
+
cancelButton: string;
|
|
25
45
|
errorInSection: string;
|
|
26
46
|
};
|
|
27
47
|
StringField: {
|
|
@@ -122,16 +142,36 @@ declare const locales: {
|
|
|
122
142
|
sendText: string;
|
|
123
143
|
};
|
|
124
144
|
Step: {
|
|
125
|
-
next: string;
|
|
126
|
-
previous: string;
|
|
127
|
-
edit: string;
|
|
128
145
|
summaryTitle: string;
|
|
129
146
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
147
|
+
WizardEditButton: {
|
|
148
|
+
text: string;
|
|
149
|
+
};
|
|
150
|
+
WizardPreviousButton: {
|
|
151
|
+
text: string;
|
|
152
|
+
};
|
|
153
|
+
WizardNextButton: {
|
|
154
|
+
text: string;
|
|
155
|
+
};
|
|
156
|
+
RemoveButton: {
|
|
157
|
+
text: string;
|
|
158
|
+
};
|
|
159
|
+
IterateViewContainer: {
|
|
160
|
+
removeButton: string;
|
|
161
|
+
editButton: string;
|
|
162
|
+
};
|
|
163
|
+
SectionViewContainer: {
|
|
164
|
+
editButton: string;
|
|
165
|
+
};
|
|
166
|
+
SectionEditContainer: {
|
|
167
|
+
doneButton: string;
|
|
168
|
+
cancelButton: string;
|
|
169
|
+
errorInSection: string;
|
|
170
|
+
};
|
|
171
|
+
IterateEditContainer: {
|
|
172
|
+
removeButton: string;
|
|
173
|
+
doneButton: string;
|
|
174
|
+
cancelButton: string;
|
|
135
175
|
errorInSection: string;
|
|
136
176
|
};
|
|
137
177
|
StringField: {
|
|
@@ -15,16 +15,36 @@ declare const _default: {
|
|
|
15
15
|
sendText: string;
|
|
16
16
|
};
|
|
17
17
|
Step: {
|
|
18
|
-
next: string;
|
|
19
|
-
previous: string;
|
|
20
|
-
edit: string;
|
|
21
18
|
summaryTitle: string;
|
|
22
19
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
20
|
+
WizardEditButton: {
|
|
21
|
+
text: string;
|
|
22
|
+
};
|
|
23
|
+
WizardPreviousButton: {
|
|
24
|
+
text: string;
|
|
25
|
+
};
|
|
26
|
+
WizardNextButton: {
|
|
27
|
+
text: string;
|
|
28
|
+
};
|
|
29
|
+
RemoveButton: {
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
IterateViewContainer: {
|
|
33
|
+
removeButton: string;
|
|
34
|
+
editButton: string;
|
|
35
|
+
};
|
|
36
|
+
SectionViewContainer: {
|
|
37
|
+
editButton: string;
|
|
38
|
+
};
|
|
39
|
+
SectionEditContainer: {
|
|
40
|
+
doneButton: string;
|
|
41
|
+
cancelButton: string;
|
|
42
|
+
errorInSection: string;
|
|
43
|
+
};
|
|
44
|
+
IterateEditContainer: {
|
|
45
|
+
removeButton: string;
|
|
46
|
+
doneButton: string;
|
|
47
|
+
cancelButton: string;
|
|
28
48
|
errorInSection: string;
|
|
29
49
|
};
|
|
30
50
|
/**
|
|
@@ -18,16 +18,36 @@ var _default = {
|
|
|
18
18
|
sendText: 'Send inn'
|
|
19
19
|
},
|
|
20
20
|
Step: {
|
|
21
|
-
next: 'Neste',
|
|
22
|
-
previous: 'Tilbake',
|
|
23
|
-
edit: 'Endre',
|
|
24
21
|
summaryTitle: 'Oppsummering'
|
|
25
22
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
WizardEditButton: {
|
|
24
|
+
text: 'Endre'
|
|
25
|
+
},
|
|
26
|
+
WizardPreviousButton: {
|
|
27
|
+
text: 'Tilbake'
|
|
28
|
+
},
|
|
29
|
+
WizardNextButton: {
|
|
30
|
+
text: 'Neste'
|
|
31
|
+
},
|
|
32
|
+
RemoveButton: {
|
|
33
|
+
text: 'Fjern'
|
|
34
|
+
},
|
|
35
|
+
IterateViewContainer: {
|
|
36
|
+
removeButton: 'Fjern',
|
|
37
|
+
editButton: 'Endre'
|
|
38
|
+
},
|
|
39
|
+
SectionViewContainer: {
|
|
40
|
+
editButton: 'Endre'
|
|
41
|
+
},
|
|
42
|
+
SectionEditContainer: {
|
|
43
|
+
doneButton: 'Ferdig',
|
|
44
|
+
cancelButton: 'Avbryt',
|
|
45
|
+
errorInSection: 'Feilene ovenfor må rettes'
|
|
46
|
+
},
|
|
47
|
+
IterateEditContainer: {
|
|
48
|
+
removeButton: 'Fjern',
|
|
49
|
+
doneButton: 'Ferdig',
|
|
50
|
+
cancelButton: 'Avbryt',
|
|
31
51
|
errorInSection: 'Feilene ovenfor må rettes'
|
|
32
52
|
},
|
|
33
53
|
StringField: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nb-NO.js","names":["Field","errorSummaryTitle","stateSummary","errorSummary","errorRequired","errorPattern","SubmitButton","text","sendText","Step","
|
|
1
|
+
{"version":3,"file":"nb-NO.js","names":["Field","errorSummaryTitle","stateSummary","errorSummary","errorRequired","errorPattern","SubmitButton","text","sendText","Step","summaryTitle","WizardEditButton","WizardPreviousButton","WizardNextButton","RemoveButton","IterateViewContainer","removeButton","editButton","SectionViewContainer","SectionEditContainer","doneButton","cancelButton","errorInSection","IterateEditContainer","StringField","errorMinLength","errorMaxLength","NumberField","errorMinimum","errorMaximum","errorExclusiveMinimum","errorExclusiveMaximum","errorMultipleOf","BooleanField","yes","no","Date","label","Expiry","Email","FirstName","LastName","CompanyName","NationalIdentityNumber","OrganizationNumber","BankAccountNumber","PhoneNumber","countryCodeLabel","warningRequired","PostalCodeAndCity","PostalCode","City","SelectCountry","placeholder","Password","ariaLabelShow","ariaLabelHide","exports","default","_default"],"sources":["../../../../../../src/extensions/forms/constants/locales/nb-NO.ts"],"sourcesContent":["export default {\n 'nb-NO': {\n /**\n * General\n */\n Field: {\n errorSummaryTitle: 'Feil som må rettes',\n stateSummary: 'Oppsummering:',\n errorSummary: 'Feil som må rettes:',\n errorRequired: 'Dette feltet må fylles ut.',\n errorPattern: 'Verdien er ugyldig.',\n },\n SubmitButton: {\n text: 'Send',\n sendText: 'Send inn',\n },\n Step: {\n summaryTitle: 'Oppsummering',\n },\n WizardEditButton: {\n text: 'Endre',\n },\n WizardPreviousButton: {\n text: 'Tilbake',\n },\n WizardNextButton: {\n text: 'Neste',\n },\n RemoveButton: {\n text: 'Fjern',\n },\n IterateViewContainer: {\n removeButton: 'Fjern',\n editButton: 'Endre',\n },\n SectionViewContainer: {\n editButton: 'Endre',\n },\n SectionEditContainer: {\n doneButton: 'Ferdig',\n cancelButton: 'Avbryt',\n errorInSection: 'Feilene ovenfor må rettes',\n },\n IterateEditContainer: {\n removeButton: 'Fjern',\n doneButton: 'Ferdig',\n cancelButton: 'Avbryt',\n errorInSection: 'Feilene ovenfor må rettes',\n },\n\n /**\n * Base fields\n */\n StringField: {\n errorMinLength:\n 'Verdien kan ikke være kortere enn {minLength} tegn.',\n errorMaxLength: 'Verdien kan ikke være lengre enn {maxLength} tegn.',\n },\n NumberField: {\n errorMinimum: 'Verdien må være minst {minimum}.',\n errorMaximum: 'Verdien må være maksimalt {maximum}.',\n errorExclusiveMinimum:\n 'Verdien må være større enn {exclusiveMinimum}.',\n errorExclusiveMaximum:\n 'Verdien må være mindre enn {exclusiveMaximum}.',\n errorMultipleOf: 'Verdien må være et multiplum av {multipleOf}.',\n },\n BooleanField: {\n yes: 'Ja',\n no: 'Nei',\n },\n\n /**\n * Feature fields\n */\n Date: {\n label: 'Dato',\n errorRequired: 'Du må angi en gyldig dato.',\n },\n Expiry: {\n label: 'Utløpsdato',\n },\n Email: {\n label: 'E-postadresse',\n errorRequired: 'Du må fylle inn en e-postadresse.',\n errorPattern: 'Ugyldig e-postadresse. Skriv inn en e-postadresse.',\n },\n FirstName: {\n label: 'Fornavn',\n errorRequired: 'Du må fylle inn fornavn.',\n errorPattern:\n 'Kun bokstaver og tegn som bindestrek og mellomrom er tillatt.',\n },\n LastName: {\n label: 'Etternavn',\n errorRequired: 'Du må fylle inn etternavn.',\n errorPattern:\n 'Kun bokstaver og tegn som bindestrek og mellomrom er tillatt.',\n },\n CompanyName: {\n label: 'Firmanavn',\n errorRequired: 'Du må fylle inn firmanavn.',\n },\n NationalIdentityNumber: {\n label: 'Fødselsnummer (11 siffer)',\n errorRequired:\n 'Ugyldig fødselsnummer. Skriv inn et gyldig fødselsnummer med 11 siffer.',\n },\n OrganizationNumber: {\n label: 'Organisasjonsnummer',\n errorRequired: 'Du må fylle inn et organisasjonsnummer.',\n errorPattern: 'Dette er ikke et gyldig organisasjonsnummer.',\n },\n BankAccountNumber: {\n label: 'Bankkonto',\n errorRequired:\n 'Skriv inn et gyldig kontonummer. Kontonummeret må fylles ut.',\n errorPattern: 'Dette er ikke et gyldig kontonummer.',\n },\n PhoneNumber: {\n label: 'Mobilnummer',\n countryCodeLabel: 'Landskode',\n errorRequired:\n 'Mobilnummer må fylles ut. Hvis du ikke har et mobilnummer, kan du oppgi et annet telefonnummer.',\n warningRequired:\n 'Du har ikke skrevet inn et mobilnummer. Du kan likevel bruke dette nummeret hvis det er riktig.',\n },\n PostalCodeAndCity: {\n label: 'Postnummer og sted',\n },\n PostalCode: {\n label: 'Postnr.',\n errorRequired: 'Du må fylle inn et postnummer.',\n errorPattern: 'Dette er ikke et gyldig postnummer (fire siffer).',\n },\n City: {\n label: 'Sted',\n errorRequired: 'Du må fylle inn et stedsnavn.',\n errorPattern:\n 'Stedsnavn kan kun inneholde bokstaver og gyldige tegn som bindestrek og mellomrom.',\n },\n SelectCountry: {\n label: 'Land',\n placeholder: 'Velg et land',\n errorRequired: 'Du må velge et land fra listen.',\n },\n Password: {\n label: 'Passord',\n ariaLabelShow: 'Vis passord',\n ariaLabelHide: 'Skjul passord',\n },\n },\n}\n"],"mappings":"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"}
|
package/cjs/shared/Eufemia.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "10.
|
|
1
|
+
export declare const version = "10.40.0";
|
|
2
2
|
export declare function init(): void;
|
package/cjs/shared/Eufemia.js
CHANGED
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.init = init;
|
|
7
7
|
exports.version = void 0;
|
|
8
|
-
const version = '10.
|
|
8
|
+
const version = '10.40.0';
|
|
9
9
|
exports.version = version;
|
|
10
10
|
function init() {
|
|
11
11
|
if (typeof window !== 'undefined') {
|
|
12
12
|
class Eufemia {
|
|
13
13
|
get version() {
|
|
14
|
-
return '10.
|
|
14
|
+
return '10.40.0';
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
window.Eufemia = new Eufemia();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Eufemia.js","names":["version","exports","init","window","Eufemia"],"sources":["../../../src/shared/Eufemia.ts"],"sourcesContent":["export const version = '10.
|
|
1
|
+
{"version":3,"file":"Eufemia.js","names":["version","exports","init","window","Eufemia"],"sources":["../../../src/shared/Eufemia.ts"],"sourcesContent":["export const version = '10.40.0'\n\nexport function init() {\n if (typeof window !== 'undefined') {\n class Eufemia {\n get version() {\n return '10.40.0'\n }\n }\n\n window.Eufemia = new Eufemia()\n }\n}\n"],"mappings":";;;;;;;AAAO,MAAMA,OAAO,GAAG,SAAS;AAAAC,OAAA,CAAAD,OAAA,GAAAA,OAAA;AAEzB,SAASE,IAAIA,CAAA,EAAG;EACrB,IAAI,OAAOC,MAAM,KAAK,WAAW,EAAE;IACjC,MAAMC,OAAO,CAAC;MACZ,IAAIJ,OAAOA,CAAA,EAAG;QACZ,OAAO,SAAS;MAClB;IACF;IAEAG,MAAM,CAACC,OAAO,GAAG,IAAIA,OAAO,CAAC,CAAC;EAChC;AACF"}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.isAsync = isAsync;
|
|
7
7
|
function isAsync(fn) {
|
|
8
|
-
var _fn, _fn$n, _fn2, _fn2$constructor;
|
|
8
|
+
var _fn, _fn$n, _fn2, _fn2$constructor, _fn3, _fn3$toString, _fn3$toString$trim;
|
|
9
9
|
const n = 'getMockImplementation';
|
|
10
10
|
if ((_fn = fn) !== null && _fn !== void 0 && (_fn$n = _fn[n]) !== null && _fn$n !== void 0 && _fn$n.call(_fn)) {
|
|
11
11
|
fn = fn[n]();
|
|
@@ -15,6 +15,10 @@ function isAsync(fn) {
|
|
|
15
15
|
if (firstCheck !== secondCheck) {
|
|
16
16
|
return true;
|
|
17
17
|
}
|
|
18
|
+
const isAsyncFunctionBabelTranspiled = (_fn3 = fn) === null || _fn3 === void 0 ? void 0 : (_fn3$toString = _fn3.toString()) === null || _fn3$toString === void 0 ? void 0 : (_fn3$toString$trim = _fn3$toString.trim()) === null || _fn3$toString$trim === void 0 ? void 0 : _fn3$toString$trim.match(/return _ref[^\.]*\.apply/);
|
|
19
|
+
if (!!isAsyncFunctionBabelTranspiled) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
18
22
|
return firstCheck;
|
|
19
23
|
}
|
|
20
24
|
//# sourceMappingURL=isAsync.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isAsync.js","names":["isAsync","fn","_fn","_fn$n","_fn2","_fn2$constructor","n","call","firstCheck","constructor","secondCheck","name"],"sources":["../../../../src/shared/helpers/isAsync.ts"],"sourcesContent":["/**\n * Checks if a function is asynchronous.\n *\n * @param fn - The function to check.\n * @returns `true` if the function is asynchronous, `false` otherwise.\n */\nexport function isAsync(fn: unknown): boolean {\n // Support for jest.fn\n const n = 'getMockImplementation'\n if (fn?.[n]?.()) {\n fn = fn[n]()\n }\n\n const firstCheck = fn instanceof (async () => null).constructor\n const secondCheck = fn?.constructor?.name === 'AsyncFunction'\n\n if (firstCheck !== secondCheck) {\n // Storybook has a problem with async functions.\n // E.g. \"fn?.constructor?.name === 'AsyncFunction'\" logic returns always \"Function\" instead of \"AsyncFunction\"\n // Even this \"Object.prototype.toString.call(fn) === '[object AsyncFunction]'\" logic returns always \"false\" in Storybook.\n // The issue persists with \"instanceof\" logic, where it returns \"true\" for non-async functions.\n // As of now, we rather want to return true in that situation.\n return true\n }\n\n return firstCheck\n}\n"],"mappings":";;;;;;AAMO,SAASA,OAAOA,CAACC,EAAW,EAAW;EAAA,IAAAC,GAAA,EAAAC,KAAA,EAAAC,IAAA,EAAAC,gBAAA;EAE5C,MAAMC,CAAC,GAAG,uBAAuB;EACjC,
|
|
1
|
+
{"version":3,"file":"isAsync.js","names":["isAsync","fn","_fn","_fn$n","_fn2","_fn2$constructor","_fn3","_fn3$toString","_fn3$toString$trim","n","call","firstCheck","constructor","secondCheck","name","isAsyncFunctionBabelTranspiled","toString","trim","match"],"sources":["../../../../src/shared/helpers/isAsync.ts"],"sourcesContent":["/**\n * Checks if a function is asynchronous.\n *\n * @param fn - The function to check.\n * @returns `true` if the function is asynchronous, `false` otherwise.\n */\nexport function isAsync(fn: unknown): boolean {\n // Support for jest.fn\n const n = 'getMockImplementation'\n if (fn?.[n]?.()) {\n fn = fn[n]()\n }\n\n const firstCheck = fn instanceof (async () => null).constructor\n const secondCheck = fn?.constructor?.name === 'AsyncFunction'\n\n if (firstCheck !== secondCheck) {\n // Storybook has a problem with async functions.\n // E.g. \"fn?.constructor?.name === 'AsyncFunction'\" logic returns always \"Function\" instead of \"AsyncFunction\"\n // Even this \"Object.prototype.toString.call(fn) === '[object AsyncFunction]'\" logic returns always \"false\" in Storybook.\n // The issue persists with \"instanceof\" logic, where it returns \"true\" for non-async functions.\n // As of now, we rather want to return true in that situation.\n return true\n }\n\n // is async function transpiled using @babel/plugin-transform-async-to-generator\n const isAsyncFunctionBabelTranspiled = fn\n ?.toString()\n ?.trim()\n ?.match(/return _ref[^\\.]*\\.apply/) //eslint-disable-line\n\n if (!!isAsyncFunctionBabelTranspiled) {\n return true\n }\n return firstCheck\n}\n"],"mappings":";;;;;;AAMO,SAASA,OAAOA,CAACC,EAAW,EAAW;EAAA,IAAAC,GAAA,EAAAC,KAAA,EAAAC,IAAA,EAAAC,gBAAA,EAAAC,IAAA,EAAAC,aAAA,EAAAC,kBAAA;EAE5C,MAAMC,CAAC,GAAG,uBAAuB;EACjC,KAAAP,GAAA,GAAID,EAAE,cAAAC,GAAA,gBAAAC,KAAA,GAAFD,GAAA,CAAKO,CAAC,CAAC,cAAAN,KAAA,eAAPA,KAAA,CAAAO,IAAA,CAAAR,GAAU,CAAC,EAAE;IACfD,EAAE,GAAGA,EAAE,CAACQ,CAAC,CAAC,CAAC,CAAC;EACd;EAEA,MAAME,UAAU,GAAGV,EAAE,YAAY,CAAC,YAAY,IAAI,EAAEW,WAAW;EAC/D,MAAMC,WAAW,GAAG,EAAAT,IAAA,GAAAH,EAAE,cAAAG,IAAA,wBAAAC,gBAAA,GAAFD,IAAA,CAAIQ,WAAW,cAAAP,gBAAA,uBAAfA,gBAAA,CAAiBS,IAAI,MAAK,eAAe;EAE7D,IAAIH,UAAU,KAAKE,WAAW,EAAE;IAM9B,OAAO,IAAI;EACb;EAGA,MAAME,8BAA8B,IAAAT,IAAA,GAAGL,EAAE,cAAAK,IAAA,wBAAAC,aAAA,GAAFD,IAAA,CACnCU,QAAQ,CAAC,CAAC,cAAAT,aAAA,wBAAAC,kBAAA,GADyBD,aAAA,CAEnCU,IAAI,CAAC,CAAC,cAAAT,kBAAA,uBAF6BA,kBAAA,CAGnCU,KAAK,CAAC,0BAA0B,CAAC;EAErC,IAAI,CAAC,CAACH,8BAA8B,EAAE;IACpC,OAAO,IAAI;EACb;EACA,OAAOJ,UAAU;AACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{margin:0}.dnb-core-style{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.
|
|
1
|
+
@charset "UTF-8";html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{margin:0}.dnb-core-style{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.40.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}.dnb-core-style *,.dnb-core-style :after,.dnb-core-style :before{background-repeat:no-repeat;box-sizing:border-box}.dnb-core-style :after,.dnb-core-style :before{text-decoration:inherit;vertical-align:inherit}.dnb-core-style hr{height:0;overflow:visible}.dnb-core-style main{display:block}.dnb-core-style nav ol,.dnb-core-style nav ul{list-style:none}.dnb-core-style abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.dnb-core-style b,.dnb-core-style strong{font-weight:bolder}.dnb-core-style code,.dnb-core-style kbd,.dnb-core-style pre,.dnb-core-style samp{font-family:var(--font-family-monospace)}.dnb-core-style ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}.dnb-core-style audio,.dnb-core-style canvas,.dnb-core-style iframe,.dnb-core-style img,.dnb-core-style svg,.dnb-core-style video{vertical-align:middle}.dnb-core-style audio,.dnb-core-style video{display:inline-block}.dnb-core-style audio:not([controls]){display:none;height:0}.dnb-core-style img{border-style:none}.dnb-core-style svg:not([fill]){fill:currentcolor}.dnb-core-style svg:not(:root){overflow:hidden}.dnb-core-style table{border-collapse:collapse}.dnb-core-style button,.dnb-core-style input,.dnb-core-style select,.dnb-core-style textarea{font-family:inherit;font-size:inherit;line-height:inherit}.dnb-core-style button,.dnb-core-style figure,.dnb-core-style input,.dnb-core-style select{margin:0}.dnb-core-style button{overflow:visible;text-transform:none}.dnb-core-style fieldset{padding:.35rem .75rem .625rem}.dnb-core-style input{overflow:visible;word-break:normal}.dnb-core-style legend{color:inherit;display:table;max-width:100%;white-space:normal}.dnb-core-style progress{display:inline-block;vertical-align:baseline}.dnb-core-style select{text-transform:none}.dnb-core-style textarea{overflow:auto;resize:vertical}.dnb-core-style [type=checkbox],.dnb-core-style [type=radio]{padding:0}.dnb-core-style input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}.dnb-core-style ::-webkit-inner-spin-button,.dnb-core-style ::-webkit-outer-spin-button{height:auto}.dnb-core-style ::input-placeholder{color:inherit;opacity:.54}.dnb-core-style ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}.dnb-core-style ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}.dnb-core-style ::-moz-focus-inner{border-style:none;padding:0}.dnb-core-style details{display:block}.dnb-core-style summary{display:list-item}.dnb-core-style canvas{display:inline-block}.dnb-core-style template{display:none}.dnb-core-style [tabindex],.dnb-core-style a,.dnb-core-style area,.dnb-core-style button,.dnb-core-style input,.dnb-core-style label,.dnb-core-style select,.dnb-core-style summary,.dnb-core-style textarea{touch-action:manipulation}.dnb-core-style [hidden]{display:none}.dnb-core-style [aria-busy=true]{cursor:progress}.dnb-core-style [aria-controls]:not(input){cursor:pointer}.dnb-core-style [aria-disabled=true],.dnb-core-style [disabled]{cursor:not-allowed}.dnb-core-style [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{.dnb-core-style{background-color:#fff;color:#000}}.dnb-core-style .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}.dnb-no-focus,.dnb-tab-focus,.dnb-tab-focus:focus{outline:none}html[data-whatinput=keyboard] .dnb-tab-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-mouse-focus,.dnb-mouse-focus:focus{outline:none}html[data-whatinput=mouse] .dnb-mouse-focus:focus{box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-focus-ring,html[data-whatinput=mouse] .dnb-mouse-focus:focus{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent}.dnb-focus-ring{box-shadow:0 0 0 var(--border-width) var(--border-color)!important}.dnb-scrollbar-appearance{-webkit-overflow-scrolling:touch;-ms-overflow-style:auto;scrollbar-color:var(--scrollbar-thumb-color,#888) transparent}@supports not (scrollbar-color:auto){.dnb-scrollbar-appearance::-webkit-scrollbar{background-color:var(--scrollbar-track-color,#eee);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:vertical{width:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar:horizontal{height:var(--scrollbar-track-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-color,#888);border-radius:var(--scrollbar-thumb-width,.5rem)}.dnb-scrollbar-appearance::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover-color,#666)}}.dnb-skip-link{opacity:.3;position:absolute;top:-100vh;transition:opacity .3s ease-out;z-index:0}.dnb-skip-link--active,.dnb-skip-link:focus{background-color:transparent;border:none;border-radius:0;box-shadow:none;color:var(--skip-link-color);font-size:var(--font-size-basis);left:40%;margin:0;outline:none;padding:.5rem 1rem;position:fixed;text-align:center;-webkit-text-decoration:none;text-decoration:none;top:5%;user-select:none;-webkit-user-select:none;white-space:nowrap;z-index:9999}.dnb-skip-link--active:after,.dnb-skip-link:focus:after{background-color:hsla(0,0%,100%,.85);box-shadow:150vw 150vh 0 0 hsla(0,0%,100%,.85);content:"";height:150vh;left:-200vw;position:absolute;top:-200vh;width:150vw;z-index:-2}.dnb-skip-link--active:before,.dnb-skip-link:focus:before{background-color:var(--skip-link-background);border-radius:1.5rem;content:"";height:100%;left:0;outline:none;position:absolute;top:0;width:100%;z-index:-1}html[data-whatinput=mouse] .dnb-skip-link--active:before,html[data-whatinput=mouse] .dnb-skip-link:focus:before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:hover:before,.dnb-skip-link:focus:hover:before{background-color:var(--skip-link-background--hover)}.dnb-skip-link--active:active:before,.dnb-skip-link:focus:active:before{background-color:var(--skip-link-background--active)}.dnb-skip-link--active:focus:not(:active):before,.dnb-skip-link:focus:focus:not(:active):before{outline:none}html[data-whatinput=keyboard] .dnb-skip-link--active:focus:not(:active):before,html[data-whatinput=keyboard] .dnb-skip-link:focus:focus:not(:active):before{--border-color:var(--focus-ring-color);--border-width:var(--focus-ring-width);border-color:transparent;box-shadow:0 0 0 var(--border-width) var(--border-color)}.dnb-skip-link--active:focus,.dnb-skip-link:focus:focus{opacity:1}.dnb-skip-link--active:hover,.dnb-skip-link:focus:hover{background-color:transparent;box-shadow:none;color:var(--skip-link-color--hover)}.dnb-skip-link--active:focus:not(:hover):not(:active),.dnb-skip-link:focus:focus:not(:hover):not(:active){background-color:transparent;box-shadow:none;color:var(--skip-link-color)}.dnb-skip-link--active:active,.dnb-skip-link:focus:active{background-color:transparent;color:var(--skip-link-color--active)}html[data-whatintent=touch] .dnb-skip-link{display:none}.dnb-alignment-helper,.dnb-alignment-helper:before{speak:none;display:inline-block;font-size:var(--font-size-small);height:0;width:0}.dnb-alignment-helper:before{content:""}.dnb-drop-shadow{box-shadow:var(--shadow-default)}.dnb-sr-only{-webkit-touch-callout:none!important;border:0!important;clip-path:inset(50%)!important;margin:0!important;max-height:1px!important;max-width:1px!important;overflow:hidden!important;padding:0!important;pointer-events:none!important;position:absolute!important;-webkit-user-select:none!important;user-select:none!important;white-space:nowrap!important}.dnb-suffix{font-size:var(--font-size-basis);line-height:var(--line-height-basis);padding-left:.5rem;word-break:normal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;cursor:default;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:var(--line-height-basis);-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.
|
|
1
|
+
html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;cursor:default;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:var(--line-height-basis);-moz-tab-size:4;tab-size:4;word-break:break-word}body{margin:0}html{font-size:100%}html:not([data-visual-test]){scroll-behavior:smooth}@supports (-webkit-touch-callout:none){@supports (font:-apple-system-body){html{font:-apple-system-body}}}html[xmlns="http://www.w3.org/1999/xhtml"] a:hover{-webkit-text-decoration:none;text-decoration:none}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--active{color:var(--color-mint-green)!important}html[xmlns="http://www.w3.org/1999/xhtml"] .dnb-anchor--contrast:not(:hover){color:var(--color-white)!important}html[xmlns="http://www.w3.org/1999/xhtml"] a.dnb-button--primary{color:var(--color-white)}html[xmlns="http://www.w3.org/1999/xhtml"] ul{list-style:initial}html[xmlns="http://www.w3.org/1999/xhtml"] p{background-color:initial;overflow:initial;text-align:inherit}html[xmlns="http://www.w3.org/1999/xhtml"] i{font-style:italic}html[xmlns="http://www.w3.org/1999/xhtml"] #column_left,html[xmlns="http://www.w3.org/1999/xhtml"] #root{width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefault #wrapper,html[xmlns="http://www.w3.org/1999/xhtml"] body#dnbLayoutDefaultStartPage #wrapper{max-width:60rem;width:100%}html[xmlns="http://www.w3.org/1999/xhtml"] #column_content{box-shadow:none}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:rgba(0,0,0,0);-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;--eufemia-version:"10.40.0";color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis);tab-size:4;-moz-tab-size:4;word-break:break-word}body *,body :after,body :before{background-repeat:no-repeat;box-sizing:border-box}body :after,body :before{text-decoration:inherit;vertical-align:inherit}body hr{height:0;overflow:visible}body main{display:block}body nav ol,body nav ul{list-style:none}body abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}body b,body strong{font-weight:bolder}body code,body kbd,body pre,body samp{font-family:var(--font-family-monospace)}body ::selection{background-color:#b3d4fc;color:#000;text-shadow:none}body audio,body canvas,body iframe,body img,body svg,body video{vertical-align:middle}body audio,body video{display:inline-block}body audio:not([controls]){display:none;height:0}body img{border-style:none}body svg:not([fill]){fill:currentcolor}body svg:not(:root){overflow:hidden}body table{border-collapse:collapse}body button,body input,body select,body textarea{font-family:inherit;font-size:inherit;line-height:inherit}body button,body figure,body input,body select{margin:0}body button{overflow:visible;text-transform:none}body fieldset{padding:.35rem .75rem .625rem}body input{overflow:visible;word-break:normal}body legend{color:inherit;display:table;max-width:100%;white-space:normal}body progress{display:inline-block;vertical-align:baseline}body select{text-transform:none}body textarea{overflow:auto;resize:vertical}body [type=checkbox],body [type=radio]{padding:0}body input[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}body ::-webkit-inner-spin-button,body ::-webkit-outer-spin-button{height:auto}body ::input-placeholder{color:inherit;opacity:.54}body ::-webkit-search-decoration{-webkit-appearance:none;appearance:none}body ::-webkit-file-upload-button{background-color:transparent;border:none;font:inherit}body ::-moz-focus-inner{border-style:none;padding:0}body details{display:block}body summary{display:list-item}body canvas{display:inline-block}body template{display:none}body [tabindex],body a,body area,body button,body input,body label,body select,body summary,body textarea{touch-action:manipulation}body [hidden]{display:none}body [aria-busy=true]{cursor:progress}body [aria-controls]:not(input){cursor:pointer}body [aria-disabled=true],body [disabled]{cursor:not-allowed}body [aria-hidden=false][hidden]:not(:focus){clip:rect(0,0,0,0);display:inherit;position:absolute}@media print{body{background-color:#fff;color:#000}}body .eufemia-theme{color:var(--theme-color-body,var(--color-black-80,#333));font-family:var(--font-family-default);font-size:var(--font-size-small);font-style:normal;font-weight:var(--font-weight-basis);line-height:var(--line-height-basis)}
|
|
@@ -2137,6 +2137,12 @@ label + .dnb-autocomplete[class*=__form-status] .dnb-autocomplete__shell {
|
|
|
2137
2137
|
.dnb-badge--vertical-top {
|
|
2138
2138
|
top: 0;
|
|
2139
2139
|
}
|
|
2140
|
+
.dnb-badge--inline.dnb-badge--vertical-top {
|
|
2141
|
+
transform: translateY(-25%);
|
|
2142
|
+
}
|
|
2143
|
+
.dnb-badge--inline.dnb-badge--vertical-bottom {
|
|
2144
|
+
transform: translateY(25%);
|
|
2145
|
+
}
|
|
2140
2146
|
|
|
2141
2147
|
/*
|
|
2142
2148
|
* Breadcrumb component
|