dealpos 12.46.0 → 12.46.1

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 (100) hide show
  1. package/POS/3rdpartylicenses.txt +0 -264
  2. package/POS/{chunk-W77KPSF2.js → chunk-2E2O6TGP.js} +1 -1
  3. package/POS/{chunk-74JQ5L7E.js → chunk-2NBM3TV5.js} +1 -1
  4. package/POS/{chunk-LBLVPEGO.js → chunk-2NXZ3PPX.js} +1 -1
  5. package/POS/{chunk-ZITSDO6Y.js → chunk-2P3CZERQ.js} +1 -1
  6. package/POS/{chunk-VTMLRYUG.js → chunk-35QVFIFV.js} +1 -1
  7. package/POS/{chunk-NGG3TKK6.js → chunk-3AWUBIJA.js} +1 -1
  8. package/POS/{chunk-LUURX6HC.js → chunk-3JFHLTLM.js} +1 -1
  9. package/POS/{chunk-X677LSFS.js → chunk-3RBLX6R6.js} +1 -1
  10. package/POS/{chunk-6MOPPVMQ.js → chunk-4RISIU3Y.js} +1 -1
  11. package/POS/{chunk-2TPAM7DT.js → chunk-4WJTWQC6.js} +1 -1
  12. package/POS/{chunk-ZTX6PIEV.js → chunk-5FWPAREU.js} +1 -1
  13. package/POS/{chunk-S5OMPVW6.js → chunk-5K7MIIGI.js} +1 -1
  14. package/POS/{chunk-LRTFJ6FG.js → chunk-5Q67JDPM.js} +2 -2
  15. package/POS/{chunk-6Y27VU77.js → chunk-5Y2LJ7G3.js} +1 -1
  16. package/POS/{chunk-64ZVUOWR.js → chunk-7L7SFYV3.js} +1 -1
  17. package/POS/{chunk-L2RFKHEL.js → chunk-AJEJMELY.js} +1 -1
  18. package/POS/{chunk-MI4EFZSB.js → chunk-BAA6GBFW.js} +2 -2
  19. package/POS/{chunk-K3IIN2XM.js → chunk-BHD4WNJX.js} +1 -1
  20. package/POS/{chunk-DROEFM2R.js → chunk-BIQWLI5Y.js} +1 -1
  21. package/POS/{chunk-YRZSKZXS.js → chunk-C5IDEA7H.js} +1 -1
  22. package/POS/{chunk-MZ646OZO.js → chunk-CCZ47OOU.js} +1 -1
  23. package/POS/{chunk-JGOLPEWB.js → chunk-CNFVZ4UR.js} +1 -1
  24. package/POS/{chunk-BEGAYAPC.js → chunk-DYYXLLUV.js} +1 -1
  25. package/POS/{chunk-J34P4IKF.js → chunk-ERIVZT3S.js} +1 -1
  26. package/POS/{chunk-AZE3DOEZ.js → chunk-EXSG76QZ.js} +1 -1
  27. package/POS/{chunk-STEJ3VFZ.js → chunk-F3YU6XFA.js} +1 -1
  28. package/POS/{chunk-C5AXFA6D.js → chunk-FTTMBYGI.js} +1 -1
  29. package/POS/{chunk-DEN2WICT.js → chunk-GBVHL5DU.js} +1 -1
  30. package/POS/{chunk-TANGCAMU.js → chunk-GTLDFD4A.js} +1 -1
  31. package/POS/{chunk-PDJ2UZO4.js → chunk-GXJKBW2V.js} +1 -1
  32. package/POS/{chunk-4APTM6V5.js → chunk-HBIOAWSD.js} +1 -1
  33. package/POS/{chunk-O5X5FYRZ.js → chunk-HCAYNPDF.js} +1 -1
  34. package/POS/{chunk-FXZH2S36.js → chunk-HGW5X37W.js} +1 -1
  35. package/POS/{chunk-LFLI5UES.js → chunk-IAJ5G7FK.js} +1 -1
  36. package/POS/{chunk-VBTX2GYJ.js → chunk-IHJZTCLI.js} +1 -1
  37. package/POS/{chunk-XXLKKLJK.js → chunk-IMKEJ7ZW.js} +1 -1
  38. package/POS/{chunk-YB4D5MMR.js → chunk-J4XNNGLC.js} +1 -1
  39. package/POS/{chunk-E5A7S6JS.js → chunk-JFCJKZBU.js} +1 -1
  40. package/POS/{chunk-SSUAAYGR.js → chunk-JGWNCFUM.js} +1 -1
  41. package/POS/{chunk-J5MRIGRM.js → chunk-KDW5HZAM.js} +1 -1
  42. package/POS/{chunk-YAWRJTEF.js → chunk-KG6MEGA6.js} +1 -1
  43. package/POS/{chunk-R6RSL4VZ.js → chunk-KP4AGB7Z.js} +1 -1
  44. package/POS/{chunk-HSNRM7DK.js → chunk-KS3FZTDJ.js} +1 -1
  45. package/POS/chunk-KZMRMINS.js +1 -0
  46. package/POS/{chunk-HLFZNBMM.js → chunk-L2JYDUXX.js} +1 -1
  47. package/POS/{chunk-ZS4YQFH3.js → chunk-LCID5MOE.js} +1 -1
  48. package/POS/chunk-LIE5HILJ.js +1 -0
  49. package/POS/{chunk-2ZTZVWM7.js → chunk-LJZGJRFS.js} +1 -1
  50. package/POS/{chunk-MA5MMQEL.js → chunk-LPFNEKZP.js} +1 -1
  51. package/POS/{chunk-CTG5YYEL.js → chunk-M66I3PCO.js} +1 -1
  52. package/POS/{chunk-PDN4PNG5.js → chunk-MID4YJY2.js} +1 -1
  53. package/POS/{chunk-ATHPNDSI.js → chunk-MVL52PA6.js} +1 -1
  54. package/POS/{chunk-XDKIV34Q.js → chunk-NHOAUKPE.js} +1 -1
  55. package/POS/chunk-NLMM3HWQ.js +15 -0
  56. package/POS/{chunk-CPGIV6YU.js → chunk-NXA7WTUX.js} +1 -1
  57. package/POS/{chunk-CRWWN6CD.js → chunk-OIWMYMBA.js} +1 -1
  58. package/POS/{chunk-WDVY45F5.js → chunk-OS47WUX5.js} +1 -1
  59. package/POS/{chunk-SS3XESWL.js → chunk-P4R5PBGC.js} +1 -1
  60. package/POS/{chunk-B4C53QB7.js → chunk-PFVMZPZO.js} +1 -1
  61. package/POS/{chunk-HPXMUVAH.js → chunk-PJBKCIFB.js} +1 -1
  62. package/POS/{chunk-DPVBFFHB.js → chunk-QWJW6V7T.js} +1 -1
  63. package/POS/{chunk-A3MJAGC5.js → chunk-QXDXXP6G.js} +1 -1
  64. package/POS/{chunk-L6CVUQZI.js → chunk-R5NCLZMO.js} +1 -1
  65. package/POS/{chunk-4KTTLP37.js → chunk-R6DIHZMH.js} +1 -1
  66. package/POS/{chunk-AWUVZXG6.js → chunk-RBE6VIT3.js} +1 -1
  67. package/POS/{chunk-KCSOA7YK.js → chunk-RCJG4C5G.js} +1 -1
  68. package/POS/{chunk-LAUXGOT5.js → chunk-RGPSYTCT.js} +1 -1
  69. package/POS/{chunk-XX6Y2JIL.js → chunk-RNFI2KY6.js} +1 -1
  70. package/POS/{chunk-AOH2V2VG.js → chunk-S5R52ZNQ.js} +1 -1
  71. package/POS/{chunk-7ZWY5X6U.js → chunk-T2TQFLCW.js} +1 -1
  72. package/POS/{chunk-EC6CU4VT.js → chunk-THF3I6TR.js} +1 -1
  73. package/POS/{chunk-3OS6FSSP.js → chunk-TJSFBXDD.js} +1 -1
  74. package/POS/{chunk-UWTJRHB4.js → chunk-TNCVTJVE.js} +1 -1
  75. package/POS/{chunk-AUFZUVKJ.js → chunk-TRP3BJ23.js} +1 -1
  76. package/POS/{chunk-SAXBB4HZ.js → chunk-TYKCPTO3.js} +1 -1
  77. package/POS/{chunk-MPFYHRKN.js → chunk-TYOPKO2B.js} +1 -1
  78. package/POS/{chunk-ESHBD2JJ.js → chunk-U2SJU62H.js} +1 -1
  79. package/POS/{chunk-WX5ZZWLH.js → chunk-UEQNUGDD.js} +1 -1
  80. package/POS/{chunk-QOIEQYQ3.js → chunk-UJN4GCIO.js} +1 -1
  81. package/POS/{chunk-BGXPGPEB.js → chunk-V3O5UNNM.js} +1 -1
  82. package/POS/{chunk-KX5O7D2O.js → chunk-VC3RM3FM.js} +1 -1
  83. package/POS/{chunk-U3DQH452.js → chunk-VOEVRMTP.js} +1 -1
  84. package/POS/{chunk-WIU2FJRO.js → chunk-WA2S3XYA.js} +1 -1
  85. package/POS/{chunk-GWSYF4V2.js → chunk-WBKNM6CJ.js} +1 -1
  86. package/POS/{chunk-BJBOWJWA.js → chunk-WCUMVHMK.js} +1 -1
  87. package/POS/{chunk-2YZC6SPV.js → chunk-WEA3HU4B.js} +2 -2
  88. package/POS/{chunk-RPZJJRWV.js → chunk-WLEAX6WC.js} +1 -1
  89. package/POS/{chunk-TIAVHK3I.js → chunk-WXM23YF7.js} +1 -1
  90. package/POS/{chunk-MFN6UOFR.js → chunk-XPC2TWG7.js} +1 -1
  91. package/POS/{chunk-P7AO62SW.js → chunk-Y5VJ7LMX.js} +1 -1
  92. package/POS/{chunk-QFPHV66F.js → chunk-YYJ4DYHC.js} +1 -1
  93. package/POS/{chunk-Y2RLPVLN.js → chunk-ZD7P47F7.js} +1 -1
  94. package/POS/{chunk-LQMHAL5S.js → chunk-ZZBEV5DK.js} +1 -1
  95. package/POS/index.html +3 -3
  96. package/POS/{main-XHSU5Q6N.js → main-OW66GMTC.js} +2 -2
  97. package/package.json +1 -1
  98. package/POS/chunk-E6RJI5YM.js +0 -17
  99. package/POS/chunk-HNWSLDFU.js +0 -1
  100. package/POS/chunk-X7B67NRT.js +0 -1
@@ -532,97 +532,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
532
532
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
533
533
  SOFTWARE.
534
534
 
535
- --------------------------------------------------------------------------------
536
- Package: requires-port
537
- License: "MIT"
538
-
539
- The MIT License (MIT)
540
-
541
- Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
542
-
543
- Permission is hereby granted, free of charge, to any person obtaining a copy
544
- of this software and associated documentation files (the "Software"), to deal
545
- in the Software without restriction, including without limitation the rights
546
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
547
- copies of the Software, and to permit persons to whom the Software is
548
- furnished to do so, subject to the following conditions:
549
-
550
- The above copyright notice and this permission notice shall be included in all
551
- copies or substantial portions of the Software.
552
-
553
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
554
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
555
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
556
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
557
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
558
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
559
- SOFTWARE.
560
-
561
-
562
- --------------------------------------------------------------------------------
563
- Package: querystringify
564
- License: "MIT"
565
-
566
- The MIT License (MIT)
567
-
568
- Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
569
-
570
- Permission is hereby granted, free of charge, to any person obtaining a copy
571
- of this software and associated documentation files (the "Software"), to deal
572
- in the Software without restriction, including without limitation the rights
573
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
574
- copies of the Software, and to permit persons to whom the Software is
575
- furnished to do so, subject to the following conditions:
576
-
577
- The above copyright notice and this permission notice shall be included in all
578
- copies or substantial portions of the Software.
579
-
580
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
581
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
582
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
583
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
584
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
585
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
586
- SOFTWARE.
587
-
588
-
589
- --------------------------------------------------------------------------------
590
- Package: url-parse
591
- License: "MIT"
592
-
593
- The MIT License (MIT)
594
-
595
- Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
596
-
597
- Permission is hereby granted, free of charge, to any person obtaining a copy
598
- of this software and associated documentation files (the "Software"), to deal
599
- in the Software without restriction, including without limitation the rights
600
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
601
- copies of the Software, and to permit persons to whom the Software is
602
- furnished to do so, subject to the following conditions:
603
-
604
- The above copyright notice and this permission notice shall be included in all
605
- copies or substantial portions of the Software.
606
-
607
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
608
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
609
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
610
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
611
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
612
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
613
- SOFTWARE.
614
-
615
-
616
- --------------------------------------------------------------------------------
617
- Package: component-emitter
618
- License: "MIT"
619
-
620
-
621
- --------------------------------------------------------------------------------
622
- Package: retry
623
- License: "MIT"
624
-
625
-
626
535
  --------------------------------------------------------------------------------
627
536
  Package: @uppy/utils
628
537
  License: "MIT"
@@ -1025,179 +934,6 @@ Package: @uppy/angular
1025
934
  License: "MIT"
1026
935
 
1027
936
 
1028
- --------------------------------------------------------------------------------
1029
- Package: tus-js-client
1030
- License: "MIT"
1031
-
1032
- The MIT License (MIT)
1033
-
1034
- Copyright (c) 2015 tus - Resumable File Uploads
1035
-
1036
- Permission is hereby granted, free of charge, to any person obtaining a copy
1037
- of this software and associated documentation files (the "Software"), to deal
1038
- in the Software without restriction, including without limitation the rights
1039
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1040
- copies of the Software, and to permit persons to whom the Software is
1041
- furnished to do so, subject to the following conditions:
1042
-
1043
- The above copyright notice and this permission notice shall be included in all
1044
- copies or substantial portions of the Software.
1045
-
1046
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1047
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1048
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1049
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1050
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1051
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1052
- SOFTWARE.
1053
-
1054
-
1055
- --------------------------------------------------------------------------------
1056
- Package: js-base64
1057
- License: "BSD-3-Clause"
1058
-
1059
- Copyright (c) 2014, Dan Kogai
1060
- All rights reserved.
1061
-
1062
- Redistribution and use in source and binary forms, with or without
1063
- modification, are permitted provided that the following conditions are met:
1064
-
1065
- * Redistributions of source code must retain the above copyright notice, this
1066
- list of conditions and the following disclaimer.
1067
-
1068
- * Redistributions in binary form must reproduce the above copyright notice,
1069
- this list of conditions and the following disclaimer in the documentation
1070
- and/or other materials provided with the distribution.
1071
-
1072
- * Neither the name of {{{project}}} nor the names of its
1073
- contributors may be used to endorse or promote products derived from
1074
- this software without specific prior written permission.
1075
-
1076
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1077
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1078
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1079
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1080
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1081
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1082
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1083
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1084
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1085
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1086
-
1087
- --------------------------------------------------------------------------------
1088
- Package: @uppy/tus
1089
- License: "MIT"
1090
-
1091
- The MIT License (MIT)
1092
-
1093
- Copyright (c) 2018 Transloadit
1094
-
1095
- Permission is hereby granted, free of charge, to any person obtaining a copy
1096
- of this software and associated documentation files (the "Software"), to deal
1097
- in the Software without restriction, including without limitation the rights
1098
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1099
- copies of the Software, and to permit persons to whom the Software is
1100
- furnished to do so, subject to the following conditions:
1101
-
1102
- The above copyright notice and this permission notice shall be included in all
1103
- copies or substantial portions of the Software.
1104
-
1105
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1106
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1107
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1108
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1109
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1110
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1111
- SOFTWARE.
1112
-
1113
- --------------------------------------------------------------------------------
1114
- Package: @uppy/transloadit
1115
- License: "MIT"
1116
-
1117
- The MIT License (MIT)
1118
-
1119
- Copyright (c) 2018 Transloadit
1120
-
1121
- Permission is hereby granted, free of charge, to any person obtaining a copy
1122
- of this software and associated documentation files (the "Software"), to deal
1123
- in the Software without restriction, including without limitation the rights
1124
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1125
- copies of the Software, and to permit persons to whom the Software is
1126
- furnished to do so, subject to the following conditions:
1127
-
1128
- The above copyright notice and this permission notice shall be included in all
1129
- copies or substantial portions of the Software.
1130
-
1131
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1132
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1133
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1134
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1135
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1136
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1137
- SOFTWARE.
1138
-
1139
- --------------------------------------------------------------------------------
1140
- Package: p-retry
1141
- License: "MIT"
1142
-
1143
-
1144
- --------------------------------------------------------------------------------
1145
- Package: is-network-error
1146
- License: "MIT"
1147
-
1148
-
1149
- --------------------------------------------------------------------------------
1150
- Package: @uppy/companion-client
1151
- License: "MIT"
1152
-
1153
- The MIT License (MIT)
1154
-
1155
- Copyright (c) 2018 Transloadit
1156
-
1157
- Permission is hereby granted, free of charge, to any person obtaining a copy
1158
- of this software and associated documentation files (the "Software"), to deal
1159
- in the Software without restriction, including without limitation the rights
1160
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1161
- copies of the Software, and to permit persons to whom the Software is
1162
- furnished to do so, subject to the following conditions:
1163
-
1164
- The above copyright notice and this permission notice shall be included in all
1165
- copies or substantial portions of the Software.
1166
-
1167
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1168
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1169
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1170
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1171
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1172
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1173
- SOFTWARE.
1174
-
1175
- --------------------------------------------------------------------------------
1176
- Package: @uppy/url
1177
- License: "MIT"
1178
-
1179
- The MIT License (MIT)
1180
-
1181
- Copyright (c) 2018 Transloadit
1182
-
1183
- Permission is hereby granted, free of charge, to any person obtaining a copy
1184
- of this software and associated documentation files (the "Software"), to deal
1185
- in the Software without restriction, including without limitation the rights
1186
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1187
- copies of the Software, and to permit persons to whom the Software is
1188
- furnished to do so, subject to the following conditions:
1189
-
1190
- The above copyright notice and this permission notice shall be included in all
1191
- copies or substantial portions of the Software.
1192
-
1193
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1194
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1195
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1196
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1197
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1198
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1199
- SOFTWARE.
1200
-
1201
937
  --------------------------------------------------------------------------------
