-
Notifications
You must be signed in to change notification settings - Fork 0
/
chunk-6D6YO3XY.js
2 lines (2 loc) · 4.06 KB
/
chunk-6D6YO3XY.js
1
2
import{$ as m,Ga as o,Od as E,T as l,U as u,Wb as b,Xd as S,Yb as v,Yd as x,Zb as f,_ as d,ha as c,na as t,oa as e,pa as r,se as w,y as s}from"./chunk-23IW53AA.js";var g=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=d({type:i,selectors:[["sample-po-network-doc"]],standalone:!1,decls:77,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-method-table"],[1,"docs-api-properties-row"],["colspan","2",1,"docs-api-properties-name-cell"],[1,"docs-api-input-marker"],[1,"docs-api-input-alias"],[1,"docs-api-property-description"],[1,"docs-api-properties-table"],[1,"docs-api-properties-header-row"],[1,"docs-api-properties-th"],[1,"docs-api-properties-type-cell"],["pan","",1,"docs-api-property-type"],["href","/documentation/po-network-status"]],template:function(n,p){n&1&&(t(0,"div",0)(1,"p",1)(2,"code"),o(3,"import { PoNetwork } from '@po-ui/ng-sync';"),e()(),r(4,"div",2),t(5,"h3",3),o(6,"Services"),e(),t(7,"h4",4)(8,"code",5),o(9,"PoNetworkService"),e()(),t(10,"div",2)(11,"p"),o(12,"O "),t(13,"code"),o(14,"PoNetworkService"),e(),o(15," \xE9 utilizado para verificar o status e o tipo da conex\xE3o de rede do dispositivo."),e()(),t(16,"h3",6),o(17,"M\xE9todos"),e(),t(18,"table",7)(19,"tr",8)(20,"th",9)(21,"div",10)(22,"h4")(23,"span",11),o(24," getConnectionStatus "),e()()()()(),t(25,"tr",12)(26,"td",12)(27,"p"),o(28,"Retorna as propriedades tipo e status da conex\xE3o do dispositivo no momento da chamada."),e()()()(),t(29,"h5")(30,"b"),o(31,"Retorno"),e()(),t(32,"table",13)(33,"tr",14)(34,"th",15),o(35,"Tipo"),e(),t(36,"th",15),o(37,"Descri\xE7\xE3o"),e()(),t(38,"tr",8)(39,"td",16)(40,"code",17),o(41,"PoNetworkStatus"),e()(),t(42,"td",12)(43,"p"),o(44,"Inst\xE2ncia de "),t(45,"a",18),o(46,"PoNetworkStatus"),e(),o(47,` com as
propriedades da conex\xE3o.`),e()()()(),r(48,"br"),t(49,"table",7)(50,"tr",8)(51,"th",9)(52,"div",10)(53,"h4")(54,"span",11),o(55," onChange "),e()()()()(),t(56,"tr",12)(57,"td",12)(58,"p"),o(59,"Notifica as mudan\xE7as no tipo de conex\xE3o de rede do dispositivo."),e()()()(),t(60,"h5")(61,"b"),o(62,"Retorno"),e()(),t(63,"table",13)(64,"tr",14)(65,"th",15),o(66,"Tipo"),e(),t(67,"th",15),o(68,"Descri\xE7\xE3o"),e()(),t(69,"tr",8)(70,"td",16)(71,"code",17),o(72,"Observable<{ status: boolean, type: string }>"),e()(),t(73,"td",12)(74,"p"),o(75,"Observable com as propriedades da conex\xE3o."),e()()()(),r(76,"br"),e())},encapsulation:2})}return i})();var P=(()=>{class i{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(a,n){this.route=a,this.router=n}goBack(){this.router.navigate(["documentation"])}improveDocs(){this.router.navigate(["guides/development-flow"])}ngOnInit(){this.sub=this.route.queryParams.subscribe(a=>{let n=a.view;this.activeTab=n||"doc",this.hidePoWebSample=this.samplesLength===0})}ngOnDestroy(){this.sub.unsubscribe()}static \u0275fac=function(n){return new(n||i)(u(b),u(v))};static \u0275cmp=d({type:i,selectors:[["ng-component"]],standalone:!1,decls:5,vars:4,consts:[["p-title"," Network",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,p){n&1&&(t(0,"po-page-default",0)(1,"po-tabs",1)(2,"po-tab",2),r(3,"sample-po-network-doc"),e(),r(4,"po-tab",3),e()()),n&2&&(c("p-actions",p.actions),l(2),c("p-active",p.activeTab.includes("doc")),l(2),c("p-hide",p.hidePoWebSample)("p-active",p.activeTab.includes("web")))},dependencies:[E,S,x,g],encapsulation:2})}return i})();var N=[{path:"",component:P}],k=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=m({type:i});static \u0275inj=s({imports:[f.forChild(N),f]})}return i})();var L=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=m({type:i});static \u0275inj=s({imports:[w,k]})}return i})();export{L as DocPoNetworkModule};