dealposbooks 1.9.6 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +26 -26
- package/assets/scss/style.scss +30 -0
- package/{chunk-RBDJZRHY.js → chunk-27P5HOS3.js} +1 -1
- package/chunk-2HOHR6C5.js +1 -0
- package/{chunk-CSMMP7XG.js → chunk-35ER6BC7.js} +1 -1
- package/{chunk-BNI5KUDE.js → chunk-3GHEXAAZ.js} +3 -3
- package/chunk-3HGVSC6D.js +7 -0
- package/{chunk-TC43COAE.js → chunk-3RM5CDGW.js} +1 -1
- package/{chunk-G6FJQBZZ.js → chunk-3ZFQSQVU.js} +1 -1
- package/chunk-45VFBAOS.js +1 -0
- package/{chunk-46TNY5N4.js → chunk-4V5YFD3N.js} +1 -1
- package/chunk-6332DY2I.js +82 -0
- package/chunk-6EL7TGVK.js +1 -0
- package/{chunk-OVCTOPAO.js → chunk-6PS3NJ62.js} +1 -1
- package/{chunk-J2SK4PGN.js → chunk-77BBQI2T.js} +1 -1
- package/{chunk-PGECEXRR.js → chunk-7ET5CSOO.js} +1 -1
- package/{chunk-6ZZARVQO.js → chunk-7IPVVF6Y.js} +1 -1
- package/chunk-7JGGV5FX.js +1 -0
- package/chunk-7TOJMYLE.js +1 -0
- package/chunk-AQRLC7NB.js +1 -0
- package/chunk-AZWJMXL6.js +449 -0
- package/chunk-BDJHC5O6.js +2 -0
- package/{chunk-IIB2DZLA.js → chunk-BPFL7VRT.js} +1 -1
- package/{chunk-EXVUABTO.js → chunk-BX74ZLQG.js} +1 -1
- package/chunk-C32DCO2H.js +1 -0
- package/chunk-C3N6HRIE.js +1 -0
- package/{chunk-TFV5QZKR.js → chunk-CEZEYAWZ.js} +1 -1
- package/chunk-CGUMUBB7.js +1 -0
- package/chunk-CIG34QJJ.js +129 -0
- package/{chunk-JDW35ZB5.js → chunk-CNLYDNON.js} +1 -1
- package/chunk-CUDRSVFH.js +1 -0
- package/{chunk-JP3F2QND.js → chunk-CZWWMQFD.js} +1 -1
- package/{chunk-BYD3JK4R.js → chunk-DAQCANBV.js} +1 -1
- package/{chunk-OZACNHDP.js → chunk-DJAICZNR.js} +1 -1
- package/chunk-DXIZC3FM.js +87 -0
- package/chunk-EJCLRSB2.js +1 -0
- package/chunk-EVVQ2SFY.js +1 -0
- package/{chunk-OEOAUJY5.js → chunk-FDZFCC3N.js} +1 -1
- package/{chunk-4S33ZRKF.js → chunk-FTI2QPWV.js} +1 -1
- package/{chunk-ASK2IVMC.js → chunk-H6BPUKCW.js} +1 -1
- package/{chunk-TK3G2BVM.js → chunk-HFUW7PYZ.js} +1 -1
- package/chunk-I3BTHUK3.js +160 -0
- package/chunk-IY6KCAQ4.js +1 -0
- package/{chunk-JMLETF7Y.js → chunk-J6H5UCJR.js} +1 -1
- package/chunk-JL2CIZE7.js +1 -0
- package/{chunk-J77A3DFB.js → chunk-JO3SI6HU.js} +1 -1
- package/{chunk-32BR7AQL.js → chunk-JZTK7BS7.js} +1 -1
- package/{chunk-P6CJ2ONT.js → chunk-K4ALA724.js} +1 -1
- package/{chunk-NF3TF3LT.js → chunk-KANHSSLO.js} +1 -1
- package/chunk-L5AUQL23.js +1 -0
- package/chunk-L66QS3IX.js +81 -0
- package/{chunk-YOEPO6LK.js → chunk-LMI4DLB5.js} +1 -1
- package/{chunk-GJXWL5XV.js → chunk-LWYZZP3I.js} +1 -1
- package/chunk-MF7TC5KB.js +1 -0
- package/chunk-NC6RBSOA.js +1 -0
- package/{chunk-3L7IWFXM.js → chunk-NR3EHEG3.js} +1 -1
- package/chunk-NXCHPBCH.js +1 -0
- package/chunk-OXGCSUUS.js +2 -0
- package/{chunk-LTZA6IIO.js → chunk-PDNXU4MC.js} +1 -1
- package/chunk-QVQOBBLJ.js +1 -0
- package/chunk-R6NK3ROE.js +1 -0
- package/{chunk-54OPMMIM.js → chunk-R6XNFCQM.js} +1 -1
- package/{chunk-HRQJ5DXP.js → chunk-RLR2HFSC.js} +1 -1
- package/{chunk-HFFH2WIX.js → chunk-RNOSD5RO.js} +1 -1
- package/chunk-RQ52IUQY.js +130 -0
- package/{chunk-DOM7WYRM.js → chunk-RSGEQTNJ.js} +1 -1
- package/{chunk-35CWG2OK.js → chunk-RYHNURUZ.js} +2 -2
- package/{chunk-3DN7TZCI.js → chunk-SH4ALZVS.js} +1 -1
- package/{chunk-3HW557B7.js → chunk-TDMJ2M6W.js} +1 -1
- package/chunk-TE7Y3LKA.js +1 -0
- package/{chunk-AKMHO3LC.js → chunk-TIX3GAPF.js} +1 -1
- package/{chunk-XKEV5AED.js → chunk-TLLNQB5C.js} +1 -1
- package/{chunk-C5GEP4MM.js → chunk-U75O34AW.js} +1 -1
- package/{chunk-I3HFXOYS.js → chunk-UNWDCLFZ.js} +1 -1
- package/chunk-UWWFSGE7.js +1 -0
- package/{chunk-6TA77CRR.js → chunk-V4IY7RIP.js} +1 -1
- package/chunk-VDBXI7BY.js +1 -0
- package/{chunk-RT5PUZ5F.js → chunk-VJLO7GNT.js} +1 -1
- package/chunk-VP6GWJ6D.js +1 -0
- package/{chunk-LKZL77YR.js → chunk-W4KTL6Y6.js} +1 -1
- package/{chunk-ZWHB7NI7.js → chunk-W6LBFCQQ.js} +1 -1
- package/{chunk-YVEUYFCE.js → chunk-WCXWWANV.js} +5 -5
- package/chunk-WVPOYMTO.js +1 -0
- package/{chunk-LR2DJRRL.js → chunk-WWWY3VE7.js} +1 -1
- package/{chunk-7WXXPCRV.js → chunk-XYU65DNE.js} +1 -1
- package/{chunk-34XRAZFC.js → chunk-Y45TAHWD.js} +1 -1
- package/chunk-YGADGNDB.js +1 -0
- package/chunk-YJ3CWPO4.js +1 -0
- package/{chunk-3WB76KQC.js → chunk-YVGWGEPX.js} +1 -1
- package/chunk-YXXRJV2N.js +1 -0
- package/{chunk-TQZNJ5WF.js → chunk-Z3SHAW6W.js} +1 -1
- package/{chunk-AOSPVPK7.js → chunk-ZHU3HOWQ.js} +1 -1
- package/chunk-ZWA7RUAY.js +1 -0
- package/index.html +2 -2
- package/{main-U5PC2W2C.js → main-VZEZO7AT.js} +1 -1
- package/package.json +1 -1
- package/{styles-GTUKYMN7.css → styles-XXVTW56A.css} +1 -1
- package/chunk-27SWEVDU.js +0 -1
- package/chunk-2DV653RD.js +0 -1
- package/chunk-2OECREUZ.js +0 -1
- package/chunk-35KDUCM3.js +0 -1
- package/chunk-3G3QSUWH.js +0 -1
- package/chunk-43WCLYRX.js +0 -1
- package/chunk-4FGQ5T64.js +0 -2
- package/chunk-4KXSM3HP.js +0 -1
- package/chunk-4QKRWFW4.js +0 -1
- package/chunk-6HQX2SM2.js +0 -1
- package/chunk-B7JILYJO.js +0 -1
- package/chunk-BX3CRF44.js +0 -1
- package/chunk-C4LZX33Q.js +0 -449
- package/chunk-C7UZ6ZYF.js +0 -1
- package/chunk-CTCQB63H.js +0 -1
- package/chunk-DNK2GUDB.js +0 -1
- package/chunk-ELWFWCNU.js +0 -246
- package/chunk-GNP7WGSH.js +0 -1
- package/chunk-GTGRV7IH.js +0 -1
- package/chunk-HRPP75N7.js +0 -1
- package/chunk-JYNZPVLW.js +0 -1
- package/chunk-K6753MGR.js +0 -7
- package/chunk-LD4G6ND6.js +0 -130
- package/chunk-M7MFX6BW.js +0 -1
- package/chunk-MCDQ2TIS.js +0 -1
- package/chunk-MJVSTWYY.js +0 -1
- package/chunk-N2RYBZK7.js +0 -1
- package/chunk-N6JCA3CN.js +0 -2
- package/chunk-OEJBOFI5.js +0 -1
- package/chunk-QPKNYNLC.js +0 -210
- package/chunk-UEOO2LYA.js +0 -82
- package/chunk-WEWEITR7.js +0 -1
- package/chunk-WGZN6AN2.js +0 -1
- package/chunk-WZO2ZLBL.js +0 -1
- package/chunk-X34Y3TVX.js +0 -1
- package/chunk-XFSZDZPJ.js +0 -1
- package/chunk-XZGFG6E3.js +0 -1
package/3rdpartylicenses.txt
CHANGED
|
@@ -151,32 +151,6 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
151
151
|
|
|
152
152
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
153
153
|
|
|
154
|
-
--------------------------------------------------------------------------------
|
|
155
|
-
Package: dayjs
|
|
156
|
-
License: "MIT"
|
|
157
|
-
|
|
158
|
-
MIT License
|
|
159
|
-
|
|
160
|
-
Copyright (c) 2018-present, iamkun
|
|
161
|
-
|
|
162
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
163
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
164
|
-
in the Software without restriction, including without limitation the rights
|
|
165
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
166
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
167
|
-
furnished to do so, subject to the following conditions:
|
|
168
|
-
|
|
169
|
-
The above copyright notice and this permission notice shall be included in all
|
|
170
|
-
copies or substantial portions of the Software.
|
|
171
|
-
|
|
172
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
173
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
174
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
175
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
176
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
177
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
178
|
-
SOFTWARE.
|
|
179
|
-
|
|
180
154
|
--------------------------------------------------------------------------------
|
|
181
155
|
Package: autonumeric
|
|
182
156
|
License: "MIT"
|
|
@@ -205,6 +179,32 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
205
179
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
206
180
|
OTHER DEALINGS IN THE SOFTWARE.
|
|
207
181
|
|
|
182
|
+
--------------------------------------------------------------------------------
|
|
183
|
+
Package: dayjs
|
|
184
|
+
License: "MIT"
|
|
185
|
+
|
|
186
|
+
MIT License
|
|
187
|
+
|
|
188
|
+
Copyright (c) 2018-present, iamkun
|
|
189
|
+
|
|
190
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
191
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
192
|
+
in the Software without restriction, including without limitation the rights
|
|
193
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
194
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
195
|
+
furnished to do so, subject to the following conditions:
|
|
196
|
+
|
|
197
|
+
The above copyright notice and this permission notice shall be included in all
|
|
198
|
+
copies or substantial portions of the Software.
|
|
199
|
+
|
|
200
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
201
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
202
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
203
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
204
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
205
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
206
|
+
SOFTWARE.
|
|
207
|
+
|
|
208
208
|
--------------------------------------------------------------------------------
|
|
209
209
|
Package: @angular/platform-browser
|
|
210
210
|
License: "MIT"
|
package/assets/scss/style.scss
CHANGED
|
@@ -233,3 +233,33 @@ pos-uppy {
|
|
|
233
233
|
font-weight: $font-weight-light;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
+
|
|
237
|
+
.bg-gradient-danger {
|
|
238
|
+
background: repeating-linear-gradient(
|
|
239
|
+
-60deg,
|
|
240
|
+
#f8d7da,
|
|
241
|
+
#f8d7da 15px,
|
|
242
|
+
#f5c6cb 15px,
|
|
243
|
+
#f5c6cb 30px
|
|
244
|
+
) !important;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.bg-gradient-success {
|
|
248
|
+
background: repeating-linear-gradient(
|
|
249
|
+
-60deg,
|
|
250
|
+
#beeebb,
|
|
251
|
+
#beeebb 15px,
|
|
252
|
+
#afeba8 15px,
|
|
253
|
+
#afeba8 30px
|
|
254
|
+
) !important;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.bg-gradient-warning {
|
|
258
|
+
background: repeating-linear-gradient(
|
|
259
|
+
-60deg,
|
|
260
|
+
#fcf3cf,
|
|
261
|
+
#fcf3cf 15px,
|
|
262
|
+
#f9e79f 15px,
|
|
263
|
+
#f9e79f 30px
|
|
264
|
+
) !important;
|
|
265
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-K4ALA724.js";import{a}from"./chunk-R6NK3ROE.js";import{ba as o,ha as n}from"./chunk-WCXWWANV.js";var h=(()=>{class e{constructor(){this.#t=n(a),this.authService=n(i)}#t;getJournalEntryLoader(){return this.#t.get("","api/JournalLoader/JournalEntry")}getJournalReceiveMoney(){return this.#t.get("","api/JournalLoader/ReceiveJournal")}getJournalRecordExpenseLoader(){return this.#t.get("","api/JournalLoader/RecordExpense")}getJournalEntryData(t,r={}){return this.#t.post("","api/Journal/JournalEntry",t,r)}getJournalEntryInfo(t){let r={ID:t};return this.#t.get("","/api/Journal/Info",{params:r})}getJournalEntryForm(t){return this.#t.get("",`api/journalloader/form/${t}`).pipe()}getJournalEntryCount(t){return this.#t.post("","api/Journal/JournalEntryCount",t)}getJournalEntryCustomerSuggestions(t){let r={Prefix:t,Count:100};return this.#t.get(this.authService.getTenantExternalURL(),"/API/AC/GetCustomerSuggestion",{params:r})}getJournalEntrySupplierSuggestions(t){let r={Prefix:t,Count:100};return this.#t.get(this.authService.getTenantExternalURL(),"/API/AC/GetSupplierSuggestion",{params:r})}submitJournalEntry(t){return this.#t.post(void 0,"api/journal/submit",t,{observe:"response"})}deleteJournalEntry(t){let r={params:{ID:t.join(",")}};return this.#t.delete(void 0,"/api/Journal/delete",r)}fetchCategoryOptions(){return this.#t.get("","api/ChartOfAccount/CategoryOptions")}submitChartAccount(t,r={}){return this.#t.post("","api/ChartOfAccount/Submit",t,r)}getImageFileName(t){return new URL(t).pathname.split("/").pop()||""}importPreviewJournal(t){return this.#t.post(void 0,"api/Journal/ImportPreview",t)}importConfirmJournal(t){return this.#t.post(void 0,"api/Journal/ImportConfirm",t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as Ze,b as et,c as tt,d as nt,e as it,f as ot}from"./chunk-RSGEQTNJ.js";import{a as He,b as Ke,c as Qe}from"./chunk-6PS3NJ62.js";import{a as Xe,b as Ye}from"./chunk-6332DY2I.js";import{a as qe}from"./chunk-RLR2HFSC.js";import{b as We}from"./chunk-LWYZZP3I.js";import"./chunk-Y45TAHWD.js";import{a as ze,b as Ue}from"./chunk-VJLO7GNT.js";import"./chunk-DJAICZNR.js";import{a as Re,b as Ve,d as je,k as $e}from"./chunk-CEZEYAWZ.js";import{a as Ge,b as Be}from"./chunk-YVGWGEPX.js";import"./chunk-PDNXU4MC.js";import{a as Le}from"./chunk-C3N6HRIE.js";import{a as ee,b as te}from"./chunk-W4KTL6Y6.js";import"./chunk-RNOSD5RO.js";import{a as Oe,b as ke}from"./chunk-HFUW7PYZ.js";import"./chunk-WWWY3VE7.js";import{a as Pe,b as Je}from"./chunk-35ER6BC7.js";import"./chunk-V4IY7RIP.js";import"./chunk-J6H5UCJR.js";import"./chunk-U75O34AW.js";import"./chunk-3RM5CDGW.js";import{a as De,b as ne}from"./chunk-7IPVVF6Y.js";import{h as M}from"./chunk-RYHNURUZ.js";import"./chunk-BX74ZLQG.js";import{a as z,b as U}from"./chunk-CNLYDNON.js";import"./chunk-FTI2QPWV.js";import"./chunk-BDJHC5O6.js";import{n as Z,o as w,w as $,x as L}from"./chunk-LMI4DLB5.js";import"./chunk-W6LBFCQQ.js";import{Ia as we,Ma as Me,b as J,c as pe,e as N,f as O,j as Te,l as k,m as X,n as Ne,o as R,v as V,x as Y,y as j}from"./chunk-3GHEXAAZ.js";import{a as Ae}from"./chunk-R6NK3ROE.js";import{a as Fe}from"./chunk-TDMJ2M6W.js";import{C as ye,F as Ie,M as Ee,c as Q,f as be,l as Se,m as T}from"./chunk-DAQCANBV.js";import"./chunk-F2X3VGZZ.js";import{Ac as A,Cb as g,Ga as P,Jc as le,Kb as p,Kc as me,L as de,Mc as d,Nb as K,Pb as re,Qb as b,Sb as S,Tb as y,Ub as i,Vb as n,Wb as c,Y as fe,Z as B,_b as h,ba as ge,dc as I,ec as u,g as ue,gb as a,ha as s,mb as _e,pa as v,qa as C,qc as o,rc as E,s as se,sc as ae,vc as ve,wb as F,wc as Ce,xc as he,yc as xe,zc as G}from"./chunk-WCXWWANV.js";import{a as q,b as H}from"./chunk-YQFG5XE2.js";var x=(()=>{class t{#e=s(Ae);fetchLoaderConfiguration(){return this.#e.get("","api/SetupLoader/Load")}updateAccountingIntegrationConfiguration(e){return this.#e.post(void 0,"/api/setup/SubmitConfig",e)}fetchOpeningBalanceFormConfiguration(){return this.#e.get("","/api/setup/OpeningBalance/Form")}submitOpeningBalanceFormConfiguration(e){return this.#e.post("","api/setup/OpeningBalance/Submit",e)}fetchAPICredential(){return this.#e.get(void 0,"/api/AccountConfig")}updateAPICredential(e){return this.#e.put(void 0,"/api/AccountConfig",e)}formatJournal(e){return this.#e.post("","/api/setup/formatdata/clearjournal",{domain:e})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=ge({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ct=()=>({height:"calc(100vh - 100px)"}),lt=t=>({"active-state":t}),mt=t=>({"text-white":t});function ht(t,m){if(t&1){let e=h();i(0,"div",5)(1,"a",6),o(2,"Cancel"),n(),i(3,"p-button",7),I("click",function(){v(e);let l=u();return C(l.updateAccountingIntegration())}),n()()}}function xt(t,m){if(t&1&&(i(0,"p-tab",9),o(1),n()),t&2){let e=m.$implicit,r=m.$index;p("value",r),a(),E(e)}}function bt(t,m){if(t&1&&(i(0,"div",42)(1,"h3",43),o(2," End Of Shift "),n()()),t&2){let e=u(4);p("ngClass",A(2,lt,e.form.controls.posIntegration.value.createJournalTriggers===0)),a(),p("ngClass",A(4,mt,e.form.controls.posIntegration.value.createJournalTriggers===0))}}function St(t,m){if(t&1&&(i(0,"div",42)(1,"h3",43),o(2," Every "),n()()),t&2){let e=u(4);p("ngClass",A(2,lt,e.form.controls.posIntegration.value.createJournalTriggers===1)),a(),p("ngClass",A(4,mt,e.form.controls.posIntegration.value.createJournalTriggers===1))}}function yt(t,m){if(t&1&&g(0,bt,3,6,"div",42)(1,St,3,6,"div",42),t&2){let e,r=u().$implicit;re((e=r.key)===0?0:e===1?1:-1)}}function It(t,m){t&1&&(i(0,"h4"),o(1,"Suitable for Cash Sales (Retail & FnB)"),n(),i(2,"p"),o(3," One Journal is generated for all transaction happening within a register open - close period "),n())}function Et(t,m){t&1&&(i(0,"h4"),o(1,"Every"),n(),i(2,"p"),o(3," Suitable for Credit Sales (Wholesale) Journal is generated for each transaction "),n())}function Ft(t,m){if(t&1){let e=h();i(0,"div",14),c(1,"p-radiobutton",40),i(2,"p-card",41),I("click",function(){v(e);let l=u(2);return C(l.changeJournalType())}),g(3,yt,2,1,"ng-template",null,3,d)(5,It,4,0)(6,Et,4,0),n()()}if(t&2){let e,r=m.$implicit;a(),p("inputId",r.value)("value",r.key),a(4),re((e=r.key)===0?5:e===1?6:-1)}}function At(t,m){if(t&1&&(i(0,"div",34),c(1,"p-radiobutton",44),i(2,"label",45),o(3),n()()),t&2){let e=m.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),E(e.value)}}function Tt(t,m){if(t&1&&(i(0,"div",34),c(1,"p-radiobutton",46),i(2,"label",47),o(3),n()()),t&2){let e=m.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),E(e.value)}}function Nt(t,m){if(t&1&&(i(0,"div",34),c(1,"p-radiobutton",48),i(2,"label",47),o(3),n()()),t&2){let e=m.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),E(e.value)}}function wt(t,m){if(t&1&&(i(0,"div",34),c(1,"p-radiobutton",49),i(2,"label",47),o(3),n()()),t&2){let e=m.$implicit;a(),p("value",e.key)("inputId",e.value),a(),p("for",e.value),a(),E(e.value)}}function Mt(t,m){if(t&1&&(i(0,"p-scrollpanel",null,2)(2,"p-tabs",8)(3,"p-tablist"),S(4,xt,2,2,"p-tab",9,b),n(),i(6,"p-tabpanels")(7,"p-tabpanel",9)(8,"h4",10),o(9,"Integration with POS"),n(),i(10,"p"),o(11,"Generate Journal"),n(),i(12,"div",11)(13,"div",12)(14,"div",13),S(15,Ft,7,3,"div",14,b),n()()(),c(17,"hr"),i(18,"div",15)(19,"h3",10),o(20,"Journal Generate"),n(),i(21,"p"),o(22,"Configure generate transaction"),n(),i(23,"div",16)(24,"div")(25,"div",17)(26,"label",18),o(27,"Generate EOD Expense Journal"),n(),c(28,"p-toggleswitch",19),n()(),i(29,"div")(30,"div",17)(31,"label",18),o(32,"Generate Outlet Delivery Journal"),n(),c(33,"p-toggleswitch",20),n()(),i(34,"div")(35,"div",17)(36,"label",18),o(37,"Generate Payment Discount Journal On Payment"),n(),c(38,"p-toggleswitch",21),n()()()()(),i(39,"p-tabpanel",22)(40,"div",23)(41,"h3",10),o(42,"Accounting Numbering"),n(),i(43,"p"),o(44,"Configure numbering format and rule for your accounting"),n(),i(45,"div",13)(46,"div",24)(47,"div",25)(48,"div",24)(49,"div",17)(50,"label",26),o(51,"Digit"),n(),c(52,"p-inputnumber",27),n()(),i(53,"div",24)(54,"div",17)(55,"label",28),o(56,"Seed"),n(),c(57,"p-inputnumber",29),n()(),i(58,"div",24)(59,"div",17)(60,"label",30),o(61,"Last Number"),n(),c(62,"p-inputnumber",31),n()(),i(63,"div",24)(64,"div",17)(65,"label",18),o(66,"Format"),n(),c(67,"p-select",32),n()(),i(68,"div",24)(69,"div",17)(70,"label",18),o(71,"Reset Every"),n(),i(72,"div",33),S(73,At,4,4,"div",34,b),n()()()()()()()(),i(75,"p-tabpanel",35)(76,"div",23)(77,"h3",10),o(78,"Report"),n(),i(79,"p"),o(80,"Configure report behavior"),n(),i(81,"div",13)(82,"div",24)(83,"div",25)(84,"div",24)(85,"div",17)(86,"label",18),o(87,"Audit Journal Transaction"),n(),i(88,"div",36),S(89,Tt,4,4,"div",34,b),n()()(),c(91,"div",24),i(92,"div",24)(93,"div",17)(94,"label",18),o(95,"Accounting For Treatment"),n(),i(96,"div",36),S(97,Nt,4,4,"div",34,b),n()()(),c(99,"div",24),i(100,"div",24)(101,"div",17)(102,"label",18),o(103,"Configure Report Access Control in COA"),n(),i(104,"div",36),S(105,wt,4,4,"div",34,b),n()()()()()()()(),i(107,"p-tabpanel",37)(108,"div",23)(109,"h3",10),o(110,"Note"),n(),i(111,"p"),o(112,"Configure show note"),n(),i(113,"div",13)(114,"div",24)(115,"div",25)(116,"div",24)(117,"div",17)(118,"label",18),o(119,"Note Required On Journal"),n(),c(120,"p-toggleswitch",38),n()(),c(121,"div",24),i(122,"div",24)(123,"div",17)(124,"label",18),o(125,"Trial Balance Footer Visible"),n(),c(126,"p-toggleswitch",39),n()(),c(127,"div",24),n()()()()()()()()),t&2){let e,r,l,f,W,D,_=u();K(G(9,Ct)),a(2),p("value",0)("formGroup",_.form),a(2),y(_.tabs()),a(3),p("value",0),a(8),y((e=_.accountingIntegration())==null||e.options==null?null:e.options.journalType),a(24),p("value",1),a(28),p("options",(r=_.accountingIntegration())==null||r.options==null?null:r.options.monthlyResetPeriodFormat),a(6),y((l=_.accountingIntegration())==null||l.options==null?null:l.options.resetPeriods),a(2),p("value",2),a(14),y((f=_.accountingIntegration())==null||f.options==null?null:f.options.auditType),a(8),y((W=_.accountingIntegration())==null||W.options==null?null:W.options.generatePrepaidJournal),a(8),y((D=_.accountingIntegration())==null||D.options==null?null:D.options.entityAccess),a(2),p("value",3)}}var pt=(()=>{class t{constructor(){this.accountingSetupService=s(x),this.fb=s(V).nonNullable,this.tabs=P(["Pos","Numbering","Report","Note"]),this.journalType=P(0),this.accountingIntegration=P(null)}ngOnInit(){this.initializeForm(),this.loadAccountingConfiguration()}initializeForm(){this.form=this.fb.group({posIntegration:this.createPosIntegrationGroup(),number:this.createNumberGroup(),report:this.createReportGroup(),journalGenerate:this.createJournalGenerateGroup(),note:this.createNoteGroup()})}createPosIntegrationGroup(){return this.fb.group({createJournalTriggers:this.fb.control(0)})}createNumberGroup(){return this.fb.group({seed:this.fb.control(""),digit:this.fb.control(""),resetEvery:this.fb.control(""),monthlyFormat:this.fb.control(""),lastNumber:this.fb.control(""),lastModified:this.fb.control("")})}createReportGroup(){return this.fb.group({accountingAuditType:this.fb.control(""),accountingEntityAccess:this.fb.control(""),generatePrepaidJournal:this.fb.control("")})}createJournalGenerateGroup(){return this.fb.group({eodExpenseJournal:this.fb.control(""),transferOrder:this.fb.control(""),paymentDiscount:this.fb.control("")})}createNoteGroup(){return this.fb.group({noteMandatory:this.fb.control(""),trialBalanceFooterVisible:this.fb.control("")})}changeJournalType(){let e=this.journalType()===0?1:0;this.journalType.set(e),this.accountingIntegration.update(r=>H(q({},r),{form:H(q({},r.form),{posIntegration:H(q({},r.form.posIntegration),{createJournalTriggers:e})})})),this.form.controls.posIntegration.patchValue({createJournalTriggers:e})}loadAccountingConfiguration(){this.accountingSetupService.fetchLoaderConfiguration().pipe(B(e=>{this.accountingIntegration.set(e);let r=e.form.posIntegration.createJournalTriggers;this.journalType.set(r),this.form.get("posIntegration.createJournalTriggers")?.setValue(r),this.form.patchValue(e.form)})).subscribe()}updateAccountingIntegration(){let e={form:this.form.getRawValue()};this.accountingSetupService.updateAccountingIntegrationConfiguration(e).pipe().subscribe()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=F({type:t,selectors:[["app-accounting-integration"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["scrollPanelContainer",""],["header",""],["pageTitle","Accounting Integration"],[1,"d-flex","gap-2"],["routerLink","..",1,"p-button","p-button-secondary","p-button-outlined"],["label","Submit",3,"click"],[1,"border-top",3,"value","formGroup"],[3,"value"],[1,"fs-5"],["formGroupName","posIntegration",1,"row"],[1,"col-8"],[1,"row"],[1,"col"],["formGroupName","journalGenerate",1,""],[1,"d-flex","column-gap-5"],[1,"d-flex","flex-column"],["for","",1,"fs-4"],["formControlName","eodExpenseJournal"],["formControlName","transferOrder"],["formControlName","paymentDiscount"],["formGroupName","number",3,"value"],[1,""],[1,"col-6"],[1,"row","row-gap-3"],["for","digit",1,"fs-4"],["inputId","digit","formControlName","digit"],["for","seed",1,"fs-4"],["inputId","seed","formControlName","seed"],["for","lastNumber",1,"fs-4"],["inputId","lastNumber","formControlName","lastNumber"],["appendTo","body","formControlName","monthlyFormat","optionValue","key","optionLabel","value",3,"options"],[1,"d-flex","gap-4"],[1,"d-flex","align-items-center","gap-2"],["formGroupName","report",3,"value"],[1,"d-flex","flex-column","gap-2"],["formGroupName","note",3,"value"],["formControlName","noteMandatory"],["formControlName","trialBalanceFooterVisible"],["styleClass","d-none","name","createJournalTriggers","formControlName","createJournalTriggers",3,"inputId","value"],["styleClass","h-100",3,"click"],[1,"d-flex","justify-content-center","inactive-state","text-white","py-2",3,"ngClass"],[1,"m-0",3,"ngClass"],["name","resetEvery","formControlName","resetEvery",3,"value","inputId"],[1,"m-0",3,"for"],["name","accountingAuditType","formControlName","accountingAuditType",3,"value","inputId"],[1,"ml-2","m-0",3,"for"],["name","generatePrepaidJournal","formControlName","generatePrepaidJournal",3,"value","inputId"],["name","accountingEntityAccess","formControlName","accountingEntityAccess",3,"value","inputId"]],template:function(r,l){r&1&&(i(0,"app-main-panel",4),g(1,ht,4,0,"ng-template",null,0,d)(3,Mt,128,10,"ng-template",null,1,d),n())},dependencies:[T,Q,ot,it,nt,tt,Ze,et,M,ne,De,Ve,Re,j,N,O,k,R,X,w,ke,Oe,Ue,ze,Ee,Ie,L,$,Je,Pe,te,ee],styles:["[_nghost-%COMP%]{display:block}.inactive-state[_ngcontent-%COMP%]{background-color:#e5e5e5}.active-state[_ngcontent-%COMP%]{background-color:var(--p-primary-color)}"],changeDetection:0})}}return t})();var Dt=()=>({height:"calc(100vh - 250px)"}),Gt=()=>[],ct=()=>({});function Bt(t,m){if(t&1){let e=h();i(0,"div")(1,"p-button",6),I("onClick",function(){v(e);let l=u();return C(l.submitForm())}),n()()}}function Pt(t,m){t&1&&(i(0,"div",12)(1,"h3",13),o(2,"Date"),n(),c(3,"p-datePicker",14),n())}function Jt(t,m){t&1&&(i(0,"tr")(1,"th",20),o(2,"Account Name"),n(),i(3,"th",21),o(4,"Debit"),n(),i(5,"th",21),o(6,"Credit"),n()())}function Ot(t,m){if(t&1&&(i(0,"tr",10)(1,"td",20),o(2),n(),i(3,"td"),c(4,"input",22),n(),i(5,"td"),c(6,"input",23),n()()),t&2){let e,r=m.$implicit,l=m.rowIndex,f=u(4);p("formGroupName",l),a(2),ae(" ",(e=f.asFormGroup(r).get("accountName"))==null?null:e.value," "),a(2),p("autoNumeric",G(4,ct)),a(2),p("autoNumeric",G(5,ct))}}function kt(t,m){if(t&1&&(i(0,"div",10)(1,"h4",15),o(2),n(),i(3,"div",16)(4,"p-table",17),g(5,Jt,7,0,"ng-template",18)(6,Ot,7,6,"ng-template",19),n()()()),t&2){let e=m.$implicit,r=m.$index,l=u(3);p("formGroupName",r),a(2),ae(" ",e.get("name").value," "),a(2),p("value",l.getItemsArray(l.asFormGroup(e)).controls)}}function Rt(t,m){if(t&1&&(i(0,"tr")(1,"td")(2,"p",24),o(3,"Total"),n()(),i(4,"td",25)(5,"p",24),o(6),le(7,"number"),n()(),i(8,"td",25)(9,"p",24),o(10),le(11,"number"),n()()()),t&2){let e=u(3);a(6),E(me(7,2,e.subtotalDebit)),a(4),E(me(11,4,e.subtotalCredit))}}function Vt(t,m){if(t&1&&(i(0,"p-panel",8),g(1,Pt,4,0,"ng-template",null,2,d),c(3,"p-divider"),i(4,"p-scroll-panel")(5,"div",9),S(6,kt,7,3,"div",10,b),n()(),i(8,"p-table",11),g(9,Rt,12,6,"ng-template",null,3,d),n()()),t&2){let e=u(2);p("formGroup",e.formGroups),a(4),K(G(4,Dt)),a(2),y(e.formsArray.controls),a(2),p("value",G(5,Gt))}}function jt(t,m){if(t&1&&g(0,Vt,11,6,"p-panel",7),t&2){let e=u();p("ngIf",e.formGroups)}}var st=(()=>{class t{constructor(){this.destroy$=new ue,this.subtotalDebit=0,this.subtotalCredit=0,this.fb=s(V),this.accSetupService=s(x),this.dayjsService=s(We),this.date=new Date,this.routes=s(ye)}ngOnInit(){this.initializeForm(),this.loadFormData(),this.calculateSubtotalDebit(),this.formGroups.get("forms").valueChanges.pipe(de(300),fe(this.destroy$)).subscribe(()=>{this.calculateSubtotalDebit()})}initializeForm(){this.formGroups=this.fb.group({forms:this.fb.array([]),date:this.fb.control(new Date)})}get formsArray(){return this.formGroups.get("forms")}getItemsArray(e){return e.get("items")}asFormGroup(e){return e}createFormGroup(e){return this.fb.group({id:[e.id],name:[e.name],items:this.createItemsArray(e.items)})}createItemsArray(e){let r=e.map(l=>this.createItemGroup(l));return this.fb.array(r)}createItemGroup(e){return this.fb.group({accountName:[e.accountName],accountCode:[e.accountCode],id:[e.id],journalID:[e.journalID],accountID:[e.accountID],debitAmount:[e.debitAmount],creditAmount:[e.creditAmount],index:[e.index],note:[e.note]})}loadFormData(){this.routes.data.pipe(se(e=>e.data),Le("response"),B(e=>{for(;this.formsArray.length>0;)this.formsArray.removeAt(0);e.form.filter(l=>l.items&&l.items.length>0).forEach(l=>{this.formsArray.push(this.createFormGroup(l))})})).subscribe({error:e=>console.error("Error loading form data:",e)})}calculateSubtotalDebit(){let e=this.formGroups.controls.forms;this.subtotalDebit=0,this.subtotalCredit=0,e.controls.forEach(r=>{let l=this.getItemsArray(r),f=l.controls.reduce((D,_)=>{let oe=_.get("debitAmount").value||0;return D+oe},0),W=l.controls.reduce((D,_)=>{let oe=_.get("creditAmount").value||0;return D+oe},0);this.subtotalDebit+=f,this.subtotalCredit+=W})}submitForm(){let e=Object.entries(this.formGroups.getRawValue()).reduce((r,[l,f])=>(l==="date"?r[l]=f instanceof Date?this.dayjsService.format(f):f:l==="forms"?r.form=f:r[l]=f,r),{});console.log("Submitting form data:",e),this.accSetupService.submitOpeningBalanceFormConfiguration(e).subscribe(),console.log("Submitting form data:",e)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=F({type:t,selectors:[["app-acc-opening-balance-form"]],features:[xe([we])],decls:6,vars:0,consts:[["actionButton",""],["content",""],["header",""],["footer",""],["pageTitle","Opening Balance Form"],["preventOpenDuplicates",""],["label","Submit",3,"onClick"],[3,"formGroup",4,"ngIf"],[3,"formGroup"],["formArrayName","forms",1,"d-flex","flex-column","row-gap-4"],[3,"formGroupName"],[3,"value"],[1,"d-flex","flex-column","gap-2","mx-2"],[1,"fs-5","m-0"],["formControlName","date"],[1,"fs-4"],["formArrayName","items"],["dataKey","id",3,"value"],["pTemplate","header"],["pTemplate","body"],[1,"fs-3"],[1,"fs-3",2,"width","200px"],["formControlName","debitAmount",1,"fs-3","form-control",3,"autoNumeric"],["formControlName","creditAmount",1,"fs-3","form-control",3,"autoNumeric"],[1,"fw-semibold","fs-4"],[1,"text-end",2,"width","200px"]],template:function(r,l){r&1&&(i(0,"app-main-panel",4),g(1,Bt,2,0,"ng-template",null,0,d)(3,jt,1,1,"ng-template",null,1,d),n(),c(5,"p-toast",5))},dependencies:[M,ne,Me,T,be,Se,Be,Ge,$e,je,te,ee,Y,J,N,O,w,Qe,L,$,U,z,qe,j,k,R,X,Ne,Ye,Xe],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();var dt=t=>({"ng-invalid ng-dirty":t});function Lt(t,m){if(t&1){let e=h();i(0,"p-button",4),I("onClick",function(){v(e);let l=u();return C(l.saveCredentials())}),o(1,"Update"),n()}}function zt(t,m){t&1&&(i(0,"div",12)(1,"h3",13),o(2,"Account"),n(),i(3,"small",14),o(4,"Configure Client ID and Client Secret"),n()())}function Ut(t,m){if(t&1&&(i(0,"div",5)(1,"p-panel"),g(2,zt,5,0,"ng-template",null,2,d),i(4,"div",6)(5,"div",7)(6,"div",8)(7,"label",9),o(8,"Client ID"),n(),c(9,"input",10),n()(),i(10,"div",7)(11,"div",8)(12,"label",9),o(13,"Client Secret"),n(),c(14,"input",11),n()()()()()),t&2){let e=u();a(4),p("formGroup",e.credentialForm),a(5),p("ngClass",A(3,dt,e.clientIDControl.invalid&&e.clientIDControl.dirty||e.clientIDControl.touched)),a(5),p("ngClass",A(5,dt,e.clientSecretControl.invalid&&e.clientSecretControl.dirty||e.clientSecretControl.touched))}}var ft=(()=>{class t{constructor(e){this.fb=e,this.setupService=s(x)}ngOnInit(){this.initForm(),this.setupService.fetchAPICredential().pipe(B(e=>{this.credentialForm.patchValue({clientID:e.clientID||"",clientSecret:e.clientSecret||""})})).subscribe()}initForm(){this.credentialForm=this.fb.group({clientID:["",[pe.required]],clientSecret:["",[pe.required]]})}get clientIDControl(){return this.credentialForm.get("clientID")}get clientSecretControl(){return this.credentialForm.get("clientSecret")}saveCredentials(){if(this.credentialForm.invalid){this.credentialForm.markAllAsTouched();return}let e=this.credentialForm.getRawValue();console.log("Saving credentials:",e),this.setupService.updateAPICredential(e).subscribe()}static{this.\u0275fac=function(r){return new(r||t)(_e(V))}}static{this.\u0275cmp=F({type:t,selectors:[["app-api-credential"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","API Credential"],[3,"onClick"],[1,"d-flex","flex-column","row-gap-4"],[1,"row",3,"formGroup"],[1,"col-6"],[1,"d-flex","flex-column"],["for","outlet"],["type","text","pInputText","","formControlName","clientID",3,"ngClass"],["type","text","pInputText","","formControlName","clientSecret",3,"ngClass"],[1,"d-flex","flex-column","px-2"],[1,"mb-0","fw-bold"],[1,"fst-italic","text-muted"]],template:function(r,l){r&1&&(i(0,"app-main-panel",3),g(1,Lt,2,0,"ng-template",null,0,d)(3,Ut,15,7,"ng-template",null,1,d),n())},dependencies:[T,Q,j,J,N,O,k,R,w,Z,U,z,M,L,$],encapsulation:2})}}return t})();function Wt(t,m){if(t&1){let e=h();i(0,"button",4),I("click",function(){v(e);let l=u();return C(l.onFormatJournal())}),o(1," Format "),n()}}function qt(t,m){t&1&&(i(0,"div",12)(1,"div",13)(2,"h4",14),o(3,"Journal Configuration"),n(),i(4,"small",15),o(5," Enter your account information to format journal entries "),n()()())}function Ht(t,m){if(t&1){let e=h();i(0,"div",5)(1,"p-panel"),g(2,qt,6,0,"ng-template",null,2,d),i(4,"div",6)(5,"div",7)(6,"p-floatlabel",8)(7,"input",9),he("ngModelChange",function(l){v(e);let f=u();return Ce(f.subdomain,l)||(f.subdomain=l),C(l)}),n(),i(8,"label",10),o(9,"Subdomain"),n()(),i(10,"small",11),o(11,"Enter your account subdomain (e.g., mycompany.dealpos.net)"),n()()()()()}if(t&2){let e=u();a(7),ve("ngModel",e.subdomain)}}var gt=(()=>{class t{constructor(){this.setupService=s(x),this.subdomain=P(""),this.toastrService=s(Fe)}onFormatJournal(){if(!this.subdomain()){this.toastrService.error("Please enter a subdomain","Error");return}this.setupService.formatJournal(this.subdomain()).subscribe({next:e=>{this.toastrService.success(e.message,"Success")}})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=F({type:t,selectors:[["app-format-jurnal"]],decls:5,vars:0,consts:[["actionButton",""],["content",""],["header",""],["pageTitle","Format Journal"],[1,"btn","btn-success","rounded",3,"click"],[1,"d-flex","flex-column","row-gap-4"],[1,"row","mt-6"],[1,"col-12"],["variant","on"],["pInputText","","id","subdomain","autocomplete","off",1,"w-100",3,"ngModelChange","ngModel"],["for","subdomain"],[1,"text-muted","fst-italic",2,"font-size","12px"],[1,"row","ps-2"],[1,"col-12","d-flex","flex-column"],[1,"mb-1","fw-bold"],[1,"fst-italic","text-muted"]],template:function(r,l){r&1&&(i(0,"app-main-panel",3),g(1,Wt,2,0,"ng-template",null,0,d)(3,Ht,12,1,"ng-template",null,1,d),n())},dependencies:[T,Y,J,N,Te,w,Z,M,U,z,Ke,He],encapsulation:2})}}return t})();var _t=()=>s(x).fetchOpeningBalanceFormConfiguration();var Mi=[{path:"",redirectTo:"accounting-integration",pathMatch:"full"},{path:"",children:[{path:"accounting-integration",component:pt},{path:"opening-balance-form",component:st,resolve:{data:_t}},{path:"api-crendetial",component:ft},{path:"format-journal",component:gt},{path:"closing-entries",loadComponent:()=>import("./chunk-CGUMUBB7.js").then(t=>t.ClosingPageComponent)},{path:"closing-entries/create",loadComponent:()=>import("./chunk-CUDRSVFH.js").then(t=>t.ClosingFormComponent)}]}];export{Mi as ACCOUNTING_SETUP_ROUTES};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as fe}from"./chunk-
|
|
1
|
+
import{a as fe}from"./chunk-BX74ZLQG.js";import{a as he,h as G,n as _e,r as be}from"./chunk-LMI4DLB5.js";import{Ma as me,Na as K,Va as de,a as le,ba as pe,d as ce}from"./chunk-3GHEXAAZ.js";import{c as re,f as oe,g as se,h as ue,m as ae}from"./chunk-DAQCANBV.js";import{Ab as F,Cb as g,Jb as _,Kb as l,Nb as te,Ob as w,Ub as I,Vb as C,Vc as T,Wb as x,Wc as E,Xb as R,Yb as $,_b as S,aa as Q,ba as H,ca as W,dc as V,ec as u,gb as f,ha as Z,jc as U,kc as ne,lc as A,mb as Y,mc as L,oa as J,pa as m,qa as d,ra as O,ta as N,va as X,wb as M,xb as ee,yc as ie,za as k}from"./chunk-WCXWWANV.js";import{a as q,b as j}from"./chunk-YQFG5XE2.js";var xe=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleDownIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var ye=(()=>{class i extends G{static \u0275fac=(()=>{let e;return function(t){return(e||(e=N(i)))(t||i)}})();static \u0275cmp=M({type:i,selectors:[["AngleUpIcon"]],features:[F],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(n,t){n&1&&(O(),I(0,"svg",0),x(1,"path",1),C()),n&2&&(w(t.getClassNames()),_("aria-label",t.ariaLabel)("aria-hidden",t.ariaHidden)("role",t.role))},encapsulation:2})}return i})();var we=["clearicon"],Te=["incrementbuttonicon"],Be=["decrementbuttonicon"],ve=["input"];function De(i,h){if(i&1){let e=S();I(0,"TimesIcon",7),V("click",function(){m(e);let t=u(2);return d(t.clear())}),C()}i&2&&(l("ngClass","p-inputnumber-clear-icon"),_("data-pc-section","clearIcon"))}function Ve(i,h){}function Ee(i,h){i&1&&g(0,Ve,0,0,"ng-template")}function Se(i,h){if(i&1){let e=S();I(0,"span",8),V("click",function(){m(e);let t=u(2);return d(t.clear())}),g(1,Ee,1,0,null,9),C()}if(i&2){let e=u(2);_("data-pc-section","clearIcon"),f(),l("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Ne(i,h){if(i&1&&(R(0),g(1,De,1,2,"TimesIcon",5)(2,Se,2,2,"span",6),$()),i&2){let e=u();f(),l("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),f(),l("ngIf",e.clearIconTemplate||e._clearIconTemplate)}}function ke(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Me(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function Fe(i,h){}function Re(i,h){i&1&&g(0,Fe,0,0,"ng-template")}function $e(i,h){if(i&1&&(R(0),g(1,Me,1,1,"AngleUpIcon",2)(2,Re,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function Ae(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Le(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Ue(i,h){}function ze(i,h){i&1&&g(0,Ue,0,0,"ng-template")}function Oe(i,h){if(i&1&&(R(0),g(1,Le,1,1,"AngleDownIcon",2)(2,ze,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function Ke(i,h){if(i&1){let e=S();I(0,"span",10)(1,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(2,ke,1,2,"span",12)(3,$e,3,2,"ng-container",2),C(),I(4,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(5,Ae,1,2,"span",12)(6,Oe,3,2,"ng-container",2),C()()}if(i&2){let e=u();_("data-pc-section","buttonGroup"),f(),w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon),f(),w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}function Ge(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.incrementButtonIcon),_("data-pc-section","incrementbuttonicon")}}function Pe(i,h){i&1&&x(0,"AngleUpIcon"),i&2&&_("data-pc-section","incrementbuttonicon")}function qe(i,h){}function je(i,h){i&1&&g(0,qe,0,0,"ng-template")}function Qe(i,h){if(i&1&&(R(0),g(1,Pe,1,1,"AngleUpIcon",2)(2,je,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.incrementButtonIconTemplate&&!e._incrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.incrementButtonIconTemplate||e._incrementButtonIconTemplate)}}function He(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onUpButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onUpButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onUpButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onUpButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onUpButtonKeyUp())}),g(1,Ge,1,2,"span",12)(2,Qe,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.incrementButtonClass),l("ngClass",e._incrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","incrementbutton"),f(),l("ngIf",e.incrementButtonIcon),f(),l("ngIf",!e.incrementButtonIcon)}}function We(i,h){if(i&1&&x(0,"span",13),i&2){let e=u(2);l("ngClass",e.decrementButtonIcon),_("data-pc-section","decrementbuttonicon")}}function Ze(i,h){i&1&&x(0,"AngleDownIcon"),i&2&&_("data-pc-section","decrementbuttonicon")}function Je(i,h){}function Xe(i,h){i&1&&g(0,Je,0,0,"ng-template")}function Ye(i,h){if(i&1&&(R(0),g(1,Ze,1,1,"AngleDownIcon",2)(2,Xe,1,0,null,9),$()),i&2){let e=u(2);f(),l("ngIf",!e.decrementButtonIconTemplate&&!e._decrementButtonIconTemplate),f(),l("ngTemplateOutlet",e.decrementButtonIconTemplate||e._decrementButtonIconTemplate)}}function et(i,h){if(i&1){let e=S();I(0,"button",11),V("mousedown",function(t){m(e);let r=u();return d(r.onDownButtonMouseDown(t))})("mouseup",function(){m(e);let t=u();return d(t.onDownButtonMouseUp())})("mouseleave",function(){m(e);let t=u();return d(t.onDownButtonMouseLeave())})("keydown",function(t){m(e);let r=u();return d(r.onDownButtonKeyDown(t))})("keyup",function(){m(e);let t=u();return d(t.onDownButtonKeyUp())}),g(1,We,1,2,"span",12)(2,Ye,3,2,"ng-container",2),C()}if(i&2){let e=u();w(e.decrementButtonClass),l("ngClass",e._decrementButtonClass)("disabled",e.disabled),_("aria-hidden",!0)("data-pc-section","decrementbutton"),f(),l("ngIf",e.decrementButtonIcon),f(),l("ngIf",!e.decrementButtonIcon)}}var tt=({dt:i})=>`
|
|
2
2
|
.p-inputnumber {
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
position: relative;
|