-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-3BNWHJD3.js
4 lines (4 loc) · 6.96 KB
/
chunk-3BNWHJD3.js
1
2
3
4
import{$ as p,Ga as e,Od as f,T as c,U as u,Wb as S,Xd as v,Yb as b,Yd as h,Zb as E,_ as m,ha as s,na as i,oa as t,pa as a,se as g,y as r}from"./chunk-23IW53AA.js";var F=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275cmp=m({type:o,selectors:[["sample-po-field-validate-doc"]],standalone:!1,decls:216,vars:0,consts:[[1,"docs-api"],[1,"docs-api-module-import"],[1,"docs-api-class-description"],[1,"docs-api-h3"],[1,"docs-api-class-name"],[1,"doc-code"],[1,"docs-api-h5","docs-api-method-header"],[1,"docs-api-properties-table"],[1,"docs-api-properties-header-row"],[1,"docs-api-properties-th"],[1,"docs-api-properties-row"],[1,"docs-api-properties-name-cell"],[1,"docs-api-output-marker"],[1,"docs-api-output-alias"],[1,"docs-api-properties-type-cell"],["pan","",1,"docs-api-property-type","EventEmitter"],[1,"docs-api-property-default"],[1,"docs-api-property-description"],[1,"docs-api-input-marker"],[1,"docs-api-input-alias"],["pan","",1,"docs-api-property-type","boolean"],["pan","",1,"docs-api-property-type","string"]],template:function(n,l){n&1&&(i(0,"div",0)(1,"p",1)(2,"code"),e(3,"import { PoFieldModule } from '@po-ui/ng-components';"),t()(),i(4,"div",2)(5,"p"),e(6,`M\xF3dulo dos componentes: po-checkbox, po-checkbox-group, po-combo, po-datepicker, po-datepicker-range, po-email, po-input,
po-lookup, po-number, po-multiselect, po-password, po-radio-group, po-select, po-switch, po-textarea, po-upload
e po-url.`),t(),i(7,"blockquote")(8,"p"),e(9,"N\xE3o esque\xE7a de importar o m\xF3dulo "),i(10,"code"),e(11,"FormsModule"),t(),e(12,` para usar os componentes de formul\xE1rios e caso esteja trabalhando com
formul\xE1rios reativos, importe o m\xF3dulo `),i(13,"code"),e(14,"ReactiveFormsModule"),t(),e(15,", ambos nativos do Angular."),t()()(),i(16,"h3",3),e(17,"Componente"),t(),i(18,"h4",4)(19,"code",5),e(20,"PoFieldValidateModel"),t()(),a(21,"div",2),i(22,"h4",6),e(23,"Propriedades"),t(),i(24,"table",7)(25,"tr",8)(26,"th",9),e(27,"Nome"),t(),i(28,"th",9),e(29,"Tipo"),t(),i(30,"th",9),e(31,"Padr\xE3o"),t(),i(32,"th",9),e(33,"Descri\xE7\xE3o"),t()(),i(34,"tr",10)(35,"td",11)(36,"div",12)(37,"span",13),e(38," (p-change)"),a(39,"br"),t()()(),i(40,"td",14)(41,"code",15),e(42,"EventEmitter"),t()(),i(43,"td",16),e(44,"-"),t(),i(45,"td",17)(46,"em")(47,"strong"),e(48,"(opcional)"),t()(),i(49,"p"),e(50,"Evento disparado ao alterar valor do campo."),t()()(),i(51,"tr",10)(52,"td",11)(53,"div",18)(54,"span",19),e(55," p-disabled"),a(56,"br"),t()()(),i(57,"td",14)(58,"code",20),e(59,"boolean"),t()(),i(60,"td",16)(61,"p")(62,"code"),e(63,"false"),t()()(),i(64,"td",17)(65,"em")(66,"strong"),e(67,"(opcional)"),t()(),i(68,"p"),e(69,"Indica se o campo ser\xE1 desabilitado."),t()()(),i(70,"tr",10)(71,"td",11)(72,"div",18)(73,"span",19),e(74," p-field-error-message"),a(75,"br"),t()()(),i(76,"td",14)(77,"code",21),e(78,"string"),t()(),i(79,"td",16),e(80,"-"),t(),i(81,"td",17)(82,"em")(83,"strong"),e(84,"(opcional)"),t()(),i(85,"p"),e(86,"Exibe a mensagem setada se o campo estiver vazio e for requerido."),t(),i(87,"blockquote")(88,"p"),e(89,"Necess\xE1rio que a propriedade "),i(90,"code"),e(91,"p-required"),t(),e(92," esteja habilitada."),t()()()(),i(93,"tr",10)(94,"td",11)(95,"div",18)(96,"span",19),e(97," p-help"),a(98,"br"),t()()(),i(99,"td",14)(100,"code",21),e(101,"string"),t()(),i(102,"td",16),e(103,"-"),t(),i(104,"td",17)(105,"p"),e(106,"Texto de apoio para o campo."),t()()(),i(107,"tr",10)(108,"td",11)(109,"div",18)(110,"span",19),e(111," p-label"),a(112,"br"),t()()(),i(113,"td",14)(114,"code",21),e(115,"string"),t()(),i(116,"td",16),e(117,"-"),t(),i(118,"td",17)(119,"p"),e(120,"R\xF3tulo exibido pelo componente."),t()()(),i(121,"tr",10)(122,"td",11)(123,"div",18)(124,"span",19),e(125," name"),a(126,"br"),t()()(),i(127,"td",14)(128,"code",21),e(129,"string"),t()(),i(130,"td",16),e(131,"-"),t(),i(132,"td",17)(133,"p"),e(134,"Nome do componente."),t()()(),i(135,"tr",10)(136,"td",11)(137,"div",18)(138,"span",19),e(139," p-optional"),a(140,"br"),t()()(),i(141,"td",14)(142,"code",20),e(143,"boolean"),t()(),i(144,"td",16)(145,"p")(146,"code"),e(147,"false"),t()()(),i(148,"td",17)(149,"em")(150,"strong"),e(151,"(opcional)"),t()(),i(152,"p"),e(153,"Define se a indica\xE7\xE3o de campo opcional ser\xE1 exibida."),t(),i(154,"blockquote")(155,"p"),e(156,"N\xE3o ser\xE1 exibida a indica\xE7\xE3o se:"),t()(),i(157,"ul")(158,"li"),e(159,"O campo conter "),i(160,"code"),e(161,"p-required"),t(),e(162,";"),t(),i(163,"li"),e(164,"N\xE3o possuir "),i(165,"code"),e(166,"p-help"),t(),e(167," e/ou "),i(168,"code"),e(169,"p-label"),t(),e(170,"."),t()()()(),i(171,"tr",10)(172,"td",11)(173,"div",18)(174,"span",19),e(175," p-required"),a(176,"br"),t()()(),i(177,"td",14)(178,"code",20),e(179,"boolean"),t()(),i(180,"td",16)(181,"p")(182,"code"),e(183,"false"),t()()(),i(184,"td",17)(185,"em")(186,"strong"),e(187,"(opcional)"),t()(),i(188,"p"),e(189,"Define que o campo ser\xE1 obrigat\xF3rio."),t()()(),i(190,"tr",10)(191,"td",11)(192,"div",18)(193,"span",19),e(194," p-show-required"),a(195,"br"),t()()(),i(196,"td",14)(197,"code",20),e(198,"boolean"),t()(),i(199,"td",16),e(200,"-"),t(),i(201,"td",17)(202,"p"),e(203,"Define se a indica\xE7\xE3o de campo obrigat\xF3rio ser\xE1 exibida."),t(),i(204,"blockquote")(205,"p"),e(206,"N\xE3o ser\xE1 exibida a indica\xE7\xE3o se:"),t()(),i(207,"ul")(208,"li"),e(209,"N\xE3o possuir "),i(210,"code"),e(211,"p-help"),t(),e(212," e/ou "),i(213,"code"),e(214,"p-label"),t(),e(215,"."),t()()()()()())},encapsulation:2})}return o})();var D=(()=>{class o{route;router;sub;hidePoWebSample=!0;samplesLength=0;activeTab="doc";actions=[{label:"Documenta\xE7\xE3o",action:this.goBack.bind(this),icon:"ph ph-file-text"},{label:"Colabore",action:this.improveDocs.bind(this)}];constructor(d,n){this.route=d,this.router=n}goBack(){this.router.navigate(["documentation"])}improveDocs(){this.router.navigate(["guides/development-flow"])}ngOnInit(){this.sub=this.route.queryParams.subscribe(d=>{let n=d.view;this.activeTab=n||"doc",this.hidePoWebSample=this.samplesLength===0})}ngOnDestroy(){this.sub.unsubscribe()}static \u0275fac=function(n){return new(n||o)(u(S),u(b))};static \u0275cmp=m({type:o,selectors:[["ng-component"]],standalone:!1,decls:5,vars:4,consts:[["p-title"," Field Validate",3,"p-actions"],["p-size","1"],["p-label","Documenta\xE7\xE3o",3,"p-active"],["p-label","Exemplos",3,"p-hide","p-active"]],template:function(n,l){n&1&&(i(0,"po-page-default",0)(1,"po-tabs",1)(2,"po-tab",2),a(3,"sample-po-field-validate-doc"),t(),a(4,"po-tab",3),t()()),n&2&&(s("p-actions",l.actions),c(2),s("p-active",l.activeTab.includes("doc")),c(2),s("p-hide",l.hidePoWebSample)("p-active",l.activeTab.includes("web")))},dependencies:[f,v,h,F],encapsulation:2})}return o})();var C=[{path:"",component:D}],y=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=p({type:o});static \u0275inj=r({imports:[E.forChild(C),E]})}return o})();var z=(()=>{class o{static \u0275fac=function(n){return new(n||o)};static \u0275mod=p({type:o});static \u0275inj=r({imports:[g,y]})}return o})();export{z as DocPoFieldValidateModule};