infinity-forge 9.0.5 → 9.0.7

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.
Files changed (35) hide show
  1. package/dist/test/index.js +16 -215
  2. package/dist/test/index.js.map +1 -1
  3. package/dist/ui/atena/presentation/dynamic-sections/context.js +1 -1
  4. package/dist/ui/atena/presentation/dynamic-sections/context.js.map +1 -1
  5. package/dist/ui/contexts/i18n/context.js +9 -10
  6. package/dist/ui/contexts/i18n/context.js.map +1 -1
  7. package/dist/ui/utils/form-validator/index.d.ts +2 -8
  8. package/dist/ui/utils/form-validator/index.js +5 -27
  9. package/dist/ui/utils/form-validator/index.js.map +1 -1
  10. package/dist/ui/utils/{validations → form-validator/validations}/index.d.ts +1 -0
  11. package/dist/ui/utils/{validations → form-validator/validations}/index.js +1 -0
  12. package/dist/ui/utils/form-validator/validations/index.js.map +1 -0
  13. package/dist/ui/utils/form-validator/validations/validate-cnpj.d.ts +1 -0
  14. package/dist/ui/utils/form-validator/validations/validate-cnpj.js +39 -0
  15. package/dist/ui/utils/form-validator/validations/validate-cnpj.js.map +1 -0
  16. package/dist/ui/utils/form-validator/validations/validate-cpf.js.map +1 -0
  17. package/dist/ui/utils/form-validator/validations/validate-email.js.map +1 -0
  18. package/dist/ui/utils/form-validator/validations/validate-phone.js.map +1 -0
  19. package/dist/ui/utils/form-validator/validator.d.ts +27 -0
  20. package/dist/ui/utils/form-validator/validator.js +207 -0
  21. package/dist/ui/utils/form-validator/validator.js.map +1 -0
  22. package/dist/ui/utils/index.d.ts +1 -1
  23. package/dist/ui/utils/index.js +1 -1
  24. package/dist/ui/utils/index.js.map +1 -1
  25. package/package.json +1 -1
  26. package/dist/ui/utils/validations/index.js.map +0 -1
  27. package/dist/ui/utils/validations/validate-cpf.js.map +0 -1
  28. package/dist/ui/utils/validations/validate-email.js.map +0 -1
  29. package/dist/ui/utils/validations/validate-phone.js.map +0 -1
  30. /package/dist/ui/utils/{validations → form-validator/validations}/validate-cpf.d.ts +0 -0
  31. /package/dist/ui/utils/{validations → form-validator/validations}/validate-cpf.js +0 -0
  32. /package/dist/ui/utils/{validations → form-validator/validations}/validate-email.d.ts +0 -0
  33. /package/dist/ui/utils/{validations → form-validator/validations}/validate-email.js +0 -0
  34. /package/dist/ui/utils/{validations → form-validator/validations}/validate-phone.d.ts +0 -0
  35. /package/dist/ui/utils/{validations → form-validator/validations}/validate-phone.js +0 -0
@@ -1,223 +1,24 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro = NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro;
15
4
  var jsx_runtime_1 = require("react/jsx-runtime");
16
- var system_1 = require("../system/index.js");
17
5
  var ui_1 = require("../ui/index.js");
