marketplacepos 1.9.6 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/237.31c39c1346e61b57.js +1 -0
- package/Marketplace/365.1282604dd7869f3c.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +5 -29
- package/Marketplace/627.65c12d8195d5fae8.js +1 -0
- package/Marketplace/assets/lbd/mixins/_chartist.scss +4 -2
- package/Marketplace/index.html +22 -23
- package/Marketplace/main.0ab2517db819fba3.js +1 -0
- package/Marketplace/polyfills.2329f3f8d324fc9f.js +1 -0
- package/Marketplace/runtime.c28f8a07bf5a45a3.js +1 -0
- package/Marketplace/scripts.16aad1e03d4e6f23.js +1 -0
- package/Marketplace/styles.ccb12818b864d950.css +20 -0
- package/package.json +1 -1
- package/Marketplace/1.2e1ccbb2bde81334e6fa.js +0 -1
- package/Marketplace/5.a60dad8228acb367fec8.js +0 -1
- package/Marketplace/6.fa5f48f69fbbdf118b38.js +0 -1
- package/Marketplace/main.c75e991df819e0927c54.js +0 -1
- package/Marketplace/polyfills.cc6565af9586e331a57a.js +0 -1
- package/Marketplace/runtime.638e78cb02e93ec1002a.js +0 -1
- package/Marketplace/scripts.e3992264576b5da0e8fb.js +0 -1
- package/Marketplace/styles.e6f72fdb546b9ef2484b.css +0 -22
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[365],{4810:(Ee,b,u)=>{u.d(b,{T:()=>A});var o=u(5e3);let A=(()=>{class y{constructor(){}getBrowserName(){const p=window.navigator.userAgent.toLowerCase();switch(!0){case p.indexOf("edge")>-1||p.indexOf("edg")>-1:return"edge";case p.indexOf("opr")>-1:return"opera";case p.indexOf("chrome")>-1:return"chrome";case p.indexOf("trident")>-1:return"ie";case p.indexOf("firefox")>-1:return"firefox";case p.indexOf("safari")>-1:return"safari";default:return"other"}}}return y.\u0275fac=function(p){return new(p||y)},y.\u0275prov=o.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),y})()},567:(Ee,b,u)=>{u.d(b,{D:()=>B});var o=u(2916),A=u(6688),y=u(4850),O=u(7830),p=u(5254);function B(...a){if(1===a.length){const g=a[0];if((0,A.k)(g))return _(g,null);if((0,O.K)(g)&&Object.getPrototypeOf(g)===Object.prototype){const f=Object.keys(g);return _(f.map(v=>g[v]),f)}}if("function"==typeof a[a.length-1]){const g=a.pop();return _(a=1===a.length&&(0,A.k)(a[0])?a[0]:a,null).pipe((0,y.U)(f=>g(...f)))}return _(a,null)}function _(a,g){return new o.y(f=>{const v=a.length;if(0===v)return void f.complete();const F=new Array(v);let P=0,M=0;for(let m=0;m<v;m++){const k=(0,p.D)(a[m]);let l=!1;f.add(k.subscribe({next:c=>{l||(l=!0,M++),F[m]=c},error:c=>f.error(c),complete:()=>{P++,(P===v||!l)&&(M===v&&f.next(g?g.reduce((c,K,Q)=>(c[K]=F[Q],c),{}):F),f.complete())}}))}})}},3075:(Ee,b,u)=>{u.d(b,{Wl:()=>f,Zs:()=>Ve,gN:()=>d,Fj:()=>M,on:()=>Ae,NI:()=>ce,oH:()=>me,sg:()=>$,u5:()=>gn,Cf:()=>l,JU:()=>a,a5:()=>C,JJ:()=>ze,JL:()=>Je,F:()=>Y,On:()=>fe,wV:()=>pe,c5:()=>Me,UX:()=>mn,Q7:()=>z,kI:()=>Q,_Y:()=>ut});var o=u(5e3),A=u(9808),y=u(5254),O=u(567),p=u(4850);let B=(()=>{class n{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.Qsj),o.Y36(o.SBq))},n.\u0275dir=o.lG2({type:n}),n})(),_=(()=>{class n extends B{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,features:[o.qOj]}),n})();const a=new o.OlP("NgValueAccessor"),g={provide:a,useExisting:(0,o.Gpc)(()=>f),multi:!0};let f=(()=>{class n extends _{writeValue(e){this.setProperty("checked",e)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("change",function(s){return r.onChange(s.target.checked)})("blur",function(){return r.onTouched()})},features:[o._Bn([g]),o.qOj]}),n})();const v={provide:a,useExisting:(0,o.Gpc)(()=>M),multi:!0},P=new o.OlP("CompositionEventMode");let M=(()=>{class n extends B{constructor(e,r,i){super(e,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function F(){const n=(0,A.q)()?(0,A.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(P,8))},n.\u0275dir=o.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,r){1&e&&o.NdJ("input",function(s){return r._handleInput(s.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(s){return r._compositionEnd(s.target.value)})},features:[o._Bn([v]),o.qOj]}),n})();function m(n){return null==n||0===n.length}function k(n){return null!=n&&"number"==typeof n.length}const l=new o.OlP("NgValidators"),c=new o.OlP("NgAsyncValidators"),K=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Q{static min(t){return function be(n){return t=>{if(m(t.value)||m(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function Oe(n){return t=>{if(m(t.value)||m(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return Fe(t)}static requiredTrue(t){return we(t)}static email(t){return Ne(t)}static minLength(t){return function Se(n){return t=>m(t.value)||!k(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function Ge(n){return t=>k(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return xe(t)}static nullValidator(t){return null}static compose(t){return Re(t)}static composeAsync(t){return Ue(t)}}function Fe(n){return m(n.value)?{required:!0}:null}function we(n){return!0===n.value?null:{required:!0}}function Ne(n){return m(n.value)||K.test(n.value)?null:{email:!0}}function xe(n){if(!n)return w;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),r=>{if(m(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function w(n){return null}function Be(n){return null!=n}function Pe(n){const t=(0,o.QGY)(n)?(0,y.D)(n):n;return(0,o.CqO)(t),t}function ke(n){let t={};return n.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function Te(n,t){return t.map(e=>e(n))}function Ie(n){return n.map(t=>function Dt(n){return!n.validate}(t)?t:e=>t.validate(e))}function Re(n){if(!n)return null;const t=n.filter(Be);return 0==t.length?null:function(e){return ke(Te(e,t))}}function Z(n){return null!=n?Re(Ie(n)):null}function Ue(n){if(!n)return null;const t=n.filter(Be);return 0==t.length?null:function(e){const r=Te(e,t).map(Pe);return(0,O.D)(r).pipe((0,p.U)(ke))}}function X(n){return null!=n?Ue(Ie(n)):null}function je(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function He(n){return n._rawValidators}function Le(n){return n._rawAsyncValidators}function ee(n){return n?Array.isArray(n)?n:[n]:[]}function T(n,t){return Array.isArray(n)?n.includes(t):n===t}function qe(n,t){const e=ee(t);return ee(n).forEach(i=>{T(e,i)||e.push(i)}),e}function We(n,t){return ee(t).filter(e=>!T(n,e))}class Ye{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Z(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=X(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class C extends Ye{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class d extends Ye{get formDirective(){return null}get path(){return null}}class $e{constructor(t){this._cd=t}is(t){var e,r,i;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(i=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===i?void 0:i[t])}}let ze=(()=>{class n extends $e{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(C,2))},n.\u0275dir=o.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&o.ekj("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[o.qOj]}),n})(),Je=(()=>{class n extends $e{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(d,10))},n.\u0275dir=o.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&o.ekj("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[o.qOj]}),n})();function N(n,t){re(n,t),t.valueAccessor.writeValue(n.value),function Gt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Qe(n,t)})}(n,t),function Bt(n,t){const e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function xt(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Qe(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function St(n,t){if(t.valueAccessor.setDisabledState){const e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function U(n,t,e=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),H(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function j(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function re(n,t){const e=He(n);null!==t.validator?n.setValidators(je(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const r=Le(n);null!==t.asyncValidator?n.setAsyncValidators(je(r,t.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();j(t._rawValidators,i),j(t._rawAsyncValidators,i)}function H(n,t){let e=!1;if(null!==n){if(null!==t.validator){const i=He(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(h=>h!==t.validator);s.length!==i.length&&(e=!0,n.setValidators(s))}}if(null!==t.asyncValidator){const i=Le(n);if(Array.isArray(i)&&i.length>0){const s=i.filter(h=>h!==t.asyncValidator);s.length!==i.length&&(e=!0,n.setAsyncValidators(s))}}}const r=()=>{};return j(t._rawValidators,r),j(t._rawAsyncValidators,r),e}function Qe(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function Ze(n,t){re(n,t)}function oe(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function Xe(n,t){n._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function ie(n,t){if(!t)return null;let e,r,i;return Array.isArray(t),t.forEach(s=>{s.constructor===M?e=s:function Tt(n){return Object.getPrototypeOf(n.constructor)===_}(s)?r=s:i=s}),i||r||e||null}function L(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const S="VALID",q="INVALID",D="PENDING",G="DISABLED";function ae(n){return(W(n)?n.validators:n)||null}function et(n){return Array.isArray(n)?Z(n):n||null}function le(n,t){return(W(t)?t.asyncValidators:n)||null}function tt(n){return Array.isArray(n)?X(n):n||null}function W(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const nt=n=>n instanceof ce,ue=n=>n instanceof he;function rt(n){return nt(n)?n.value:n.getRawValue()}function ot(n,t){const e=ue(n),r=n.controls;if(!(e?Object.keys(r):r).length)throw new o.vHH(1e3,"");if(!r[t])throw new o.vHH(1001,"")}function it(n,t){ue(n),n._forEachChild((r,i)=>{if(void 0===t[i])throw new o.vHH(1002,"")})}class de{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=et(this._rawValidators),this._composedAsyncValidatorFn=tt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===S}get invalid(){return this.status===q}get pending(){return this.status==D}get disabled(){return this.status===G}get enabled(){return this.status!==G}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=et(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=tt(t)}addValidators(t){this.setValidators(qe(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(qe(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(We(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(We(t,this._rawAsyncValidators))}hasValidator(t){return T(this._rawValidators,t)}hasAsyncValidator(t){return T(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=D,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=G,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=S,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===S||this.status===D)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?G:S}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=D,this._hasOwnPendingAsyncValidator=!0;const e=Pe(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function It(n,t,e){if(null==t||(Array.isArray(t)||(t=t.split(e)),Array.isArray(t)&&0===t.length))return null;let r=n;return t.forEach(i=>{r=ue(r)?r.controls.hasOwnProperty(i)?r.controls[i]:null:(n=>n instanceof Ut)(r)&&r.at(i)||null}),r}(this,t,".")}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?G:this.errors?q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(D)?D:this._anyControlsHaveStatus(q)?q:S}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){W(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ce extends de{constructor(t=null,e,r){super(ae(e),le(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),W(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){L(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){L(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class he extends de{constructor(t,e,r){super(ae(e),le(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){it(this,t),Object.keys(t).forEach(r=>{ot(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=rt(e),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const r=this.controls[e];if(this.contains(e)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,r)=>((e.enabled||this.disabled)&&(t[r]=e.value),t))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,s)=>{r=e(r,i,s)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Ut extends de{constructor(t,e,r){super(ae(e),le(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){it(this,t),t.forEach((r,i)=>{ot(this,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>rt(t))}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const jt={provide:d,useExisting:(0,o.Gpc)(()=>Y)},x=(()=>Promise.resolve(null))();let Y=(()=>{class n extends d{constructor(e,r){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new o.vpe,this.form=new he({},Z(e),X(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){x.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),N(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){x.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),L(this._directives,e)})}addFormGroup(e){x.then(()=>{const r=this._findContainer(e.path),i=new he({});Ze(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){x.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){x.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,Xe(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(l,10),o.Y36(c,10))},n.\u0275dir=o.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&o.NdJ("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([jt]),o.qOj]}),n})();const Lt={provide:C,useExisting:(0,o.Gpc)(()=>fe)},lt=(()=>Promise.resolve(null))();let fe=(()=>{class n extends C{constructor(e,r,i,s){super(),this.control=new ce,this._registered=!1,this.update=new o.vpe,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=ie(0,s)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),oe(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?function R(n,t){return[...t.path,n]}(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){N(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){lt.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const r=e.isDisabled.currentValue,i=""===r||r&&"false"!==r;lt.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(d,9),o.Y36(l,10),o.Y36(c,10),o.Y36(a,10))},n.\u0275dir=o.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o._Bn([Lt]),o.qOj,o.TTD]}),n})(),ut=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=o.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const qt={provide:a,useExisting:(0,o.Gpc)(()=>pe),multi:!0};let pe=(()=>{class n extends _{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("input",function(s){return r.onChange(s.target.value)})("blur",function(){return r.onTouched()})},features:[o._Bn([qt]),o.qOj]}),n})(),dt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({}),n})();const ge=new o.OlP("NgModelWithFormControlWarning"),zt={provide:C,useExisting:(0,o.Gpc)(()=>me)};let me=(()=>{class n extends C{constructor(e,r,i,s){super(),this._ngModelWarningConfig=s,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=ie(0,i)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const r=e.form.previousValue;r&&U(r,this,!1),N(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}oe(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&U(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(o.Y36(l,10),o.Y36(c,10),o.Y36(a,10),o.Y36(ge,8))},n.\u0275dir=o.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([zt]),o.qOj,o.TTD]}),n})();const Jt={provide:d,useExisting:(0,o.Gpc)(()=>$)};let $=(()=>{class n extends d{constructor(e,r){super(),this.validators=e,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(H(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return N(r,e),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){U(e.control||null,e,!1),L(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,Xe(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,i=this.form.get(e.path);r!==i&&(U(r||null,e),nt(i)&&(N(i,e),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);Ze(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function Pt(n,t){return H(n,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){re(this.form,this),this._oldForm&&H(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(l,10),o.Y36(c,10))},n.\u0275dir=o.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&o.NdJ("submit",function(s){return r.onSubmit(s)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Jt]),o.qOj,o.TTD]}),n})(),E=(()=>{class n{constructor(){this._validator=w}ngOnChanges(e){if(this.inputName in e){const r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):w,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=o.lG2({type:n,features:[o.TTD]}),n})();const un={provide:l,useExisting:(0,o.Gpc)(()=>z),multi:!0},dn={provide:l,useExisting:(0,o.Gpc)(()=>Ve),multi:!0};let z=(()=>{class n extends E{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function sn(n){return null!=n&&!1!==n&&"false"!=`${n}`}(e),this.createValidator=e=>Fe}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("required",r._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([un]),o.qOj]}),n})(),Ve=(()=>{class n extends z{constructor(){super(...arguments),this.createValidator=e=>we}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("required",r._enabled?"":null)},features:[o._Bn([dn]),o.qOj]}),n})();const cn={provide:l,useExisting:(0,o.Gpc)(()=>Ae),multi:!0};let Ae=(()=>{class n extends E{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=e=>""===e||!0===e||"true"===e,this.createValidator=e=>Ne}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[o._Bn([cn]),o.qOj]}),n})();const pn={provide:l,useExisting:(0,o.Gpc)(()=>Me),multi:!0};let Me=(()=>{class n{constructor(){this._validator=w}ngOnChanges(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}_createValidator(){this._validator=xe(this.pattern)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=o.lG2({type:n,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("pattern",r.pattern?r.pattern:null)},inputs:{pattern:"pattern"},features:[o._Bn([pn]),o.TTD]}),n})(),Mt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[[dt]]}),n})(),gn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[Mt]}),n})(),mn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:ge,useValue:e.warnOnNgModelWithFormControl}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[Mt]}),n})()}}]);
|
|
@@ -5,7 +5,7 @@ MIT
|
|
|
5
5
|
MIT
|
|
6
6
|
The MIT License
|
|
7
7
|
|
|
8
|
-
Copyright (c)
|
|
8
|
+
Copyright (c) 2022 Google LLC.
|
|
9
9
|
|
|
10
10
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
11
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -39,7 +39,7 @@ MIT
|
|
|
39
39
|
MIT
|
|
40
40
|
The MIT License
|
|
41
41
|
|
|
42
|
-
Copyright (c)
|
|
42
|
+
Copyright (c) 2022 Google LLC.
|
|
43
43
|
|
|
44
44
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
45
45
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -64,7 +64,7 @@ THE SOFTWARE.
|
|
|
64
64
|
MIT
|
|
65
65
|
The MIT License
|
|
66
66
|
|
|
67
|
-
Copyright (c)
|
|
67
|
+
Copyright (c) 2022 Google LLC.
|
|
68
68
|
|
|
69
69
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
70
70
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -151,7 +151,7 @@ ng-mat-select-infinite-scroll
|
|
|
151
151
|
MIT
|
|
152
152
|
MIT License
|
|
153
153
|
|
|
154
|
-
Copyright (c)
|
|
154
|
+
Copyright (c) 2021 Haidar Zeineddine
|
|
155
155
|
|
|
156
156
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
157
157
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -465,35 +465,11 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
465
465
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
466
466
|
PERFORMANCE OF THIS SOFTWARE.
|
|
467
467
|
|
|
468
|
-
webpack
|
|
469
|
-
MIT
|
|
470
|
-
Copyright JS Foundation and other contributors
|
|
471
|
-
|
|
472
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
473
|
-
a copy of this software and associated documentation files (the
|
|
474
|
-
'Software'), to deal in the Software without restriction, including
|
|
475
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
476
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
477
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
478
|
-
the following conditions:
|
|
479
|
-
|
|
480
|
-
The above copyright notice and this permission notice shall be
|
|
481
|
-
included in all copies or substantial portions of the Software.
|
|
482
|
-
|
|
483
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
484
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
485
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
486
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
487
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
488
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
489
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
490
|
-
|
|
491
|
-
|
|
492
468
|
zone.js
|
|
493
469
|
MIT
|
|
494
470
|
The MIT License
|
|
495
471
|
|
|
496
|
-
Copyright (c) 2010-2020 Google LLC.
|
|
472
|
+
Copyright (c) 2010-2020 Google LLC. https://angular.io/license
|
|
497
473
|
|
|
498
474
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
499
475
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[627],{1627:(S,p,l)=>{l.r(p),l.d(p,{LoginModule:()=>q});var d=l(9808),a=l(3075),g=l(2302),e=l(5e3),m=l(632),u=l(4810);const f=["domainAutoFocus"],h=["passAutoFocus"];function _(o,i){1&o&&(e.TgZ(0,"p"),e._uU(1," Domain is required "),e.qZA())}function Z(o,i){1&o&&(e.TgZ(0,"p"),e._uU(1," Please enter a valid dealpos domain "),e.qZA())}function w(o,i){if(1&o&&(e.TgZ(0,"div",38),e.YNc(1,_,2,0,"p",39),e.YNc(2,Z,2,0,"p",39),e.qZA()),2&o){e.oxw();const t=e.MAs(18);e.xp6(1),e.Q6J("ngIf",t.errors.required),e.xp6(1),e.Q6J("ngIf",t.errors.pattern)}}function b(o,i){1&o&&(e.TgZ(0,"p"),e._uU(1," Username is required "),e.qZA())}function C(o,i){if(1&o&&(e.TgZ(0,"div",38),e.YNc(1,b,2,0,"p",39),e.qZA()),2&o){e.oxw();const t=e.MAs(24);e.xp6(1),e.Q6J("ngIf",t.errors.required)}}const x=function(o,i){return{"fa-eye":o,"fa-eye-slash":i}};function A(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"i",40),e.NdJ("click",function(){return e.CHM(t),e.oxw().hideShowPassword()}),e.qZA()}if(2&o){const t=e.oxw();e.Q6J("ngClass",e.WLB(1,x,"eye-off"==t.passwordIcon,"eye"==t.passwordIcon))}}function T(o,i){1&o&&(e.TgZ(0,"p"),e._uU(1," Password is required "),e.qZA())}function v(o,i){if(1&o&&(e.TgZ(0,"div",38),e.YNc(1,T,2,0,"p",39),e.qZA()),2&o){e.oxw();const t=e.MAs(31);e.xp6(1),e.Q6J("ngIf",t.errors.required)}}function y(o,i){if(1&o){const t=e.EpF();e.TgZ(0,"a",41),e.NdJ("click",function(){return e.CHM(t),e.oxw().redirectForgetPass()}),e._uU(1,"Forgot Password?"),e.qZA()}}const M=[{path:"",component:(()=>{class o{constructor(t,n,s,r){this.http=t,this._router=n,this.elementRef=s,this.checkBrowser=r,this.login={Host:"",Username:"",Password:""},this.passwordType="password",this.passwordIcon="eye-off",this.getCookies();var c=JSON.parse(window.localStorage.getItem("user"));let O=new Date;null!=c&&new Date(c.expiredAt)>O&&this._router.navigate(["menu"])}ngOnInit(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="#dfeffc",this.browser=this.checkBrowser.getBrowserName()}ngOnDestroy(){this.elementRef.nativeElement.ownerDocument.body.style.backgroundColor="white"}getCookies(){let t=localStorage.getItem("Authorization");if(null!=t){let n=JSON.parse(t);this.login.Host=n.Host,this.login.Username=n.Username}}setAutoFocusDomain(){this.domainElementRef.nativeElement.focus()}setAutoFocusPass(){this.passElementRef.nativeElement.focus()}DoLogin(){this.http.post("/api/token/Login",this.login).subscribe(t=>{null!=t.access_token&&(window.localStorage.removeItem("user"),window.localStorage.setItem("user",JSON.stringify(t)),window.localStorage.removeItem("Intercom"),window.localStorage.setItem("Intercom",JSON.stringify(t.intercom)),window.localStorage.removeItem("channel"),window.localStorage.setItem("channel",JSON.stringify(t.channel)),window.localStorage.removeItem("Authorization"),window.localStorage.setItem("Authorization",JSON.stringify({Host:this.login.Host,Username:this.login.Username})),this._router.navigate(t.channel.length<1?["menu/channel"]:["menu"]))})}redirectForgetPass(){window.open(this.makeForgotPassLink(),"_blank")}makeForgotPassLink(){var t=this.login.Host;return"/"==t[t.length-1]&&(t=t.slice(0,-1)),t.includes("https://")||(t="https://"+t),t+"/ForgotPassword"}hideShowPassword(){this.passwordType="text"===this.passwordType?"password":"text",this.passwordIcon="eye-off"===this.passwordIcon?"eye":"eye-off"}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(m.O),e.Y36(g.F0),e.Y36(e.SBq),e.Y36(u.T))},o.\u0275cmp=e.Xpm({type:o,selectors:[["app-login"]],viewQuery:function(t,n){if(1&t&&(e.Gf(f,5),e.Gf(h,5)),2&t){let s;e.iGM(s=e.CRH())&&(n.domainElementRef=s.first),e.iGM(s=e.CRH())&&(n.passElementRef=s.first)}},decls:60,vars:9,consts:[[1,"container"],[1,"row","mt-5","mt-md-0","align-self-center"],[1,"col-12","col-md-7","text-center"],[1,"big-display","robotoslab","d-none","d-sm-block"],["src","https://res.cloudinary.com/pos/image/upload/w_650/v1602644673/Apps/Login/Marketplace.png","alt","integration-image",1,"img-fluid"],[1,"col-12","col-md-5","order-first","order-md-last"],[1,"big-display","text-center","my-5","py-5","robotoslab","d-block","d-sm-none"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"ml-2","font-weight-normal","font-xl","robotoslab"],[1,""],[1,"form-label-group"],["type","text","required","","name","Host","id","inputHost","placeholder","POS Domain (xyz.dealpos.com)","pattern","(https:\\/\\/)?\\w+.dealpos(.com|.net|.co.id)(\\/)?",1,"form-control","text-left",3,"ngModel","ngModelChange"],["domainAutoFocus","","domain","ngModel"],["for","inputHost",1,"text-left"],["class","text-danger",4,"ngIf"],["type","text","name","Username","id","inputUsername","placeholder","Username","required","",1,"form-control","text-left",3,"ngModel","ngModelChange"],["username","ngModel"],["for","inputUsername",1,"text-left"],[1,"form-label-group","mb-5","mb-sm-2"],["name","Password","id","inputPassword","placeholder","Password","required","",1,"form-control","text-left",3,"type","ngModel","ngModelChange"],["passAutoFocus","","password","ngModel"],["for","inputPassword",1,"text-left"],["class","passwordIcon fas fa-lg",3,"ngClass","click",4,"ngIf"],[1,"row","justify-content-between","align-items-center"],[1,"col-12","col-lg-auto","order-first","order-lg-last"],["href","",3,"click",4,"ngIf"],[1,"col-12","col-lg-5","order-last","order-lg-last"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-primary","btn-block","font125rem","robotoslab",3,"click"],[1,"col-12","d-block","d-md-none","text-center"],[1,"pt-1rem","mr-3"],["target","_blank","href","https://www.dealpos.com"],["src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png","alt","dealpos-logo",1,"img-fluid"],["target","_blank","href","https://changelog.dealpos.com/?categories=cat_nILYcoEQzgGWX&view=complete",1,"pt-1rem","font-italic"],[1,"mx-5","pb-5","mb-5","d-none","d-md-block"],[1,"col-auto","d-inline-flex"],[1,"col-auto"],[1,"text-danger"],[4,"ngIf"],[1,"passwordIcon","fas","fa-lg",3,"ngClass","click"],["href","",3,"click"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"h1",3),e._uU(4,"DealPOS x Marketplace"),e.qZA(),e._UZ(5,"img",4),e.qZA(),e.TgZ(6,"div",5),e.TgZ(7,"h1",6),e._uU(8,"DealPOS x Marketplace"),e.qZA(),e.TgZ(9,"div",7),e.TgZ(10,"div",8),e.TgZ(11,"div",9),e.TgZ(12,"h2",10),e._uU(13,"Sign in"),e.qZA(),e.qZA(),e.TgZ(14,"form",11),e.TgZ(15,"div",12),e.TgZ(16,"input",13,14),e.NdJ("ngModelChange",function(r){return n.login.Host=r}),e.qZA(),e.TgZ(19,"label",15),e._uU(20,"POS Domain (xyz.dealpos.com)"),e.qZA(),e.qZA(),e.YNc(21,w,3,2,"div",16),e.TgZ(22,"div",12),e.TgZ(23,"input",17,18),e.NdJ("ngModelChange",function(r){return n.login.Username=r}),e.qZA(),e.TgZ(25,"label",19),e._uU(26,"Username"),e.qZA(),e.qZA(),e.YNc(27,C,2,1,"div",16),e.TgZ(28,"div",20),e.TgZ(29,"input",21,22),e.NdJ("ngModelChange",function(r){return n.login.Password=r}),e.qZA(),e.TgZ(32,"label",23),e._uU(33,"Password"),e.qZA(),e.YNc(34,A,1,4,"i",24),e.qZA(),e.YNc(35,v,2,1,"div",16),e.TgZ(36,"div",25),e.TgZ(37,"div",26),e.YNc(38,y,2,0,"a",27),e.qZA(),e.TgZ(39,"div",28),e.TgZ(40,"button",29),e.NdJ("click",function(){return n.DoLogin()}),e._uU(41,"Log in"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(42,"div",30),e.TgZ(43,"p",31),e._uU(44,"Powered by : "),e.qZA(),e.TgZ(45,"a",32),e._UZ(46,"img",33),e.qZA(),e._UZ(47,"br"),e.TgZ(48,"a",34),e._uU(49,"Version 2.0.0"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(50,"footer",35),e.TgZ(51,"div",25),e.TgZ(52,"div",36),e.TgZ(53,"p",31),e._uU(54,"Powered by : "),e.qZA(),e.TgZ(55,"a",32),e._UZ(56,"img",33),e.qZA(),e.qZA(),e.TgZ(57,"div",37),e.TgZ(58,"a",34),e._uU(59,"Version 2.0.0"),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t){const s=e.MAs(18),r=e.MAs(24),c=e.MAs(31);e.xp6(16),e.Q6J("ngModel",n.login.Host),e.xp6(5),e.Q6J("ngIf",s.invalid&&(s.dirty||s.touched)),e.xp6(2),e.Q6J("ngModel",n.login.Username),e.xp6(4),e.Q6J("ngIf",r.invalid&&(r.dirty||r.touched)),e.xp6(2),e.Q6J("type",n.passwordType)("ngModel",n.login.Password),e.xp6(5),e.Q6J("ngIf",""!=n.login.Password&&"edge"!=n.browser),e.xp6(1),e.Q6J("ngIf",c.invalid&&(c.dirty||c.touched)),e.xp6(3),e.Q6J("ngIf",s.valid)}},directives:[a._Y,a.JL,a.F,a.Fj,a.Q7,a.c5,a.JJ,a.On,d.O5,d.mk],styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}"]}),o})(),data:{title:"Dealpos x Marketplace"}},{path:"shopee",component:(()=>{class o{constructor(t,n,s){this.route=t,this.http=n,this.service=s}ngOnInit(){this.route.queryParams.subscribe(t=>{this.shopID=t.shop_id,this.code=t.code})}addShopee(){let t={ShopID:Number(this.shopID),Code:this.code};this.http.post(null==this.code?"/api/Channel/AddShopee":"/api/Channel/AddShopeeV2",t).subscribe(s=>{this.service.navigate(["/menu/channel"])})}}return o.\u0275fac=function(t){return new(t||o)(e.Y36(g.gz),e.Y36(m.O),e.Y36(g.F0))},o.\u0275cmp=e.Xpm({type:o,selectors:[["app-success"]],decls:20,vars:1,consts:[[1,"container"],[1,"row","d-flex","justify-content-center"],[1,"col-md-4"],[1,"card"],[1,"card-header","text-center"],[1,"far","fa-check-circle","text-success",2,"font-size","115px"],[1,"h3","font-weight-bold"],[1,"card-body","text-center"],[1,"text-shopee","font-weight-bold"],["type","button",1,"btn","btn-success","mt-5",3,"click"],[1,"fas","fa-undo"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e.TgZ(1,"div",1),e.TgZ(2,"div",2),e.TgZ(3,"div",3),e.TgZ(4,"div",4),e._UZ(5,"i",5),e.TgZ(6,"div",6),e._uU(7,"Success !"),e.qZA(),e.qZA(),e.TgZ(8,"div",7),e.TgZ(9,"div"),e._uU(10,"You have successfully authorized "),e.qZA(),e.TgZ(11,"div"),e._uU(12,"DEALPOS to manage your Shopee"),e.qZA(),e.TgZ(13,"div"),e._uU(14," Your shopID is "),e.TgZ(15,"span",8),e._uU(16),e.qZA(),e.qZA(),e.TgZ(17,"button",9),e.NdJ("click",function(){return n.addShopee()}),e._UZ(18,"i",10),e._uU(19," Add to my Channel"),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.xp6(16),e.Oqu(n.shopID))},styles:[".container[_ngcontent-%COMP%]{position:absolute;max-width:100%}.card[_ngcontent-%COMP%]{margin-bottom:30px;padding-bottom:5px;padding-top:5px}.passwordIcon[_ngcontent-%COMP%]{top:1.5rem;right:.5rem;position:absolute;margin:0 auto!important;cursor:pointer}.big-display[_ngcontent-%COMP%]{font-size:2rem;font-weight:300;line-height:1.2}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:70%;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.big-display[_ngcontent-%COMP%]{font-size:3rem}}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{height:100%}body[_ngcontent-%COMP%]{display:flex;align-items:center;padding-top:40px;padding-bottom:40px}footer[_ngcontent-%COMP%]{position:absolute;bottom:0;width:90%;left:3rem}.pt-1rem[_ngcontent-%COMP%]{padding-top:1rem}.form-label-group[_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#666}.font-xl[_ngcontent-%COMP%]{font-size:x-large}.font125rem[_ngcontent-%COMP%]{font-size:1.25rem}.robotoslab[_ngcontent-%COMP%]{font-family:Roboto Slab}.form-signin[_ngcontent-%COMP%]{max-width:600px}.card[_ngcontent-%COMP%]{font:100 14px/25px Roboto,Helvetica Neue,sans-serif;border-radius:13px;box-sizing:border-box}.text-shopee[_ngcontent-%COMP%]{color:#f53d2d}"]}),o})(),data:{title:"Success"}}];let P=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[g.Bz.forChild(M)],g.Bz]}),o})(),q=(()=>{class o{}return o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({providers:[],imports:[[d.ez,a.u5,P]]}),o})()}}]);
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// Scales for responsive SVG containers
|
|
2
|
-
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
|
|
4
|
+
$ct-scales: ((1), math.div(15, 16), math.div(8, 9), math.div(5, 6), (4*0.2), (3*0.25), math.div(2, 3), (5*0.125), math.div(1, 1.618), (3*0.2), math.div(9, 16), math.div(8, 15), (1*0.5), (2*0.2), (3*0.125), math.div(1, 3), (1*0.25)) !default;
|
|
3
5
|
$ct-scales-names: (ct-square, ct-minor-second, ct-major-second, ct-minor-third, ct-major-third, ct-perfect-fourth, ct-perfect-fifth, ct-minor-sixth, ct-golden-section, ct-major-sixth, ct-minor-seventh, ct-major-seventh, ct-octave, ct-major-tenth, ct-major-eleventh, ct-major-twelfth, ct-double-octave) !default;
|
|
4
6
|
|
|
5
7
|
// Class names to be used when generating CSS
|
|
@@ -24,7 +26,7 @@ $ct-class-start: ct-start !default;
|
|
|
24
26
|
$ct-class-end: ct-end !default;
|
|
25
27
|
|
|
26
28
|
// Container ratio
|
|
27
|
-
$ct-container-ratio: (1
|
|
29
|
+
$ct-container-ratio: math.div(1, 1.618) !default;
|
|
28
30
|
|
|
29
31
|
// Text styles for labels
|
|
30
32
|
$ct-text-color: rgba(0, 0, 0, 0.4) !default;
|
package/Marketplace/index.html
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
<meta
|
|
5
|
-
<meta http-equiv="
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
<link
|
|
13
|
-
<link href="
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</html>
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head>
|
|
2
|
+
<meta charset="utf-8">
|
|
3
|
+
<meta http-equiv="Cache-control" content="no-cache, no-store, must-revalidate">
|
|
4
|
+
<meta http-equiv="Pragma" content="no-cache">
|
|
5
|
+
<meta http-equiv="Expires" content="0">
|
|
6
|
+
<title>DealPOS Omnichannel AddOns - Integrasi banyak account marketplace</title>
|
|
7
|
+
<base href="/">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
<meta name="description" content="Aplikasi manajemen Omnichannel untuk kelola banyak akun marketplace dalam satu platform. Lebih mudah memproses pesanan dan mengelola inventory.">
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
11
|
+
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,700|Roboto+Slab:400,700" rel="stylesheet" type="text/css">
|
|
12
|
+
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
13
|
+
<link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">
|
|
14
|
+
<script>
|
|
15
|
+
(function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/xv1oomgl'; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })();
|
|
16
|
+
</script>
|
|
17
|
+
<style>@charset "UTF-8";:root{--blue:#337ab7;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#c9302c;--orange:#f6a828;--yellow:#ffc107;--green:#89b03e;--teal:#20c997;--cyan:#17a2b8;--white:#ffffff;--gray:#6c757d;--gray-dark:#343a40;--primary:#337ab7;--secondary:#cccccc;--success:#89b03e;--info:#17a2b8;--warning:#f6a828;--danger:#c9302c;--light:#dddddd;--dark:#4d4d4d;--light-gray:rgba(203, 203, 210, .15);--light-blue:#dfeffc;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-family-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0;font-family:Roboto,sans-serif;font-size:.75rem;font-weight:400;line-height:1.5;color:#333;text-align:left;background-color:#fff}@media (max-width: 991px){body{position:relative}}html,body{height:100%}@media print{html,body{height:auto}body{color:#000!important}}</style><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/styles.ccb12818b864d950.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/styles.ccb12818b864d950.css"></noscript></head>
|
|
18
|
+
<body>
|
|
19
|
+
<app-root></app-root>
|
|
20
|
+
<script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/runtime.c28f8a07bf5a45a3.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/polyfills.2329f3f8d324fc9f.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/scripts.16aad1e03d4e6f23.js" defer></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.0.0/Marketplace/main.0ab2517db819fba3.js" type="module"></script>
|
|
21
|
+
|
|
22
|
+
</body></html>
|