UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

28 lines (27 loc) 1.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostalCodeAndCityProperties = void 0; var _FieldDocs = require("../FieldDocs.js"); var _StringDocs = require("../String/StringDocs.js"); const PostalCodeAndCityProperties = exports.PostalCodeAndCityProperties = { countryCode: { doc: 'Defines which country the postal code and city is for, based on the [ISO 3166-1 alpha-2 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) i.e. `NO`, `DE` etc. ' + 'Setting it to anything other than `NO` will remove the default norwegian postal code pattern. ' + 'You can also use the value of another field to define the countryCode, by using a path value i.e. `/myCountryCodePath`. ' + 'Defaults to `NO`.', type: ['Path', 'string'], status: 'optional' }, postalCode: { doc: 'Properties for the [Field.String](/uilib/extensions/forms/base-fields/String/) component for postal code.', type: 'object', status: 'required' }, city: { doc: 'Properties for the [Field.String](/uilib/extensions/forms/base-fields/String/) component for city.', type: 'object', status: 'required' }, help: _FieldDocs.FieldProperties.help, size: _StringDocs.StringProperties.size }; //# sourceMappingURL=PostalCodeAndCityDocs.js.map