18
6
  function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro() {
19
- var _a;
20
- var pages = (_a = [
21
- {
22
- menuId: 1,
23
- id: 65,
24
- ativo: true,
25
- excluido: false,
26
- destaque: false,
27
- ordem: 0,
28
- dataCriacao: '2025-04-26T22:24:53.98',
29
- dataEdicao: '2025-05-14T01:11:36.1433333',
30
- nome: 'Blog',
31
- route: '/blog',
32
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Blog","pageURL":"/blog","entityName":"contents","entityRoute":"Blog","selectedKeys":{"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}},"AutorId":{"active":false,"component":null},"Categoria":{"active":false,"component":null},"CategoriaId":{"active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]}},"CategoriaTitle":{"active":false,"component":null},"Data":{"active":false,"component":null},"DataCriacao":{"active":false,"component":null},"Descricao":{"active":true,"component":{"type":"TextEditor","props":{"label":"Descrição"}},"validation":{"type":["required"]}},"Destaque":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Destaque"}}},"Ordem":{"active":false,"component":null},"Slug":{"active":false,"component":null},"Subtitulo":{"active":false,"component":null},"Tags":{"active":true,"component":{"type":"Input","props":{"label":"Tags"}}},"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL","placeholder":"URL"}},"validation":{"type":["required"]}}},"configurationListTable":{"colunms":[{"id_input":"d3a23679-7ecb-4f01-9ef7-579ce5d07154","colunmId":"Ativo","colunmLabel":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"2d64bce4-aa77-4063-95db-10c29028018b","colunmLabel":"Título","colunmId":"Titulo","colunmType":"text"},{"id_input":"3308e23c-7d40-408f-8e6a-98493105438f","colunmLabel":"URL","colunmId":"Url","colunmType":"text"},{"id_input":"80589366-bcde-40ee-858a-bc72a9142c65","colunmType":"text","colunmId":"Categoria.Titulo","colunmLabel":"Categoria"}]},"jsonContent":{"components":["thumbnail","seo"],"validations":{"images":{"type":[]},"thumbnail":{"type":["required"]},"seo":{"type":["required"]}},"menu":{"svg":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" xmlns:xlink=\\"http://www.w3.org/1999/xlink\\" style=\\"enable-background:new 0 0 50 50;\\" version=\\"1.1\\" viewBox=\\"0 0 50 50\\" xml:space=\\"preserve\\"><g id=\\"Layer_1\\"><path d=\\"M9,13H1v31c0,2.757,2.243,5,5,5h38c2.757,0,5-2.243,5-5V1H9V13z M3,44V15h6v29c0,1.654-1.346,3-3,3S3,45.654,3,44z M11,3 h36v41c0,1.654-1.346,3-3,3H9.998c0.03-0.039,0.051-0.084,0.079-0.124c0.057-0.081,0.107-0.166,0.159-0.251 c0.106-0.17,0.202-0.345,0.287-0.528c0.045-0.096,0.088-0.193,0.126-0.292c0.075-0.194,0.135-0.393,0.186-0.598 c0.023-0.094,0.052-0.184,0.07-0.28C10.963,44.626,11,44.318,11,44V13V3z\\"/><rect height=\\"2\\" width=\\"28\\" x=\\"15\\" y=\\"8\\"/><rect height=\\"2\\" width=\\"20\\" x=\\"19\\" y=\\"13\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"31\\" y=\\"21\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"31\\" y=\\"26\\"/><path d=\\"M27,21H15v12h12V21z M25,31h-8v-8h8V31z\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"31\\" y=\\"31\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"15\\" y=\\"36\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"31\\" y=\\"36\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"15\\" y=\\"41\\"/><rect height=\\"2\\" width=\\"12\\" x=\\"31\\" y=\\"41\\"/></g><g/></svg>","role":["Admin","administradorMaster"]}}},"templates":[{"id":"301b2243-1132-4f89-81d2-4c0203110eb4","type":"tab","title":"Tab Padrão","children":[{"id":"8a747da2-0f83-441a-b566-04423f18c2af","type":"tab_item","title":"Conteúdo","children":[{"id":"98595439-3b7c-47bb-adb2-d12317c99fe5","type":"section","children":[{"id":"4a35f139-566d-4ebf-ade4-fb3b6eb20dfe","type":"column","width":8,"children":[{"id":"a24185a5-4ba2-4e8c-800b-430190672d41","type":"row","children":[{"id":"16775754-885e-48aa-bb1a-bc29bafbbb87","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"05e48d98-b8d4-440d-b3ed-096a6b1cba07","type":"row","children":[{"id":"43ee1dbb-34a2-4132-b4b8-c0b7566b27d2","active":true,"component":{"type":"TextEditor","props":{"label":"Descrição"}},"validation":{"type":["required"]},"propertyName":"Descricao","componentType":"TextEditor","label":"Descricao","type":"property","isNew":true,"fromSidebar":true}]},{"id":"a6beab44-208b-45b8-aa43-1a9344db3f38","type":"row","children":[{"id":"a3df15a4-ced9-41d5-9336-5c5f77f8bda3","active":true,"component":{"type":"Input","props":{"label":"URL","placeholder":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"30f8d1ef-8726-497b-9272-82136a36902d","type":"row","children":[{"id":"09657c04-0840-487c-bb2f-212b8791a299","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true},{"id":"b534efa2-7632-4ea1-b7b7-877f1edcd6ac","active":true,"component":{"type":"InputSwitch","props":{"label":"Destaque"}},"propertyName":"Destaque","componentType":"InputSwitch","label":"Destaque","type":"property","isNew":true,"fromSidebar":true}]}]},{"id":"7df89ec1-6e5c-49e0-be8a-752a49cc0268","type":"column","width":4,"children":[{"id":"9649afc6-86b3-410e-8f7b-abae9321eb22","type":"row","children":[{"id":"aa863d3b-a65a-4646-adca-5ea4348c0f7e","active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]},"propertyName":"CategoriaId","componentType":"Select","label":"CategoriaId","type":"property","isNew":true,"fromSidebar":true}]},{"id":"6fa19a6f-5843-4699-902f-fdb56e9277cc","type":"row","children":[{"id":"d566e0c7-aa4d-4f5e-af3d-3abfc12e2121","active":true,"component":{"type":"Input","props":{"label":"Tags"}},"propertyName":"Tags","componentType":"Input","label":"Tags","type":"property","isNew":true,"fromSidebar":true}]},{"id":"6ce19cef-43d8-413c-a31c-a8574aa850e3","type":"row","children":[{"id":"ddb1b7df-ec5f-4979-bec6-0ed032eea1ec","jsonContentType":"thumbnail","propertyName":"jsonContent.thumbnail","componentType":"Input","label":"jsonContent.thumbnail","type":"property","isNew":true,"fromSidebar":true}]},{"id":"b91f2f71-d26b-452a-ae3c-2a2d59cf1e2b","type":"row","children":[{"id":"c01fb8c8-96b1-4734-904f-bf3f3120d027","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
33
- entityName: 'contents',
34
- entityRoute: 'Blog',
35
- },
36
- {
37
- menuId: 1,
38
- id: 66,
39
- ativo: true,
40
- excluido: false,
41
- destaque: false,
42
- ordem: 0,
43
- dataCriacao: '2025-04-26T22:30:57.5533333',
44
- dataEdicao: '2025-05-14T01:14:03.5966667',
45
- nome: 'Categorias de Blog',
46
- route: '/blog/categoria',
47
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Categorias de Blog","pageURL":"/blog/categoria","entityName":"properties","entityRoute":"Categoria","selectedKeys":{"Album":{"active":false,"component":null},"Artigo":{"active":false,"component":null},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":["required"]}},"Banner":{"active":false,"component":null},"Blog":{"active":false,"component":null},"Curso":{"active":false,"component":null},"DataCriacao":{"active":false,"component":null},"Depoimento":{"active":false,"component":null},"Descricao":{"active":false,"component":null},"Destaque":{"active":false,"component":null},"EntityKey":{"active":false,"component":null},"Equipe":{"active":false,"component":null},"Faq":{"active":false,"component":null},"Foto":{"active":false,"component":null},"Imagem":{"active":false,"component":null},"ImagemAlt":{"active":false,"component":null},"Marca":{"active":false,"component":null},"MetaDescription":{"active":false,"component":null},"MetaImage":{"active":false,"component":null},"Objeto":{"active":false,"component":null},"Ordem":{"active":false,"component":null},"PageTitle":{"active":false,"component":null},"Pagina":{"active":false,"component":null},"PaginaContent":{"active":false,"component":null},"Portfolio":{"active":false,"component":null},"Produto":{"active":false,"component":null},"Representante":{"active":false,"component":null},"Slug":{"active":false,"component":null},"Subtitulo":{"active":false,"component":null},"Tags":{"active":false,"component":null},"Thumbnail":{"active":false,"component":null},"ThumbnailAlt":{"active":false,"component":null},"TipoCategoria":{"active":false,"component":null},"TipoCategoriaId":{"active":false,"component":null},"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Video":{"active":false,"component":null},"Directory":{"active":false,"component":null}},"configurationListTable":{"colunms":[{"id_input":"ff30ee9d-582b-4d39-841b-5b6d112ffd6c","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"6ec85474-4b09-4e08-85fc-f78e95072c3b","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"},{"id_input":"ab244fe8-f97f-46bc-bb24-d2faea66275c","colunmLabel":"URL","colunmId":"Url","colunmType":"text"}]},"jsonContent":{"menu":{"father":"/blog","role":["Admin","administradorMaster"]}}},"templates":[{"id":"2680d64d-5913-479e-8283-37f59dcd4516","type":"tab","title":"Tab Padrão","children":[{"id":"483db5ac-ba01-4974-98be-6b1c12cd4176","type":"tab_item","title":"New Tab","children":[{"id":"3acfc3c6-711a-4893-ae55-ff8c61da23ee","type":"section","children":[{"id":"95119370-8d46-4ba0-8a82-5a7cc9a03e1a","type":"column","width":12,"children":[{"id":"cef84fa2-4147-49c5-8aa1-62c9ae779cbb","type":"row","children":[{"id":"6ec71c8e-b666-47d3-a705-748c88b07f55","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"1dda9323-fa2d-4dbc-81ba-e49e8e7989f1","type":"row","children":[{"id":"374a77d0-3053-4955-909a-b1c706d2809c","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"51e65ca8-e21c-41bf-b0a2-b36866015444","type":"row","children":[{"id":"1dfc3bd6-9b36-4b4f-9909-fc3fa870a2b3","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":["required"]},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
48
- entityName: 'properties',
49
- entityRoute: 'Categoria',
50
- },
51
- {
52
- menuId: 1,
53
- id: 74,
54
- ativo: true,
55
- excluido: false,
56
- destaque: false,
57
- ordem: 0,
58
- dataCriacao: '2025-05-15T22:42:23.9440653',
59
- dataEdicao: '2025-05-16T03:11:46.8586699',
60
- nome: 'Estilos Gastronomia',
61
- route: '/gastronomia/estilos',
62
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Estilos Gastronomia","pageURL":"/gastronomia/estilos","entityName":"properties","entityRoute":"Categoria","jsonContent":{"menu":{"role":["administradorMaster","Admin"],"father":"/gastronomia","svg":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"64\\" height=\\"64\\" viewBox=\\"0 0 64 64\\" fill=\\"none\\">\\n <path d=\\"M32 10C32 7.79086 30.2091 6 28 6C25.7909 6 24 7.79086 24 10C24 11.6193 24.9464 13.0054 26.3038 13.6816L30.2699 15.6652C30.7237 15.8877 31 16.354 31 16.8613V17.5C31 18.3284 30.3284 19 29.5 19H28C26.3431 19 25 20.3431 25 22C25 23.6569 26.3431 25 28 25H29.5C32.5376 25 35 22.5376 35 19.5V18.8613C35 17.3811 34.1445 16.0362 32.8147 15.3801L28.8486 13.3965C28.3927 13.174 28.1162 12.7076 28.1162 12.2003C28.1162 11.5394 28.6556 11 29.3165 11C29.9773 11 30.5167 11.5394 30.5167 12.2003V12.5C30.5167 12.7761 30.7406 13 31.0167 13H32C33.1046 13 34 12.1046 34 11C34 9.89543 33.1046 9 32 9V10Z\\"/>\\n <path d=\\"M12 42L32 30L52 42L32 54L12 42Z\\" stroke-width=\\"2\\"/>\\n <path d=\\"M32 33L35 39H41L36 43L38 49L32 45L26 49L28 43L23 39H29L32 33Z\\" stroke-width=\\"1.5\\"/>\\n</svg>"},"components":["seo"]},"type":"Component","entityKEY":"estilos-gastronomia","undefinedTitulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"undefinedAtivo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"configurationListTable":{"colunms":[{"id_input":"522eb699-7d87-457b-aede-55ac37c9070a","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"b42b0926-ccf4-4b4d-9f5b-68999ae76e25","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"Curso":{"active":false,"component":null},"Destaque":{"active":false,"component":null,"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}}}},"templates":[{"id":"8f585152-f5f8-451a-bb8e-5d643b5e4401","type":"tab","title":"Tab Padrão","children":[{"id":"62b9acc0-7eff-4925-bcbf-6a091b304193","type":"tab_item","title":"Conteúdo","children":[{"id":"e0bc562d-54f6-4bfb-86a1-727406592acf","type":"section","children":[{"id":"c7a704f4-9e77-4835-a19f-3bc879ab2d56","type":"column","width":12,"children":[{"id":"a58f7bd3-8dff-4979-8d38-7935f311ce6d","type":"row","children":[{"id":"50061ef0-f138-44c9-9264-eacbd3350aae","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"7152ae44-14e3-4185-a8cf-a892a69d5a2c","type":"row","children":[{"id":"d4b167d3-8dec-424c-9130-1008a1f21063","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"3b009757-dd9f-4db8-bd95-468771c955a1","type":"row","children":[{"id":"fa38fcec-2c9f-45f2-b044-f17cdf8a0aed","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"9fef4b35-533c-4793-9397-d462b2ec6554","type":"tab_item","title":"SEO","children":[{"id":"69804c3d-ada5-4d6a-8b78-680494db6ead","type":"section","children":[{"id":"f1afc776-8d6c-4c08-b764-c47f6a16e7bb","type":"column","width":12,"children":[{"id":"8d4f7cc8-80be-42b4-825c-be0e7b75f55f","type":"row","children":[{"id":"ab85c473-ede1-43d6-b002-766ca8f5b446","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
63
- entityName: 'properties',
64
- entityRoute: 'Categoria',
65
- },
66
- {
67
- menuId: 1,
68
- id: 75,
69
- ativo: true,
70
- excluido: false,
71
- destaque: false,
72
- ordem: 0,
73
- dataCriacao: '2025-05-16T01:33:47.7404676',
74
- dataEdicao: '2025-05-16T09:39:55.3243115',
75
- nome: 'Gastronomia',
76
- route: '/gastronomia',
77
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Gastronomia","pageURL":"/gastronomia","entityName":"directories","entityRoute":"Directory","jsonContent":{"menu":{"role":["administradorMaster","Admin"]},"components":["thumbnail","images","seo","redes_sociais","informations_list"]},"type":"pagina","entityKEY":"gastronomia","selectedKeys":{"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Name":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"IsActive":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}},"ZipCode":{"active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}}},"CategoriaId":{"active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]}},"Description":{"active":true,"component":{"type":"TextEditor","props":{"label":"Descrição"}},"validation":{"type":["required"]}},"Lat":{"active":false,"component":null,"validation":{"type":["required"]}},"Lng":{"active":false,"component":null,"validation":{"type":["required"]}},"Guid":{"active":true,"component":{"type":"TextEditor","props":{"label":"Descrição curta"}},"validation":{"type":["required"]}},"PriceBRL":{"active":true,"component":{"type":"Input"}},"HasAccessibility":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Possui acessebilidade"}},"validation":{"type":[]}}},"configurationListTable":{"colunms":[{"id_input":"62228b91-ddcc-49c7-ae81-235abedee936","colunmLabel":"Titulo","colunmId":"Name","colunmType":"text"},{"id_input":"af303245-8d9f-44be-8596-d5a05f39f73e","colunmLabel":"Ativo","colunmId":"IsActive","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}}]},"dynamicConfigurations":[{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"74","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-gastronomia"},{"id_input":"8bb92f58-df29-4704-9251-e8cdfe481f5b","entityComponentName":"comodidades-gastronomia","componentName":"checkboxlist","EntityKey":"","id":"80"},{"id_input":"fc101f4c-1675-4737-abc7-b535f059ded1","id":"83","entityComponentName":"subcategoria-gastronomia","componentName":"checkboxlist"}],"id":"74"},"templates":[{"id":"8710b246-7332-4eae-9509-0712810e7ab1","type":"tab","title":"Tab Padrão","children":[{"id":"5723f27d-c1c0-42b4-a1a3-615cd037efce","type":"tab_item","title":"Conteúdo","children":[{"id":"b1d956aa-6ddf-4cf3-96a7-ccec8b8cf1d9","type":"section","children":[{"id":"f1d4ee44-3892-4348-9425-882e343149c8","type":"column","width":8,"children":[{"id":"869ae58a-8ddb-4408-bacb-23a64fb20f17","type":"row","children":[{"id":"5234a8d4-7edc-4ba4-bb12-734eb1c62436","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Name","componentType":"Input","label":"Name","type":"property","isNew":true,"fromSidebar":true}]},{"id":"f94e7979-4a86-42db-b8f2-de0052faa32d","type":"row","children":[{"id":"9e00896c-7db7-4b54-a672-bf7492bf8f90","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"020140c9-28dc-4d90-b133-e8d48bfdb630","type":"row","children":[{"id":"47b0da62-8661-4cc7-82a8-e81ce276afe8","active":true,"component":{"type":"TextEditor","props":{"label":"Descrição"}},"validation":{"type":["required"]},"propertyName":"Description","componentType":"TextEditor","label":"Description","type":"property","isNew":true,"fromSidebar":true}]},{"id":"4d5f9d4c-6e91-4ee5-b555-3d2cd68653eb","type":"row","children":[{"id":"dbe742ce-269f-41f1-8436-553ac058c8be","active":true,"component":{"type":"TextEditor","props":{"label":"Descrição curta"}},"validation":{"type":["required"]},"propertyName":"Guid","componentType":"TextEditor","label":"Guid","type":"property","isNew":true,"fromSidebar":true}]},{"id":"365f9a00-96ea-425b-969c-357c515ad191","type":"row","children":[{"id":"8df3ec4b-f933-477f-b3d5-4d4f9dcd5523","active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}},"propertyName":"ZipCode","componentType":"InputCep","label":"ZipCode","type":"property","isNew":true,"fromSidebar":true}]}]},{"id":"f75ecbbd-3e22-41a5-a18e-54785b0012b1","type":"column","width":4,"children":[{"id":"b74febd6-16c7-45fb-a619-027a38905d23","type":"row","children":[{"id":"cdbf3e62-01c2-45b4-8af8-4507984c4546","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"IsActive","componentType":"InputSwitch","label":"IsActive","type":"property","isNew":true,"fromSidebar":true}]},{"id":"a8d150bb-025d-4e14-a3ed-dd8ef4b08b02","type":"row","children":[{"id":"95b65878-e45f-4620-a54f-47bfe7313d81","active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]},"propertyName":"CategoriaId","componentType":"Select","label":"CategoriaId","type":"property","isNew":true,"fromSidebar":true}]},{"id":"d936043c-d14e-466a-b768-9ef8ebfd76f0","type":"row","children":[{"id":"4e7ac420-3e3a-494b-900a-bfbb1ed597df","jsonContentType":"redes_sociais","propertyName":"jsonContent.redes_sociais","componentType":"Input","label":"jsonContent.redes_sociais","type":"property","isNew":true,"fromSidebar":true}]},{"id":"b7de916f-c7dc-4456-8706-871fcc7c7b98","type":"row","children":[{"id":"149ce735-f0ec-47fa-808f-08940c11fc8c","active":true,"component":{"type":"Input"},"propertyName":"PriceBRL","componentType":"Input","label":"PriceBRL","type":"property","isNew":true,"fromSidebar":true}]},{"id":"4cc96796-a6df-4d15-9ac4-8827f43e95eb","type":"row","children":[{"id":"0af73fe2-5a2c-4208-b55f-3e56e518e3c1","jsonContentType":"thumbnail","propertyName":"jsonContent.thumbnail","componentType":"Input","label":"jsonContent.thumbnail","type":"property","isNew":true,"fromSidebar":true}]},{"id":"deecee4d-46f5-4d86-b521-b2c1370dacfa","type":"row","children":[{"id":"e0fef77e-309d-4376-b922-65ba9ce569b0","active":true,"component":{"type":"InputSwitch","props":{"label":"Possui acessebilidade"}},"validation":{"type":[]},"propertyName":"HasAccessibility","componentType":"InputSwitch","label":"HasAccessibility","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"247a179d-7110-4547-9164-a9baf3693f00","type":"tab_item","title":"SEO","children":[{"id":"410e9b26-37a6-4380-bf79-1153cd2cc291","type":"section","children":[{"id":"46535401-eae9-48fb-9bcb-498caaa013d5","type":"column","width":12,"children":[{"id":"17c5adcb-cdef-4f1c-86b7-5f24fdc6f067","type":"row","children":[{"id":"910c2929-3bc4-4f67-90c9-e71dffd75997","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"69b027ae-23c3-4988-8ef8-c98b7dde3d4a","type":"tab_item","title":"Imagens","children":[{"id":"38adc76e-0322-4496-b7a0-0c437bba04d3","type":"section","children":[{"id":"748436f9-6e72-4382-8ae7-26b16a07e758","type":"column","width":12,"children":[{"id":"89d15da0-ee85-44ac-bda3-66ac04b1e489","type":"row","children":[{"id":"f17c3541-b383-4c52-8238-451651e937dc","jsonContentType":"images","propertyName":"jsonContent.images","componentType":"Input","label":"jsonContent.images","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"a0be0b05-cec4-457b-b71d-4205dd95f2b3","type":"tab_item","title":"Detalhes","children":[{"id":"50ae970d-73b0-4652-870c-a5f7fb4a0e2d","type":"section","children":[{"id":"f9300425-94a2-4479-9acd-47689a97f6f9","type":"column","width":12,"children":[{"id":"7f628e5f-44da-48e9-8637-22653b094400","type":"row","children":[{"id":"0d83510d-1c51-401a-af4e-4a834c3c82b7","dynamicComponent":{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"74","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-gastronomia"},"propertyName":"estilos-gastronomia","componentType":"Input","label":"estilos-gastronomia","type":"property","isNew":true,"fromSidebar":true}]},{"id":"f82ba421-f1b9-42cc-b177-7ce530e007e6","type":"row","children":[{"id":"162da02f-b05f-4b74-ab86-b97bd2a31d98","dynamicComponent":{"id_input":"8bb92f58-df29-4704-9251-e8cdfe481f5b","entityComponentName":"comodidades-gastronomia","componentName":"checkboxlist","EntityKey":"","id":"80"},"propertyName":"comodidades-gastronomia","componentType":"Input","label":"comodidades-gastronomia","type":"property","isNew":true,"fromSidebar":true}]},{"id":"9a647cce-d210-47ea-ba78-9ccca3f400ce","type":"row","children":[{"id":"183c880d-127e-460d-9e60-99fbfb0dc61c","dynamicComponent":{"id_input":"fc101f4c-1675-4737-abc7-b535f059ded1","id":"83","entityComponentName":"subcategoria-gastronomia","componentName":"checkboxlist"},"propertyName":"subcategoria-gastronomia","componentType":"Input","label":"subcategoria-gastronomia","type":"property","isNew":true,"fromSidebar":true}]},{"id":"a13d30ec-ee4f-4887-9c9a-2b9fed43662d","type":"row","children":[{"id":"b2d51d0b-ea17-4951-93f1-6c4a1ce2573e","jsonContentType":"informations_list","propertyName":"jsonContent.informations_list","componentType":"Input","label":"jsonContent.informations_list","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
78
- entityName: 'directories',
79
- entityRoute: 'Directory',
80
- },
81
- {
82
- menuId: 1,
83
- id: 76,
84
- ativo: true,
85
- excluido: false,
86
- destaque: false,
87
- ordem: 0,
88
- dataCriacao: '2025-05-16T02:32:08.5768984',
89
- dataEdicao: '2025-05-16T03:26:31.8041692',
90
- nome: 'Estilos Hospedagem',
91
- route: '/hospedagem/estilos',
92
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Estilos Hospedagem","pageURL":"/hospedagem/estilos","entityName":"properties","entityRoute":"Categoria","jsonContent":{"menu":{"role":["administradorMaster","Admin"],"father":"/hospedagem","svg":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"64\\" height=\\"64\\" viewBox=\\"0 0 64 64\\" fill=\\"none\\">\\n <path d=\\"M32 10C32 7.79086 30.2091 6 28 6C25.7909 6 24 7.79086 24 10C24 11.6193 24.9464 13.0054 26.3038 13.6816L30.2699 15.6652C30.7237 15.8877 31 16.354 31 16.8613V17.5C31 18.3284 30.3284 19 29.5 19H28C26.3431 19 25 20.3431 25 22C25 23.6569 26.3431 25 28 25H29.5C32.5376 25 35 22.5376 35 19.5V18.8613C35 17.3811 34.1445 16.0362 32.8147 15.3801L28.8486 13.3965C28.3927 13.174 28.1162 12.7076 28.1162 12.2003C28.1162 11.5394 28.6556 11 29.3165 11C29.9773 11 30.5167 11.5394 30.5167 12.2003V12.5C30.5167 12.7761 30.7406 13 31.0167 13H32C33.1046 13 34 12.1046 34 11C34 9.89543 33.1046 9 32 9V10Z\\"/>\\n <path d=\\"M12 42L32 30L52 42L32 54L12 42Z\\" stroke-width=\\"2\\"/>\\n <path d=\\"M32 33L35 39H41L36 43L38 49L32 45L26 49L28 43L23 39H29L32 33Z\\" stroke-width=\\"1.5\\"/>\\n</svg>"},"components":["seo"]},"type":"Component","entityKEY":"estilos-hospedagem","undefinedTitulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"undefinedAtivo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"configurationListTable":{"colunms":[{"id_input":"522eb699-7d87-457b-aede-55ac37c9070a","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"b42b0926-ccf4-4b4d-9f5b-68999ae76e25","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"Curso":{"active":false,"component":null},"Destaque":{"active":false,"component":null,"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}}}},"templates":[{"id":"8f585152-f5f8-451a-bb8e-5d643b5e4401","type":"tab","title":"Tab Padrão","children":[{"id":"62b9acc0-7eff-4925-bcbf-6a091b304193","type":"tab_item","title":"Conteúdo","children":[{"id":"e0bc562d-54f6-4bfb-86a1-727406592acf","type":"section","children":[{"id":"c7a704f4-9e77-4835-a19f-3bc879ab2d56","type":"column","width":12,"children":[{"id":"a58f7bd3-8dff-4979-8d38-7935f311ce6d","type":"row","children":[{"id":"50061ef0-f138-44c9-9264-eacbd3350aae","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"7152ae44-14e3-4185-a8cf-a892a69d5a2c","type":"row","children":[{"id":"d4b167d3-8dec-424c-9130-1008a1f21063","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"3b009757-dd9f-4db8-bd95-468771c955a1","type":"row","children":[{"id":"fa38fcec-2c9f-45f2-b044-f17cdf8a0aed","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"9fef4b35-533c-4793-9397-d462b2ec6554","type":"tab_item","title":"SEO","children":[{"id":"69804c3d-ada5-4d6a-8b78-680494db6ead","type":"section","children":[{"id":"f1afc776-8d6c-4c08-b764-c47f6a16e7bb","type":"column","width":12,"children":[{"id":"8d4f7cc8-80be-42b4-825c-be0e7b75f55f","type":"row","children":[{"id":"ab85c473-ede1-43d6-b002-766ca8f5b446","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
93
- entityName: 'properties',
94
- entityRoute: 'Categoria',
95
- },
96
- {
97
- menuId: 1,
98
- id: 77,
99
- ativo: true,
100
- excluido: false,
101
- destaque: false,
102
- ordem: 0,
103
- dataCriacao: '2025-05-16T02:32:18.1264961',
104
- dataEdicao: '2025-05-16T03:26:46.2290087',
105
- nome: 'Estilos Agenda Cultural',
106
- route: '/agenda-cultural/estilos',
107
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Estilos Agenda Cultural","pageURL":"/agenda-cultural/estilos","entityName":"properties","entityRoute":"Categoria","jsonContent":{"menu":{"role":["administradorMaster","Admin"],"father":"/agenda-cultural","svg":"<svg xmlns=\\"http://www.w3.org/2000/svg\\" width=\\"64\\" height=\\"64\\" viewBox=\\"0 0 64 64\\" fill=\\"none\\">\\n <path d=\\"M32 10C32 7.79086 30.2091 6 28 6C25.7909 6 24 7.79086 24 10C24 11.6193 24.9464 13.0054 26.3038 13.6816L30.2699 15.6652C30.7237 15.8877 31 16.354 31 16.8613V17.5C31 18.3284 30.3284 19 29.5 19H28C26.3431 19 25 20.3431 25 22C25 23.6569 26.3431 25 28 25H29.5C32.5376 25 35 22.5376 35 19.5V18.8613C35 17.3811 34.1445 16.0362 32.8147 15.3801L28.8486 13.3965C28.3927 13.174 28.1162 12.7076 28.1162 12.2003C28.1162 11.5394 28.6556 11 29.3165 11C29.9773 11 30.5167 11.5394 30.5167 12.2003V12.5C30.5167 12.7761 30.7406 13 31.0167 13H32C33.1046 13 34 12.1046 34 11C34 9.89543 33.1046 9 32 9V10Z\\"/>\\n <path d=\\"M12 42L32 30L52 42L32 54L12 42Z\\" stroke-width=\\"2\\"/>\\n <path d=\\"M32 33L35 39H41L36 43L38 49L32 45L26 49L28 43L23 39H29L32 33Z\\" stroke-width=\\"1.5\\"/>\\n</svg>"},"components":["seo"]},"type":"Component","entityKEY":"estilos-agenda-cultural","undefinedTitulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"undefinedAtivo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"configurationListTable":{"colunms":[{"id_input":"522eb699-7d87-457b-aede-55ac37c9070a","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"b42b0926-ccf4-4b4d-9f5b-68999ae76e25","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"Curso":{"active":false,"component":null},"Destaque":{"active":false,"component":null,"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}}}},"templates":[{"id":"8f585152-f5f8-451a-bb8e-5d643b5e4401","type":"tab","title":"Tab Padrão","children":[{"id":"62b9acc0-7eff-4925-bcbf-6a091b304193","type":"tab_item","title":"Conteúdo","children":[{"id":"e0bc562d-54f6-4bfb-86a1-727406592acf","type":"section","children":[{"id":"c7a704f4-9e77-4835-a19f-3bc879ab2d56","type":"column","width":12,"children":[{"id":"a58f7bd3-8dff-4979-8d38-7935f311ce6d","type":"row","children":[{"id":"50061ef0-f138-44c9-9264-eacbd3350aae","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"7152ae44-14e3-4185-a8cf-a892a69d5a2c","type":"row","children":[{"id":"d4b167d3-8dec-424c-9130-1008a1f21063","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"3b009757-dd9f-4db8-bd95-468771c955a1","type":"row","children":[{"id":"fa38fcec-2c9f-45f2-b044-f17cdf8a0aed","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"9fef4b35-533c-4793-9397-d462b2ec6554","type":"tab_item","title":"SEO","children":[{"id":"69804c3d-ada5-4d6a-8b78-680494db6ead","type":"section","children":[{"id":"f1afc776-8d6c-4c08-b764-c47f6a16e7bb","type":"column","width":12,"children":[{"id":"8d4f7cc8-80be-42b4-825c-be0e7b75f55f","type":"row","children":[{"id":"ab85c473-ede1-43d6-b002-766ca8f5b446","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
108
- entityName: 'properties',
109
- entityRoute: 'Categoria',
110
- },
111
- {
112
- menuId: 1,
113
- id: 78,
114
- ativo: true,
115
- excluido: false,
116
- destaque: false,
117
- ordem: 0,
118
- dataCriacao: '2025-05-16T02:35:38.8522047',
119
- dataEdicao: '2025-05-16T09:03:44.7643794',
120
- nome: 'Hospedagem',
121
- route: '/hospedagem',
122
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Hospedagem","pageURL":"/hospedagem","entityName":"directories","entityRoute":"Directory","jsonContent":{"menu":{"role":["administradorMaster","Admin"]}},"type":"pagina","entityKEY":"hospedagem","selectedKeys":{"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Name":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"IsActive":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}},"ZipCode":{"active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}}},"CategoriaId":{"active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]}}},"configurationListTable":{"colunms":[{"id_input":"62228b91-ddcc-49c7-ae81-235abedee936","colunmLabel":"Titulo","colunmId":"Name","colunmType":"text"},{"id_input":"af303245-8d9f-44be-8596-d5a05f39f73e","colunmLabel":"Ativo","colunmId":"IsActive","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}}]},"dynamicConfigurations":[{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"76","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-hospedagem"},{"id_input":"231732a2-3298-4c54-8b2d-ead13c030e0d","entityComponentName":"comodidades-hospedagem","componentName":"checkboxlist","id":"81"}],"id":81},"templates":[{"id":"8710b246-7332-4eae-9509-0712810e7ab1","type":"tab","title":"Tab Padrão","children":[{"id":"37972665-9c00-490e-b9cc-f2a1f6b76b60","type":"tab_item","title":"New Tab","children":[{"id":"7b826d14-c663-4253-904d-98931e0b755d","type":"section","children":[{"id":"bb73e3d6-c0e9-437c-9f58-dc754a1360ec","type":"column","width":8,"children":[{"id":"1d5bef3e-a0fb-4ce5-99ac-6fb6d307ccae","type":"row","children":[{"id":"0c98048f-2642-4d63-a3e8-0102716a3367","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Name","componentType":"Input","label":"Name","type":"property","isNew":true,"fromSidebar":true}]},{"id":"8ed635dd-9647-4234-ba8f-879ffb456b5a","type":"row","children":[{"id":"1b166e4b-8903-4f36-a999-6e61c6b2c449","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"ca4a73f3-3322-438b-82a3-0bc9338961f4","type":"row","children":[{"id":"bdac8932-9b77-418b-9daf-e0249a7a8aab","active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}},"propertyName":"ZipCode","componentType":"InputCep","label":"ZipCode","type":"property","isNew":true,"fromSidebar":true}]},{"id":"bb295f03-9525-4249-bca3-37bb808efb82","type":"row","children":[{"id":"2bb8ce5a-902f-4b6e-852a-723b8b323db1","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"IsActive","componentType":"InputSwitch","label":"IsActive","type":"property","isNew":true,"fromSidebar":true}]},{"id":"48999fe9-f31a-4548-9f07-5e7007d280fd","type":"row","children":[{"id":"26d51eda-83d8-4186-9e99-0d1e5f1b9f70","dynamicComponent":{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"76","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-hospedagem"},"propertyName":"estilos-hospedagem","componentType":"Input","label":"estilos-hospedagem","type":"property","isNew":true,"fromSidebar":true}]},{"id":"23c0eebd-3c29-47b5-9cf6-a0c838eba7a6","type":"row","children":[{"id":"3e75c471-bb10-48a1-9634-1ff0fc7fab83","dynamicComponent":{"id_input":"231732a2-3298-4c54-8b2d-ead13c030e0d","entityComponentName":"comodidades-hospedagem","componentName":"checkboxlist","id":"81"},"propertyName":"comodidades-hospedagem","componentType":"Input","label":"comodidades-hospedagem","type":"property","isNew":true,"fromSidebar":true}]}]},{"id":"824b8f84-f325-49e0-851a-8226ba2f9f11","type":"column","width":4,"children":[{"id":"689cfdef-c383-4c17-9d09-9bbda042060b","type":"row","children":[{"id":"15bbc61b-d8c4-4513-8e6b-898f00ff588c","active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]},"propertyName":"CategoriaId","componentType":"Select","label":"CategoriaId","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
123
- entityName: 'directories',
124
- entityRoute: 'Directory',
125
- },
126
- {
127
- menuId: 1,
128
- id: 79,
129
- ativo: true,
130
- excluido: false,
131
- destaque: false,
132
- ordem: 0,
133
- dataCriacao: '2025-05-16T03:02:37.2010466',
134
- dataEdicao: '2025-05-16T09:04:32.7853637',
135
- nome: 'Agenda Cultural',
136
- route: '/agenda-cultural',
137
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Agenda Cultural","pageURL":"/agenda-cultural","entityName":"directories","entityRoute":"Directory","jsonContent":{"menu":{"role":["administradorMaster","Admin"]}},"type":"pagina","entityKEY":"agendacultural","selectedKeys":{"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Name":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"IsActive":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}},"ZipCode":{"active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}}},"CategoriaId":{"active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]}}},"configurationListTable":{"colunms":[{"id_input":"62228b91-ddcc-49c7-ae81-235abedee936","colunmLabel":"Titulo","colunmId":"Name","colunmType":"text"},{"id_input":"af303245-8d9f-44be-8596-d5a05f39f73e","colunmLabel":"Ativo","colunmId":"IsActive","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}}]},"dynamicConfigurations":[{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"77","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-agenda-cultural"},{"id_input":"753e0b0f-5234-48b0-80e4-3c858ab785ae","entityComponentName":"comodidades-agenda-cultural","componentName":"checkboxlist","id":"82"}],"id":82},"templates":[{"id":"8710b246-7332-4eae-9509-0712810e7ab1","type":"tab","title":"Tab Padrão","children":[{"id":"37972665-9c00-490e-b9cc-f2a1f6b76b60","type":"tab_item","title":"New Tab","children":[{"id":"7b826d14-c663-4253-904d-98931e0b755d","type":"section","children":[{"id":"bb73e3d6-c0e9-437c-9f58-dc754a1360ec","type":"column","width":8,"children":[{"id":"1d5bef3e-a0fb-4ce5-99ac-6fb6d307ccae","type":"row","children":[{"id":"0c98048f-2642-4d63-a3e8-0102716a3367","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Name","componentType":"Input","label":"Name","type":"property","isNew":true,"fromSidebar":true}]},{"id":"8ed635dd-9647-4234-ba8f-879ffb456b5a","type":"row","children":[{"id":"1b166e4b-8903-4f36-a999-6e61c6b2c449","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"23c0eebd-3c29-47b5-9cf6-a0c838eba7a6","type":"row","children":[{"id":"fdc88d8a-58ca-4f84-b893-5eda980c4059","active":true,"component":{"type":"InputCep","props":{"label":"Endereço"}},"propertyName":"ZipCode","componentType":"InputCep","label":"ZipCode","type":"property","isNew":true,"fromSidebar":true}]},{"id":"751cf6f2-3d70-41f7-9435-2a03bb4d2cf1","type":"row","children":[{"id":"ba8ef62a-bba3-4c72-9453-dd4eadc92b58","dynamicComponent":{"id_input":"7e2d6bc9-1bd1-4bd9-92ad-ceb4508a9d2f","id":"77","EntityKey":"","componentName":"checkboxlist","entityComponentName":"estilos-agenda-cultural"},"propertyName":"estilos-agenda-cultural","componentType":"Input","label":"estilos-agenda-cultural","type":"property","isNew":true,"fromSidebar":true}]},{"id":"00a6703c-4cc1-4c5b-b854-75087746e779","type":"row","children":[{"id":"15bbc240-3821-4f41-85ff-ecc182526a79","dynamicComponent":{"id_input":"753e0b0f-5234-48b0-80e4-3c858ab785ae","entityComponentName":"comodidades-agenda-cultural","componentName":"checkboxlist","id":"82"},"propertyName":"comodidades-agenda-cultural","componentType":"Input","label":"comodidades-agenda-cultural","type":"property","isNew":true,"fromSidebar":true}]},{"id":"1471e24d-c59b-4c12-af01-84efeb51f21f","type":"row","children":[{"id":"c8f85fda-ca19-45be-b231-d43185df1165","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"IsActive","componentType":"InputSwitch","label":"IsActive","type":"property","isNew":true,"fromSidebar":true}]}]},{"id":"824b8f84-f325-49e0-851a-8226ba2f9f11","type":"column","width":4,"children":[{"id":"689cfdef-c383-4c17-9d09-9bbda042060b","type":"row","children":[{"id":"15bbc61b-d8c4-4513-8e6b-898f00ff588c","active":true,"component":{"type":"Select","props":{"label":"Categoria"},"configurations":{"relationTable":{"name":"Categoria","type":"properties","input":{"options":{"labelKEY":"Titulo","valueKEY":"Id"}}}}},"validation":{"type":["required"]},"propertyName":"CategoriaId","componentType":"Select","label":"CategoriaId","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
138
- entityName: 'directories',
139
- entityRoute: 'Directory',
140
- },
141
- {
142
- menuId: 1,
143
- id: 80,
144
- ativo: true,
145
- excluido: false,
146
- destaque: false,
147
- ordem: 0,
148
- dataCriacao: '2025-05-16T03:33:41.3026552',
149
- dataEdicao: '2025-05-16T03:33:57.1959963',
150
- nome: 'Comodidades Gastronomia',
151
- route: '/gastronomia/comodidades',
152
- jsonContent: '{"inputsConfigurations":{"entityName":"properties","pageLabel":"Comodidades Gastronomia","pageURL":"/gastronomia/comodidades","jsonContent":{"menu":{"father":"/gastronomia","role":["administradorMaster","Admin"]},"components":["seo"]},"entityRoute":"Categoria","type":"Component","entityKEY":"comodidades-gastronomia","selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}}},"configurationListTable":{"colunms":[{"id_input":"28773af4-d230-4c2e-920c-efc94e081a0c","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"647bdb80-7e4b-470f-b757-51b629dea84a","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"dynamicConfigurations":[]},"templates":[{"id":"12dc7747-3313-41af-b64b-0200fb1bc331","type":"tab","title":"Tab Padrão","children":[{"id":"64cc5538-cf61-4194-b70e-70ca26266b6e","type":"tab_item","title":"Conteúdo","children":[{"id":"50a929aa-00ce-4464-b2b3-38bd6cd77872","type":"section","children":[{"id":"23540839-b742-4b78-b5dc-d41af855fb23","type":"column","width":12,"children":[{"id":"3eaae171-c276-45dd-89aa-f2672d1664f3","type":"row","children":[{"id":"fe877a31-54f8-4739-b87b-046d46196bb5","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"475d754f-07c9-4429-9b0c-2adb2db45d89","type":"row","children":[{"id":"ec1c5800-b749-46f3-9bdb-27b9a928e839","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"59ac7410-291e-4219-9f4b-a2edcb657142","type":"row","children":[{"id":"b0a42c61-64a4-4990-b1d9-31e9364655e0","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"1c4a09cb-bdee-429f-8805-c7a29dbb4421","type":"tab_item","title":"SEO","children":[{"id":"c71cb604-b8d5-4c1c-b649-fd3802ae4bc3","type":"section","children":[{"id":"6e873369-9ad2-4149-8255-6e12a9ac7d12","type":"column","width":12,"children":[{"id":"f022cb8a-0039-4d7f-9d7d-3309283a1144","type":"row","children":[{"id":"b6b12665-1181-456c-850f-565a1643b6a5","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
153
- entityName: 'properties',
154
- entityRoute: 'Categoria',
155
- },
156
- {
157
- menuId: 1,
158
- id: 81,
159
- ativo: true,
160
- excluido: false,
161
- destaque: false,
162
- ordem: 0,
163
- dataCriacao: '2025-05-16T03:34:43.6082424',
164
- dataEdicao: '2025-05-16T03:36:33.9769354',
165
- nome: 'Comodidades Hospedagem',
166
- route: '/hospedagem/comodidades',
167
- jsonContent: '{"inputsConfigurations":{"entityName":"properties","pageLabel":"Comodidades Hospedagem","pageURL":"/hospedagem/comodidades","jsonContent":{"menu":{"father":"/hospedagem","role":["administradorMaster","Admin"]},"components":["seo"]},"entityRoute":"Categoria","type":"Component","entityKEY":"comodidades-hospedagem","selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}}},"configurationListTable":{"colunms":[{"id_input":"28773af4-d230-4c2e-920c-efc94e081a0c","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"647bdb80-7e4b-470f-b757-51b629dea84a","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"dynamicConfigurations":[]},"templates":[{"id":"12dc7747-3313-41af-b64b-0200fb1bc331","type":"tab","title":"Tab Padrão","children":[{"id":"64cc5538-cf61-4194-b70e-70ca26266b6e","type":"tab_item","title":"Conteúdo","children":[{"id":"50a929aa-00ce-4464-b2b3-38bd6cd77872","type":"section","children":[{"id":"23540839-b742-4b78-b5dc-d41af855fb23","type":"column","width":12,"children":[{"id":"3eaae171-c276-45dd-89aa-f2672d1664f3","type":"row","children":[{"id":"fe877a31-54f8-4739-b87b-046d46196bb5","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"475d754f-07c9-4429-9b0c-2adb2db45d89","type":"row","children":[{"id":"ec1c5800-b749-46f3-9bdb-27b9a928e839","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"59ac7410-291e-4219-9f4b-a2edcb657142","type":"row","children":[{"id":"b0a42c61-64a4-4990-b1d9-31e9364655e0","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"1c4a09cb-bdee-429f-8805-c7a29dbb4421","type":"tab_item","title":"SEO","children":[{"id":"c71cb604-b8d5-4c1c-b649-fd3802ae4bc3","type":"section","children":[{"id":"6e873369-9ad2-4149-8255-6e12a9ac7d12","type":"column","width":12,"children":[{"id":"f022cb8a-0039-4d7f-9d7d-3309283a1144","type":"row","children":[{"id":"b6b12665-1181-456c-850f-565a1643b6a5","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
168
- entityName: 'properties',
169
- entityRoute: 'Categoria',
170
- },
171
- {
172
- menuId: 1,
173
- id: 82,
174
- ativo: true,
175
- excluido: false,
176
- destaque: false,
177
- ordem: 0,
178
- dataCriacao: '2025-05-16T03:34:46.5722623',
179
- dataEdicao: '2025-05-16T03:38:59.4118385',
180
- nome: 'Comodidades Agenda Cultural',
181
- route: '/agenda-cultural/comodidades',
182
- jsonContent: '{"inputsConfigurations":{"entityName":"properties","pageLabel":"Comodidades Agenda Cultural","pageURL":"/agenda-cultural/comodidades","jsonContent":{"menu":{"father":"/agenda-cultural","role":["administradorMaster","Admin"]},"components":["seo"]},"entityRoute":"Categoria","type":"Component","entityKEY":"comodidades-agenda-cultural","selectedKeys":{"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}},"Url":{"active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]}},"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]}}},"configurationListTable":{"colunms":[{"id_input":"28773af4-d230-4c2e-920c-efc94e081a0c","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}},{"id_input":"647bdb80-7e4b-470f-b757-51b629dea84a","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"}]},"dynamicConfigurations":[]},"templates":[{"id":"12dc7747-3313-41af-b64b-0200fb1bc331","type":"tab","title":"Tab Padrão","children":[{"id":"64cc5538-cf61-4194-b70e-70ca26266b6e","type":"tab_item","title":"Conteúdo","children":[{"id":"50a929aa-00ce-4464-b2b3-38bd6cd77872","type":"section","children":[{"id":"23540839-b742-4b78-b5dc-d41af855fb23","type":"column","width":12,"children":[{"id":"3eaae171-c276-45dd-89aa-f2672d1664f3","type":"row","children":[{"id":"fe877a31-54f8-4739-b87b-046d46196bb5","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"475d754f-07c9-4429-9b0c-2adb2db45d89","type":"row","children":[{"id":"ec1c5800-b749-46f3-9bdb-27b9a928e839","active":true,"component":{"type":"Input","props":{"label":"URL"}},"validation":{"type":["required"]},"propertyName":"Url","componentType":"Input","label":"Url","type":"property","isNew":true,"fromSidebar":true}]},{"id":"59ac7410-291e-4219-9f4b-a2edcb657142","type":"row","children":[{"id":"b0a42c61-64a4-4990-b1d9-31e9364655e0","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"validation":{"type":[]},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]},{"id":"1c4a09cb-bdee-429f-8805-c7a29dbb4421","type":"tab_item","title":"SEO","children":[{"id":"c71cb604-b8d5-4c1c-b649-fd3802ae4bc3","type":"section","children":[{"id":"6e873369-9ad2-4149-8255-6e12a9ac7d12","type":"column","width":12,"children":[{"id":"f022cb8a-0039-4d7f-9d7d-3309283a1144","type":"row","children":[{"id":"b6b12665-1181-456c-850f-565a1643b6a5","jsonContentType":"seo","propertyName":"jsonContent.seo","componentType":"Input","label":"jsonContent.seo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
183
- entityName: 'properties',
184
- entityRoute: 'Categoria',
185
- },
186
- {
187
- menuId: 1,
188
- id: 83,
189
- ativo: true,
190
- excluido: false,
191
- destaque: false,
192
- ordem: 0,
193
- dataCriacao: '2025-05-16T09:14:51.7962806',
194
- dataEdicao: '2025-05-16T09:14:51.7963038',
195
- nome: 'Subcategoria Gastronomia',
196
- route: '/gastronomia/subcategoria',
197
- jsonContent: '{"inputsConfigurations":{"pageLabel":"Subcategoria Gastronomia","pageURL":"/gastronomia/subcategoria","entityName":"properties","jsonContent":{"menu":{"father":"/gastronomia","role":["administradorMaster","Admin"]}},"entityRoute":"Categoria","type":"Component","entityKEY":"subcategoria-gastronomia","selectedKeys":{"Ativo":{"active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}}},"Titulo":{"active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]}}},"configurationListTable":{"colunms":[{"id_input":"98dac070-a3ef-477e-8be8-876bcc1e11c8","colunmLabel":"Titulo","colunmId":"Titulo","colunmType":"text"},{"id_input":"f6d90478-9750-40ad-aa20-b47b17ac4e0c","colunmLabel":"Ativo","colunmId":"Ativo","colunmType":"boolean","boolean":{"true":"Ativo","false":"Inativo"}}]}},"templates":[{"id":"0b8782c9-5c27-4419-9aa8-bebdcb3c14eb","type":"tab","title":"Tab Padrão","children":[{"id":"fd4b6c6c-abb8-405d-b759-78f5d6778df8","type":"tab_item","title":"New Tab","children":[{"id":"f5e8ffee-cc41-4f84-86e3-a7587136f615","type":"section","children":[{"id":"cc4698a2-2e65-4aa6-99e7-3b0788fa3cd5","type":"column","width":12,"children":[{"id":"fb186e10-f8a6-4ba1-ab22-f56ac55ba27e","type":"row","children":[{"id":"ed34983a-4d3b-4351-84a4-4076c03bf6cf","active":true,"component":{"type":"Input","props":{"label":"Titulo"}},"validation":{"type":["required"]},"propertyName":"Titulo","componentType":"Input","label":"Titulo","type":"property","isNew":true,"fromSidebar":true}]},{"id":"b8159fa6-3d97-4530-8ab7-15a4c9c2ff8c","type":"row","children":[{"id":"45bf663e-c223-43e4-ba3b-a39dbcf76a1a","active":true,"component":{"type":"InputSwitch","props":{"label":"Ativo"}},"propertyName":"Ativo","componentType":"InputSwitch","label":"Ativo","type":"property","isNew":true,"fromSidebar":true}]}]}]}]}]}]}',
198
- entityName: 'properties',
199
- entityRoute: 'Categoria',
200
- },
201
- ]) === null || _a === void 0 ? void 0 : _a.map(function (item) { return (__assign(__assign({}, item), { jsonContent: (0, ui_1.parseJSON)(item.jsonContent) })); });
202
- console.log({ pages: pages });
203
- var Table = (0, system_1.useTable)({
204
- columnsConfiguration: {
205
- actions: {
206
- delete: {},
207
- create: {},
208
- detail: function () { return ''; },
209
- },
210
- columns: [
211
- { id: 'route', label: 'A' },
212
- { id: 'entityRoute', label: 'B' },
213
- { id: 'jsonContent.inputsConfigurations.entityRoute', label: 'C', width: 600 },
214
- ],
215
- },
216
- configs: {
217
- errorMessage: 'Nenhuma página cadastrada',
218
- tableData: pages || [],
219
- },
220
- }).Table;
221
- return ((0, jsx_runtime_1.jsx)(ui_1.FormHandler, { onChangeForm: { callbackResult: function (d) { return console.log(d); } }, initialData: { fromExpiration: new Date(), toExpiration: new Date() }, children: (0, jsx_runtime_1.jsx)(ui_1.InputDateRange, { isClearable: true, enableFilter: true, placeholder: 'DD/MM/YYYY', label: 'Data Vencimento', names: ['fromExpiration', 'toExpiration'] }) }));
7
+ return ((0, jsx_runtime_1.jsxs)(ui_1.FormHandler, { button: { text: 'Salvar' }, debugMode: true, schema: {
8
+ cnpj: ui_1.schema.cnpj({
9
+ message: function (_a) {
10
+ var _b;
11
+ var value = _a.value, context = _a.context;
12
+ return "O cnpj est\u00E1 errado pois vc escreveu: ".concat(value, " verifique tamb\u00E9m o ").concat((_b = context === null || context === void 0 ? void 0 : context.parent) === null || _b === void 0 ? void 0 : _b.cpf, " ");
13
+ },
14
+ }),
15
+ cpf: ui_1.schema.cpf(),
16
+ password: ui_1.schema.password(),
17
+ confirmPassword: ui_1.schema.confirmPassword({ refField: 'password' }),
18
+ number: ui_1.schema.number({ operator: 'equal', value: 1 }),
19
+ email: ui_1.schema.email(),
20
+ phone: ui_1.schema.phone(),
21
+ testRequired: ui_1.schema.required(),
22
+ }, cleanFieldsOnSubmit: false, onChangeForm: { callbackResult: function (d) { return console.log(d); } }, initialData: { fromExpiration: new Date(), toExpiration: new Date() }, children: [(0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'password', label: 'passowrd' }), (0, jsx_runtime_1.jsx)(ui_1.InputPassword, { name: 'confirmPassword', label: 'confirm p' }), (0, jsx_runtime_1.jsx)(ui_1.InputCpfCnpj, { name: 'cnpj', label: 'cnpj' }), (0, jsx_runtime_1.jsx)(ui_1.InputCpfCnpj, { name: 'cpf', label: 'cpf' }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'number', label: 'Number' }), (0, jsx_runtime_1.jsx)(ui_1.Input, { name: 'email', label: 'Email' }), (0, jsx_runtime_1.jsx)(ui_1.InputMask, { name: 'phone', mask: '(__) _ ____-____', label: 'phone' }), (0, jsx_runtime_1.jsx)(ui_1.Input, { label: 'Requeired', name: 'testRequired' })] }));
222
23
  }
223
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wGAoOC;;AAvOD,mCAAmC;AACnC,2BAA6D;AAE7D,SAAgB,8CAA8C;;IAC5D,IAAM,KAAK,GAAG,MAAA;QACZ;YACE,MAAM,EAAE,CAAC;YACT,EAAE,EAAE,EAAE;YACN,KAAK,EAAE,IAAI;YACX,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,CAAC;YACR,WAAW,EAAE,wBAAwB;YACrC,UAAU,EAAE,6BAA6B;YACzC,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,OAAO;YACd,WAAW,EACT,0qNAA0qN;YAC5qN,UAAU,EAAE,UAAU;YACtB,WAAW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,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAG,EACzC,uBAAC,iBAAY,IAAC,IAAI,EAAC,KAAK,EAAC,KAAK,EAAC,KAAK,GAAG,EAEvC,uBAAC,UAAK,IAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,GAAG,EACtC,uBAAC,UAAK,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,OAAO,GAAG,EACpC,uBAAC,cAAS,IAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,kBAAkB,EAAC,KAAK,EAAC,OAAO,GAAG,EAChE,uBAAC,UAAK,IAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,cAAc,GAAG,IACnC,CACf,CAAA;AACH,CAAC"}
@@ -57,7 +57,7 @@ function AtenaProvider(_a) {
57
57
  var _d = (0, system_1.useAuthAdmin)(), user = _d.user, roleUser = _d.roleUser;
58
58
  var hasPermission = roles && roles.length > 0 ? roles.includes(roleUser) : !!user;
59
59
  var isEditMode = router.isReady && (router.query.editMode === 'true' || router.query.editMode === 'false') && hasPermission;
60
- var dynamictSectionPathname = (0, ui_1.getPathnameRef)({ router: router });
60
+ var dynamictSectionPathname = ui_1.getPathnameRef === null || ui_1.getPathnameRef === void 0 ? void 0 : (0, ui_1.getPathnameRef)({ router: router });
61
61
  var _e = (0, ui_1.useQuery)({
62
62
  queryKey: 'RemoteDynamicSection_loadAll' + (dynamictSectionPathname === null || dynamictSectionPathname === void 0 ? void 0 : dynamictSectionPathname.page),
63
63
  queryFn: function () { return __awaiter(_this, void 0, void 0, function () {
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../src/ui/atena/presentation/dynamic-sections/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FS,sCAAa;AAAE,4BAAQ;;AA/FhC,+BAAiD;AAEjD,sCAAuC;AAEvC,mCAAuC;AACvC,2BAAoH;AA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AC,EAAA;;wBALI,QAAQ,GAAG,SAKf;wBAEF,sBAAO,QAA4B,EAAA;;;aACpC;QACD,OAAO,EAAE,aAAa;QACtB,WAAW,EAAE,IAAI;KAClB,CAAC,EAdM,IAAI,UAAA,EAAE,UAAU,gBAAA,EAAE,MAAM,YAc9B,CAAA;IAEF,IAAM,eAAe,GAAG,UAAU,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAA;IAE9F,OAAO,CACL,wBAAC,YAAY,CAAC,QAAQ,IACpB,KAAK,EAAE;YACL,aAAa,eAAA;YACb,UAAU,YAAA;YACV,wBAAwB,EAAE,IAAI;YAC9B,QAAQ,EAAE,eAAe;YACzB,MAAM,QAAA;YACN,iBAAiB,EAAE,WAAW;SAC/B,aAEA,UAAU,IAAI,UAAU,IAAI,IAAI,IAAI,uBAAC,kBAAa,IAAC,KAAK,EAAC,MAAM,EAAC,IAAI,EAAE,EAAE,EAAE,UAAU,SAAG,EAEvF,QAAQ,IACa,CACzB,CAAA;AACH,CAAC;AAED,SAAS,QAAQ;IACf,OAAO,IAAA,kBAAU,EAAC,YAAY,CAAC,CAAA;AACjC,CAAC"}
@@ -90,16 +90,15 @@ function I18nProvider(props) {
90
90
  var words = data || props.words;
91
91
  var roleUser = (0, system_1.useAuthAdmin)().roleUser;
92
92
  var hasPermission = (props === null || props === void 0 ? void 0 : props.roleToEditLanguage) && (props === null || props === void 0 ? void 0 : props.roleToEditLanguage.length) > 0 ? (props === null || props === void 0 ? void 0 : props.roleToEditLanguage) && ((_a = props.roleToEditLanguage) === null || _a === void 0 ? void 0 : _a.length) > 0 && ((_b = props.roleToEditLanguage) === null || _b === void 0 ? void 0 : _b.includes(roleUser)) : true;
93
- (0, react_1.useEffect)(function () {
94
- var _a;
95
- if (!props.disableEditMode && isReady && process.env.painel !== 'true' && router.query.signOut !== 'true' && hasPermission) {
96
- var token = (_a = ui_1.cookies.get('token')) === null || _a === void 0 ? void 0 : _a.value;
97
- if (token && router.query.showPreview === undefined) {
98
- (0, ui_1.updateRoute)({ router: router, params: { editMode: 'true', showPreview: 'false', signOut: '' } });
99
- return;
100
- }
101
- }
102
- }, [router.asPath]);
93
+ // useEffect(() => {
94
+ // if (!props.disableEditMode && isReady && process.env.painel !== 'true' && router.query.signOut !== 'true' && hasPermission) {
95
+ // const token = cookies.get('token')?.value as string
96
+ // if (token && && router.query.showPreview === undefined) {
97
+ // updateRoute({ router, params: { editMode: 'true', showPreview: 'false', signOut: '' } })
98
+ // return
99
+ // }
100
+ // }
101
+ // }, [router.asPath])
103
102
  return ((0, jsx_runtime_1.jsxs)(I18nContext.Provider, { value: __assign(__assign({}, props), { isFetchingWords: isFetching, words: words, mutate: mutate, changeLanguage: changeLanguage }), children: [router.query.editMode === 'true' ? (0, jsx_runtime_1.jsx)(system_1.PrivatePage, { children: props.children }) : props.children, !props.disableEditMode && hasPermission && (0, jsx_runtime_1.jsx)(edit_mode_1.EditMode, {})] }));
104
103
  }
105
104
  function useI18n() {
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/ui/contexts/i18n/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuES,oCAAY;AAAE,0BAAO;;AAvE9B,+BAA4D;AAE5D,sCAAuC;AAEvC,mCAAqD;AACrD,2BAA0E;AAE1E,yCAAsC;AAGtC,IAAM,WAAW,GAAG,IAAA,qBAAa,EAAkB;IACjD,QAAQ,EAAE,OAAO;IACjB,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;IAChE,KAAK,EAAE,EAAE;IACT,eAAe,EAAE,IAAI;IACrB,MAAM,EAAE,cAAO,CAAC;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AE,cAAc,gBAAA,gBAChG,MAAM,CAAC,KAAK,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,uBAAC,oBAAW,cAAE,KAAK,CAAC,QAAQ,GAAe,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAE/F,CAAC,KAAK,CAAC,eAAe,IAAI,aAAa,IAAI,uBAAC,oBAAQ,KAAG,IACnC,CACxB,CAAA;AACH,CAAC;AAED,SAAS,OAAO;IACd,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,WAAW,CAAC,CAAA;IAEvC,OAAO,OAAO,CAAA;AAChB,CAAC"}
@@ -1,8 +1,2 @@
1
- import * as yup from "yup";
2
- type FormValidatorParams = {
3
- message: string;
4
- };
5
- export declare const formValidator: {
6
- required: (params: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
7
- };
8
- export {};
1
+ export * from "./validator.js";
2
+ export * from "./validations/index.js";
@@ -10,32 +10,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.formValidator = void 0;
37
- var yup = __importStar(require("yup"));
38
- exports.formValidator = {
39
- required: function (params) { return yup.string().required((params === null || params === void 0 ? void 0 : params.message) || "Campo requerido"); }
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
40
15
  };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./validator.js"), exports);
18
+ __exportStar(require("./validations/index.js"), exports);
41
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/form-validator/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA0B;AAMb,QAAA,aAAa,GAAG;IACzB,QAAQ,EAAE,UAAC,MAA2B,IAAK,OAAA,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,OAAO,KAAI,iBAAiB,CAAC,EAA3D,CAA2D;CACzG,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/form-validator/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,gDAA6B"}
@@ -1,3 +1,4 @@
1
1
  export * from './validate-cpf.js';
2
2
  export * from './validate-email.js';
3
3
  export * from './validate-phone.js';
4
+ export * from "./validate-cnpj.js";
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./validate-cpf.js"), exports);
18
18
  __exportStar(require("./validate-email.js"), exports);
19
19
  __exportStar(require("./validate-phone.js"), exports);
20
+ __exportStar(require("./validate-cnpj.js"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/utils/form-validator/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC;AAChC,mDAAgC;AAChC,kDAA+B"}
@@ -0,0 +1 @@
1
+ export declare function validateCNPJ(value?: string | null): boolean;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateCNPJ = validateCNPJ;
4
+ function validateCNPJ(value) {
5
+ if (!value)
6
+ return false;
7
+ var cnpj = value.replace(/[^\d]+/g, '');
8
+ if (cnpj.length !== 14)
9
+ return false;
10
+ if (/^(\d)\1+$/.test(cnpj))
11
+ return false;
12
+ var length = cnpj.length - 2;
13
+ var numbers = cnpj.substring(0, length);
14
+ var digits = cnpj.substring(length);
15
+ var sum = 0;
16
+ var pos = length - 7;
17
+ for (var i = length; i >= 1; i--) {
18
+ sum += +numbers.charAt(length - i) * pos--;
19
+ if (pos < 2)
20
+ pos = 9;
21
+ }
22
+ var result = sum % 11 < 2 ? 0 : 11 - (sum % 11);
23
+ if (result !== +digits.charAt(0))
24
+ return false;
25
+ length = length + 1;
26
+ numbers = cnpj.substring(0, length);
27
+ sum = 0;
28
+ pos = length - 7;
29
+ for (var i = length; i >= 1; i--) {
30
+ sum += +numbers.charAt(length - i) * pos--;
31
+ if (pos < 2)
32
+ pos = 9;
33
+ }
34
+ result = sum % 11 < 2 ? 0 : 11 - (sum % 11);
35
+ if (result !== +digits.charAt(1))
36
+ return false;
37
+ return true;
38
+ }
39
+ //# sourceMappingURL=validate-cnpj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-cnpj.js","sourceRoot":"","sources":["../../../../../src/ui/utils/form-validator/validations/validate-cnpj.ts"],"names":[],"mappings":";;AAAA,oCAqCC;AArCD,SAAgB,YAAY,CAAC,KAAqB;IAChD,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IAEzB,IAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IAE1C,I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V,CAAC;IAED,IAAI,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;QAC3C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,GAAG,GAAG,CAAC,CAAA;IAEP,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED,IAAI,GAAG,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,CAAA;IAEtB,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAC7B,IAAI,GAAG,CAAC,CAAA;IACV,CAAC;IAED,IAAI,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-email.js","sourceRoot":"","sources":["../../../../../src/ui/utils/form-validator/validations/validate-email.ts"],"names":[],"mappings":";;AAAA,sCAUC;AAVD,SAAgB,aAAa,CAAC,KAAa;;IACzC,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,IAAG,CAAC,EAAE,CAAC;QACtB,OAAO,MAAA,MAAA,MAAM,CAAC,KAAK,CAAC,0CAChB,WAAW,EAAE,0CACb,KAAK,CACL,uJAAuJ,CACxJ,CAAA;IACL,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-phone.js","sourceRoot":"","sources":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: {
3
+ value: any;
4
+ context: yup.TestContext;
5
+ }) => string;
6
+ type CompareOperator = 'greater' | 'less' | 'greaterOrEqual' | 'lessOrEqual' | 'equal';
7
+ type FormValidatorParams = {
8
+ message?: MessageFn;
9
+ };
10
+ type CompareNumberParams = {
11
+ operator: CompareOperator;
12
+ value: number;
13
+ message?: MessageFn;
14
+ };
15
+ export declare const schema: {
16
+ required: (params?: FormValidatorParams) => yup.MixedSchema<{}, yup.AnyObject, undefined, "">;
17
+ email: (params?: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
18
+ phone: (params?: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
19
+ cpf: (params?: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
20
+ cnpj: (params?: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
21
+ password: (params?: FormValidatorParams) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
22
+ confirmPassword: (params: FormValidatorParams & {
23
+ refField: string;
24
+ }) => yup.StringSchema<string, yup.AnyObject, undefined, "">;
25
+ number: ({ operator, value, message }: CompareNumberParams) => yup.NumberSchema<number, yup.AnyObject, undefined, "">;
26
+ };
27
+ export {};
@@ -0,0 +1,207 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.schema = void 0;
37
+ var yup = __importStar(require("yup"));
38
+ var validations_1 = require("./validations/index.js");
39
+ exports.schema = {
40
+ required: function (params) {
41
+ return yup
42
+ .mixed()
43
+ .test("required", "", function (value, context) {
44
+ var _a;
45
+ var isEmpty = value === undefined || value === null || value === "" || value === false;
46
+ if (isEmpty) {
47
+ return context.createError({
48
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "Campo requerido",
49
+ });
50
+ }
51
+ return true;
52
+ });
53
+ },
54
+ email: function (params) {
55
+ return yup
56
+ .string()
57
+ .test("email", "", function (value, context) {
58
+ var _a;
59
+ var isEmpty = !value;
60
+ var isValidEmail = /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(value || "");
61
+ if (isEmpty) {
62
+ return context.createError({
63
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "Campo requerido",
64
+ });
65
+ }
66
+ if (!isValidEmail) {
67
+ return context.createError({ message: "Email inválido" });
68
+ }
69
+ return true;
70
+ });
71
+ },
72
+ phone: function (params) {
73
+ return yup
74
+ .string()
75
+ .test("phone", "", function (value, context) {
76
+ var _a;
77
+ var isValid = (0, validations_1.validatePhone)({ phoneNumber: value });
78
+ if (!isValid) {
79
+ return context.createError({
80
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "Telefone inválido",
81
+ });
82
+ }
83
+ return true;
84
+ });
85
+ },
86
+ cpf: function (params) {
87
+ return yup
88
+ .string()
89
+ .test("cpf", "", function (value, context) {
90
+ var _a;
91
+ var isValid = (0, validations_1.validateCPF)(value);
92
+ if (!isValid) {
93
+ return context.createError({
94
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "Documento inválido",
95
+ });
96
+ }
97
+ return true;
98
+ });
99
+ },
100
+ cnpj: function (params) {
101
+ return yup
102
+ .string()
103
+ .test("cnpj", "", function (value, context) {
104
+ var _a;
105
+ var isValid = (0, validations_1.validateCNPJ)(value);
106
+ if (!isValid) {
107
+ return context.createError({
108
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "CNPJ inválido",
109
+ });
110
+ }
111
+ return true;
112
+ });
113
+ },
114
+ password: function (params) {
115
+ return yup
116
+ .string()
117
+ .test("password", "", function (value, context) {
118
+ var _a;
119
+ var val = value || "";
120
+ var tests = [
121
+ {
122
+ check: val.length >= 8,
123
+ message: "A senha deve ter pelo menos 8 caracteres",
124
+ },
125
+ {
126
+ check: /[A-Z]/.test(val),
127
+ message: "A senha deve conter ao menos uma letra maiúscula",
128
+ },
129
+ {
130
+ check: /[a-z]/.test(val),
131
+ message: "A senha deve conter ao menos uma letra minúscula",
132
+ },
133
+ {
134
+ check: /[0-9]/.test(val),
135
+ message: "A senha deve conter ao menos um número",
136
+ },
137
+ {
138
+ check: /[@$!%*#?&]/.test(val),
139
+ message: "A senha deve conter ao menos um caractere especial",
140
+ },
141
+ ];
142
+ for (var _i = 0, tests_1 = tests; _i < tests_1.length; _i++) {
143
+ var test = tests_1[_i];
144
+ if (!test.check) {
145
+ return context.createError({ message: test.message });
146
+ }
147
+ }
148
+ if (!val) {
149
+ return context.createError({
150
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "Campo requerido",
151
+ });
152
+ }
153
+ return true;
154
+ });
155
+ },
156
+ confirmPassword: function (params) {
157
+ return yup
158
+ .string()
159
+ .test("confirmPassword", "", function (value, context) {
160
+ var _a;
161
+ var refValue = context.resolve(yup.ref(params === null || params === void 0 ? void 0 : params.refField));
162
+ if (value !== refValue) {
163
+ return context.createError({
164
+ message: ((_a = params === null || params === void 0 ? void 0 : params.message) === null || _a === void 0 ? void 0 : _a.call(params, { value: value, context: context })) || "As senhas não coincidem",
165
+ });
166
+ }
167
+ return true;
168
+ });
169
+ },
170
+ number: function (_a) {
171
+ var operator = _a.operator, value = _a.value, message = _a.message;
172
+ return yup
173
+ .number()
174
+ .test("compare_number", "", function (input, context) {
175
+ if (typeof value !== "number" || isNaN(value)) {
176
+ return context.createError({
177
+ message: (message === null || message === void 0 ? void 0 : message({ value: value, context: context })) || "Valor inválido",
178
+ });
179
+ }
180
+ var isValid = false;
181
+ switch (operator) {
182
+ case "greater":
183
+ isValid = input > value;
184
+ break;
185
+ case "less":
186
+ isValid = input < value;
187
+ break;
188
+ case "greaterOrEqual":
189
+ isValid = input >= value;
190
+ break;
191
+ case "lessOrEqual":
192
+ isValid = input <= value;
193
+ break;
194
+ case "equal":
195
+ isValid = input === value;
196
+ break;
197
+ }
198
+ if (!isValid) {
199
+ return context.createError({
200
+ message: (message === null || message === void 0 ? void 0 : message({ value: input, context: context })) || "Valor inválido",
201
+ });
202
+ }
203
+ return true;
204
+ });
205
+ },
206
+ };
207
+ //# sourceMappingURL=validator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validator.js","sourceRoot":"","sources":["../../../../src/ui/utils/form-validator/validator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA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;oBACvB,OAAO,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,EAAE,KAAK,OAAA,EAAE,OAAO,SAAA,EAAE,CAAC,KAAI,gBAAgB;iBAC7D,CAAC,CAAC;YACP,CAAC;YAED,IAAI,OAAO,GAAG,KAAK,CAAC;YACpB,QAAQ,QAAQ,EAAE,CAAC;gBACf,KAAK,SAAS;oBACV,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;oBACxB,MAAM;gBACV,KAAK,MAAM;oBACP,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;oBACxB,MAAM;gBACV,KAAK,gBAAgB;oBACjB,OAAO,GAAG,KAAK,IAAI,KAAK,CAAC;oBACzB,MAAM;gBACV,KAAK,aAAa;oBACd,OAAO,GAAG,KAAK,IAAI,KAAK,CAAC;oBACzB,MAAM;gBACV,KAAK,OAAO;oBACR,OAAO,GAAG,KAAK,KAAK,KAAK,CAAC;oBAC1B,MAAM;YACd,CAAC;YAED,IAAI,CAAC,OAAO,EAAE,CAAC;gBACX,OAAO,OAAO,CAAC,WAAW,CAAC;oBACvB,OAAO,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,SAAA,EAAE,CAAC,KAAI,gBAAgB;iBACpE,CAAC,CAAC;YACP,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC;IApCN,CAoCM;CACb,CAAC"}
@@ -14,7 +14,7 @@ export * from './storage/index.js';
14
14
  export * from './facebook/index.js';
15
15
  export * from './_app_utils/index.js';
16
16
  export * from './formatters/index.js';
17
- export * from './validations/index.js';
17
+ export * from './form-validator/index.js';
18
18
  export * from './generate-guid.js';
19
19
  export * from './disable-scroll.js';
20
20
  export * from './infinity-forge/index.js';
@@ -30,7 +30,7 @@ __exportStar(require("./storage/index.js"), exports);
30
30
  __exportStar(require("./facebook/index.js"), exports);
31
31
  __exportStar(require("./_app_utils/index.js"), exports);
32
32
  __exportStar(require("./formatters/index.js"), exports);
33
- __exportStar(require("./validations/index.js"), exports);
33
+ __exportStar(require("./form-validator/index.js"), exports);
34
34
  __exportStar(require("./generate-guid.js"), exports);
35
35
  __exportStar(require("./disable-scroll.js"), exports);
36
36
  __exportStar(require("./infinity-forge/index.js"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,6CAA0B;AAC1B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,qDAAkC;AAClC,sDAAmC;AACnC,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,wCAAqB;AACrB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,0CAAuB;AACvB,0CAAuB;AACvB,2CAAwB;AACxB,2CAAwB;AACxB,4CAAyB;AACzB,4CAAyB;AACzB,6CAA0B;AAC1B,+CAA4B;AAC5B,+CAA4B;AAC5B,mDAAgC;AAChC,kDAA+B;AAC/B,mDAAgC;AAChC,mDAAgC;AAChC,qDAAkC;AAClC,sDAAmC;AACnC,uDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "infinity-forge",
3
- "version": "9.0.5",
3
+ "version": "9.0.7",
4
4
  "description": "codie Library",
5
5
  "main": "./dist/index",
6
6
  "module": "./dist/index",
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,mDAAgC;AAChC,mDAAgC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate-cpf.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/validate-cpf.ts"],"names":[],"mappings":";;AAAA,kCAyCC;AAzCD,SAAgB,WAAW,CAAC,GAAW;IACrC,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAA;IAEhC,IAAI,GAAG,CAAC,MAAM,KAAK,EAAE,IAAI,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QAC/C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,IAAI,GAAG,GAAG,CAAC,EACT,IAAI,CAAA;IAEN,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5B,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED,IAAI,GAAG,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,CAAA;IAEtB,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAC7B,IAAI,GAAG,CAAC,CAAA;IACV,CAAC;IAED,IAAI,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;QAC3C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,GAAG,GAAG,CAAC,CAAA;IAEP,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,GAAG,GAAG,GAAG,GAAG,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,CAAA;IAC1D,CAAC;IAED,IAAI,GAAG,CAAC,GAAG,GAAG,EAAE,CAAC,GAAG,EAAE,CAAA;IAEtB,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QAC7B,IAAI,GAAG,CAAC,CAAA;IACV,CAAC;IAED,IAAI,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;QAC5C,OAAO,KAAK,CAAA;IACd,CAAC;IAED,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate-email.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/validate-email.ts"],"names":[],"mappings":";;AAAA,sCAUC;AAVD,SAAgB,aAAa,CAAC,KAAa;;IACzC,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,IAAG,CAAC,EAAE,CAAC;QACtB,OAAO,MAAA,MAAA,MAAM,CAAC,KAAK,CAAC,0CAChB,WAAW,EAAE,0CACb,KAAK,CACL,uJAAuJ,CACxJ,CAAA;IACL,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"validate-phone.js","sourceRoot":"","sources":["../../../../src/ui/utils/validations/validate-phone.ts"],"names":[],"mappings":";;AAsEA,sCAgBC;AAtFD,IAAM,SAAS,GAAG;IAChB,IAAI,EAAE,iBAAiB;IACvB,IAAI,EAAE,2BAA2B;IACjC,IAAI,EAAE,cAAc;IACpB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE,6BAA6B;IACnC,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