Liferay.Loader.define("data-engine-js-components-web@1.0.79/js/utils/fields.es",["module","exports","require","./visitors.es"],(function(e,t,i){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.checkValidFieldNameCharacter=r,t.normalizeFieldName=function(e){let t=!1,i="";e=e.trim();for(let n=0;n<e.length;n++){let s=e[n];" "!==s?r(s)&&(t&&(s=s.toUpperCase(),t=!1),i+=s):t=!0}/^\d/.test(i)&&(i="_".concat(i));return i},t.getFields=function(e){const t=[];return new n.PagesVisitor(e).visitFields((e=>{t.push(e)})),t},t.hasFieldSet=function(e){return"fieldset"===(null==e?void 0:e.type)&&e.ddmStructureId};var n=i("./visitors.es");function r(e){return/[A-Za-z0-9_]/g.test(e)}}}));
//# sourceMappingURL=fields.es.js.map