dealposbarcode 25.42.0 → 25.50.0
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.
- package/assets/scss/core/sidebar/_sidebar.scss +3 -1
- package/chunk-377TROCD.js +1 -0
- package/chunk-4CITKGGL.js +1 -0
- package/chunk-7V3KH6IR.js +394 -0
- package/chunk-CARY4E7O.js +1 -0
- package/chunk-G2JXUY7S.js +2 -0
- package/chunk-G4LJCV6B.js +1 -0
- package/chunk-HHB3BUIC.js +1 -0
- package/chunk-I535BP2A.js +1 -0
- package/chunk-JYD2NJXU.js +1 -0
- package/chunk-L2JD4R6O.js +1 -0
- package/chunk-LTVGOJEF.js +2 -0
- package/chunk-RH3ZV23S.js +4 -0
- package/chunk-SCXFN4EA.js +1 -0
- package/{chunk-7NBUTSCP.js → chunk-UBR4JEV7.js} +1 -1
- package/chunk-UE2JJIFL.js +7 -0
- package/chunk-WBD3XQRN.js +1 -0
- package/{chunk-OF3S7PJO.js → chunk-X4PZGB4F.js} +1 -1
- package/index.html +4 -4
- package/main-SNJDWW52.js +605 -0
- package/ngsw.json +40 -32
- package/package.json +1 -1
- package/{styles-DNJBCG2T.css → styles-7YJ7GGGE.css} +1 -1
- package/chunk-A6GS53BJ.js +0 -1
- package/chunk-AVMIS4JH.js +0 -5
- package/chunk-FJ7FELU6.js +0 -2
- package/chunk-JSALYWAE.js +0 -1
- package/chunk-JWV4A4IE.js +0 -1
- package/chunk-OPCDULBE.js +0 -390
- package/chunk-OWLOGNWL.js +0 -1
- package/chunk-T4TJ6V2K.js +0 -1
- package/chunk-UQPONBUU.js +0 -1
- package/chunk-YB6XMFOT.js +0 -7
- package/chunk-YZVBRXKJ.js +0 -1
- package/main-FVVEPY6I.js +0 -605
package/chunk-A6GS53BJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{E as j,F as A,G,H as R,J as U,Y as z,ma as q,n as D,q as V,u as N,v as F,y as T,z as I}from"./chunk-AVMIS4JH.js";import{$b as S,Ad as O,Da as f,Ec as k,Fc as x,Ha as M,Kb as b,Rb as _,Sa as d,Ta as m,Vb as l,ec as e,fc as t,gc as a,kc as C,nc as c,od as E,ub as w,wc as v,xc as n,yc as y,zb as r,zc as P}from"./chunk-YB6XMFOT.js";var B=i=>({active:i});function H(i,L){i&1&&(e(0,"h4"),n(1," This menu is for printing barcodes that will be placed directly on your products. "),t())}function J(i,L){i&1&&(e(0,"h4"),n(1," This option is designed for printing barcodes and labels that will be displayed on the shelves where your products are stored. "),t())}var re=(()=>{class i{constructor(){this.domain=b(""),this.username=b(""),this.router=f(D),this.fb=f(R),this.authService=f(q)}ngOnInit(){this.initForm()}ngAfterViewInit(){this.domain.set(localStorage.getItem("Domain")),this.username.set(localStorage.getItem("Username"))}onNext(){let s=this.form.get("printMode").value;switch(s){case 1:this.form.get("rememberMe").value&&localStorage.setItem("PrintMode","barcode"),this.router.navigate(["/pages/shelf/barcode"],{queryParams:{step:0}});break;case 2:this.form.get("rememberMe").value&&localStorage.setItem("PrintMode","priceLabel"),this.router.navigate(["/pages/shelf/price-label"],{queryParams:{step:0}});break;default:console.error("Unknown print mode selected:",s)}}initForm(){this.form=this.fb.group({printMode:this.fb.control(1),rememberMe:this.fb.control(!0)})}static{this.\u0275fac=function(p){return new(p||i)}}static{this.\u0275cmp=M({type:i,selectors:[["app-print-mode-selector"]],standalone:!0,features:[k],decls:59,vars:13,consts:[["radioDefault1",""],["radioDefault2",""],[1,"navbar","navbar-light","bg-white","shadow-sm","px-4","py-2"],[1,"fw-normal","mt-2"],[1,"dropdown"],["type","button","id","profileMenu","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","btn-light","rounded-circle","d-flex","align-items-center","justify-content-center",2,"width","40px","height","40px"],[1,"fa-solid","fa-user"],["aria-labelledby","profileMenu",1,"dropdown-menu","dropdown-menu-end","shadow","border-0","p-3",2,"width","250px","border-radius","1rem"],[1,"mb-2"],[1,"fw-bold","text-uppercase"],[1,"d-flex","align-items-center","mb-3"],[1,"me-3"],[1,"fa-solid","fa-user-circle","fa-3x","text-secondary"],[1,"mt-3","fw-bold"],[1,"text-muted","fw-bolder"],["rel","noopener noreferrer","target","_blank",1,"text-primary","text-decoration-none",3,"href"],[1,"dropdown-divider"],["href","javascript:void(0)",1,"btn","btn-primary","w-100","rounded-pill",3,"click"],[1,"d-flex","flex-column",2,"height","calc(100vh - 56px)"],[1,"flex-grow-1","w-100","d-flex","flex-column","justify-content-center","align-items-center","gap-4","px-3"],["id","header",1,"text-center","mb-4"],[1,"row","g-4","justify-content-center","w-100",2,"max-width","960px",3,"formGroup"],["formControlName","printMode","type","radio","name","printMode",1,"form-check-input","d-none",3,"value"],["formControlName","printMode","type","radio","name","printMode","checked","",1,"form-check-input","d-none",3,"value"],[1,"d-flex","flex-column","align-items-center","gap-4","w-100"],[1,"d-flex","gap-5","justify-content-center","flex-wrap"],[1,"card","option-card",3,"click","ngClass"],[1,"card-body","text-center"],[1,"icon-wrapper","mb-2","mt-4"],[1,"fa-solid","fa-barcode"],[1,"text-muted","mb-1"],[1,"fw-normal"],[1,"fa-solid","fa-shelves"],[1,"form-check","d-flex","justify-content-center","align-items-center","gap-2","mt-3"],["type","checkbox","formControlName","rememberMe","id","checkDefault",1,"form-check-input"],["for","checkDefault",1,"form-check-label"],[1,"mt-3"],["type","button",1,"btn","btn-primary","btn-lg","px-5","rounded-pill","shadow-lg",3,"click"]],template:function(p,o){if(p&1){let u=C();e(0,"nav",2)(1,"h2",3),n(2,"Choose Barcode Mode"),t(),e(3,"div",4)(4,"button",5),a(5,"i",6),t(),e(6,"ul",7)(7,"li",8)(8,"span",9),n(9,"User Profile"),t()(),e(10,"li",10)(11,"div",11),a(12,"i",12),t(),e(13,"div")(14,"h6",13),n(15),t(),e(16,"h6",14)(17,"a",15),n(18),t()()()(),e(19,"li"),a(20,"hr",16),t(),e(21,"li")(22,"button",17),c("click",function(){return d(u),m(o.authService.logout())}),n(23,"SIGN OUT"),t()()()()(),e(24,"div",18)(25,"main",19)(26,"div",20),_(27,H,2,0,"h4")(28,J,2,0,"h4"),t(),e(29,"div",21),a(30,"input",22,0)(32,"input",23,1),e(34,"div",24)(35,"div",25)(36,"div",26),c("click",function(){d(u);let g=v(31);return m(g.click())}),e(37,"div",27)(38,"div",28),a(39,"i",29),t(),e(40,"h6",30),n(41,"Print"),t(),e(42,"h4",31),n(43,"Product"),t()()(),e(44,"div",26),c("click",function(){d(u);let g=v(33);return m(g.click())}),e(45,"div",27)(46,"div",28),a(47,"i",32),t(),e(48,"h6",30),n(49,"Print"),t(),e(50,"h4",31),n(51,"Shelf"),t()()()(),e(52,"div",33),a(53,"input",34),e(54,"label",35),n(55,"Remember my decision"),t()(),e(56,"div",36)(57,"button",37),c("click",function(){return d(u),m(o.onNext())}),n(58," Next "),t()()()()()()}p&2&&(r(15),y(o.username()),r(2),l("href","https://"+o.domain(),w),r(),P(" ",o.domain()," "),r(9),S(o.form.get("printMode").value===1?27:28),r(2),l("formGroup",o.form),r(),l("value",1),r(2),l("value",2),r(4),l("ngClass",x(9,B,o.form.get("printMode").value===1)),r(8),l("ngClass",x(11,B,o.form.get("printMode").value===2)))},dependencies:[O,E,V,U,F,N,j,T,I,A,G,z],styles:["[_nghost-%COMP%]{display:block}main[_ngcontent-%COMP%]{background-color:#f5f5f5}.card[_ngcontent-%COMP%]{width:205px;height:205px;border-radius:8px;transition:transform .3s ease,border-color .3s ease}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:4rem}.card.active[_ngcontent-%COMP%]{border:2px solid blue;transform:scale(1.05)}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;right:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(1){font-size:2rem;font-weight:500}#header[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]:nth-child(2){font-size:.8rem}"],changeDetection:0})}}return i})();export{re as PrintModeSelectorComponent};
|