marketplacepos 2.1.7 → 2.1.8
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/22.3ed8be5eefce7800.js +1 -0
- package/Marketplace/279.99f72f2db907a0bb.js +1 -0
- package/Marketplace/365.f9ccbbdc3ddf6406.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +1 -1
- package/Marketplace/assets/bootstrap_light.scss +1 -1
- package/Marketplace/assets/variables-custom.scss +191 -0
- package/Marketplace/assets/version-adjustment-v5.scss +278 -0
- package/Marketplace/index.html +2 -2
- package/Marketplace/main.7096164b30c14167.js +1 -0
- package/Marketplace/polyfills.04dd6d83022797c4.js +1 -0
- package/Marketplace/runtime.014fe9715bc16791.js +1 -0
- package/Marketplace/scripts.512baec01df5d79f.js +1 -0
- package/Marketplace/styles.2acb2f61cf99c19d.css +39 -0
- package/package.json +1 -1
- package/Marketplace/143.60841860c7f5e036.js +0 -1
- package/Marketplace/22.cc9b231b5b7424fa.js +0 -1
- package/Marketplace/365.1282604dd7869f3c.js +0 -1
- package/Marketplace/main.c1d8f1dac6829362.js +0 -1
- package/Marketplace/polyfills.2329f3f8d324fc9f.js +0 -1
- package/Marketplace/runtime.4f3c11c5b6fe4dbc.js +0 -1
- package/Marketplace/scripts.f38feaf3ca659cd2.js +0 -1
- package/Marketplace/styles.9fc4133a42f1c4ea.css +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[365],{4810:(Ee,b,c)=>{c.d(b,{T:()=>A});var o=c(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,c)=>{c.d(b,{D:()=>x});var o=c(2916),A=c(6688),y=c(4850),O=c(7830),p=c(5254);function x(...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 B=0,M=0;for(let m=0;m<v;m++){const P=(0,p.D)(a[m]);let l=!1;f.add(P.subscribe({next:h=>{l||(l=!0,M++),F[m]=h},error:h=>f.error(h),complete:()=>{B++,(B===v||!l)&&(M===v&&f.next(g?g.reduce((h,J,K)=>(h[J]=F[K],h),{}):F),f.complete())}}))}})}},3075:(Ee,b,c)=>{c.d(b,{Cf:()=>l,F:()=>W,Fj:()=>M,JJ:()=>ze,JL:()=>Je,JU:()=>a,NI:()=>de,On:()=>fe,Q7:()=>$,UX:()=>_n,Wl:()=>f,Zs:()=>Ve,_Y:()=>ct,a5:()=>C,c5:()=>Me,gN:()=>d,kI:()=>K,oH:()=>me,on:()=>Ae,sg:()=>Y,u5:()=>mn,wV:()=>pe});var o=c(5e3),A=c(9808),y=c(5254),O=c(567),p=c(4850);let x=(()=>{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 x{}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},B=new o.OlP("CompositionEventMode");let M=(()=>{class n extends x{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(B,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 P(n){return null!=n&&"number"==typeof n.length}const l=new o.OlP("NgValidators"),h=new o.OlP("NgAsyncValidators"),J=/^(?=.{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 K{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)||!P(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=>P(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)||J.test(n.value)?null:{email:!0}}function xe(n){if(!n)return k;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 k(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 Ie(n,t){return t.map(e=>e(n))}function Te(n){return n.map(t=>function Et(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(Ie(e,t))}}function Q(n){return null!=n?Re(Te(n)):null}function Ue(n){if(!n)return null;const t=n.filter(Be);return 0==t.length?null:function(e){const r=Ie(e,t).map(Pe);return(0,O.D)(r).pipe((0,p.U)(ke))}}function Z(n){return null!=n?Ue(Te(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 X(n){return n?Array.isArray(n)?n:[n]:[]}function I(n,t){return Array.isArray(n)?n.includes(t):n===t}function qe(n,t){const e=X(t);return X(n).forEach(i=>{I(e,i)||e.push(i)}),e}function We(n,t){return X(t).filter(e=>!I(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=Q(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Z(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 w(n,t){ne(n,t),t.valueAccessor.writeValue(n.value),function xt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Qe(n,t)})}(n,t),function Pt(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 Bt(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Qe(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Gt(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 ne(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(u=>u!==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(u=>u!==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){ne(n,t)}function re(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function et(n,t){n._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function oe(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 ie(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}const N="VALID",L="INVALID",E="PENDING",S="DISABLED";function ae(n){return(q(n)?n.validators:n)||null}function tt(n){return Array.isArray(n)?Q(n):n||null}function le(n,t){return(q(t)?t.asyncValidators:n)||null}function nt(n){return Array.isArray(n)?Z(n):n||null}function q(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}const rt=n=>n instanceof de,ue=n=>n instanceof he;function ot(n){return rt(n)?n.value:n.getRawValue()}function it(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 st(n,t){ue(n),n._forEachChild((r,i)=>{if(void 0===t[i])throw new o.vHH(1002,"")})}class ce{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=tt(this._rawValidators),this._composedAsyncValidatorFn=nt(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===N}get invalid(){return this.status===L}get pending(){return this.status==E}get disabled(){return this.status===S}get enabled(){return this.status!==S}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=tt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(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 I(this._rawValidators,t)}hasAsyncValidator(t){return I(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=E,!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=S,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=N,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===N||this.status===E)&&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()?S:N}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=E,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 Rt(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 jt)(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()?S:this.errors?L:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(E)?E:this._anyControlsHaveStatus(L)?L:N}_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){q(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class de extends ce{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}),q(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){ie(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ie(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 ce{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={}){st(this,t),Object.keys(t).forEach(r=>{it(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]=ot(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 jt extends ce{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={}){st(this,t),t.forEach((r,i)=>{it(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=>ot(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 Ht={provide:d,useExisting:(0,o.Gpc)(()=>W)},G=(()=>Promise.resolve(null))();let W=(()=>{class n extends d{constructor(e,r){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new he({},Q(e),Z(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){G.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),w(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){G.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){G.then(()=>{const r=this._findContainer(e.path),i=new he({});Ze(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){G.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){G.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,et(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(h,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([Ht]),o.qOj]}),n})();const qt={provide:C,useExisting:(0,o.Gpc)(()=>fe)},ut=(()=>Promise.resolve(null))();let fe=(()=>{class n extends C{constructor(e,r,i,s,u){super(),this._changeDetectorRef=u,this.control=new de,this._registered=!1,this.update=new o.vpe,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=oe(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),re(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(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(){w(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){ut.then(()=>{var r;this.control.setValue(e,{emitViewToModelChange:!1}),null===(r=this._changeDetectorRef)||void 0===r||r.markForCheck()})}_updateDisabled(e){const r=e.isDisabled.currentValue,i=""===r||r&&"false"!==r;ut.then(()=>{var s;i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?function R(n,t){return[...t.path,n]}(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(d,9),o.Y36(l,10),o.Y36(h,10),o.Y36(a,10),o.Y36(o.sBO,8))},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([qt]),o.qOj,o.TTD]}),n})(),ct=(()=>{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 Wt={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([Wt]),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"),Jt={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=oe(0,i)}set isDisabled(e){}ngOnChanges(e){if(this._isControlChanged(e)){const r=e.form.previousValue;r&&U(r,this,!1),w(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}re(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(h,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([Jt]),o.qOj,o.TTD]}),n})();const Kt={provide:d,useExisting:(0,o.Gpc)(()=>Y)};let Y=(()=>{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 w(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),ie(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,et(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),rt(i)&&(w(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 kt(n,t){return H(n,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ne(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(h,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([Kt]),o.qOj,o.TTD]}),n})(),D=(()=>{class n{constructor(){this._validator=k}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):k,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 cn={provide:l,useExisting:(0,o.Gpc)(()=>$),multi:!0},dn={provide:l,useExisting:(0,o.Gpc)(()=>Ve),multi:!0};let $=(()=>{class n extends D{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function an(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([cn]),o.qOj]}),n})(),Ve=(()=>{class n extends ${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 hn={provide:l,useExisting:(0,o.Gpc)(()=>Ae),multi:!0};let Ae=(()=>{class n extends D{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([hn]),o.qOj]}),n})();const gn={provide:l,useExisting:(0,o.Gpc)(()=>Me),multi:!0};let Me=(()=>{class n extends D{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>xe(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:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("pattern",r._enabled?r.pattern:null)},inputs:{pattern:"pattern"},features:[o._Bn([gn]),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({imports:[[dt]]}),n})(),mn=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[Dt]}),n})(),_n=(()=>{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:[Dt]}),n})()}}]);
|
|
@@ -469,7 +469,7 @@ zone.js
|
|
|
469
469
|
MIT
|
|
470
470
|
The MIT License
|
|
471
471
|
|
|
472
|
-
Copyright (c) 2010-
|
|
472
|
+
Copyright (c) 2010-2022 Google LLC. https://angular.io/license
|
|
473
473
|
|
|
474
474
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
475
475
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
@import "~bootstrap/scss/functions";
|
|
2
|
+
// scss-docs-start color-variables
|
|
3
|
+
$body-color: #333333;
|
|
4
|
+
$blue: #337ab7;
|
|
5
|
+
$gray-600: #cccccc;
|
|
6
|
+
$green: #89b03e;
|
|
7
|
+
$light:#dddddd;
|
|
8
|
+
$red: #c9302c;
|
|
9
|
+
$gray-100: #dddddd;
|
|
10
|
+
$gray-900: #4d4d4d;
|
|
11
|
+
$dark: #4d4d4d;
|
|
12
|
+
$orange: #f6a828;
|
|
13
|
+
$white: #ffffff;
|
|
14
|
+
$info: #17a2b8;
|
|
15
|
+
|
|
16
|
+
// pos-web color-variables
|
|
17
|
+
$header-color: #3b3b3b;
|
|
18
|
+
$light-blue: #f7f7f8;
|
|
19
|
+
$light-gray: rgba(203, 203, 210, 0.15);
|
|
20
|
+
$gradient-danger: repeating-linear-gradient(
|
|
21
|
+
-60deg,
|
|
22
|
+
#f8d7da,
|
|
23
|
+
#f8d7da 15px,
|
|
24
|
+
#f5c6cb 15px,
|
|
25
|
+
#f5c6cb 30px
|
|
26
|
+
);
|
|
27
|
+
$gradient-warning: repeating-linear-gradient(
|
|
28
|
+
-60deg,
|
|
29
|
+
#fcf3cf,
|
|
30
|
+
#fcf3cf 15px,
|
|
31
|
+
#f9e79f 15px,
|
|
32
|
+
#f9e79f 30px
|
|
33
|
+
);
|
|
34
|
+
$gray-secondary: #cccccc;
|
|
35
|
+
|
|
36
|
+
// stylelint-enable value-keyword-case
|
|
37
|
+
$font-family-base: 'Roboto', sans-serif;
|
|
38
|
+
$headings-font-family: 'Roboto Slab', serif;
|
|
39
|
+
|
|
40
|
+
// scss-docs-start font-variables
|
|
41
|
+
$font-size-base: 0.75rem;
|
|
42
|
+
|
|
43
|
+
$h1-font-size: 1.375rem; //22px
|
|
44
|
+
$h2-font-size: 1.25rem; //20px
|
|
45
|
+
$h3-font-size: 1.125rem; //18px
|
|
46
|
+
$h4-font-size: 1rem; //16px
|
|
47
|
+
$h5-font-size: 0.875rem; //14px
|
|
48
|
+
$h6-font-size: 0.75rem; //12px
|
|
49
|
+
|
|
50
|
+
// pos-web font-variables
|
|
51
|
+
$headings-font-weight: 700;
|
|
52
|
+
|
|
53
|
+
// scss-docs-start spacer-variables-maps
|
|
54
|
+
$spacer: 0.125rem;
|
|
55
|
+
$spacers: (
|
|
56
|
+
0: 0,
|
|
57
|
+
1: $spacer,
|
|
58
|
+
2: $spacer * 2,
|
|
59
|
+
3: $spacer * 3,
|
|
60
|
+
4: $spacer * 4,
|
|
61
|
+
5: $spacer * 5,
|
|
62
|
+
6: $spacer * 6,
|
|
63
|
+
7: $spacer * 7,
|
|
64
|
+
8: $spacer * 8,
|
|
65
|
+
9: $spacer * 9,
|
|
66
|
+
10: $spacer * 10,
|
|
67
|
+
11: $spacer * 11,
|
|
68
|
+
12: $spacer * 12,
|
|
69
|
+
);
|
|
70
|
+
|
|
71
|
+
// Style anchor elements.
|
|
72
|
+
$link-color:#0976b4;
|
|
73
|
+
|
|
74
|
+
// scss-docs-start type-variables
|
|
75
|
+
$text-muted: #9a9a9a;
|
|
76
|
+
|
|
77
|
+
// scss-docs-start btn-variables
|
|
78
|
+
$btn-padding-y: 0.625rem;
|
|
79
|
+
$btn-padding-x: 0.9375rem;
|
|
80
|
+
|
|
81
|
+
// scss-docs-start dropdown-variables
|
|
82
|
+
$dropdown-item-padding-y: .5rem;
|
|
83
|
+
$dropdown-item-padding-x: 1rem;
|
|
84
|
+
$dropdown-link-color: $body-color;
|
|
85
|
+
$dropdown-link-active-bg: transparent;
|
|
86
|
+
$dropdown-link-active-color: inherit;
|
|
87
|
+
|
|
88
|
+
// scss-docs-start table-variables
|
|
89
|
+
$table-cell-padding-y: 12px;
|
|
90
|
+
$table-cell-padding-x: 8px;
|
|
91
|
+
$table-border-color: $light;
|
|
92
|
+
|
|
93
|
+
// scss-docs-start form-input-variables
|
|
94
|
+
$input-focus-box-shadow: none;
|
|
95
|
+
$input-border-radius:0px;
|
|
96
|
+
$input-border-radius-lg: 1px;
|
|
97
|
+
|
|
98
|
+
// scss-docs-start input-group-variables
|
|
99
|
+
$input-group-addon-bg: white;
|
|
100
|
+
|
|
101
|
+
// scss-docs-start card-variables
|
|
102
|
+
$card-cap-bg: $white;
|
|
103
|
+
$card-spacer-x: 0.9375rem;
|
|
104
|
+
|
|
105
|
+
// scss-docs-start border-variables
|
|
106
|
+
$border: 1px solid $light;
|
|
107
|
+
|
|
108
|
+
@import "~bootstrap/scss/variables";
|
|
109
|
+
@import "~bootstrap/scss/mixins";
|
|
110
|
+
|
|
111
|
+
// scss-docs-start colors-map
|
|
112
|
+
// known issue, should not make bg-light-gray: https://github.com/twbs/bootstrap/issues/34756
|
|
113
|
+
// this issue will be supposedly fixed in Bootstrap 5.2.0: https://github.com/twbs/bootstrap/issues/35815
|
|
114
|
+
$light-gray-map: (
|
|
115
|
+
"light-gray": $light-gray
|
|
116
|
+
);
|
|
117
|
+
$theme-colors: map-merge($theme-colors, $light-gray-map);
|
|
118
|
+
// pos-web bg-*
|
|
119
|
+
.bg-light-gray {
|
|
120
|
+
background-color: var(--bs-light-gray);
|
|
121
|
+
--bs-bg-opacity: 0.15 !important;
|
|
122
|
+
}
|
|
123
|
+
.bg-gradient-danger {
|
|
124
|
+
background: repeating-linear-gradient(-60deg, #f8d7da, #f8d7da 15px, #f5c6cb 15px, #f5c6cb 30px) !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.bg-gradient-success {
|
|
128
|
+
background: repeating-linear-gradient(-60deg,#28a745,#28a745 15px,#a2dbb0 15px,#a2dbb0 30px) !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.bg-gradient-warning {
|
|
132
|
+
background: repeating-linear-gradient(-60deg,#FCF3CF,#FCF3CF 15px,#F9E79F 15px,#F9E79F 30px) !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// pos-web text-*
|
|
136
|
+
.text-primary {
|
|
137
|
+
color: #0976b4 !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.text-danger {
|
|
141
|
+
color: #fb404b !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.text-dark {
|
|
145
|
+
color: #5e5e5e !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.text-success {
|
|
149
|
+
color: #87cb16 !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.text-black {
|
|
153
|
+
color: black !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// pos-web btn-*
|
|
157
|
+
.btn-light-blue {
|
|
158
|
+
color: #212529;
|
|
159
|
+
background-color: #dfeffc !important;
|
|
160
|
+
border-color: #dfeffc;
|
|
161
|
+
}
|
|
162
|
+
.btn-light-blue:hover {
|
|
163
|
+
color: #212529;
|
|
164
|
+
background-color: #bcdef9;
|
|
165
|
+
border-color: #b0d8f8;
|
|
166
|
+
}
|
|
167
|
+
.btn-light-blue:focus,
|
|
168
|
+
.btn-light-blue.focus {
|
|
169
|
+
color: #212529;
|
|
170
|
+
background-color: #bcdef9;
|
|
171
|
+
border-color: #b0d8f8;
|
|
172
|
+
box-shadow: 0 0 0 0.2rem rgba(195, 209, 220, 0.5);
|
|
173
|
+
}
|
|
174
|
+
.btn-light-blue.disabled,
|
|
175
|
+
.btn-light-blue:disabled {
|
|
176
|
+
color: #212529;
|
|
177
|
+
background-color: #dfeffc;
|
|
178
|
+
border-color: #dfeffc;
|
|
179
|
+
}
|
|
180
|
+
.btn-light-blue:not(:disabled):not(.disabled):active,
|
|
181
|
+
.btn-light-blue:not(:disabled):not(.disabled).active,
|
|
182
|
+
.show > .btn-light-blue.dropdown-toggle {
|
|
183
|
+
color: #212529;
|
|
184
|
+
background-color: #b0d8f8;
|
|
185
|
+
border-color: #a5d2f7;
|
|
186
|
+
}
|
|
187
|
+
.btn-light-blue:not(:disabled):not(.disabled):active:focus,
|
|
188
|
+
.btn-light-blue:not(:disabled):not(.disabled).active:focus,
|
|
189
|
+
.show > .btn-light-blue.dropdown-toggle:focus {
|
|
190
|
+
box-shadow: 0 0 0 0.2rem rgba(195, 209, 220, 0.5);
|
|
191
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
/* Toaster adjustment */
|
|
2
|
+
// Position
|
|
3
|
+
.toast-center-center {
|
|
4
|
+
top: 50%;
|
|
5
|
+
left: 50%;
|
|
6
|
+
transform: translate(-50%, -50%);
|
|
7
|
+
}
|
|
8
|
+
.toast-top-center {
|
|
9
|
+
top: 0;
|
|
10
|
+
right: 0;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
.toast-bottom-center {
|
|
14
|
+
bottom: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.toast-top-full-width {
|
|
19
|
+
top: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
.toast-bottom-full-width {
|
|
24
|
+
bottom: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
}
|
|
28
|
+
.toast-top-left {
|
|
29
|
+
top: 12px;
|
|
30
|
+
left: 12px;
|
|
31
|
+
}
|
|
32
|
+
.toast-top-right {
|
|
33
|
+
top: 12px;
|
|
34
|
+
right: 12px;
|
|
35
|
+
}
|
|
36
|
+
.toast-bottom-right {
|
|
37
|
+
right: 12px;
|
|
38
|
+
bottom: 12px;
|
|
39
|
+
}
|
|
40
|
+
.toast-bottom-left {
|
|
41
|
+
bottom: 12px;
|
|
42
|
+
left: 12px;
|
|
43
|
+
}
|
|
44
|
+
.toast-container.toast-top-center .ngx-toastr,
|
|
45
|
+
.toast-container.toast-bottom-center .ngx-toastr {
|
|
46
|
+
width: 300px;
|
|
47
|
+
margin-left: auto;
|
|
48
|
+
margin-right: auto;
|
|
49
|
+
}
|
|
50
|
+
.toast-container.toast-top-full-width .ngx-toastr,
|
|
51
|
+
.toast-container.toast-bottom-full-width .ngx-toastr {
|
|
52
|
+
width: 96%;
|
|
53
|
+
margin-left: auto;
|
|
54
|
+
margin-right: auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Toast
|
|
58
|
+
.toast-container {
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
position: fixed;
|
|
61
|
+
z-index: 999999;
|
|
62
|
+
|
|
63
|
+
.ngx-toastr {
|
|
64
|
+
// @include border-radius($alert-border-radius);
|
|
65
|
+
position: relative;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
margin: 0 0 6px;
|
|
68
|
+
padding: 0.75rem 1.25rem 0.75rem 50px;
|
|
69
|
+
width: 300px;
|
|
70
|
+
background-position: 15px center;
|
|
71
|
+
background-repeat: no-repeat;
|
|
72
|
+
background-size: 24px;
|
|
73
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
|
|
74
|
+
pointer-events: auto;
|
|
75
|
+
|
|
76
|
+
.toast-title {
|
|
77
|
+
font-weight: bold;
|
|
78
|
+
}
|
|
79
|
+
.toast-message {
|
|
80
|
+
word-wrap: break-word;
|
|
81
|
+
}
|
|
82
|
+
.toast-message a:hover {
|
|
83
|
+
text-decoration: underline;
|
|
84
|
+
}
|
|
85
|
+
.toast-close-button {
|
|
86
|
+
position: relative;
|
|
87
|
+
right: -0.3em;
|
|
88
|
+
top: -0.3em;
|
|
89
|
+
float: right;
|
|
90
|
+
font-size: 20px;
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
color: inherit;
|
|
93
|
+
text-shadow: 0 1px 0 #fff;
|
|
94
|
+
opacity: 0.5;
|
|
95
|
+
background: transparent;
|
|
96
|
+
border: 0;
|
|
97
|
+
padding: 0;
|
|
98
|
+
}
|
|
99
|
+
.toast-progress {
|
|
100
|
+
position: absolute;
|
|
101
|
+
left: 0;
|
|
102
|
+
bottom: 0;
|
|
103
|
+
height: 4px;
|
|
104
|
+
background-color: #000000;
|
|
105
|
+
opacity: 0.3;
|
|
106
|
+
}
|
|
107
|
+
.toast-close-button:hover,
|
|
108
|
+
.toast-close-button:focus {
|
|
109
|
+
color: #000000;
|
|
110
|
+
text-decoration: none;
|
|
111
|
+
cursor: pointer;
|
|
112
|
+
opacity: 0.75;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.ngx-toastr:hover {
|
|
116
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
|
117
|
+
opacity: 1;
|
|
118
|
+
cursor: pointer;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@function str-split($string, $separator) {
|
|
123
|
+
$split-arr: ();
|
|
124
|
+
// first index of separator in string
|
|
125
|
+
$index: str-index($string, $separator);
|
|
126
|
+
// loop through string
|
|
127
|
+
@while $index != null {
|
|
128
|
+
// get the substring from the first character to the separator
|
|
129
|
+
$item: str-slice($string, 1, $index - 1);
|
|
130
|
+
// push item to array
|
|
131
|
+
$split-arr: append($split-arr, $item);
|
|
132
|
+
// remove item and separator from string
|
|
133
|
+
$string: str-slice($string, $index + 1);
|
|
134
|
+
// find new index of separator
|
|
135
|
+
$index: str-index($string, $separator);
|
|
136
|
+
}
|
|
137
|
+
// add the remaining string to list (the last item)
|
|
138
|
+
$split-arr: append($split-arr, $string);
|
|
139
|
+
|
|
140
|
+
@return $split-arr;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@function svg-factory($fill-color, $viewbox, $path) {
|
|
144
|
+
$split: str-split($viewbox, " ");
|
|
145
|
+
$width: nth($split, 3);
|
|
146
|
+
$height: nth($split, 4);
|
|
147
|
+
|
|
148
|
+
// opacity is 0.9999 otherwise it uses a hex equivelent
|
|
149
|
+
// firefox requires fill rgb
|
|
150
|
+
@return "%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='" + $viewbox +
|
|
151
|
+
"' width='" + $width + "' height='" + $height + "'%3E%3Cpath fill='" +
|
|
152
|
+
rgba($fill-color, 0.999999) + "' d='" + $path + "'/%3E%3C/svg%3E";
|
|
153
|
+
}
|
|
154
|
+
@function svg-encode($svg) {
|
|
155
|
+
@return "data:image/svg+xml;charset=utf8," + $svg;
|
|
156
|
+
}
|
|
157
|
+
.toast-success {
|
|
158
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/solid/check.svg */
|
|
159
|
+
background-image: url(svg-encode(
|
|
160
|
+
svg-factory(
|
|
161
|
+
$success,
|
|
162
|
+
"0 0 512 512",
|
|
163
|
+
"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"
|
|
164
|
+
)
|
|
165
|
+
));
|
|
166
|
+
color: $success;
|
|
167
|
+
background-color: $success;
|
|
168
|
+
border: 1px solid $success;
|
|
169
|
+
}
|
|
170
|
+
.toast-error {
|
|
171
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/solid/times-circle.svg */
|
|
172
|
+
background-image: url(svg-encode(
|
|
173
|
+
svg-factory(
|
|
174
|
+
$danger,
|
|
175
|
+
"0 0 512 512",
|
|
176
|
+
"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"
|
|
177
|
+
)
|
|
178
|
+
));
|
|
179
|
+
color: $danger;
|
|
180
|
+
background-color: $danger;
|
|
181
|
+
border: 1px solid $danger;
|
|
182
|
+
}
|
|
183
|
+
.toast-info {
|
|
184
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/solid/info-circle.svg */
|
|
185
|
+
background-image: url(svg-encode(
|
|
186
|
+
svg-factory(
|
|
187
|
+
$info,
|
|
188
|
+
"0 0 512 512",
|
|
189
|
+
"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"
|
|
190
|
+
)
|
|
191
|
+
));
|
|
192
|
+
color: $info;
|
|
193
|
+
background-color: $info;
|
|
194
|
+
border: 1px solid $info;
|
|
195
|
+
}
|
|
196
|
+
.toast-warning {
|
|
197
|
+
/* https://github.com/FortAwesome/Font-Awesome-Pro/blob/master/advanced-options/raw-svg/solid/exclamation-triangle.svg */
|
|
198
|
+
background-image: url(svg-encode(
|
|
199
|
+
svg-factory(
|
|
200
|
+
$warning,
|
|
201
|
+
"0 0 576 512",
|
|
202
|
+
"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
|
|
203
|
+
)
|
|
204
|
+
));
|
|
205
|
+
color: $warning;
|
|
206
|
+
background-color: $warning;
|
|
207
|
+
border: 1px solid $warning;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// Responsive Design
|
|
211
|
+
@media all and (max-width: 240px) {
|
|
212
|
+
.toast-container .ngx-toastr.div {
|
|
213
|
+
padding: 8px 8px 8px 50px;
|
|
214
|
+
width: 11em;
|
|
215
|
+
}
|
|
216
|
+
.toast-container .toast-close-button {
|
|
217
|
+
right: -0.2em;
|
|
218
|
+
top: -0.2em;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
@media all and (min-width: 241px) and (max-width: 480px) {
|
|
222
|
+
.toast-container .ngx-toastr.div {
|
|
223
|
+
padding: 8px 8px 8px 50px;
|
|
224
|
+
width: 18em;
|
|
225
|
+
}
|
|
226
|
+
.toast-container .toast-close-button {
|
|
227
|
+
right: -0.2em;
|
|
228
|
+
top: -0.2em;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
@media all and (min-width: 481px) and (max-width: 768px) {
|
|
232
|
+
.toast-container .ngx-toastr.div {
|
|
233
|
+
padding: 15px 15px 15px 50px;
|
|
234
|
+
width: 25em;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.btn-outline-info:not(:disabled):not(.disabled):active,
|
|
239
|
+
.btn-outline-info:not(:disabled):not(.disabled).active,
|
|
240
|
+
.show > .btn-outline-info.dropdown-toggle {
|
|
241
|
+
color: #ffffff !important;
|
|
242
|
+
background-color: #17a2b8;
|
|
243
|
+
border-color: #17a2b8;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.btn-outline-info {
|
|
247
|
+
color: #17a2b8 !important;
|
|
248
|
+
border-color: #17a2b8 !important;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.g-0 {
|
|
252
|
+
--bs-gutter-x: 0;
|
|
253
|
+
--bs-gutter-y: 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.card-body {
|
|
257
|
+
padding: 0.9375rem;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.alert {
|
|
261
|
+
padding: 0.75rem 1.25rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.table-light,
|
|
265
|
+
.table-light > th,
|
|
266
|
+
.table-light > td {
|
|
267
|
+
--bs-table-bg: whitesmoke;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
.table > :not(:first-child) {
|
|
273
|
+
border-top: none !important;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.table-sm th, .table-sm td {
|
|
277
|
+
padding: 0.3rem !important;
|
|
278
|
+
}
|
package/Marketplace/index.html
CHANGED
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
<script>
|
|
15
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
16
|
</script>
|
|
17
|
-
<style>@charset "UTF-8";:root{--blue:#337ab7;--indigo:#6610f2;--purple:#6f42c1;--pink:#
|
|
17
|
+
<style>@charset "UTF-8";:root{--bs-blue:#337ab7;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#c9302c;--bs-orange:#f6a828;--bs-yellow:#ffc107;--bs-green:#89b03e;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#ffffff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#337ab7;--bs-success:#89b03e;--bs-secondary:#cccccc;--bs-dark:#4d4d4d;--bs-light:#dddddd;--bs-light-gray:rgba(203, 203, 210, .15);--bs-light-blue:#dfeffc;--bs-danger:#c9302c;--bs-warning:#f6a828;--bs-primary-rgb:51, 122, 183;--bs-success-rgb:137, 176, 62;--bs-secondary-rgb:204, 204, 204;--bs-dark-rgb:77, 77, 77;--bs-light-rgb:221, 221, 221;--bs-light-gray-rgb:203, 203, 210;--bs-light-blue-rgb:223, 239, 252;--bs-danger-rgb:201, 48, 44;--bs-warning-rgb:246, 168, 40;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:51, 51, 51;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:Roboto, sans-serif;--bs-body-font-size:.75rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#333333;--bs-body-bg:#ffffff}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}@media (max-width: 991px){body{position:relative}}html,body{height:100%}@media print{html,body{height:auto}body{color:#000!important}}@charset "UTF-8";:root{--bs-blue:#337ab7;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#c9302c;--bs-orange:#f6a828;--bs-yellow:#ffc107;--bs-green:#89b03e;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-white:#ffffff;--bs-gray:#cccccc;--bs-gray-dark:#343a40;--bs-gray-100:#dddddd;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#cccccc;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#4d4d4d;--bs-primary:#337ab7;--bs-success:#89b03e;--bs-secondary:#cccccc;--bs-dark:#4d4d4d;--bs-light:#dddddd;--bs-light-gray:rgba(203, 203, 210, .15);--bs-light-blue:#dfeffc;--bs-danger:#c9302c;--bs-warning:#f6a828;--bs-primary-rgb:51, 122, 183;--bs-secondary-rgb:204, 204, 204;--bs-success-rgb:137, 176, 62;--bs-info-rgb:23, 162, 184;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:201, 48, 44;--bs-light-rgb:221, 221, 221;--bs-dark-rgb:77, 77, 77;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:51, 51, 51;--bs-body-bg-rgb:255, 255, 255;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:Roboto, sans-serif;--bs-body-font-size:.75rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#333333;--bs-body-bg:#ffffff}*,*:before,*:after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0)}@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.1.8/Marketplace/styles.2acb2f61cf99c19d.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/styles.2acb2f61cf99c19d.css"></noscript></head>
|
|
18
18
|
<body>
|
|
19
19
|
<app-root></app-root>
|
|
20
|
-
<script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.
|
|
20
|
+
<script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/runtime.014fe9715bc16791.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/polyfills.04dd6d83022797c4.js" type="module"></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/scripts.512baec01df5d79f.js" defer></script><script src="https://cdn.jsdelivr.net/npm/marketplacepos@2.1.8/Marketplace/main.7096164b30c14167.js" type="module"></script>
|
|
21
21
|
|
|
22
22
|
</body></html>
|