1202
938
  Package: autonumeric
1203
939
  License: "MIT"
@@ -1 +1 @@
1
- import{b as V}from"./chunk-5TVIABSM.js";import{a as x}from"./chunk-B3S5JO55.js";import{a as D}from"./chunk-E6RJI5YM.js";import{d as y,e as O,h as w,i as E,j as T}from"./chunk-4G2EILFI.js";import{b as S}from"./chunk-64ZVUOWR.js";import{$ as g,Bb as c,Eb as f,Gb as u,Od as b,Ta as n,Y as v,_c as U,c as C,dc as I,eb as _,ib as p,na as h,tc as M,ua as l,va as s,vb as m,wb as d}from"./chunk-KEK3N7WC.js";function P(a,e){if(a&1){let t=c();m(0,"POS-uppy",2),f("fileUploaded",function(o){l(t);let r=u();return s(r.assignFile(o))}),d()}if(a&2){let t=u();p("sampleUrl",t.sampleUrl)}}var R=class a{constructor(e,t,i,o,r){this.data=e;this.dialogRef=t;this.toastService=i;this.httpService=o;this.convertCsv=r}useUppy=!1;fileEndpoint="";modalConfig;sampleUrl;apiUploadCsv;outletID;fileInput;destroy$=new C;fileName;loadingVal$;ngOnInit(){this.initModalConfig(),this.initUpload()}initModalConfig(){this.modalConfig=new w,this.modalConfig.title="Import Items",this.modalConfig.customWidth=this.data.useUppy?"610px":"484px"}initUpload(){this.data&&(this.sampleUrl=this.data.sampleUrl,this.apiUploadCsv=this.data.API,this.outletID=this.data.outletID,this.useUppy=this.data.useUppy,this.fileEndpoint=this.data.fileEndpoint)}onOk(){if(this.fileInput)if(!this.useUppy)this.convertCsv.convert(this.fileInput).pipe(g(this.destroy$),v(e=>this.httpService.post(this.apiUploadCsv,this.outletID?{EntityID:this.outletID,CartItems:e}:e))).subscribe(e=>{this.dialogRef.close(e)});else{let e=new FormData;e.append("File",this.fileInput),e.append("EntityID",this.outletID),this.httpService.postFormData(this.fileEndpoint,e).subscribe(t=>this.dialogRef.close(t))}else this.toastService.warning("Please drop a CSV file.","Warning")}onClose(){this.dialogRef.close()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}assignFile(e){this.fileInput=e}static \u0275fac=function(t){return new(t||a)(n(O),n(y),n(b),n(S),n(x))};static \u0275cmp=h({type:a,selectors:[["POS-modal-upload"]],standalone:!0,features:[I],decls:3,vars:1,consts:[["modalContent",""],[3,"onOk","onCancel","onClose","config"],[3,"fileUploaded","sampleUrl"]],template:function(t,i){if(t&1){let o=c();m(0,"modal-material",1),f("onOk",function(){return l(o),s(i.onOk())})("onCancel",function(){return l(o),s(i.onClose())})("onClose",function(){return l(o),s(i.onClose())}),_(1,P,1,1,"ng-template",null,0,M),d()}t&2&&p("config",i.modalConfig)},dependencies:[U,T,E,V,D]})};export{R as a};
1
+ import{b as V}from"./chunk-5TVIABSM.js";import{a as x}from"./chunk-B3S5JO55.js";import{a as D}from"./chunk-NLMM3HWQ.js";import{d as y,e as O,h as w,i as E,j as T}from"./chunk-4G2EILFI.js";import{b as S}from"./chunk-7L7SFYV3.js";import{$ as g,Bb as c,Eb as f,Gb as u,Od as b,Ta as n,Y as v,_c as U,c as C,dc as I,eb as _,ib as p,na as h,tc as M,ua as l,va as s,vb as m,wb as d}from"./chunk-KEK3N7WC.js";function P(a,e){if(a&1){let t=c();m(0,"POS-uppy",2),f("fileUploaded",function(o){l(t);let r=u();return s(r.assignFile(o))}),d()}if(a&2){let t=u();p("sampleUrl",t.sampleUrl)}}var R=class a{constructor(e,t,i,o,r){this.data=e;this.dialogRef=t;this.toastService=i;this.httpService=o;this.convertCsv=r}useUppy=!1;fileEndpoint="";modalConfig;sampleUrl;apiUploadCsv;outletID;fileInput;destroy$=new C;fileName;loadingVal$;ngOnInit(){this.initModalConfig(),this.initUpload()}initModalConfig(){this.modalConfig=new w,this.modalConfig.title="Import Items",this.modalConfig.customWidth=this.data.useUppy?"610px":"484px"}initUpload(){this.data&&(this.sampleUrl=this.data.sampleUrl,this.apiUploadCsv=this.data.API,this.outletID=this.data.outletID,this.useUppy=this.data.useUppy,this.fileEndpoint=this.data.fileEndpoint)}onOk(){if(this.fileInput)if(!this.useUppy)this.convertCsv.convert(this.fileInput).pipe(g(this.destroy$),v(e=>this.httpService.post(this.apiUploadCsv,this.outletID?{EntityID:this.outletID,CartItems:e}:e))).subscribe(e=>{this.dialogRef.close(e)});else{let e=new FormData;e.append("File",this.fileInput),e.append("EntityID",this.outletID),this.httpService.postFormData(this.fileEndpoint,e).subscribe(t=>this.dialogRef.close(t))}else this.toastService.warning("Please drop a CSV file.","Warning")}onClose(){this.dialogRef.close()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}assignFile(e){this.fileInput=e}static \u0275fac=function(t){return new(t||a)(n(O),n(y),n(b),n(S),n(x))};static \u0275cmp=h({type:a,selectors:[["POS-modal-upload"]],standalone:!0,features:[I],decls:3,vars:1,consts:[["modalContent",""],[3,"onOk","onCancel","onClose","config"],[3,"fileUploaded","sampleUrl"]],template:function(t,i){if(t&1){let o=c();m(0,"modal-material",1),f("onOk",function(){return l(o),s(i.onOk())})("onCancel",function(){return l(o),s(i.onClose())})("onClose",function(){return l(o),s(i.onClose())}),_(1,P,1,1,"ng-template",null,0,M),d()}t&2&&p("config",i.modalConfig)},dependencies:[U,T,E,V,D]})};export{R as a};
@@ -1 +1 @@
1
- import{b as me}from"./chunk-EC6CU4VT.js";import{a as B}from"./chunk-K7ACLCRR.js";import{a as ge}from"./chunk-SCLRE6QV.js";import{b as ae,c as le}from"./chunk-MFN6UOFR.js";import{n as pe}from"./chunk-4NFRB3LR.js";import{b as ue}from"./chunk-2KBO765S.js";import{a as oe}from"./chunk-C34GKBAP.js";import{b as ce}from"./chunk-64ZVUOWR.js";import{$ as j,Bb as f,C as z,Eb as C,Gb as a,Kd as se,Lc as te,Nc as ie,Oa as X,Oc as ne,Sa as s,Ta as J,Ub as Y,Vb as l,Wb as b,Xb as Z,Zc as re,ba as V,c as F,d as w,eb as p,ec as R,fa as d,fc as L,ia as $,ib as o,ja as H,na as W,nc as y,pc as A,qc as G,tc as ee,ua as h,va as D,vb as n,wb as c,xb as m}from"./chunk-KEK3N7WC.js";var be=class i{constructor(e){this.httpService=e}roleService=H(ue);_role=new w(new B(this.roleService));role$=this._role.asObservable();role;_pageState;_Data=new w(null);Data$=this._Data.asObservable().pipe(z(e=>e!==null));get Data(){return this._Data.value}pushNewValue(e){this._Data.next(e)}getStorage(e,t,r){let u={ID:t,EntityID:r};return this.httpService.post(e,u).pipe(V(g=>this.pushNewValue(g)))}getLoadData(e){return this.httpService.post(e).pipe(V(t=>this.pushNewValue(t)))}get pageState(){return this._pageState}set pageState(e){this._pageState=e}updateRole(e){this.role=e,this._role.next(e)}initRoles(){this.updateRole(new B(this.roleService))}static \u0275fac=function(t){return new(t||i)($(ce))};static \u0275prov=d({token:i,factory:i.\u0275fac,providedIn:"root"})};var he=()=>["/menu/Outlets/Master/Quick_Key_Templates/Form"],fe=i=>({ID:i}),Ce=i=>({OutletID:i});function Ie(i,e){if(i&1&&m(0,"img",17),i&2){let t=a().$implicit;o("src",t.ImageURLClient.indexOf("cloudinary")>-1?"https:"+t.ImageURLClient:t.ImageURLClient,X)}}function Pe(i,e){if(i&1&&(n(0,"p",18),l(1),y(2,"slice"),c()),i&2){let t=a().$implicit;s(),b(G(2,1,t.Display,0,3))}}function ke(i,e){if(i&1){let t=f();n(0,"div",13)(1,"a",14),C("click",function(){let u=h(t).$implicit,g=a(3);return D(g.select(u))}),p(2,Ie,1,1,"img",15)(3,Pe,3,5,"p",16),n(4,"small"),l(5),y(6,"slice"),c()()()}if(i&2){let t=e.$implicit;s(2),o("ngIf",t.ImageURLClient),s(),o("ngIf",!t.ImageURLClient),s(2),b(G(6,3,t.Display,0,36))}}function xe(i,e){if(i&1&&(n(0,"mat-tab",6)(1,"div",7)(2,"div",8),p(3,ke,7,7,"div",9),n(4,"div",10)(5,"a",11),m(6,"i",12),c()()()()()),i&2){let t=e.$implicit,r=a(2);o("label",t.Name),s(3),o("ngForOf",t.Items),s(2),o("routerLink",R(4,he))("queryParams",L(5,fe,r.quickKeyId))}}function ve(i,e){if(i&1&&(n(0,"mat-tab-group",4),p(1,xe,7,7,"mat-tab",5),c()),i&2){let t=a();o("disableRipple",!0)("hidden",t.subQuickKey),s(),o("ngForOf",t.quickKey.Groups)}}function _e(i,e){if(i&1){let t=f();n(0,"div",13)(1,"a",14),C("click",function(){let u=h(t).$implicit,g=a(2);return D(g.selectChild(u.ID))}),n(2,"p"),l(3),y(4,"limitTo"),c(),n(5,"small"),l(6),y(7,"limitTo"),c()()()}if(i&2){let t=e.$implicit;s(3),b(A(4,2,t.Model,3)),s(3),b(A(7,5,t.Model,30))}}function Me(i,e){if(i&1){let t=f();n(0,"div",19)(1,"div",20),C("click",function(){h(t);let u=a();return D(u.back())}),n(2,"div",21),m(3,"i",22),c(),n(4,"div",23)(5,"b"),l(6),c()()(),n(7,"div",24),p(8,_e,8,8,"div",9),c()()}if(i&2){let t=a();s(6),Z(" ",t.subQuickKey.Name," "),s(2),o("ngForOf",t.subQuickKey.Items)}}function Oe(i,e){if(i&1&&(n(0,"a",25)(1,"strong"),l(2,"QUICK KEYS UNCONFIGURED"),c(),m(3,"i",26),n(4,"span"),l(5,"Click here to setup your Quick keys"),c()()),i&2){let t=a();o("routerLink",R(2,he))("queryParams",L(3,Ce,t.outletID))}}var de=class i{constructor(e){this._quickKeyService=e;this.destroy$=new F}quickKeyId;outletID;data;quickKey;destroy$;subQuickKey;NextProductID;ngOnInit(){this.initQuickey()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}initQuickey(){this._quickKeyService.Data$.pipe(j(this.destroy$)).subscribe(e=>{this.setQuickey(e)})}setQuickey(e){if(e){let t;e.Groups&&e.Groups.length!==0&&(t=e.Groups),t?this.quickKey=e:this.quickKey=null}}addQuickKeyItem(e){this._quickKeyService.addQuickKeyItem(e)}selectChild(e){this.addQuickKeyItem(e),this.back(),this.openNextProduct(this.NextProductID)}select(e){this.NextProductID=e.NextProductID,!e.Children||e.Children.length<1?this.selectChild(e.ItemID):e.Children.length==1?this.selectChild(e.Children[0].ID):this.subQuickKey={Items:e.Children,Name:e.Display}}openNextProduct(e){oe.IsNotEmpty(e)&&this.data.Groups.forEach(t=>{let r=t.Items.find(u=>u.ProductID==e);r!=null&&r.Children.length>1&&(this.NextProductID=r.NextProductID,this.subQuickKey={Items:r.Children,Name:r.Display})})}back(){delete this.subQuickKey}static \u0275fac=function(t){return new(t||i)(J(me))};static \u0275cmp=W({type:i,selectors:[["pos-quick-key"]],inputs:{quickKeyId:"quickKeyId",outletID:"outletID"},decls:5,vars:4,consts:[["noQuickKey",""],[1,"quickKeys",3,"ngClass"],["animationDuration","0ms","class","quickKeyTabs",3,"disableRipple","hidden",4,"ngIf","ngIfElse"],["class","container",4,"ngIf"],["animationDuration","0ms",1,"quickKeyTabs",3,"disableRipple","hidden"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"container","tabItems"],[1,"row","g-0"],["class","col-3 column",4,"ngFor","ngForOf"],[1,"col-3","column","add"],[3,"routerLink","queryParams"],["aria-hidden","true",1,"fa-solid","fa-circle-plus","fa-5x","d-flex","align-items-center","justify-content-center","bg-white","h-100","text-primary"],[1,"col-3","column"],[3,"click"],["class","productTab",3,"src",4,"ngIf"],["class","productTab",4,"ngIf"],[1,"productTab",3,"src"],[1,"productTab"],[1,"container"],[1,"row","g-0","border","align-items-center","variants-header","cursor",3,"click"],[1,"col-auto","border-end","py-5","px-7"],["aria-hidden","true",1,"fa","fa-arrow-left"],[1,"col","text-center","fw-bold","text-uppercase","h5"],[1,"tabItems","row","g-0"],["id","LinkConfigureQuickkey","target","_blank",3,"routerLink","queryParams"],["aria-hidden","true",1,"fa-regular","fa-hand-pointer"]],template:function(t,r){if(t&1&&(n(0,"section",1),p(1,ve,2,3,"mat-tab-group",2)(2,Me,9,2,"div",3)(3,Oe,6,5,"ng-template",null,0,ee),c()),t&2){let u=Y(4);o("ngClass",r.quickKey?"":"no-quick-key"),s(),o("ngIf",r.quickKey)("ngIfElse",u),s(),o("ngIf",r.subQuickKey)}},dependencies:[te,ie,ne,ae,le,se,re,pe],styles:['.btn-add[_ngcontent-%COMP%]{-webkit-border-radius:50%;-moz-border-radius:50%;padding:6px 10px;cursor:pointer;right:-14px;top:5px;border:solid 1px #dddddd}section.quickKeys.no-quick-key[_ngcontent-%COMP%]{background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Cashier/no-quick-key.png);background-repeat:no-repeat;height:544px;position:relative}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:80px;display:block;margin:0 auto;border-top-left-radius:5px;border-bottom-right-radius:5px;border:solid 1px #dddddd}.quickKeys[_ngcontent-%COMP%] .row.g-0.border.align-items-center.variants-header.cursor[_ngcontent-%COMP%]{background:linear-gradient(to bottom,#fff,#eee)}.btn-add[_ngcontent-%COMP%]{-webkit-border-radius:50%;-moz-border-radius:50%;padding:6px 10px;cursor:pointer;right:-14px;top:5px;border:solid 1px #DDDDDD}section.quickKeys.no-quick-key[_ngcontent-%COMP%]{background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Cashier/no-quick-key.png);background-repeat:no-repeat;height:544px}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%]{border-bottom:0px;display:flex;border-radius:3px;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]{background:#fff;background:-moz-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);height:44px;max-height:44px;overflow:hidden;color:#aaa!important;font-size:14px;text-decoration:none;font-weight:700;outline:none;text-transform:uppercase;text-align:center;min-width:25%;display:flex;justify-content:center}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{align-self:center;text-align:center}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:last-child{border-right:none}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n){border-right:none}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:first-child{border-left:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(-n+4){border-right:1px solid #cfcfcf;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+1){border-left:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+2){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+3){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+4){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(n+5){width:25%;flex-grow:0}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col.active[_ngcontent-%COMP%]{color:#268ec1!important}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%]{padding:0}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:10px;word-break:break-all}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:solid 1px #cfcfcf}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{text-align:center;display:block;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:80px;display:block;margin:0 auto;border-top-left-radius:5px;border-bottom-right-radius:5px;border:solid 1px #DDDDDD}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{height:80px;width:80px;font-size:20px;display:block;margin:0 auto;padding-top:22px;background-color:#a6a6a6;border:solid 1px #999999;border-top-left-radius:5px;border-bottom-right-radius:5px;color:#fff}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:#000;font-size:11px;display:block;margin:5px 0 0}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .ion-icon[_ngcontent-%COMP%]{font-size:75px;margin:10px}.quickKeys[_ngcontent-%COMP%] .variants-header[_ngcontent-%COMP%]{background:#fff;background:-moz-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);color:#268ec1;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .col-md-3.column.add[_ngcontent-%COMP%]{cursor:pointer}.quickKeys[_ngcontent-%COMP%] .col-md-3.column.add[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-top:10px}.quickKeys[_ngcontent-%COMP%] i.icon-col.fa.fa-xmark.text-danger[_ngcontent-%COMP%]{color:#fb404b!important;position:absolute;right:16px;top:5px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%]{background-color:#479ccf;padding:15px 25px;color:#fff;text-decoration:none;width:240px;display:block;opacity:.85;border-radius:5px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%]{position:absolute;top:120px;left:90px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%]:hover, .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%]:hover{opacity:.95}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] Strong[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] Strong[_ngcontent-%COMP%]{border-bottom:1px solid white;font-size:14px;margin:0 0 10px;padding:0 0 3px;display:block}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;height:35px;margin:0 10px 0 0;font-size:28px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;font-size:14px;width:135px;vertical-align:top}.quickKeys[_ngcontent-%COMP%] .row.no-gutters.border.align-items-center.variants-header.cursor[_ngcontent-%COMP%]{background:linear-gradient(to bottom,#fff,#eee)}.general-information[_ngcontent-%COMP%] ol.mt-5.ml-5.pl-7[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{line-height:20px}.quickKeys[_ngcontent-%COMP%] {width:420px;position:relative}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-header-pagination{display:none!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-header{border-bottom:none}.quickKeys[_ngcontent-%COMP%] .mdc-tab-indicator{display:none!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels{border-bottom:0px;display:flex;flex-wrap:wrap}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab{height:44px;max-height:44px;overflow:hidden;padding:0!important;border-right:1px solid #cfcfcf;min-width:25%!important;flex-grow:1;flex-basis:0;font-size:14px;font-weight:700;outline:none;text-transform:uppercase;background:#fff;background:-moz-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);display:flex;white-space:normal!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab .mdc-tab__content{white-space:normal!important;align-self:center}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n){border-right:none}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:first-child{border-left:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(-n+4){border-right:1px solid #cfcfcf;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+1){border-left:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+2){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+3){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+4){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(n+5){width:25%;flex-grow:0}@media (max-width: 1092px){.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab{font-size:12px}}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mdc-tab--active .mdc-tab__text-label{color:#268ec1!important;text-shadow:0px 0px 1px #268ec1!important}@media (max-width: 1210px){.quickKeys[_ngcontent-%COMP%]{width:340px}}']})};var I=class{ID;Index;Symbol;Name;ExchangeRate;ConversionSuggestion;ExchangeRateDate;ExchangeRateDateDisplay;get getID(){return this.ID}get getIndex(){return this.Index}get getSymbol(){return this.Symbol}get getName(){return this.Name}get getExchangeRate(){return this.ExchangeRate}get getConversionSuggestion(){return this.ConversionSuggestion}get getExchangeRateDate(){return this.ExchangeRateDate}get getExchangeRateDateDisplay(){return this.ExchangeRateDateDisplay}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setSymbol(e){this.Symbol=e}set setName(e){this.Name=e}set setExchangeRate(e){this.ExchangeRate=e}set setConversionSuggestion(e){this.ConversionSuggestion=e}set setExchangeRateDate(e){this.ExchangeRateDate=e}set setExchangeRateDateDisplay(e){this.ExchangeRateDateDisplay=e}};var P=class{Address;Billed;Code;ContactPerson;DefaultCustomerPOType;DefaultTaxTypeID;DefaultWarehouse;Description;Email;EnabledKitchenDisplay;EntityGroupID;Fax;ID;Index;MinimumInventory;Name;ParkLayoutTemplateID;Phone;PrintTemplateID;QuickKeyTemplateID;SalesTarget;Suspended;MaxStock;MinStock;UnitsInStock;get getUnitsInStock(){return this.UnitsInStock}set setUnitsInStock(e){this.UnitsInStock=e}get getMaxStock(){return this.MaxStock}set setMaxStock(e){this.MaxStock=e}get getMinStock(){return this.MinStock}set setMinStock(e){this.MinStock=e}get getAddress(){return this.Address}get getBilled(){return this.Billed}get getCode(){return this.Code}get getContactPerson(){return this.ContactPerson}get getDefaultCustomerPOType(){return this.DefaultCustomerPOType}get getDefaultTaxTypeID(){return this.DefaultTaxTypeID}get getDefaultWarehouse(){return this.DefaultWarehouse}get getDescription(){return this.Description}get getEmail(){return this.Email}get getEnabledKitchenDisplay(){return this.EnabledKitchenDisplay}get getEntityGroupID(){return this.EntityGroupID}get getFax(){return this.Fax}get getID(){return this.ID}get getIndex(){return this.Index}get getMinimumInventory(){return this.MinimumInventory}get getName(){return this.Name}get getParkLayoutTemplateID(){return this.ParkLayoutTemplateID}get getPhone(){return this.Phone}get getPrintTemplateID(){return this.PrintTemplateID}get getQuickKeyTemplateID(){return this.QuickKeyTemplateID}get getSalesTarget(){return this.SalesTarget}get getSuspended(){return this.Suspended}set setAddress(e){this.Address=e}set setBilled(e){this.Billed=e}set setCode(e){this.Code=e}set setContactPerson(e){this.ContactPerson=e}set setDefaultCustomerPOType(e){this.DefaultCustomerPOType=e}set setDefaultTaxTypeID(e){this.DefaultTaxTypeID=e}set setDefaultWarehouse(e){this.DefaultWarehouse=e}set setDescription(e){this.Description=e}set setEmail(e){this.Email=e}set setEnabledKitchenDisplay(e){this.EnabledKitchenDisplay=e}set setEntityGroupID(e){this.EntityGroupID=e}set setFax(e){this.Fax=e}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setMinimumInventory(e){this.MinimumInventory=e}set setName(e){this.Name=e}set setParkLayoutTemplateID(e){this.ParkLayoutTemplateID=e}set setPhone(e){this.Phone=e}set setPrintTemplateID(e){this.PrintTemplateID=e}set setQuickKeyTemplateID(e){this.QuickKeyTemplateID=e}set setSalesTarget(e){this.SalesTarget=e}set setSuspended(e){this.Suspended=e}};var k=class{ID;Name;Description;get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var x=class{ID;Code;CostCurrencyID;Discontinued;LoyaltyPoint;Model;Name;OrderPriceDiscount;PackSize;PaymentTypeID;PriceCurrencyID;PriceDiscount;ProductID;SalesCommission;Taxable;TypeID;UOM;UnitCost;UnitPrice;Weight;ComponentID;UOMName;Description;UnitQuantity;ProductIndex;UOMQ;MeasurementID;Image;OrderPrice;PaymentTypeString;SellPriceTypeString;UnitExpense;get getUnitExpense(){return this.UnitExpense}set setUnitExpense(e){this.UnitExpense=e}get getSellPriceTypeString(){return this.SellPriceTypeString}set setSellPriceTypeString(e){this.SellPriceTypeString=e}get getPaymentTypeString(){return this.PaymentTypeString}set setPaymentTypeString(e){this.PaymentTypeString=e}get getOrderPrice(){return this.OrderPrice}set setOrderPrice(e){this.OrderPrice=e}get getImage(){return this.Image}set setImage(e){this.Image=e}get getMeasurementID(){return this.MeasurementID}set setMeasurementID(e){this.MeasurementID=e}get getUOMQ(){return this.UOMQ}set setUOMQ(e){this.UOMQ=e}get getProductIndex(){return this.ProductIndex}set setProductIndex(e){this.ProductIndex=e}get getUnitQuantity(){return this.UnitQuantity}set setUnitQuantity(e){this.UnitQuantity=e}get getDescription(){return this.Description}set setDescription(e){this.Description=e}get getUOMName(){return this.UOMName}set setUOMName(e){this.UOMName=e}get getComponentID(){return this.ComponentID}set setComponentID(e){this.ComponentID=e}get getID(){return this.ID}set setID(e){this.ID=e}get getCode(){return this.Code}get getCostCurrencyID(){return this.CostCurrencyID}get getDiscontinued(){return this.Discontinued}get getLoyaltyPoint(){return this.LoyaltyPoint}get getModel(){return this.Model}get getName(){return this.Name}get getOrderPriceDiscount(){return this.OrderPriceDiscount}get getPackSize(){return this.PackSize}get getPaymentTypeID(){return this.PaymentTypeID}get getPriceCurrencyID(){return this.PriceCurrencyID}get getPriceDiscount(){return this.PriceDiscount}get getProductID(){return this.ProductID}get getSalesCommission(){return this.SalesCommission}get getTaxable(){return this.Taxable}get getTypeID(){return this.TypeID}get getUOM(){return this.UOM}get getUnitCost(){return this.UnitCost}get getUnitPrice(){return this.UnitPrice}get getWeight(){return this.Weight}set setCode(e){this.Code=e}set setCostCurrencyID(e){this.CostCurrencyID=e}set setDiscontinued(e){this.Discontinued=e}set setLoyaltyPoint(e){this.LoyaltyPoint=e}set setModel(e){this.Model=e}set setName(e){this.Name=e}set setOrderPriceDiscount(e){this.OrderPriceDiscount=e}set setPackSize(e){this.PackSize=e}set setPaymentTypeID(e){this.PaymentTypeID=e}set setPriceCurrencyID(e){this.PriceCurrencyID=e}set setPriceDiscount(e){this.PriceDiscount=e}set setProductID(e){this.ProductID=e}set setSalesCommission(e){this.SalesCommission=e}set setTaxable(e){this.Taxable=e}set setTypeID(e){this.TypeID=e}set setUOM(e){this.UOM=e}set setUnitCost(e){this.UnitCost=e}set setUnitPrice(e){this.UnitPrice=e}set setWeight(e){this.Weight=e}};var v=class{Description;EntityID;EntityName;ID;Index;MinimumQuantity;Name;UnitPrice;PriceDiscount;PriceCurrencyID;VariantID;get getVariantID(){return this.VariantID}set setVariantID(e){this.VariantID=e}get getPriceCurrencyID(){return this.PriceCurrencyID}set setPriceCurrencyID(e){this.PriceCurrencyID=e}get getPriceDiscount(){return this.PriceDiscount}set setPriceDiscount(e){this.PriceDiscount=e}get getUnitPrice(){return this.UnitPrice}set setUnitPrice(e){this.UnitPrice=e}get getDescription(){return this.Description}get getEntityID(){return this.EntityID}get getEntityName(){return this.EntityName}get getID(){return this.ID}get getIndex(){return this.Index}get getMinimumQuantity(){return this.MinimumQuantity}get getName(){return this.Name}set setDescription(e){this.Description=e}set setEntityID(e){this.EntityID=e}set setEntityName(e){this.EntityName=e}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setMinimumQuantity(e){this.MinimumQuantity=e}set setName(e){this.Name=e}};var _=class{ID;Name;Description;Amount;SalesPersonGroupID;get getSalesPersonGroupID(){return this.SalesPersonGroupID}set setSalesPersonGroupID(e){this.SalesPersonGroupID=e}get getAmount(){return this.Amount}set setAmount(e){this.Amount=e}get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var M=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var O=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var S=class{ID;Name;Description;get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var N=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var K=class{BrandID;BrandName;CategoryID;CategoryIndex;Code;Created;CreatorID;Description;Discontinued;Display;ID;ImageURL;Model;Name;NextProductID;NextProductName;NullableCreated;NullableReleased;Released;StorageID;SupplierID;SupplierName;get getBrandID(){return this.BrandID}get getBrandName(){return this.BrandName}get getCategoryID(){return this.CategoryID}get getCategoryIndex(){return this.CategoryIndex}get getCode(){return this.Code}get getCreated(){return this.Created}get getCreatorID(){return this.CreatorID}get getDiscontinued(){return this.Discontinued}get getDisplay(){return this.Display}get getID(){return this.ID}get getModel(){return this.Model}get getName(){return this.Name}get getNextProductID(){return this.NextProductID}get getNullableCreated(){return this.NullableCreated}get getNullableReleased(){return this.NullableReleased}get getReleased(){return this.Released}get getStorageID(){return this.StorageID}get getSupplierID(){return this.SupplierID}get getSupplierName(){return this.SupplierName}set setBrandID(e){this.BrandID=e}set setBrandName(e){this.BrandName=e}set setCategoryID(e){this.CategoryID=e}set setCategoryIndex(e){this.CategoryIndex=e}set setCode(e){this.Code=e}set setCreated(e){this.Created=e}set setCreatorID(e){this.CreatorID=e}set setDiscontinued(e){this.Discontinued=e}set setDisplay(e){this.Display=e}set setID(e){this.ID=e}set setModel(e){this.Model=e}set setName(e){this.Name=e}set setNextProductID(e){this.NextProductID=e}set setNullableCreated(e){this.NullableCreated=e}set setNullableReleased(e){this.NullableReleased=e}set setReleased(e){this.Released=e}set setStorageID(e){this.StorageID=e}set setSupplierID(e){this.SupplierID=e}set setSupplierName(e){this.SupplierName=e}};var T=class{Allocated;Available;EntityGroupID;EntityGroupName;EntityID;ID;IgnoreStock;MaxStock;MinStock;Name;SerialNumber;UnitsInStock;get getUnitsInStock(){return this.UnitsInStock}set setUnitsInStock(e){this.UnitsInStock=e}get getSerialNumber(){return this.SerialNumber}set setSerialNumber(e){this.SerialNumber=e}get getAllocated(){return this.Allocated}get getAvailable(){return this.Available}get getEntityGroupID(){return this.EntityGroupID}get getEntityGroupName(){return this.EntityGroupName}get getEntityID(){return this.EntityID}get getID(){return this.ID}get getIgnoreStock(){return this.IgnoreStock}get getMaxStock(){return this.MaxStock}get getMinStock(){return this.MinStock}get getName(){return this.Name}set setAllocated(e){this.Allocated=e}set setAvailable(e){this.Available=e}set setEntityGroupID(e){this.EntityGroupID=e}set setEntityGroupName(e){this.EntityGroupName=e}set setEntityID(e){this.EntityID=e}set setID(e){this.ID=e}set setIgnoreStock(e){this.IgnoreStock=e}set setMaxStock(e){this.MaxStock=e}set setMinStock(e){this.MinStock=e}set setName(e){this.Name=e}};var E=class{CostCurrency;EntityID;ExtraCost;PriceCurrencyID;PriceDiscount;UnitPrice;CostCurrencyID;EntityName;PriceCurrency;get getPriceCurrency(){return this.PriceCurrency}set setPriceCurrency(e){this.PriceCurrency=e}get getEntityName(){return this.EntityName}set setEntityName(e){this.EntityName=e}get getCostCurrencyID(){return this.CostCurrencyID}set setCostCurrencyID(e){this.CostCurrencyID=e}get getCostCurrency(){return this.CostCurrency}get getEntityID(){return this.EntityID}get getExtraCost(){return this.ExtraCost}get getPriceCurrencyID(){return this.PriceCurrencyID}get getPriceDiscount(){return this.PriceDiscount}get getUnitPrice(){return this.UnitPrice}set setCostCurrency(e){this.CostCurrency=e}set setEntityID(e){this.EntityID=e}set setExtraCost(e){this.ExtraCost=e}set setPriceCurrencyID(e){this.PriceCurrencyID=e}set setPriceDiscount(e){this.PriceDiscount=e}set setUnitPrice(e){this.UnitPrice=e}};var U=class{OnHand;Allocated;Available;Outlet;get getOutlet(){return this.Outlet}set setOutlet(e){this.Outlet=e}get getOnHand(){return this.OnHand}get getAllocated(){return this.Allocated}get getAvailable(){return this.Available}set setOnHand(e){this.OnHand=e}set setAllocated(e){this.Allocated=e}set setAvailable(e){this.Available=e}};var q=class{ID;Name;Quantity;get getID(){return this.ID}get getName(){return this.Name}get getQuantity(){return this.Quantity}set setID(e){this.ID=e}set setName(e){this.Name=e}set setQuantity(e){this.Quantity=e}};var Q=class{ComponentID;CostCurrency;PriceCurrency;Quantity;Variant;get getComponentID(){return this.ComponentID}get getCostCurrency(){return this.CostCurrency}get getPriceCurrency(){return this.PriceCurrency}get getQuantity(){return this.Quantity}get getVariant(){return this.Variant}set setComponentID(e){this.ComponentID=e}set setCostCurrency(e){this.CostCurrency=e}set setPriceCurrency(e){this.PriceCurrency=e}set setQuantity(e){this.Quantity=e}set setVariant(e){this.Variant=e}};var De=class i{constructor(){}getVariant(e){let t=new x;return t.setID=e.ID,t.setCode=e.Code,t.setCostCurrencyID=e.CostCurrencyID,t.setDiscontinued=e.Discontinued,t.setLoyaltyPoint=e.LoyaltyPoint,t.setModel=e.Model,t.setName=e.Name,t.setOrderPriceDiscount=e.OrderPriceDiscount,t.setPackSize=e.PackSize,t.setPaymentTypeID=e.PaymentTypeID,t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceDiscount=e.PriceDiscount,t.setProductID=e.ProductID,t.setSalesCommission=e.SalesCommission,t.setTaxable=e.Taxable,t.setTypeID=e.TypeID,t.setUOM=e.UOM,t.setUnitCost=e.UnitCost,t.setUnitPrice=e.UnitPrice,t.setWeight=e.Weight,t.setComponentID=e.ComponentID,t.setUOMName=e.UOMName,t.setOrderPrice=e.OrderPrice,t.setPaymentTypeString=e.PaymentTypeString,t.setSellPriceTypeString=e.SellPriceTypeString,t.setUnitQuantity=e.UnitQuantity,t.setProductIndex=e.ProductIndex,t.setUnitExpense=e.UnitExpense,t.setDescription=e.Description,t}getCurrency(e){let t=new I;return t.setSymbol=e.Symbol,t.setName=e.Name,t.setIndex=e.Index,t.setID=e.ID,t.setConversionSuggestion=e.ConversionSuggestion,t.setExchangeRate=e.ExchangeRate,t.setExchangeRateDate=e.ExchangeRateDate,t.setExchangeRateDateDisplay=e.ExchangeRateDateDisplay,t}getEntity(e){let t=new P;return t.setID=e.ID,t.setIndex=e.Index,t.setMinimumInventory=e.MinimumInventory,t.setName=e.Name,t.setParkLayoutTemplateID=e.ParkLayoutTemplateID,t.setPhone=e.Phone,t.setPrintTemplateID=e.PrintTemplateID,t.setQuickKeyTemplateID=e.QuickKeyTemplateID,t.setSalesTarget=e.SalesTarget,t.setSuspended=e.Suspended,t.setMinStock=e.MinStock?e.MinStock:0,t.setMaxStock=e.MaxStock?e.MaxStock:0,t.setUnitsInStock=e.UnitInStock?e.UnitInStock:0,t}getMeasurement(e){let t=new k;return t.setName=e.Name,t.setID=e.ID,t.setDescription=e.Description,t}getPriceBook(e){let t=new v;return t.setID=e.ID,t.setMinimumQuantity=e.MinimumQuantity,t.setIndex=e.Index,t.setEntityName=e.EntityName,t.setEntityID=e.EntityID,t.setDescription=e.Description,t.setName=e.Name?e.Name:e.PricebookName?e.PricebookName:"",t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceDiscount=e.PriceDiscount,t.setVariantID=e.VariantID,t.setUnitPrice=e.UnitPrice,t}getSalesGroup(e){let t=new _;return t.setName=e.Name,t.setDescription=e.Description,t.setID=e.ID,t.setAmount=e.Amount?e.Amount:0,t}getSellPriceType(e){let t=new M;return t.setKey=e.Key,t.setValue=e.Value,t}getInventoryType(e){let t=new O;return t.setKey=e.Key,t.setValue=e.Value,t}getUOM(e){let t=new S;return t.setID=e.ID,t.setName=e.Name,t.setDescription=e.Description,t}getVariantPaymentType(e){let t=new N;return t.setKey=e.Key,t.setValue=e.Value,t}getProduct(e){let t=new K;return t.setID=e.ID,t.setModel=e.Model,t.setName=e.Name,t.setNextProductID=e.NextProductID,t.setNullableCreated=e.NullableCreated,t.setNullableReleased=e.NullableReleased,t.setReleased=e.Released,t.setStorageID=e.CategoryID,t.setSupplierID=e.SupplierID,t.setSupplierName=e.SupplierName,t}getEntityStockOutlet(e){let t=new T;return t.setAllocated=e.Allocated,t.setAvailable=e.Available,t.setEntityGroupID=e.EntityGroupID,t.setEntityGroupName=e.EntityGroupName,t.setEntityID=e.EntityID,t.setID=e.ID,t.setIgnoreStock=e.IgnoreStock,t.setMaxStock=e.MaxStock,t.setMinStock=e.MinStock,t.setName=e.Name,t.setSerialNumber=e.SerialNumber,t.setUnitsInStock=e.UnitsInStock,t}getOutletPrice(e){let t=new E;return t.setEntityID=e.EntityID,t.setExtraCost=e.ExtraCost,t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceCurrency=e.PriceCurrency,t.setPriceDiscount=e.PriceDiscount,t.setUnitPrice=e.UnitPrice,t.setCostCurrency=e.CostCurrency,t.setCostCurrencyID=e.CostCurrencyID,t.setEntityName=e.EntityName,t}getCompositeInventory(e){let t=new U;return t.setAllocated=e.Allocated,t.setAvailable=e.Available,t.setOnHand=e.OnHand,t.setOutlet=e.Outlet,t}getComposite(e){let t=new Q;return t.setComponentID=e.ComponentID,t.setCostCurrency=e.CostCurrency,t.setPriceCurrency=e.PriceCurrency,t.setQuantity=e.Quantity,t.setVariant=e.Variant?{Variant:this.getVariant(e.Variant.Variant)}:null,t}getDependencyOf(e){let t=new q;return t.setID=e.ID,t.setName=e.Name,t.setQuantity=e.Quantity,t}generateVariantObj(e){let t=new ge;return t.CategoryID=e.CategoryID,t.CategoryName=e.CategoryName,t.CategoryTypeID=e.CategoryTypeID,t.Code=e.Code,t.Component=e.Component,t.Config=e.Config,t.Description=e.Description,t.Finish=e.Finish,t.ID=e.ID,t.ImageUrl=e.ImageUrl,t.LoyaltyPoint=e.LoyaltyPoint,t.LoyaltyPointRedeemable=e.LoyaltyPointRedeemable,t.Name=e.Name,t.OrderPrice=e.OrderPrice,t.OrderPriceDiscount=e.OrderPriceDiscount,t.Ordered=e.Ordered,t.PaymentTypeID=e.PaymentTypeID,t.PriceBook=e.PriceBook,t.PriceDiscount=e.PriceDiscount,t.PriceNote=e.PriceNote,t.SellPriceType=e.SellPriceType,t.Serial=e.Serial,t.Start=e.Start,t.Taxable=e.Taxable,t.ThumbnailUrl=e.ThumbnailUrl,t.TypeID=e.TypeID,t.UOM=e.UOM,t.UOMName=e.UOMName,t.UnitCost=e.UnitCost,t.UnitExpense=e.UnitExpense,t.UnitPrice=e.UnitPrice,t.UnitPriceOriginal=e.UnitPriceOriginal,t.UnitQuantity=e.UnitQuantity,t.UnitsInStock=e.UnitsInStock,t.Storage=e.Storage,t.VariantUnitQuantity=e.VariantUnitQuantity,t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=d({token:i,factory:i.\u0275fac,providedIn:"root"})};export{De as a,be as b,de as c};
1
+ import{b as me}from"./chunk-THF3I6TR.js";import{a as B}from"./chunk-K7ACLCRR.js";import{a as ge}from"./chunk-SCLRE6QV.js";import{b as ae,c as le}from"./chunk-XPC2TWG7.js";import{n as pe}from"./chunk-4NFRB3LR.js";import{b as ue}from"./chunk-2KBO765S.js";import{a as oe}from"./chunk-C34GKBAP.js";import{b as ce}from"./chunk-7L7SFYV3.js";import{$ as j,Bb as f,C as z,Eb as C,Gb as a,Kd as se,Lc as te,Nc as ie,Oa as X,Oc as ne,Sa as s,Ta as J,Ub as Y,Vb as l,Wb as b,Xb as Z,Zc as re,ba as V,c as F,d as w,eb as p,ec as R,fa as d,fc as L,ia as $,ib as o,ja as H,na as W,nc as y,pc as A,qc as G,tc as ee,ua as h,va as D,vb as n,wb as c,xb as m}from"./chunk-KEK3N7WC.js";var be=class i{constructor(e){this.httpService=e}roleService=H(ue);_role=new w(new B(this.roleService));role$=this._role.asObservable();role;_pageState;_Data=new w(null);Data$=this._Data.asObservable().pipe(z(e=>e!==null));get Data(){return this._Data.value}pushNewValue(e){this._Data.next(e)}getStorage(e,t,r){let u={ID:t,EntityID:r};return this.httpService.post(e,u).pipe(V(g=>this.pushNewValue(g)))}getLoadData(e){return this.httpService.post(e).pipe(V(t=>this.pushNewValue(t)))}get pageState(){return this._pageState}set pageState(e){this._pageState=e}updateRole(e){this.role=e,this._role.next(e)}initRoles(){this.updateRole(new B(this.roleService))}static \u0275fac=function(t){return new(t||i)($(ce))};static \u0275prov=d({token:i,factory:i.\u0275fac,providedIn:"root"})};var he=()=>["/menu/Outlets/Master/Quick_Key_Templates/Form"],fe=i=>({ID:i}),Ce=i=>({OutletID:i});function Ie(i,e){if(i&1&&m(0,"img",17),i&2){let t=a().$implicit;o("src",t.ImageURLClient.indexOf("cloudinary")>-1?"https:"+t.ImageURLClient:t.ImageURLClient,X)}}function Pe(i,e){if(i&1&&(n(0,"p",18),l(1),y(2,"slice"),c()),i&2){let t=a().$implicit;s(),b(G(2,1,t.Display,0,3))}}function ke(i,e){if(i&1){let t=f();n(0,"div",13)(1,"a",14),C("click",function(){let u=h(t).$implicit,g=a(3);return D(g.select(u))}),p(2,Ie,1,1,"img",15)(3,Pe,3,5,"p",16),n(4,"small"),l(5),y(6,"slice"),c()()()}if(i&2){let t=e.$implicit;s(2),o("ngIf",t.ImageURLClient),s(),o("ngIf",!t.ImageURLClient),s(2),b(G(6,3,t.Display,0,36))}}function xe(i,e){if(i&1&&(n(0,"mat-tab",6)(1,"div",7)(2,"div",8),p(3,ke,7,7,"div",9),n(4,"div",10)(5,"a",11),m(6,"i",12),c()()()()()),i&2){let t=e.$implicit,r=a(2);o("label",t.Name),s(3),o("ngForOf",t.Items),s(2),o("routerLink",R(4,he))("queryParams",L(5,fe,r.quickKeyId))}}function ve(i,e){if(i&1&&(n(0,"mat-tab-group",4),p(1,xe,7,7,"mat-tab",5),c()),i&2){let t=a();o("disableRipple",!0)("hidden",t.subQuickKey),s(),o("ngForOf",t.quickKey.Groups)}}function _e(i,e){if(i&1){let t=f();n(0,"div",13)(1,"a",14),C("click",function(){let u=h(t).$implicit,g=a(2);return D(g.selectChild(u.ID))}),n(2,"p"),l(3),y(4,"limitTo"),c(),n(5,"small"),l(6),y(7,"limitTo"),c()()()}if(i&2){let t=e.$implicit;s(3),b(A(4,2,t.Model,3)),s(3),b(A(7,5,t.Model,30))}}function Me(i,e){if(i&1){let t=f();n(0,"div",19)(1,"div",20),C("click",function(){h(t);let u=a();return D(u.back())}),n(2,"div",21),m(3,"i",22),c(),n(4,"div",23)(5,"b"),l(6),c()()(),n(7,"div",24),p(8,_e,8,8,"div",9),c()()}if(i&2){let t=a();s(6),Z(" ",t.subQuickKey.Name," "),s(2),o("ngForOf",t.subQuickKey.Items)}}function Oe(i,e){if(i&1&&(n(0,"a",25)(1,"strong"),l(2,"QUICK KEYS UNCONFIGURED"),c(),m(3,"i",26),n(4,"span"),l(5,"Click here to setup your Quick keys"),c()()),i&2){let t=a();o("routerLink",R(2,he))("queryParams",L(3,Ce,t.outletID))}}var de=class i{constructor(e){this._quickKeyService=e;this.destroy$=new F}quickKeyId;outletID;data;quickKey;destroy$;subQuickKey;NextProductID;ngOnInit(){this.initQuickey()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}initQuickey(){this._quickKeyService.Data$.pipe(j(this.destroy$)).subscribe(e=>{this.setQuickey(e)})}setQuickey(e){if(e){let t;e.Groups&&e.Groups.length!==0&&(t=e.Groups),t?this.quickKey=e:this.quickKey=null}}addQuickKeyItem(e){this._quickKeyService.addQuickKeyItem(e)}selectChild(e){this.addQuickKeyItem(e),this.back(),this.openNextProduct(this.NextProductID)}select(e){this.NextProductID=e.NextProductID,!e.Children||e.Children.length<1?this.selectChild(e.ItemID):e.Children.length==1?this.selectChild(e.Children[0].ID):this.subQuickKey={Items:e.Children,Name:e.Display}}openNextProduct(e){oe.IsNotEmpty(e)&&this.data.Groups.forEach(t=>{let r=t.Items.find(u=>u.ProductID==e);r!=null&&r.Children.length>1&&(this.NextProductID=r.NextProductID,this.subQuickKey={Items:r.Children,Name:r.Display})})}back(){delete this.subQuickKey}static \u0275fac=function(t){return new(t||i)(J(me))};static \u0275cmp=W({type:i,selectors:[["pos-quick-key"]],inputs:{quickKeyId:"quickKeyId",outletID:"outletID"},decls:5,vars:4,consts:[["noQuickKey",""],[1,"quickKeys",3,"ngClass"],["animationDuration","0ms","class","quickKeyTabs",3,"disableRipple","hidden",4,"ngIf","ngIfElse"],["class","container",4,"ngIf"],["animationDuration","0ms",1,"quickKeyTabs",3,"disableRipple","hidden"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"container","tabItems"],[1,"row","g-0"],["class","col-3 column",4,"ngFor","ngForOf"],[1,"col-3","column","add"],[3,"routerLink","queryParams"],["aria-hidden","true",1,"fa-solid","fa-circle-plus","fa-5x","d-flex","align-items-center","justify-content-center","bg-white","h-100","text-primary"],[1,"col-3","column"],[3,"click"],["class","productTab",3,"src",4,"ngIf"],["class","productTab",4,"ngIf"],[1,"productTab",3,"src"],[1,"productTab"],[1,"container"],[1,"row","g-0","border","align-items-center","variants-header","cursor",3,"click"],[1,"col-auto","border-end","py-5","px-7"],["aria-hidden","true",1,"fa","fa-arrow-left"],[1,"col","text-center","fw-bold","text-uppercase","h5"],[1,"tabItems","row","g-0"],["id","LinkConfigureQuickkey","target","_blank",3,"routerLink","queryParams"],["aria-hidden","true",1,"fa-regular","fa-hand-pointer"]],template:function(t,r){if(t&1&&(n(0,"section",1),p(1,ve,2,3,"mat-tab-group",2)(2,Me,9,2,"div",3)(3,Oe,6,5,"ng-template",null,0,ee),c()),t&2){let u=Y(4);o("ngClass",r.quickKey?"":"no-quick-key"),s(),o("ngIf",r.quickKey)("ngIfElse",u),s(),o("ngIf",r.subQuickKey)}},dependencies:[te,ie,ne,ae,le,se,re,pe],styles:['.btn-add[_ngcontent-%COMP%]{-webkit-border-radius:50%;-moz-border-radius:50%;padding:6px 10px;cursor:pointer;right:-14px;top:5px;border:solid 1px #dddddd}section.quickKeys.no-quick-key[_ngcontent-%COMP%]{background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Cashier/no-quick-key.png);background-repeat:no-repeat;height:544px;position:relative}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:80px;display:block;margin:0 auto;border-top-left-radius:5px;border-bottom-right-radius:5px;border:solid 1px #dddddd}.quickKeys[_ngcontent-%COMP%] .row.g-0.border.align-items-center.variants-header.cursor[_ngcontent-%COMP%]{background:linear-gradient(to bottom,#fff,#eee)}.btn-add[_ngcontent-%COMP%]{-webkit-border-radius:50%;-moz-border-radius:50%;padding:6px 10px;cursor:pointer;right:-14px;top:5px;border:solid 1px #DDDDDD}section.quickKeys.no-quick-key[_ngcontent-%COMP%]{background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Cashier/no-quick-key.png);background-repeat:no-repeat;height:544px}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%]{border-bottom:0px;display:flex;border-radius:3px;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]{background:#fff;background:-moz-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);height:44px;max-height:44px;overflow:hidden;color:#aaa!important;font-size:14px;text-decoration:none;font-weight:700;outline:none;text-transform:uppercase;text-align:center;min-width:25%;display:flex;justify-content:center}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{align-self:center;text-align:center}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:last-child{border-right:none}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n){border-right:none}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:first-child{border-left:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(-n+4){border-right:1px solid #cfcfcf;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+1){border-left:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+2){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+3){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(4n+4){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col[_ngcontent-%COMP%]:nth-child(n+5){width:25%;flex-grow:0}.quickKeys[_ngcontent-%COMP%] .quickKeyTabs[_ngcontent-%COMP%] div.row[_ngcontent-%COMP%] > div.col.active[_ngcontent-%COMP%]{color:#268ec1!important}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%]{padding:0}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{margin-top:15px;margin-bottom:10px;word-break:break-all}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{border:solid 1px #cfcfcf}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{text-align:center;display:block;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:80px;width:80px;display:block;margin:0 auto;border-top-left-radius:5px;border-bottom-right-radius:5px;border:solid 1px #DDDDDD}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{height:80px;width:80px;font-size:20px;display:block;margin:0 auto;padding-top:22px;background-color:#a6a6a6;border:solid 1px #999999;border-top-left-radius:5px;border-bottom-right-radius:5px;color:#fff}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] > a[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:#000;font-size:11px;display:block;margin:5px 0 0}.quickKeys[_ngcontent-%COMP%] .tabItems[_ngcontent-%COMP%] .column[_ngcontent-%COMP%] .ion-icon[_ngcontent-%COMP%]{font-size:75px;margin:10px}.quickKeys[_ngcontent-%COMP%] .variants-header[_ngcontent-%COMP%]{background:#fff;background:-moz-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(top,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);color:#268ec1;cursor:pointer}.quickKeys[_ngcontent-%COMP%] .col-md-3.column.add[_ngcontent-%COMP%]{cursor:pointer}.quickKeys[_ngcontent-%COMP%] .col-md-3.column.add[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-top:10px}.quickKeys[_ngcontent-%COMP%] i.icon-col.fa.fa-xmark.text-danger[_ngcontent-%COMP%]{color:#fb404b!important;position:absolute;right:16px;top:5px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%]{background-color:#479ccf;padding:15px 25px;color:#fff;text-decoration:none;width:240px;display:block;opacity:.85;border-radius:5px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%]{position:absolute;top:120px;left:90px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%]:hover, .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%]:hover{opacity:.95}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] Strong[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] Strong[_ngcontent-%COMP%]{border-bottom:1px solid white;font-size:14px;margin:0 0 10px;padding:0 0 3px;display:block}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;height:35px;margin:0 10px 0 0;font-size:28px}.quickKeys[_ngcontent-%COMP%] a#LinkConfigureQuickkey[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .quickKeys[_ngcontent-%COMP%] a#LinkConfigureParkLayout[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;font-size:14px;width:135px;vertical-align:top}.quickKeys[_ngcontent-%COMP%] .row.no-gutters.border.align-items-center.variants-header.cursor[_ngcontent-%COMP%]{background:linear-gradient(to bottom,#fff,#eee)}.general-information[_ngcontent-%COMP%] ol.mt-5.ml-5.pl-7[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{line-height:20px}.quickKeys[_ngcontent-%COMP%] {width:420px;position:relative}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-header-pagination{display:none!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-header{border-bottom:none}.quickKeys[_ngcontent-%COMP%] .mdc-tab-indicator{display:none!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels{border-bottom:0px;display:flex;flex-wrap:wrap}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab{height:44px;max-height:44px;overflow:hidden;padding:0!important;border-right:1px solid #cfcfcf;min-width:25%!important;flex-grow:1;flex-basis:0;font-size:14px;font-weight:700;outline:none;text-transform:uppercase;background:#fff;background:-moz-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ffffff),color-stop(100%,#eeeeee));background:-webkit-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-o-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:-ms-linear-gradient(to bottom,#ffffff 0%,#eeeeee 100%);background:linear-gradient(to bottom,#fff,#eee);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#eeeeee",GradientType=0);display:flex;white-space:normal!important}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab .mdc-tab__content{white-space:normal!important;align-self:center}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n){border-right:none}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:first-child{border-left:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(-n+4){border-right:1px solid #cfcfcf;border-top:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+1){border-left:1px solid #cfcfcf;border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+2){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+3){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(4n+4){border-bottom:1px solid #cfcfcf;border-right:1px solid #cfcfcf}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab:nth-child(n+5){width:25%;flex-grow:0}@media (max-width: 1092px){.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mat-mdc-tab{font-size:12px}}.quickKeys[_ngcontent-%COMP%] .mat-mdc-tab-labels .mdc-tab--active .mdc-tab__text-label{color:#268ec1!important;text-shadow:0px 0px 1px #268ec1!important}@media (max-width: 1210px){.quickKeys[_ngcontent-%COMP%]{width:340px}}']})};var I=class{ID;Index;Symbol;Name;ExchangeRate;ConversionSuggestion;ExchangeRateDate;ExchangeRateDateDisplay;get getID(){return this.ID}get getIndex(){return this.Index}get getSymbol(){return this.Symbol}get getName(){return this.Name}get getExchangeRate(){return this.ExchangeRate}get getConversionSuggestion(){return this.ConversionSuggestion}get getExchangeRateDate(){return this.ExchangeRateDate}get getExchangeRateDateDisplay(){return this.ExchangeRateDateDisplay}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setSymbol(e){this.Symbol=e}set setName(e){this.Name=e}set setExchangeRate(e){this.ExchangeRate=e}set setConversionSuggestion(e){this.ConversionSuggestion=e}set setExchangeRateDate(e){this.ExchangeRateDate=e}set setExchangeRateDateDisplay(e){this.ExchangeRateDateDisplay=e}};var P=class{Address;Billed;Code;ContactPerson;DefaultCustomerPOType;DefaultTaxTypeID;DefaultWarehouse;Description;Email;EnabledKitchenDisplay;EntityGroupID;Fax;ID;Index;MinimumInventory;Name;ParkLayoutTemplateID;Phone;PrintTemplateID;QuickKeyTemplateID;SalesTarget;Suspended;MaxStock;MinStock;UnitsInStock;get getUnitsInStock(){return this.UnitsInStock}set setUnitsInStock(e){this.UnitsInStock=e}get getMaxStock(){return this.MaxStock}set setMaxStock(e){this.MaxStock=e}get getMinStock(){return this.MinStock}set setMinStock(e){this.MinStock=e}get getAddress(){return this.Address}get getBilled(){return this.Billed}get getCode(){return this.Code}get getContactPerson(){return this.ContactPerson}get getDefaultCustomerPOType(){return this.DefaultCustomerPOType}get getDefaultTaxTypeID(){return this.DefaultTaxTypeID}get getDefaultWarehouse(){return this.DefaultWarehouse}get getDescription(){return this.Description}get getEmail(){return this.Email}get getEnabledKitchenDisplay(){return this.EnabledKitchenDisplay}get getEntityGroupID(){return this.EntityGroupID}get getFax(){return this.Fax}get getID(){return this.ID}get getIndex(){return this.Index}get getMinimumInventory(){return this.MinimumInventory}get getName(){return this.Name}get getParkLayoutTemplateID(){return this.ParkLayoutTemplateID}get getPhone(){return this.Phone}get getPrintTemplateID(){return this.PrintTemplateID}get getQuickKeyTemplateID(){return this.QuickKeyTemplateID}get getSalesTarget(){return this.SalesTarget}get getSuspended(){return this.Suspended}set setAddress(e){this.Address=e}set setBilled(e){this.Billed=e}set setCode(e){this.Code=e}set setContactPerson(e){this.ContactPerson=e}set setDefaultCustomerPOType(e){this.DefaultCustomerPOType=e}set setDefaultTaxTypeID(e){this.DefaultTaxTypeID=e}set setDefaultWarehouse(e){this.DefaultWarehouse=e}set setDescription(e){this.Description=e}set setEmail(e){this.Email=e}set setEnabledKitchenDisplay(e){this.EnabledKitchenDisplay=e}set setEntityGroupID(e){this.EntityGroupID=e}set setFax(e){this.Fax=e}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setMinimumInventory(e){this.MinimumInventory=e}set setName(e){this.Name=e}set setParkLayoutTemplateID(e){this.ParkLayoutTemplateID=e}set setPhone(e){this.Phone=e}set setPrintTemplateID(e){this.PrintTemplateID=e}set setQuickKeyTemplateID(e){this.QuickKeyTemplateID=e}set setSalesTarget(e){this.SalesTarget=e}set setSuspended(e){this.Suspended=e}};var k=class{ID;Name;Description;get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var x=class{ID;Code;CostCurrencyID;Discontinued;LoyaltyPoint;Model;Name;OrderPriceDiscount;PackSize;PaymentTypeID;PriceCurrencyID;PriceDiscount;ProductID;SalesCommission;Taxable;TypeID;UOM;UnitCost;UnitPrice;Weight;ComponentID;UOMName;Description;UnitQuantity;ProductIndex;UOMQ;MeasurementID;Image;OrderPrice;PaymentTypeString;SellPriceTypeString;UnitExpense;get getUnitExpense(){return this.UnitExpense}set setUnitExpense(e){this.UnitExpense=e}get getSellPriceTypeString(){return this.SellPriceTypeString}set setSellPriceTypeString(e){this.SellPriceTypeString=e}get getPaymentTypeString(){return this.PaymentTypeString}set setPaymentTypeString(e){this.PaymentTypeString=e}get getOrderPrice(){return this.OrderPrice}set setOrderPrice(e){this.OrderPrice=e}get getImage(){return this.Image}set setImage(e){this.Image=e}get getMeasurementID(){return this.MeasurementID}set setMeasurementID(e){this.MeasurementID=e}get getUOMQ(){return this.UOMQ}set setUOMQ(e){this.UOMQ=e}get getProductIndex(){return this.ProductIndex}set setProductIndex(e){this.ProductIndex=e}get getUnitQuantity(){return this.UnitQuantity}set setUnitQuantity(e){this.UnitQuantity=e}get getDescription(){return this.Description}set setDescription(e){this.Description=e}get getUOMName(){return this.UOMName}set setUOMName(e){this.UOMName=e}get getComponentID(){return this.ComponentID}set setComponentID(e){this.ComponentID=e}get getID(){return this.ID}set setID(e){this.ID=e}get getCode(){return this.Code}get getCostCurrencyID(){return this.CostCurrencyID}get getDiscontinued(){return this.Discontinued}get getLoyaltyPoint(){return this.LoyaltyPoint}get getModel(){return this.Model}get getName(){return this.Name}get getOrderPriceDiscount(){return this.OrderPriceDiscount}get getPackSize(){return this.PackSize}get getPaymentTypeID(){return this.PaymentTypeID}get getPriceCurrencyID(){return this.PriceCurrencyID}get getPriceDiscount(){return this.PriceDiscount}get getProductID(){return this.ProductID}get getSalesCommission(){return this.SalesCommission}get getTaxable(){return this.Taxable}get getTypeID(){return this.TypeID}get getUOM(){return this.UOM}get getUnitCost(){return this.UnitCost}get getUnitPrice(){return this.UnitPrice}get getWeight(){return this.Weight}set setCode(e){this.Code=e}set setCostCurrencyID(e){this.CostCurrencyID=e}set setDiscontinued(e){this.Discontinued=e}set setLoyaltyPoint(e){this.LoyaltyPoint=e}set setModel(e){this.Model=e}set setName(e){this.Name=e}set setOrderPriceDiscount(e){this.OrderPriceDiscount=e}set setPackSize(e){this.PackSize=e}set setPaymentTypeID(e){this.PaymentTypeID=e}set setPriceCurrencyID(e){this.PriceCurrencyID=e}set setPriceDiscount(e){this.PriceDiscount=e}set setProductID(e){this.ProductID=e}set setSalesCommission(e){this.SalesCommission=e}set setTaxable(e){this.Taxable=e}set setTypeID(e){this.TypeID=e}set setUOM(e){this.UOM=e}set setUnitCost(e){this.UnitCost=e}set setUnitPrice(e){this.UnitPrice=e}set setWeight(e){this.Weight=e}};var v=class{Description;EntityID;EntityName;ID;Index;MinimumQuantity;Name;UnitPrice;PriceDiscount;PriceCurrencyID;VariantID;get getVariantID(){return this.VariantID}set setVariantID(e){this.VariantID=e}get getPriceCurrencyID(){return this.PriceCurrencyID}set setPriceCurrencyID(e){this.PriceCurrencyID=e}get getPriceDiscount(){return this.PriceDiscount}set setPriceDiscount(e){this.PriceDiscount=e}get getUnitPrice(){return this.UnitPrice}set setUnitPrice(e){this.UnitPrice=e}get getDescription(){return this.Description}get getEntityID(){return this.EntityID}get getEntityName(){return this.EntityName}get getID(){return this.ID}get getIndex(){return this.Index}get getMinimumQuantity(){return this.MinimumQuantity}get getName(){return this.Name}set setDescription(e){this.Description=e}set setEntityID(e){this.EntityID=e}set setEntityName(e){this.EntityName=e}set setID(e){this.ID=e}set setIndex(e){this.Index=e}set setMinimumQuantity(e){this.MinimumQuantity=e}set setName(e){this.Name=e}};var _=class{ID;Name;Description;Amount;SalesPersonGroupID;get getSalesPersonGroupID(){return this.SalesPersonGroupID}set setSalesPersonGroupID(e){this.SalesPersonGroupID=e}get getAmount(){return this.Amount}set setAmount(e){this.Amount=e}get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var M=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var O=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var S=class{ID;Name;Description;get getID(){return this.ID}get getName(){return this.Name}get getDescription(){return this.Description}set setID(e){this.ID=e}set setName(e){this.Name=e}set setDescription(e){this.Description=e}};var N=class{Key;Value;get getKey(){return this.Key}get getValue(){return this.Value}set setKey(e){this.Key=e}set setValue(e){this.Value=e}};var K=class{BrandID;BrandName;CategoryID;CategoryIndex;Code;Created;CreatorID;Description;Discontinued;Display;ID;ImageURL;Model;Name;NextProductID;NextProductName;NullableCreated;NullableReleased;Released;StorageID;SupplierID;SupplierName;get getBrandID(){return this.BrandID}get getBrandName(){return this.BrandName}get getCategoryID(){return this.CategoryID}get getCategoryIndex(){return this.CategoryIndex}get getCode(){return this.Code}get getCreated(){return this.Created}get getCreatorID(){return this.CreatorID}get getDiscontinued(){return this.Discontinued}get getDisplay(){return this.Display}get getID(){return this.ID}get getModel(){return this.Model}get getName(){return this.Name}get getNextProductID(){return this.NextProductID}get getNullableCreated(){return this.NullableCreated}get getNullableReleased(){return this.NullableReleased}get getReleased(){return this.Released}get getStorageID(){return this.StorageID}get getSupplierID(){return this.SupplierID}get getSupplierName(){return this.SupplierName}set setBrandID(e){this.BrandID=e}set setBrandName(e){this.BrandName=e}set setCategoryID(e){this.CategoryID=e}set setCategoryIndex(e){this.CategoryIndex=e}set setCode(e){this.Code=e}set setCreated(e){this.Created=e}set setCreatorID(e){this.CreatorID=e}set setDiscontinued(e){this.Discontinued=e}set setDisplay(e){this.Display=e}set setID(e){this.ID=e}set setModel(e){this.Model=e}set setName(e){this.Name=e}set setNextProductID(e){this.NextProductID=e}set setNullableCreated(e){this.NullableCreated=e}set setNullableReleased(e){this.NullableReleased=e}set setReleased(e){this.Released=e}set setStorageID(e){this.StorageID=e}set setSupplierID(e){this.SupplierID=e}set setSupplierName(e){this.SupplierName=e}};var T=class{Allocated;Available;EntityGroupID;EntityGroupName;EntityID;ID;IgnoreStock;MaxStock;MinStock;Name;SerialNumber;UnitsInStock;get getUnitsInStock(){return this.UnitsInStock}set setUnitsInStock(e){this.UnitsInStock=e}get getSerialNumber(){return this.SerialNumber}set setSerialNumber(e){this.SerialNumber=e}get getAllocated(){return this.Allocated}get getAvailable(){return this.Available}get getEntityGroupID(){return this.EntityGroupID}get getEntityGroupName(){return this.EntityGroupName}get getEntityID(){return this.EntityID}get getID(){return this.ID}get getIgnoreStock(){return this.IgnoreStock}get getMaxStock(){return this.MaxStock}get getMinStock(){return this.MinStock}get getName(){return this.Name}set setAllocated(e){this.Allocated=e}set setAvailable(e){this.Available=e}set setEntityGroupID(e){this.EntityGroupID=e}set setEntityGroupName(e){this.EntityGroupName=e}set setEntityID(e){this.EntityID=e}set setID(e){this.ID=e}set setIgnoreStock(e){this.IgnoreStock=e}set setMaxStock(e){this.MaxStock=e}set setMinStock(e){this.MinStock=e}set setName(e){this.Name=e}};var E=class{CostCurrency;EntityID;ExtraCost;PriceCurrencyID;PriceDiscount;UnitPrice;CostCurrencyID;EntityName;PriceCurrency;get getPriceCurrency(){return this.PriceCurrency}set setPriceCurrency(e){this.PriceCurrency=e}get getEntityName(){return this.EntityName}set setEntityName(e){this.EntityName=e}get getCostCurrencyID(){return this.CostCurrencyID}set setCostCurrencyID(e){this.CostCurrencyID=e}get getCostCurrency(){return this.CostCurrency}get getEntityID(){return this.EntityID}get getExtraCost(){return this.ExtraCost}get getPriceCurrencyID(){return this.PriceCurrencyID}get getPriceDiscount(){return this.PriceDiscount}get getUnitPrice(){return this.UnitPrice}set setCostCurrency(e){this.CostCurrency=e}set setEntityID(e){this.EntityID=e}set setExtraCost(e){this.ExtraCost=e}set setPriceCurrencyID(e){this.PriceCurrencyID=e}set setPriceDiscount(e){this.PriceDiscount=e}set setUnitPrice(e){this.UnitPrice=e}};var U=class{OnHand;Allocated;Available;Outlet;get getOutlet(){return this.Outlet}set setOutlet(e){this.Outlet=e}get getOnHand(){return this.OnHand}get getAllocated(){return this.Allocated}get getAvailable(){return this.Available}set setOnHand(e){this.OnHand=e}set setAllocated(e){this.Allocated=e}set setAvailable(e){this.Available=e}};var q=class{ID;Name;Quantity;get getID(){return this.ID}get getName(){return this.Name}get getQuantity(){return this.Quantity}set setID(e){this.ID=e}set setName(e){this.Name=e}set setQuantity(e){this.Quantity=e}};var Q=class{ComponentID;CostCurrency;PriceCurrency;Quantity;Variant;get getComponentID(){return this.ComponentID}get getCostCurrency(){return this.CostCurrency}get getPriceCurrency(){return this.PriceCurrency}get getQuantity(){return this.Quantity}get getVariant(){return this.Variant}set setComponentID(e){this.ComponentID=e}set setCostCurrency(e){this.CostCurrency=e}set setPriceCurrency(e){this.PriceCurrency=e}set setQuantity(e){this.Quantity=e}set setVariant(e){this.Variant=e}};var De=class i{constructor(){}getVariant(e){let t=new x;return t.setID=e.ID,t.setCode=e.Code,t.setCostCurrencyID=e.CostCurrencyID,t.setDiscontinued=e.Discontinued,t.setLoyaltyPoint=e.LoyaltyPoint,t.setModel=e.Model,t.setName=e.Name,t.setOrderPriceDiscount=e.OrderPriceDiscount,t.setPackSize=e.PackSize,t.setPaymentTypeID=e.PaymentTypeID,t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceDiscount=e.PriceDiscount,t.setProductID=e.ProductID,t.setSalesCommission=e.SalesCommission,t.setTaxable=e.Taxable,t.setTypeID=e.TypeID,t.setUOM=e.UOM,t.setUnitCost=e.UnitCost,t.setUnitPrice=e.UnitPrice,t.setWeight=e.Weight,t.setComponentID=e.ComponentID,t.setUOMName=e.UOMName,t.setOrderPrice=e.OrderPrice,t.setPaymentTypeString=e.PaymentTypeString,t.setSellPriceTypeString=e.SellPriceTypeString,t.setUnitQuantity=e.UnitQuantity,t.setProductIndex=e.ProductIndex,t.setUnitExpense=e.UnitExpense,t.setDescription=e.Description,t}getCurrency(e){let t=new I;return t.setSymbol=e.Symbol,t.setName=e.Name,t.setIndex=e.Index,t.setID=e.ID,t.setConversionSuggestion=e.ConversionSuggestion,t.setExchangeRate=e.ExchangeRate,t.setExchangeRateDate=e.ExchangeRateDate,t.setExchangeRateDateDisplay=e.ExchangeRateDateDisplay,t}getEntity(e){let t=new P;return t.setID=e.ID,t.setIndex=e.Index,t.setMinimumInventory=e.MinimumInventory,t.setName=e.Name,t.setParkLayoutTemplateID=e.ParkLayoutTemplateID,t.setPhone=e.Phone,t.setPrintTemplateID=e.PrintTemplateID,t.setQuickKeyTemplateID=e.QuickKeyTemplateID,t.setSalesTarget=e.SalesTarget,t.setSuspended=e.Suspended,t.setMinStock=e.MinStock?e.MinStock:0,t.setMaxStock=e.MaxStock?e.MaxStock:0,t.setUnitsInStock=e.UnitInStock?e.UnitInStock:0,t}getMeasurement(e){let t=new k;return t.setName=e.Name,t.setID=e.ID,t.setDescription=e.Description,t}getPriceBook(e){let t=new v;return t.setID=e.ID,t.setMinimumQuantity=e.MinimumQuantity,t.setIndex=e.Index,t.setEntityName=e.EntityName,t.setEntityID=e.EntityID,t.setDescription=e.Description,t.setName=e.Name?e.Name:e.PricebookName?e.PricebookName:"",t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceDiscount=e.PriceDiscount,t.setVariantID=e.VariantID,t.setUnitPrice=e.UnitPrice,t}getSalesGroup(e){let t=new _;return t.setName=e.Name,t.setDescription=e.Description,t.setID=e.ID,t.setAmount=e.Amount?e.Amount:0,t}getSellPriceType(e){let t=new M;return t.setKey=e.Key,t.setValue=e.Value,t}getInventoryType(e){let t=new O;return t.setKey=e.Key,t.setValue=e.Value,t}getUOM(e){let t=new S;return t.setID=e.ID,t.setName=e.Name,t.setDescription=e.Description,t}getVariantPaymentType(e){let t=new N;return t.setKey=e.Key,t.setValue=e.Value,t}getProduct(e){let t=new K;return t.setID=e.ID,t.setModel=e.Model,t.setName=e.Name,t.setNextProductID=e.NextProductID,t.setNullableCreated=e.NullableCreated,t.setNullableReleased=e.NullableReleased,t.setReleased=e.Released,t.setStorageID=e.CategoryID,t.setSupplierID=e.SupplierID,t.setSupplierName=e.SupplierName,t}getEntityStockOutlet(e){let t=new T;return t.setAllocated=e.Allocated,t.setAvailable=e.Available,t.setEntityGroupID=e.EntityGroupID,t.setEntityGroupName=e.EntityGroupName,t.setEntityID=e.EntityID,t.setID=e.ID,t.setIgnoreStock=e.IgnoreStock,t.setMaxStock=e.MaxStock,t.setMinStock=e.MinStock,t.setName=e.Name,t.setSerialNumber=e.SerialNumber,t.setUnitsInStock=e.UnitsInStock,t}getOutletPrice(e){let t=new E;return t.setEntityID=e.EntityID,t.setExtraCost=e.ExtraCost,t.setPriceCurrencyID=e.PriceCurrencyID,t.setPriceCurrency=e.PriceCurrency,t.setPriceDiscount=e.PriceDiscount,t.setUnitPrice=e.UnitPrice,t.setCostCurrency=e.CostCurrency,t.setCostCurrencyID=e.CostCurrencyID,t.setEntityName=e.EntityName,t}getCompositeInventory(e){let t=new U;return t.setAllocated=e.Allocated,t.setAvailable=e.Available,t.setOnHand=e.OnHand,t.setOutlet=e.Outlet,t}getComposite(e){let t=new Q;return t.setComponentID=e.ComponentID,t.setCostCurrency=e.CostCurrency,t.setPriceCurrency=e.PriceCurrency,t.setQuantity=e.Quantity,t.setVariant=e.Variant?{Variant:this.getVariant(e.Variant.Variant)}:null,t}getDependencyOf(e){let t=new q;return t.setID=e.ID,t.setName=e.Name,t.setQuantity=e.Quantity,t}generateVariantObj(e){let t=new ge;return t.CategoryID=e.CategoryID,t.CategoryName=e.CategoryName,t.CategoryTypeID=e.CategoryTypeID,t.Code=e.Code,t.Component=e.Component,t.Config=e.Config,t.Description=e.Description,t.Finish=e.Finish,t.ID=e.ID,t.ImageUrl=e.ImageUrl,t.LoyaltyPoint=e.LoyaltyPoint,t.LoyaltyPointRedeemable=e.LoyaltyPointRedeemable,t.Name=e.Name,t.OrderPrice=e.OrderPrice,t.OrderPriceDiscount=e.OrderPriceDiscount,t.Ordered=e.Ordered,t.PaymentTypeID=e.PaymentTypeID,t.PriceBook=e.PriceBook,t.PriceDiscount=e.PriceDiscount,t.PriceNote=e.PriceNote,t.SellPriceType=e.SellPriceType,t.Serial=e.Serial,t.Start=e.Start,t.Taxable=e.Taxable,t.ThumbnailUrl=e.ThumbnailUrl,t.TypeID=e.TypeID,t.UOM=e.UOM,t.UOMName=e.UOMName,t.UnitCost=e.UnitCost,t.UnitExpense=e.UnitExpense,t.UnitPrice=e.UnitPrice,t.UnitPriceOriginal=e.UnitPriceOriginal,t.UnitQuantity=e.UnitQuantity,t.UnitsInStock=e.UnitsInStock,t.Storage=e.Storage,t.VariantUnitQuantity=e.VariantUnitQuantity,t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=d({token:i,factory:i.\u0275fac,providedIn:"root"})};export{De as a,be as b,de as c};
@@ -1 +1 @@
1
- import{a as X}from"./chunk-KLU3EKUN.js";import{r as U}from"./chunk-FXZH2S36.js";import{b as Q}from"./chunk-MPFYHRKN.js";import{a as A,b as q}from"./chunk-53DKKSW6.js";import{a as H}from"./chunk-WX5ZZWLH.js";import{a as K}from"./chunk-L2RFKHEL.js";import{b as J}from"./chunk-3OS6FSSP.js";import{b as z}from"./chunk-STEJ3VFZ.js";import{f as G}from"./chunk-4G2EILFI.js";import{h as O,n as N}from"./chunk-KUDWK5TT.js";import{b as j}from"./chunk-2KBO765S.js";import{b as B}from"./chunk-64ZVUOWR.js";import{$b as _,Bb as C,Eb as h,Gb as l,Hd as M,Kd as P,Nc as b,Oc as W,Od as k,Sa as m,Ta as x,Vb as o,Vc as V,Wb as v,Xb as F,ac as S,bc as u,cb as T,eb as f,hc as E,ib as c,kc as R,na as w,nc as y,pc as D,tc as I,ua as s,va as d,vb as a,wb as r,xb as L}from"./chunk-KEK3N7WC.js";var Z=(p,g,e,n,t,i)=>({LogisticServiceID:p,EntityID:g,From:e,To:n,StartTime:t,EndTime:i}),$=(p,g,e)=>({From:p,To:g,LogisticsServiceID:e});function ee(p,g){if(p&1){let e=C();a(0,"button",14),h("click",function(){s(e);let t=l(2);return d(t.openExportModal())}),L(1,"i",15),o(2," Export "),r()}}function te(p,g){if(p&1){let e=C();a(0,"div",16)(1,"h6"),o(2,"Outlet"),r(),a(3,"outlet-selector",17),u("ngModelChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.EntityID,t)||(i.pageData.Filter.EntityID=t),d(t)}),r(),a(4,"h6"),o(5,"From"),r(),a(6,"datepicker",18),u("dateChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.From,t)||(i.pageData.Filter.From=t),d(t)}),r(),a(7,"h6"),o(8,"To"),r(),a(9,"datepicker",19),u("dateChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.To,t)||(i.pageData.Filter.To=t),d(t)}),r(),a(10,"h6"),o(11,"Time"),r(),a(12,"div",20)(13,"div",21)(14,"app-timepicker",22),u("timeChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.StartTime,t)||(i.pageData.Filter.StartTime=t),d(t)}),r()(),a(15,"div",21)(16,"app-timepicker",22),u("timeChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.EndTime,t)||(i.pageData.Filter.EndTime=t),d(t)}),r()()()()}if(p&2){let e=l(2);m(3),c("accessType",2),_("ngModel",e.pageData.Filter.EntityID),c("outlets",e.pageData.Options==null?null:e.pageData.Options.Entities),m(3),_("date",e.pageData.Filter.From),m(3),_("date",e.pageData.Filter.To),m(5),c("fullWidth",!0),_("time",e.pageData.Filter.StartTime),m(2),c("fullWidth",!0),_("time",e.pageData.Filter.EndTime)}}function ie(p,g){if(p&1&&(a(0,"tr")(1,"td"),o(2),r(),a(3,"td"),o(4),r(),a(5,"td",23)(6,"a",24),y(7,"date"),y(8,"date"),o(9),r()(),a(10,"td",23)(11,"a",25),y(12,"date"),y(13,"date"),o(14),r()(),a(15,"td",23),o(16),r()()),p&2){let e=g.$implicit,n=g.index,t=l(2);m(2),v(n+1),m(2),v(e.Name),m(2),c("queryParams",R(19,Z,e.ID,t.pageData.Filter.EntityID,D(7,7,t.pageData.Filter.From,"yyyy-MM-dd"),D(8,10,t.pageData.Filter.To,"yyyy-MM-dd"),t.pageData.Filter.StartTime,t.pageData.Filter.EndTime)),m(3),F(" ",e.Trans," "),m(2),c("queryParams",E(26,$,D(12,13,t.pageData.Filter.From,"yyyy-MM-dd"),D(13,16,t.pageData.Filter.To,"yyyy-MM-dd"),e.ID)),m(3),F(" ",e.Qty," "),m(2),v(e.Weight)}}function ae(p,g){if(p&1){let e=C();a(0,"mainpanel-cmp",2),u("textChange",function(t){s(e);let i=l();return S(i.pageData.Filter.Name,t)||(i.pageData.Filter.Name=t),d(t)}),h("onSubmit",function(){s(e);let t=l();return d(t.searchFromPageOne())}),u("filterChange",function(t){s(e);let i=l();return S(i.pageData.Filter,t)||(i.pageData.Filter=t),d(t)}),a(1,"actions"),f(2,ee,3,0,"button",3),a(3,"a",4),o(4," View Detail "),r()(),a(5,"filters"),f(6,te,17,9,"ng-template",null,0,I),r(),a(8,"content")(9,"div",5)(10,"table",6),h("matSortChange",function(t){s(e);let i=l();return d(i.sortData(t))}),a(11,"thead",7)(12,"tr")(13,"th",8),o(14,"No"),r(),a(15,"th"),o(16,"Logistics Service Name"),r(),a(17,"th",9),o(18,"Trans"),r(),a(19,"th",10),o(20,"Qty"),r(),a(21,"th",11),o(22,"Weight "),a(23,"small",12),o(24,"(gram)"),r()()()(),a(25,"tbody"),f(26,ie,17,30,"tr",13),r()()()()()}if(p&2){let e=l();c("pageData",e.menuData),_("text",e.pageData.Filter.Name),c("isFilterOnDropdown",!1),_("filter",e.pageData.Filter),m(2),c("ngIf",e.roleService.global.Export),m(24),c("ngForOf",e.data.Data)}}var Y=class p extends H{constructor(e,n,t,i,ne,re){super(e,n,"Report/GetLogisticsService","ReportLoader/GetLogisticsService",t,i);this.matDialog=ne;this.roleService=re}originalData=[];postInit(e){this.originalData=e.Data}sortData(e){let n=this.data.Data.slice();if(!e.active||e.direction===""){this.data.Data=this.originalData;return}this.data.Data=n.sort((t,i)=>this.compare(t[e.active],i[e.active],e.direction==="asc"))}openExportModal(){this.matDialog.open(Q,{data:{title:"Logistic Service",exportTypes:[{ID:"ReportExport/LogisticService",Value:"Default",FileName:"Logistics Service"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}onChangeTime(e,n){let t=e.toTimeString().split(" ")[0].slice(0,5);this.pageData.Filter[n]=t}static \u0275fac=function(n){return new(n||p)(x(z),x(B),x(k),x(M),x(G),x(j))};static \u0275cmp=w({type:p,selectors:[["POS-logistics-service-report"]],features:[T],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","text","isFilterOnDropdown","filter","textChange","onSubmit","filterChange",4,"ngIf"],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["class","btn btn-outline-secondary me-3",3,"click",4,"ngIf"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",1,"btn","btn-outline-secondary"],[1,"container-fluid","mt-5"],["id","tableGrid","matSort","",1,"table",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],[2,"width","50px"],["mat-sort-header","Trans",1,"align-right"],["mat-sort-header","Qty",1,"align-right"],["mat-sort-header","Weight",1,"align-right",2,"width","180px"],[1,"fst-italic","text-dark"],[4,"ngFor","ngForOf"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose Outlet",3,"ngModelChange","accessType","ngModel","outlets"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"row"],[1,"col-6"],[3,"timeChange","fullWidth","time"],[1,"text-end"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",3,"queryParams"],["routerLink","/menu/Reports/Sales_Report/Standard/Products_Sold",3,"queryParams"]],template:function(n,t){n&1&&f(0,ae,27,6,"mainpanel-cmp",1),n&2&&c("ngIf",t.data)},dependencies:[b,W,P,O,N,J,U,A,q,X,K,V]})};export{Y as a};
1
+ import{a as X}from"./chunk-KLU3EKUN.js";import{r as U}from"./chunk-HGW5X37W.js";import{b as Q}from"./chunk-TYOPKO2B.js";import{a as A,b as q}from"./chunk-53DKKSW6.js";import{a as H}from"./chunk-UEQNUGDD.js";import{a as K}from"./chunk-AJEJMELY.js";import{b as J}from"./chunk-TJSFBXDD.js";import{b as z}from"./chunk-F3YU6XFA.js";import{f as G}from"./chunk-4G2EILFI.js";import{h as O,n as N}from"./chunk-KUDWK5TT.js";import{b as j}from"./chunk-2KBO765S.js";import{b as B}from"./chunk-7L7SFYV3.js";import{$b as _,Bb as C,Eb as h,Gb as l,Hd as M,Kd as P,Nc as b,Oc as W,Od as k,Sa as m,Ta as x,Vb as o,Vc as V,Wb as v,Xb as F,ac as S,bc as u,cb as T,eb as f,hc as E,ib as c,kc as R,na as w,nc as y,pc as D,tc as I,ua as s,va as d,vb as a,wb as r,xb as L}from"./chunk-KEK3N7WC.js";var Z=(p,g,e,n,t,i)=>({LogisticServiceID:p,EntityID:g,From:e,To:n,StartTime:t,EndTime:i}),$=(p,g,e)=>({From:p,To:g,LogisticsServiceID:e});function ee(p,g){if(p&1){let e=C();a(0,"button",14),h("click",function(){s(e);let t=l(2);return d(t.openExportModal())}),L(1,"i",15),o(2," Export "),r()}}function te(p,g){if(p&1){let e=C();a(0,"div",16)(1,"h6"),o(2,"Outlet"),r(),a(3,"outlet-selector",17),u("ngModelChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.EntityID,t)||(i.pageData.Filter.EntityID=t),d(t)}),r(),a(4,"h6"),o(5,"From"),r(),a(6,"datepicker",18),u("dateChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.From,t)||(i.pageData.Filter.From=t),d(t)}),r(),a(7,"h6"),o(8,"To"),r(),a(9,"datepicker",19),u("dateChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.To,t)||(i.pageData.Filter.To=t),d(t)}),r(),a(10,"h6"),o(11,"Time"),r(),a(12,"div",20)(13,"div",21)(14,"app-timepicker",22),u("timeChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.StartTime,t)||(i.pageData.Filter.StartTime=t),d(t)}),r()(),a(15,"div",21)(16,"app-timepicker",22),u("timeChange",function(t){s(e);let i=l(2);return S(i.pageData.Filter.EndTime,t)||(i.pageData.Filter.EndTime=t),d(t)}),r()()()()}if(p&2){let e=l(2);m(3),c("accessType",2),_("ngModel",e.pageData.Filter.EntityID),c("outlets",e.pageData.Options==null?null:e.pageData.Options.Entities),m(3),_("date",e.pageData.Filter.From),m(3),_("date",e.pageData.Filter.To),m(5),c("fullWidth",!0),_("time",e.pageData.Filter.StartTime),m(2),c("fullWidth",!0),_("time",e.pageData.Filter.EndTime)}}function ie(p,g){if(p&1&&(a(0,"tr")(1,"td"),o(2),r(),a(3,"td"),o(4),r(),a(5,"td",23)(6,"a",24),y(7,"date"),y(8,"date"),o(9),r()(),a(10,"td",23)(11,"a",25),y(12,"date"),y(13,"date"),o(14),r()(),a(15,"td",23),o(16),r()()),p&2){let e=g.$implicit,n=g.index,t=l(2);m(2),v(n+1),m(2),v(e.Name),m(2),c("queryParams",R(19,Z,e.ID,t.pageData.Filter.EntityID,D(7,7,t.pageData.Filter.From,"yyyy-MM-dd"),D(8,10,t.pageData.Filter.To,"yyyy-MM-dd"),t.pageData.Filter.StartTime,t.pageData.Filter.EndTime)),m(3),F(" ",e.Trans," "),m(2),c("queryParams",E(26,$,D(12,13,t.pageData.Filter.From,"yyyy-MM-dd"),D(13,16,t.pageData.Filter.To,"yyyy-MM-dd"),e.ID)),m(3),F(" ",e.Qty," "),m(2),v(e.Weight)}}function ae(p,g){if(p&1){let e=C();a(0,"mainpanel-cmp",2),u("textChange",function(t){s(e);let i=l();return S(i.pageData.Filter.Name,t)||(i.pageData.Filter.Name=t),d(t)}),h("onSubmit",function(){s(e);let t=l();return d(t.searchFromPageOne())}),u("filterChange",function(t){s(e);let i=l();return S(i.pageData.Filter,t)||(i.pageData.Filter=t),d(t)}),a(1,"actions"),f(2,ee,3,0,"button",3),a(3,"a",4),o(4," View Detail "),r()(),a(5,"filters"),f(6,te,17,9,"ng-template",null,0,I),r(),a(8,"content")(9,"div",5)(10,"table",6),h("matSortChange",function(t){s(e);let i=l();return d(i.sortData(t))}),a(11,"thead",7)(12,"tr")(13,"th",8),o(14,"No"),r(),a(15,"th"),o(16,"Logistics Service Name"),r(),a(17,"th",9),o(18,"Trans"),r(),a(19,"th",10),o(20,"Qty"),r(),a(21,"th",11),o(22,"Weight "),a(23,"small",12),o(24,"(gram)"),r()()()(),a(25,"tbody"),f(26,ie,17,30,"tr",13),r()()()()()}if(p&2){let e=l();c("pageData",e.menuData),_("text",e.pageData.Filter.Name),c("isFilterOnDropdown",!1),_("filter",e.pageData.Filter),m(2),c("ngIf",e.roleService.global.Export),m(24),c("ngForOf",e.data.Data)}}var Y=class p extends H{constructor(e,n,t,i,ne,re){super(e,n,"Report/GetLogisticsService","ReportLoader/GetLogisticsService",t,i);this.matDialog=ne;this.roleService=re}originalData=[];postInit(e){this.originalData=e.Data}sortData(e){let n=this.data.Data.slice();if(!e.active||e.direction===""){this.data.Data=this.originalData;return}this.data.Data=n.sort((t,i)=>this.compare(t[e.active],i[e.active],e.direction==="asc"))}openExportModal(){this.matDialog.open(Q,{data:{title:"Logistic Service",exportTypes:[{ID:"ReportExport/LogisticService",Value:"Default",FileName:"Logistics Service"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}onChangeTime(e,n){let t=e.toTimeString().split(" ")[0].slice(0,5);this.pageData.Filter[n]=t}static \u0275fac=function(n){return new(n||p)(x(z),x(B),x(k),x(M),x(G),x(j))};static \u0275cmp=w({type:p,selectors:[["POS-logistics-service-report"]],features:[T],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","text","isFilterOnDropdown","filter","textChange","onSubmit","filterChange",4,"ngIf"],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["class","btn btn-outline-secondary me-3",3,"click",4,"ngIf"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",1,"btn","btn-outline-secondary"],[1,"container-fluid","mt-5"],["id","tableGrid","matSort","",1,"table",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],[2,"width","50px"],["mat-sort-header","Trans",1,"align-right"],["mat-sort-header","Qty",1,"align-right"],["mat-sort-header","Weight",1,"align-right",2,"width","180px"],[1,"fst-italic","text-dark"],[4,"ngFor","ngForOf"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose Outlet",3,"ngModelChange","accessType","ngModel","outlets"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"row"],[1,"col-6"],[3,"timeChange","fullWidth","time"],[1,"text-end"],["routerLink","/menu/Logistics/Report/Outbound/Logistics_Service/Detail",3,"queryParams"],["routerLink","/menu/Reports/Sales_Report/Standard/Products_Sold",3,"queryParams"]],template:function(n,t){n&1&&f(0,ae,27,6,"mainpanel-cmp",1),n&2&&c("ngIf",t.data)},dependencies:[b,W,P,O,N,J,U,A,q,X,K,V]})};export{Y as a};
@@ -1 +1 @@
1
- import{a as b}from"./chunk-Y2RLPVLN.js";import{a as n}from"./chunk-OJULAZR5.js";import{c as l}from"./chunk-AOH2V2VG.js";import{a as u}from"./chunk-C34GKBAP.js";import{b as m}from"./chunk-64ZVUOWR.js";import{fa as p,ia as r,p as a,r as c}from"./chunk-KEK3N7WC.js";var o=class{Label;Groups;DiscountRate;SalesID;Point;PointUsed;Debt;DebtLimit;ExpiryDate;DueDays;DueMonths;PricebookID;TaxTypeId;NationalIDNumber;MemberIdentification;EntityID;Email;Mobile;Name;LoyaltyEnabled;constructor(){this.Label="",this.Point=0,this.PointUsed=0,this.Debt=0,this.EntityID=u.GuidEmpty,this.DueMonths=0,this.DueDays=0,this.LoyaltyEnabled=!1}};var y=class i{constructor(t,e,s){this.httpService=t;this.LocalData=e;this._onlineStatusService=s}Data=new o;addCustomer(t){let e=[];t.Group&&e.push(t.Group);let s={contact:t,type:"customer",groups:e};if(this._onlineStatusService.isOnline)return a(this.httpService.post("/API/Contact/Create",s)).catch(v=>Promise.reject(v))}findCustomerByCode(t){let e={Code:t};return this.httpService.post("/API/Contact/GetByCode",e)}GetPrivilegeByID(t,e){return this.httpService.get(n.GetCustomerPrivilegeByID,[{key:"ID",value:t},{key:"EntityID",value:e}])}getCustomerSuggestionCode(){return this.httpService.get(n.GetCustomerSuggestionCode).pipe(c(t=>t.Code))}static \u0275fac=function(e){return new(e||i)(r(m),r(l),r(b))};static \u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})};export{o as a,y as b};
1
+ import{a as b}from"./chunk-ZD7P47F7.js";import{a as n}from"./chunk-OJULAZR5.js";import{c as l}from"./chunk-S5R52ZNQ.js";import{a as u}from"./chunk-C34GKBAP.js";import{b as m}from"./chunk-7L7SFYV3.js";import{fa as p,ia as r,p as a,r as c}from"./chunk-KEK3N7WC.js";var o=class{Label;Groups;DiscountRate;SalesID;Point;PointUsed;Debt;DebtLimit;ExpiryDate;DueDays;DueMonths;PricebookID;TaxTypeId;NationalIDNumber;MemberIdentification;EntityID;Email;Mobile;Name;LoyaltyEnabled;constructor(){this.Label="",this.Point=0,this.PointUsed=0,this.Debt=0,this.EntityID=u.GuidEmpty,this.DueMonths=0,this.DueDays=0,this.LoyaltyEnabled=!1}};var y=class i{constructor(t,e,s){this.httpService=t;this.LocalData=e;this._onlineStatusService=s}Data=new o;addCustomer(t){let e=[];t.Group&&e.push(t.Group);let s={contact:t,type:"customer",groups:e};if(this._onlineStatusService.isOnline)return a(this.httpService.post("/API/Contact/Create",s)).catch(v=>Promise.reject(v))}findCustomerByCode(t){let e={Code:t};return this.httpService.post("/API/Contact/GetByCode",e)}GetPrivilegeByID(t,e){return this.httpService.get(n.GetCustomerPrivilegeByID,[{key:"ID",value:t},{key:"EntityID",value:e}])}getCustomerSuggestionCode(){return this.httpService.get(n.GetCustomerSuggestionCode).pipe(c(t=>t.Code))}static \u0275fac=function(e){return new(e||i)(r(m),r(l),r(b))};static \u0275prov=p({token:i,factory:i.\u0275fac,providedIn:"root"})};export{o as a,y as b};
@@ -1 +1 @@
1
- import{b as R}from"./chunk-J7U3IPK7.js";import{a as h,d as b,e as w,h as E,i as T}from"./chunk-4G2EILFI.js";import{c as _,h as S,n as v}from"./chunk-KUDWK5TT.js";import{b as y}from"./chunk-64ZVUOWR.js";import{$b as p,Eb as M,Od as C,Sa as l,Ta as r,Vb as m,ac as d,bc as c,ib as g,na as u,vb as t,wb as a}from"./chunk-KEK3N7WC.js";var N=class s{constructor(f,i,e,n){this.httpService=f;this.toaster=i;this.dialogRef=e;this.data=n;this.configModal=new E,this.configModal.title="Export Contact",this.configModal.headerType=h.Success,this.configModal.okText="<i class='fas fa-upload'></i> Export",this.Filter={PageNumber:1,RowCount:1e4}}Filter;configModal;onOk(){this.dialogRef.close({PageNumber:this.Filter.PageNumber,RowCount:this.Filter.RowCount})}static \u0275fac=function(i){return new(i||s)(r(y),r(C),r(b),r(w))};static \u0275cmp=u({type:s,selectors:[["ng-component"]],decls:11,vars:3,consts:[[3,"onOk","onCancel","onClose","config"],[1,"container",2,"width","350px"],[1,"row"],[1,"ps-0","mb-4"],["type","text","autoNum","",1,"form-control",3,"ngModelChange","ngModel"],[1,"ps-0","my-4"]],template:function(i,e){i&1&&(t(0,"modal-material",0),M("onOk",function(){return e.onOk()})("onCancel",function(){return e.dialogRef.close()})("onClose",function(){return e.dialogRef.close()}),t(1,"content")(2,"div",1)(3,"div",2)(4,"label",3),m(5,"Page Number"),a(),t(6,"input",4),c("ngModelChange",function(o){return d(e.Filter.PageNumber,o)||(e.Filter.PageNumber=o),o}),a()(),t(7,"div",2)(8,"label",5),m(9,"Page Size"),a(),t(10,"input",4),c("ngModelChange",function(o){return d(e.Filter.RowCount,o)||(e.Filter.RowCount=o),o}),a()()()()()),i&2&&(g("config",e.configModal),l(6),p("ngModel",e.Filter.PageNumber),l(4),p("ngModel",e.Filter.RowCount))},dependencies:[_,S,v,T,R]})};export{N as a};
1
+ import{b as R}from"./chunk-J7U3IPK7.js";import{a as h,d as b,e as w,h as E,i as T}from"./chunk-4G2EILFI.js";import{c as _,h as S,n as v}from"./chunk-KUDWK5TT.js";import{b as y}from"./chunk-7L7SFYV3.js";import{$b as p,Eb as M,Od as C,Sa as l,Ta as r,Vb as m,ac as d,bc as c,ib as g,na as u,vb as t,wb as a}from"./chunk-KEK3N7WC.js";var N=class s{constructor(f,i,e,n){this.httpService=f;this.toaster=i;this.dialogRef=e;this.data=n;this.configModal=new E,this.configModal.title="Export Contact",this.configModal.headerType=h.Success,this.configModal.okText="<i class='fas fa-upload'></i> Export",this.Filter={PageNumber:1,RowCount:1e4}}Filter;configModal;onOk(){this.dialogRef.close({PageNumber:this.Filter.PageNumber,RowCount:this.Filter.RowCount})}static \u0275fac=function(i){return new(i||s)(r(y),r(C),r(b),r(w))};static \u0275cmp=u({type:s,selectors:[["ng-component"]],decls:11,vars:3,consts:[[3,"onOk","onCancel","onClose","config"],[1,"container",2,"width","350px"],[1,"row"],[1,"ps-0","mb-4"],["type","text","autoNum","",1,"form-control",3,"ngModelChange","ngModel"],[1,"ps-0","my-4"]],template:function(i,e){i&1&&(t(0,"modal-material",0),M("onOk",function(){return e.onOk()})("onCancel",function(){return e.dialogRef.close()})("onClose",function(){return e.dialogRef.close()}),t(1,"content")(2,"div",1)(3,"div",2)(4,"label",3),m(5,"Page Number"),a(),t(6,"input",4),c("ngModelChange",function(o){return d(e.Filter.PageNumber,o)||(e.Filter.PageNumber=o),o}),a()(),t(7,"div",2)(8,"label",5),m(9,"Page Size"),a(),t(10,"input",4),c("ngModelChange",function(o){return d(e.Filter.RowCount,o)||(e.Filter.RowCount=o),o}),a()()()()()),i&2&&(g("config",e.configModal),l(6),p("ngModel",e.Filter.PageNumber),l(4),p("ngModel",e.Filter.RowCount))},dependencies:[_,S,v,T,R]})};export{N as a};
@@ -1 +1 @@
1
- import{a as B,b as J}from"./chunk-J7U3IPK7.js";import{B as H,C as O,c as V,h as A,n as j}from"./chunk-KUDWK5TT.js";import{b as W}from"./chunk-64ZVUOWR.js";import{$b as S,Bb as d,Ca as C,Eb as x,Gb as l,Oc as k,Sa as a,Ta as h,Vb as m,Wb as y,Xb as D,Xc as E,Yb as P,_c as R,ac as T,bc as F,eb as c,ga as b,ib as s,na as N,nc as I,oa as w,oc as M,qb as v,ua as u,va as g,vb as o,wb as p,xb as f}from"./chunk-KEK3N7WC.js";function z(t,i){if(t&1&&(o(0,"span"),m(1),p()),t&2){let e=l();a(),P(" Showing ",e.pageData.Filter.PageNumber*e.total-e.total+1," - ",e.pageData.Filter.PageNumber*e.total," ")}}function G(t,i){if(t&1&&(o(0,"span"),m(1),p()),t&2){let e=l();a(),P(" Showing ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+1," - ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+e.total," ")}}function K(t,i){if(t&1){let e=d();o(0,"span",9),x("click",function(){u(e);let r=l();return g(r.StoreRowsCountAPIResult())}),o(1,"i",10),m(2,"?"),p()()}}function Q(t,i){if(t&1&&(o(0,"span"),m(1),I(2,"number"),p()),t&2){let e=l();a(),y(M(2,1,e.listTotal))}}function U(t,i){if(t&1){let e=d();m(0," Page "),o(1,"input",11),x("keyup",function(r){u(e);let _=l();return g(_.onJumpToPage(r))}),F("ngModelChange",function(r){u(e);let _=l();return T(_.pageNumber,r)||(_.pageNumber=r),g(r)}),p()}if(t&2){let e=l();a(),S("ngModel",e.pageNumber)}}function X(t,i){if(t&1&&m(0),t&2){let e=l();D(" ",e.pageNumber," Page ")}}function Y(t,i){if(t&1){let e=d();o(0,"a",12),x("click",function(){u(e);let r=l();return g(r.onPreviousPage())}),f(1,"i",13),m(2," Previous"),p()}}function Z(t,i){if(t&1){let e=d();o(0,"a",12),x("click",function(){u(e);let r=l();return g(r.onNextPage())}),f(1,"i",14),m(2," Next"),p()}}var L=class t{constructor(i){this.httpService=i}editPageNumber=!0;pageData;total;api;jumpToPage=new C;previousPage=new C;nextPage=new C;pageNumber=1;showingNumber=this.pageNumber;listTotal=-1;onJumpToPage(i){i.key==="Enter"&&(this.pageData.Filter.PageNumber=this.pageNumber,this.showingNumber=this.pageNumber,this.jumpToPage.emit())}onPreviousPage(){this.pageData.Filter.PageNumber-=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.previousPage.emit()}onNextPage(){this.pageData.Filter.PageNumber+=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.nextPage.emit()}StoreRowsCountAPIResult(){this.httpService.post("/api/"+this.api,this.pageData.Filter).subscribe(i=>{this.listTotal=i.Count?i.Count:i,this.pageData.HideStoreApiCount=!0})}static \u0275fac=function(e){return new(e||t)(h(W))};static \u0275cmp=N({type:t,selectors:[["POS-complex-pagination"]],inputs:{editPageNumber:"editPageNumber",pageData:"pageData",total:"total",api:"api"},outputs:{jumpToPage:"jumpToPage",previousPage:"previousPage",nextPage:"nextPage"},decls:15,vars:7,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],[4,"ngIf"],[1,"me-2"],["style","cursor: pointer",3,"click",4,"ngIf"],["type","text","autoNum","",1,"text-end",2,"width","45px",3,"ngModel"],[1,"btn-group"],["class","btn btn-outline-secondary btn-sm text-primary",3,"click",4,"ngIf"],[2,"cursor","pointer",3,"click"],[1,"border","p-3"],["type","text","autoNum","",1,"text-end",2,"width","45px",3,"keyup","ngModelChange","ngModel"],[1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"fa-solid","fa-arrow-right"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),c(3,z,2,2,"span",3)(4,G,2,2,"span",3),o(5,"span",4),m(6,"of"),p(),c(7,K,3,0,"span",5)(8,Q,3,3,"span",3),m(9," records ~ "),c(10,U,2,1,"input",6)(11,X,1,1),p()(),o(12,"div",7),c(13,Y,3,0,"a",8)(14,Z,3,0,"a",8),p()()),e&2&&(a(3),s("ngIf",n.pageData.Filter.RowCount==n.total),a(),s("ngIf",n.pageData.Filter.RowCount!=n.total),a(3),s("ngIf",!n.pageData.HideStoreApiCount),a(),s("ngIf",n.pageData.HideStoreApiCount),a(2),v(n.editPageNumber?10:11),a(3),s("ngIf",n.pageData.Filter.PageNumber!=1),a(),s("ngIf",n.total>=n.pageData.Filter.RowCount))},dependencies:[k,V,A,j,J,E]})},q=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=w({type:t});static \u0275inj=b({imports:[R,H,O,B]})};export{L as a,q as b};
1
+ import{a as B,b as J}from"./chunk-J7U3IPK7.js";import{B as H,C as O,c as V,h as A,n as j}from"./chunk-KUDWK5TT.js";import{b as W}from"./chunk-7L7SFYV3.js";import{$b as S,Bb as d,Ca as C,Eb as x,Gb as l,Oc as k,Sa as a,Ta as h,Vb as m,Wb as y,Xb as D,Xc as E,Yb as P,_c as R,ac as T,bc as F,eb as c,ga as b,ib as s,na as N,nc as I,oa as w,oc as M,qb as v,ua as u,va as g,vb as o,wb as p,xb as f}from"./chunk-KEK3N7WC.js";function z(t,i){if(t&1&&(o(0,"span"),m(1),p()),t&2){let e=l();a(),P(" Showing ",e.pageData.Filter.PageNumber*e.total-e.total+1," - ",e.pageData.Filter.PageNumber*e.total," ")}}function G(t,i){if(t&1&&(o(0,"span"),m(1),p()),t&2){let e=l();a(),P(" Showing ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+1," - ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+e.total," ")}}function K(t,i){if(t&1){let e=d();o(0,"span",9),x("click",function(){u(e);let r=l();return g(r.StoreRowsCountAPIResult())}),o(1,"i",10),m(2,"?"),p()()}}function Q(t,i){if(t&1&&(o(0,"span"),m(1),I(2,"number"),p()),t&2){let e=l();a(),y(M(2,1,e.listTotal))}}function U(t,i){if(t&1){let e=d();m(0," Page "),o(1,"input",11),x("keyup",function(r){u(e);let _=l();return g(_.onJumpToPage(r))}),F("ngModelChange",function(r){u(e);let _=l();return T(_.pageNumber,r)||(_.pageNumber=r),g(r)}),p()}if(t&2){let e=l();a(),S("ngModel",e.pageNumber)}}function X(t,i){if(t&1&&m(0),t&2){let e=l();D(" ",e.pageNumber," Page ")}}function Y(t,i){if(t&1){let e=d();o(0,"a",12),x("click",function(){u(e);let r=l();return g(r.onPreviousPage())}),f(1,"i",13),m(2," Previous"),p()}}function Z(t,i){if(t&1){let e=d();o(0,"a",12),x("click",function(){u(e);let r=l();return g(r.onNextPage())}),f(1,"i",14),m(2," Next"),p()}}var L=class t{constructor(i){this.httpService=i}editPageNumber=!0;pageData;total;api;jumpToPage=new C;previousPage=new C;nextPage=new C;pageNumber=1;showingNumber=this.pageNumber;listTotal=-1;onJumpToPage(i){i.key==="Enter"&&(this.pageData.Filter.PageNumber=this.pageNumber,this.showingNumber=this.pageNumber,this.jumpToPage.emit())}onPreviousPage(){this.pageData.Filter.PageNumber-=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.previousPage.emit()}onNextPage(){this.pageData.Filter.PageNumber+=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.nextPage.emit()}StoreRowsCountAPIResult(){this.httpService.post("/api/"+this.api,this.pageData.Filter).subscribe(i=>{this.listTotal=i.Count?i.Count:i,this.pageData.HideStoreApiCount=!0})}static \u0275fac=function(e){return new(e||t)(h(W))};static \u0275cmp=N({type:t,selectors:[["POS-complex-pagination"]],inputs:{editPageNumber:"editPageNumber",pageData:"pageData",total:"total",api:"api"},outputs:{jumpToPage:"jumpToPage",previousPage:"previousPage",nextPage:"nextPage"},decls:15,vars:7,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],[4,"ngIf"],[1,"me-2"],["style","cursor: pointer",3,"click",4,"ngIf"],["type","text","autoNum","",1,"text-end",2,"width","45px",3,"ngModel"],[1,"btn-group"],["class","btn btn-outline-secondary btn-sm text-primary",3,"click",4,"ngIf"],[2,"cursor","pointer",3,"click"],[1,"border","p-3"],["type","text","autoNum","",1,"text-end",2,"width","45px",3,"keyup","ngModelChange","ngModel"],[1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"fa-solid","fa-arrow-right"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),c(3,z,2,2,"span",3)(4,G,2,2,"span",3),o(5,"span",4),m(6,"of"),p(),c(7,K,3,0,"span",5)(8,Q,3,3,"span",3),m(9," records ~ "),c(10,U,2,1,"input",6)(11,X,1,1),p()(),o(12,"div",7),c(13,Y,3,0,"a",8)(14,Z,3,0,"a",8),p()()),e&2&&(a(3),s("ngIf",n.pageData.Filter.RowCount==n.total),a(),s("ngIf",n.pageData.Filter.RowCount!=n.total),a(3),s("ngIf",!n.pageData.HideStoreApiCount),a(),s("ngIf",n.pageData.HideStoreApiCount),a(2),v(n.editPageNumber?10:11),a(3),s("ngIf",n.pageData.Filter.PageNumber!=1),a(),s("ngIf",n.total>=n.pageData.Filter.RowCount))},dependencies:[k,V,A,j,J,E]})},q=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=w({type:t});static \u0275inj=b({imports:[R,H,O,B]})};export{L as a,q as b};