infinity-forge 14.2.5 → 14.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/infinity-forge.css +0 -4
- package/dist/system/components/data/input-search/index.d.ts +1 -1
- package/dist/system/components/data/input-search/index.js +22 -4
- package/dist/system/components/data/input-search/index.js.map +1 -1
- package/dist/system/components/data/input-search/interfaces.d.ts +3 -0
- package/dist/system/context/auth/context.js +21 -10
- package/dist/system/context/auth/context.js.map +1 -1
- package/dist/system/context/auth/interfaces.d.ts +6 -0
- package/dist/system/hooks/ui/use-table/components/table/filters/index.js +12 -5
- package/dist/system/hooks/ui/use-table/components/table/filters/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/interfaces.d.ts +1 -0
- package/dist/test/index.d.ts +27 -0
- package/dist/test/index.js +136 -43
- package/dist/test/index.js.map +1 -1
- package/dist/ui/components/form/handler/form-handler/index.js +1 -1
- package/dist/ui/components/form/handler/form-handler/index.js.map +1 -1
- package/dist/ui/components/form/input/index.js +29 -11
- package/dist/ui/components/form/input/index.js.map +1 -1
- package/dist/ui/components/form/interfaces.d.ts +1 -0
- package/dist/ui/components/form/select/index.js +28 -23
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/package.json +1 -1
package/dist/infinity-forge.css
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
a{text-decoration:unset}html{font-size:10px!important}a,address,b,h1,h2,h3,h4,h5,i,label,li,p,span,strong,td,time{margin-bottom:0;text-rendering:optimizeLegibility!important}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}[class*=-extraBold]{font-weight:800}[class*=-bold]{font-weight:700}[class*=-semibold]{font-weight:600}[class*=-medium]{font-weight:500}[class*=-regular]{font-weight:400}[class*=-light]{font-weight:300}[class*=font-80]{font-size:8rem}[class*=font-72]{font-size:7.2rem}[class*=font-70]{font-size:7rem}[class*=font-64]{font-size:6.4rem}[class*=font-50]{font-size:5rem}[class*=font-48]{font-size:4.8rem}[class*=font-40]{font-size:4rem}[class*=font-36]{font-size:3.6rem}[class*=font-32]{font-size:3.2rem}[class*=font-24]{font-size:2.4rem}[class*=font-20]{font-size:2rem}[class*=font-18]{font-size:1.8rem}[class*=font-16]{font-size:1.6rem}[class*=font-15]{font-size:1.5rem}[class*=font-14]{font-size:1.4rem}[class*=font-13]{font-size:1.3rem}[class*=font-12]{font-size:1.2rem}@media only screen and (max-width:1600px){[class*=font-80]{font-size:6rem}[class*=font-72]{font-size:5.8rem}[class*=font-70]{font-size:5.5rem}[class*=font-64]{font-size:6rem}[class*=font-50]{font-size:4.8rem}[class*=font-48]{font-size:4.4rem}[class*=font-40]{font-size:3.8rem}[class*=font-32]{font-size:3rem}[class*=font-24]{font-size:2.3rem}[class*=font-20]{font-size:1.9rem}[class*=font-18]{font-size:1.7rem}[class*=font-16]{font-size:1.55rem}}@media only screen and (max-width:1400px){[class*=font-80]{font-size:5.4rem}[class*=font-72]{font-size:5.2rem}[class*=font-70]{font-size:4.9rem}[class*=font-64]{font-size:5.6rem}[class*=font-50]{font-size:4.6rem}[class*=font-48]{font-size:4.2rem}[class*=font-40]{font-size:3.6rem}[class*=font-32]{font-size:2.8rem}[class*=font-24]{font-size:2rem}[class*=font-20]{font-size:1.8rem}[class*=font-18]{font-size:1.65rem}[class*=font-16]{font-size:1.5rem}[class*=font-13]{font-size:1.25rem}}@media only screen and (max-width:1200px){[class*=font-80]{font-size:5.5rem}[class*=font-72]{font-size:4.8rem}[class*=font-70]{font-size:4.6rem}[class*=font-64]{font-size:5.2rem}[class*=font-50]{font-size:4.2rem}[class*=font-48]{font-size:4rem}[class*=font-40]{font-size:3.2rem}[class*=font-32]{font-size:2.4rem}[class*=font-24]{font-size:1.9rem}[class*=font-20]{font-size:1.75rem}[class*=font-18]{font-size:1.6rem}[class*=font-16]{font-size:1.45rem}[class*=font-13]{font-size:1.2rem}}@media only screen and (max-width:1024px){[class*=font-80]{font-size:5.2rem}[class*=font-72]{font-size:4.5rem}[class*=font-70]{font-size:4.3rem}[class*=font-64]{font-size:4.4rem}[class*=font-50]{font-size:4rem}[class*=font-48]{font-size:3.8rem}[class*=font-40]{font-size:3rem}[class*=font-32]{font-size:2.2rem}[class*=font-24]{font-size:1.8rem}[class*=font-20]{font-size:1.7rem}[class*=font-18]{font-size:1.55rem}[class*=font-16]{font-size:1.35rem}[class*=font-14]{font-size:1.3rem}}@media only screen and (max-width:900px){[class*=font-80]{font-size:5rem}[class*=font-72]{font-size:3.8rem}[class*=font-70]{font-size:3.6rem}[class*=font-64]{font-size:3.8rem}[class*=font-48]{font-size:3.6rem}[class*=font-40]{font-size:2.8rem}[class*=font-32]{font-size:2rem}}@media only screen and (max-width:768px){[class*=font-80]{font-size:4.5rem}[class*=font-72]{font-size:3.5rem}[class*=font-70]{font-size:3rem}[class*=font-64]{font-size:3.4rem}[class*=font-50]{font-size:3.8rem}[class*=font-48]{font-size:3.4rem}[class*=font-40]{font-size:2.6rem}[class*=font-32]{font-size:1.9rem}[class*=font-24]{font-size:1.7rem}[class*=font-20]{font-size:1.65rem}[class*=font-18]{font-size:1.5rem}[class*=font-16]{font-size:1.35rem}[class*=font-13]{font-size:1.15rem}}@media only screen and (max-width:650px){[class*=font-80]{font-size:4rem}[class*=font-64]{font-size:3.2rem}[class*=font-50]{font-size:3.5rem}[class*=font-48]{font-size:3.2rem}[class*=font-40]{font-size:2.5rem}[class*=font-32]{font-size:1.8rem}[class*=font-24]{font-size:1.65rem}[class*=font-18]{font-size:1.4rem}[class*=font-16]{font-size:1.3rem}}@media only screen and (max-width:500px){[class*=font-80]{font-size:3.5rem}[class*=font-64]{font-size:2.8rem}[class*=font-50]{font-size:3rem}[class*=font-48]{font-size:2.8rem}[class*=font-40]{font-size:2.3rem}[class*=font-24]{font-size:1.6rem}[class*=font-18]{font-size:1.25rem}[class*=font-14],[class*=font-16]{font-size:1.2rem}}@media only screen and (max-width:390px){[class*=font-72],[class*=font-80]{font-size:3rem}[class*=font-64]{font-size:2.6rem}[class*=font-50]{font-size:2.8rem}[class*=font-48]{font-size:2.6rem}[class*=font-40]{font-size:2.1rem}[class*=font-32]{font-size:1.7rem}[class*=font-24]{font-size:1.4rem}[class*=font-18]{font-size:1.2rem}}*,:after,:before{box-sizing:border-box}html{font-family:Roboto,sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:Roboto,sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}ol li:is([data-list=bullet]):before{content:"•"!important}
|
|
2
|
-
a{text-decoration:unset}html{font-size:10px!important}a,address,b,h1,h2,h3,h4,h5,i,label,li,p,span,strong,td,time{margin-bottom:0;text-rendering:optimizeLegibility!important}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}[class*=-extraBold]{font-weight:800}[class*=-bold]{font-weight:700}[class*=-semibold]{font-weight:600}[class*=-medium]{font-weight:500}[class*=-regular]{font-weight:400}[class*=-light]{font-weight:300}[class*=font-80]{font-size:8rem}[class*=font-72]{font-size:7.2rem}[class*=font-70]{font-size:7rem}[class*=font-64]{font-size:6.4rem}[class*=font-50]{font-size:5rem}[class*=font-48]{font-size:4.8rem}[class*=font-40]{font-size:4rem}[class*=font-36]{font-size:3.6rem}[class*=font-32]{font-size:3.2rem}[class*=font-24]{font-size:2.4rem}[class*=font-20]{font-size:2rem}[class*=font-18]{font-size:1.8rem}[class*=font-16]{font-size:1.6rem}[class*=font-15]{font-size:1.5rem}[class*=font-14]{font-size:1.4rem}[class*=font-13]{font-size:1.3rem}[class*=font-12]{font-size:1.2rem}@media only screen and (max-width:1600px){[class*=font-80]{font-size:6rem}[class*=font-72]{font-size:5.8rem}[class*=font-70]{font-size:5.5rem}[class*=font-64]{font-size:6rem}[class*=font-50]{font-size:4.8rem}[class*=font-48]{font-size:4.4rem}[class*=font-40]{font-size:3.8rem}[class*=font-32]{font-size:3rem}[class*=font-24]{font-size:2.3rem}[class*=font-20]{font-size:1.9rem}[class*=font-18]{font-size:1.7rem}[class*=font-16]{font-size:1.55rem}}@media only screen and (max-width:1400px){[class*=font-80]{font-size:5.4rem}[class*=font-72]{font-size:5.2rem}[class*=font-70]{font-size:4.9rem}[class*=font-64]{font-size:5.6rem}[class*=font-50]{font-size:4.6rem}[class*=font-48]{font-size:4.2rem}[class*=font-40]{font-size:3.6rem}[class*=font-32]{font-size:2.8rem}[class*=font-24]{font-size:2rem}[class*=font-20]{font-size:1.8rem}[class*=font-18]{font-size:1.65rem}[class*=font-16]{font-size:1.5rem}[class*=font-13]{font-size:1.25rem}}@media only screen and (max-width:1200px){[class*=font-80]{font-size:5.5rem}[class*=font-72]{font-size:4.8rem}[class*=font-70]{font-size:4.6rem}[class*=font-64]{font-size:5.2rem}[class*=font-50]{font-size:4.2rem}[class*=font-48]{font-size:4rem}[class*=font-40]{font-size:3.2rem}[class*=font-32]{font-size:2.4rem}[class*=font-24]{font-size:1.9rem}[class*=font-20]{font-size:1.75rem}[class*=font-18]{font-size:1.6rem}[class*=font-16]{font-size:1.45rem}[class*=font-13]{font-size:1.2rem}}@media only screen and (max-width:1024px){[class*=font-80]{font-size:5.2rem}[class*=font-72]{font-size:4.5rem}[class*=font-70]{font-size:4.3rem}[class*=font-64]{font-size:4.4rem}[class*=font-50]{font-size:4rem}[class*=font-48]{font-size:3.8rem}[class*=font-40]{font-size:3rem}[class*=font-32]{font-size:2.2rem}[class*=font-24]{font-size:1.8rem}[class*=font-20]{font-size:1.7rem}[class*=font-18]{font-size:1.55rem}[class*=font-16]{font-size:1.35rem}[class*=font-14]{font-size:1.3rem}}@media only screen and (max-width:900px){[class*=font-80]{font-size:5rem}[class*=font-72]{font-size:3.8rem}[class*=font-70]{font-size:3.6rem}[class*=font-64]{font-size:3.8rem}[class*=font-48]{font-size:3.6rem}[class*=font-40]{font-size:2.8rem}[class*=font-32]{font-size:2rem}}@media only screen and (max-width:768px){[class*=font-80]{font-size:4.5rem}[class*=font-72]{font-size:3.5rem}[class*=font-70]{font-size:3rem}[class*=font-64]{font-size:3.4rem}[class*=font-50]{font-size:3.8rem}[class*=font-48]{font-size:3.4rem}[class*=font-40]{font-size:2.6rem}[class*=font-32]{font-size:1.9rem}[class*=font-24]{font-size:1.7rem}[class*=font-20]{font-size:1.65rem}[class*=font-18]{font-size:1.5rem}[class*=font-16]{font-size:1.35rem}[class*=font-13]{font-size:1.15rem}}@media only screen and (max-width:650px){[class*=font-80]{font-size:4rem}[class*=font-64]{font-size:3.2rem}[class*=font-50]{font-size:3.5rem}[class*=font-48]{font-size:3.2rem}[class*=font-40]{font-size:2.5rem}[class*=font-32]{font-size:1.8rem}[class*=font-24]{font-size:1.65rem}[class*=font-18]{font-size:1.4rem}[class*=font-16]{font-size:1.3rem}}@media only screen and (max-width:500px){[class*=font-80]{font-size:3.5rem}[class*=font-64]{font-size:2.8rem}[class*=font-50]{font-size:3rem}[class*=font-48]{font-size:2.8rem}[class*=font-40]{font-size:2.3rem}[class*=font-24]{font-size:1.6rem}[class*=font-18]{font-size:1.25rem}[class*=font-14],[class*=font-16]{font-size:1.2rem}}@media only screen and (max-width:390px){[class*=font-72],[class*=font-80]{font-size:3rem}[class*=font-64]{font-size:2.6rem}[class*=font-50]{font-size:2.8rem}[class*=font-48]{font-size:2.6rem}[class*=font-40]{font-size:2.1rem}[class*=font-32]{font-size:1.7rem}[class*=font-24]{font-size:1.4rem}[class*=font-18]{font-size:1.2rem}}*,:after,:before{box-sizing:border-box}html{font-family:Roboto,sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:Roboto,sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}ol li:is([data-list=bullet]):before{content:"•"!important}
|
|
3
|
-
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.ql-align-center{text-align:center}.ql-align-justify{text-align:justify}.ql-align-right{text-align:right}
|
|
4
|
-
*,:after,:before{box-sizing:border-box}a,button{cursor:pointer;outline:unset!important}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}.row{display:flex;gap:15px}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}input[id*=-focus]{height:unset!important;left:0!important;opacity:0!important;pointer-events:none;position:absolute!important;top:0!important;width:unset!important}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}#__next{position:relative;z-index:1}.conntent_form_infinity_forge .button-flag{background:transparent;border:none;margin:0 15px 15px 0;padding:0;transition:all .2s}.conntent_form_infinity_forge .button-flag img{height:30px;max-width:50px;width:auto!important}.conntent_form_infinity_forge .button-flag:hover{box-shadow:0 0 10px 2px rgba(0,0,0,.2)!important}body:has(>[id*=enabled-overflow-tooltip]){overflow:hidden}.swal2-popup{border-radius:12px!important;max-width:480px!important}.toast-progress{background-color:#000;bottom:0;height:4px;left:0;opacity:.4;position:absolute}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#526484}.toast-message a:hover{color:#ccc;text-decoration:none}.swal2-popup.swal2-toast{align-items:center;background:#fff;box-shadow:0 0 10px #d9d9d9;flex-direction:row;overflow-y:hidden;padding:10px;width:auto}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;font-size:16px;justify-content:flex-start;margin:0 9.6px}.swal2-popup.swal2-toast .swal2-footer{font-size:12.8px;margin:8px 0 0;padding:8px 0 0}.swal2-popup.swal2-toast .swal2-close{height:12.8px;line-height:12.8px;position:static;width:12.8px}.swal2-popup.swal2-toast .swal2-content{font-size:16px;justify-content:flex-start}.swal2-popup.swal2-toast .swal2-icon{height:32px;margin:0;min-width:32px;width:32px}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{align-items:center;display:flex;font-size:28.8px;font-weight:700}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:4px}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{height:32px;width:32px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:14px;width:22px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:5px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:5px}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;height:auto;margin:0 5px;width:auto}.actions ul li .swal2-popup.swal2-toast .swal2-actions a,.dual-listbox .swal2-popup.swal2-toast .swal2-actions .dual-listbox__button,.swal2-popup.swal2-toast .swal2-actions .actions ul li a,.swal2-popup.swal2-toast .swal2-actions .btn,.swal2-popup.swal2-toast .swal2-actions .dual-listbox .dual-listbox__button{margin:0 8px}.swal2-popup.swal2-toast .swal2-styled{font-size:16px;margin:0 8px;padding:5px 10px}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(115,58,234,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#0fca7a}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{border-radius:50%;height:48px;position:absolute;transform:rotate(45deg);width:25.6px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{border-radius:64px 0 0 64px;left:-8px;top:-12.8px;transform:rotate(-45deg);transform-origin:32px 32px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{border-radius:0 64px 64px 0;left:15px;top:-4px;transform-origin:0 24px}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{height:32px;width:32px}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{height:43px;left:7px;top:0;width:7px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:5px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{left:3px;top:18px;width:12px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{right:3px;top:15px;width:22px}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{align-items:center;bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;overflow-x:hidden;padding:10px;position:fixed;right:0;top:0;transition:background-color .1s;z-index:1060;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show{background:rgba(28,43,70,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{align-self:stretch;display:flex!important;flex:1;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{align-content:center;display:flex!important;flex:1;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{align-content:center;display:flex!important;flex:1;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-container .swal2-modal{margin:0!important}}.swal2-container,.swal2-popup{font-size:16px!important}.swal2-popup{background:#fff;border:none;border-radius:4px;box-sizing:border-box;display:none;flex-direction:column;font-family:inherit;font-size:1rem;justify-content:center;max-width:100%;padding:44px 40px;position:relative;width:480px}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{align-items:center;display:flex;flex-direction:column}.swal2-title{color:#364a63;font-size:24px;font-weight:700;margin:0 0 10.24px;max-width:100%;padding:0;position:relative;text-align:center;text-transform:none;word-wrap:break-word}.swal2-html-container{margin-bottom:16px}.swal2-actions{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin:16px auto 0;width:100%;z-index:1}.actions ul li .swal2-actions a,.dual-listbox .swal2-actions .dual-listbox__button,.swal2-actions .actions ul li a,.swal2-actions .btn,.swal2-actions .dual-listbox .dual-listbox__button{margin:0 12px}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(31,43,58,.1),rgba(31,43,58,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(31,43,58,.2),rgba(31,43,58,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{animation:swal2-rotate-loading 1.5s linear 0s infinite normal;background-color:transparent!important;border:4px solid transparent;border-radius:100%;box-sizing:border-box;color:transparent;cursor:default;height:40px;margin:7.5px;padding:0;user-select:none;width:40px}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-left:48px;margin-right:48px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm:after{animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:4px solid #b4c4d7;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:"";display:inline-block;height:24px;margin-left:8px;width:24px}.swal2-styled{border-radius:8px;box-shadow:none;font-size:15px;line-height:20px;margin:8px;min-width:144px;padding:8px 16px}.swal2-loading .swal2-styled{min-width:0}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{background:initial;background-color:#0fca7a;border:0;border-radius:4px;color:#fff}.swal2-styled.swal2-confirm:focus{outline:0}.swal2-styled.swal2-cancel{background:initial;background-color:#f2426e;border:0;border-radius:4px;color:#fff}.swal2-styled.swal2-cancel:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{border-top:1px solid #eee;color:#5a7ca7;font-size:16px;justify-content:center;margin:20px 0 0;padding:16px 0 0}.swal2-timer-progress-bar{background:rgba(31,43,58,.2);bottom:0;height:4px;left:0;position:absolute;width:100%}.swal2-image{margin:0 auto 24px;max-width:100%}.swal2-close{background:0 0;border:none;border-radius:0;color:#f7f8fa;cursor:pointer;font-family:serif;font-size:40px;height:19.2px;justify-content:center;line-height:1.2;outline:initial;overflow:hidden;padding:0;position:absolute;right:0;top:0;transition:color .1s ease-out;width:19.2px;z-index:2}.swal2-close:hover{background:0 0;color:#f2426e;transform:none}.swal2-close::-moz-focus-inner{border:0}.swal2-content{color:#8094ae;font-size:14px;font-weight:400;justify-content:center;line-height:normal;margin:0;padding:0;text-align:center;z-index:1;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:16px auto}.swal2-file,.swal2-input,.swal2-textarea{background:inherit;border:1px solid #dbdfea;border-radius:4px;box-shadow:none;box-sizing:border-box;color:inherit;font-size:14px;transition:border-color .3s,box-shadow .3s;width:100%}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f2426e!important;box-shadow:0 0 2px #f2426e!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #733aea;box-shadow:0 0 0 3px rgba(115,58,234,.1);outline:0}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#f7f8fa}.swal2-range{background:#fff;margin:16px auto}.swal2-range input{width:80%}.swal2-range output{color:inherit;font-weight:600;text-align:center;width:20%}.swal2-range input,.swal2-range output{font-size:14px;height:44px;line-height:44px;padding:0}.swal2-input{height:44px;padding:0 16px}.swal2-input[type=number]{max-width:160px}.swal2-file{background:inherit;font-size:14px}.swal2-textarea{height:108px;padding:12px}.swal2-select{background:inherit;color:inherit;font-size:14px;max-width:100%;min-width:50%;padding:6px 10px}.swal2-checkbox,.swal2-radio{align-items:center;background:#fff;color:inherit;justify-content:center}.swal2-checkbox label,.swal2-radio label{font-size:14px;margin:0 9.6px}.swal2-checkbox input,.swal2-radio input{margin:0 6.4px}.swal2-validation-message{align-items:center;background:#fff;color:#728fb3;display:none;font-size:16px;font-weight:300;justify-content:center;overflow:hidden;padding:16px}.swal2-validation-message:before{background-color:#f2426e;border-radius:50%;color:#fff;content:"!";display:inline-block;font-weight:600;height:24px;line-height:24px;margin:0 16px;min-width:24px;text-align:center;width:24px}.swal2-icon{border:4px solid transparent;border-radius:50%;box-sizing:content-box;cursor:default;font-family:inherit;height:80px;justify-content:center;line-height:80px;margin:-8px auto 24px;position:relative;transform:scale(.8);user-select:none;width:80px}.swal2-icon .swal2-icon-content{align-items:center;display:flex;font-size:60px}.swal2-icon.swal2-error{border-color:#f2426e;color:#f2426e}.swal2-icon.swal2-error .swal2-x-mark{flex-grow:1;position:relative}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{background-color:#f2426e;border-radius:2px;display:block;height:5px;position:absolute;top:37px;width:47px}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:17px;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:16px;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-success{border-color:#0fca7a;color:#0fca7a}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{border-radius:50%;height:120px;position:absolute;transform:rotate(45deg);width:60px}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{border-radius:120px 0 0 120px;left:-33.016px;top:-7px;transform:rotate(-45deg);transform-origin:60px 60px}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{border-radius:0 120px 120px 0;left:30px;top:-11px;transform:rotate(-45deg);transform-origin:0 60px}.swal2-icon.swal2-success .swal2-success-ring{border:4px solid rgba(15,202,122,.3);border-radius:50%;box-sizing:content-box;height:100%;left:-4px;position:absolute;top:-4px;width:100%;z-index:2}.swal2-icon.swal2-success .swal2-success-fix{height:90px;left:26px;position:absolute;top:8px;transform:rotate(-45deg);width:7px;z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{background-color:#0fca7a;border-radius:2px;display:block;height:5px;position:absolute;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{left:14px;top:46px;transform:rotate(45deg);width:25px}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{right:8px;top:38px;transform:rotate(-45deg);width:47px}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;background:inherit;font-weight:600;margin:0 0 20px;padding:0}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{background:#3085d6;border-radius:32px;color:#fff;height:32px;line-height:32px;text-align:center;width:32px;z-index:20}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{background:#3085d6;height:6.4px;margin:0 -1px;width:40px;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}.swal2-rtl .swal2-close{left:0;right:auto}.swal2-rtl .swal2-timer-progress-bar{left:auto;right:0}
|
|
5
|
-
|
|
6
2
|
.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.ql-align-center{text-align:center}.ql-align-justify{text-align:justify}.ql-align-right{text-align:right}
|
|
7
3
|
*,:after,:before{box-sizing:border-box}a,button{cursor:pointer;outline:unset!important}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}.row{display:flex;gap:15px}@-ms-viewport{width:device-width}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{background-color:#fff;color:#212529;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:1rem;font-weight:400;line-height:1.5;margin:0;text-align:left}[tabindex="-1"]:focus{outline:none!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;margin-top:0}p{margin-bottom:1rem;margin-top:0}abbr[data-original-title],abbr[title]{border-bottom:0;cursor:help;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}address{font-style:normal;line-height:inherit}address,dl,ol,ul{margin-bottom:1rem}dl,ol,ul{margin-top:0}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{background-color:transparent;color:#007bff;text-decoration:none;-webkit-text-decoration-skip:objects}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]),a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}pre{margin-bottom:1rem;margin-top:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{border-style:none;vertical-align:middle}svg:not(:root){overflow:hidden}[role=button],a,area,button,input:not([type=range]),label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse}caption{caption-side:bottom;color:#868e96;padding-bottom:.75rem;padding-top:.75rem;text-align:left}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{border:0;margin:0;min-width:0;padding:0}input[id*=-focus]{height:unset!important;left:0!important;opacity:0!important;pointer-events:none;position:absolute!important;top:0!important;width:unset!important}legend{color:inherit;display:block;font-size:1.5rem;line-height:inherit;margin-bottom:.5rem;max-width:100%;padding:0;white-space:normal;width:100%}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:none;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}ul,ul li{list-style-type:none;padding-left:0}@keyframes placeHolderShimmer{0%{background-position:0 0}to{background-position:100vw 0}}#__next{position:relative;z-index:1}.conntent_form_infinity_forge .button-flag{background:transparent;border:none;margin:0 15px 15px 0;padding:0;transition:all .2s}.conntent_form_infinity_forge .button-flag img{height:30px;max-width:50px;width:auto!important}.conntent_form_infinity_forge .button-flag:hover{box-shadow:0 0 10px 2px rgba(0,0,0,.2)!important}body:has(>[id*=enabled-overflow-tooltip]){overflow:hidden}.swal2-popup{border-radius:12px!important;max-width:480px!important}.toast-progress{background-color:#000;bottom:0;height:4px;left:0;opacity:.4;position:absolute}.toast-title{font-weight:700}.toast-message{word-wrap:break-word}.toast-message a,.toast-message label{color:#526484}.toast-message a:hover{color:#ccc;text-decoration:none}.swal2-popup.swal2-toast{align-items:center;background:#fff;box-shadow:0 0 10px #d9d9d9;flex-direction:row;overflow-y:hidden;padding:10px;width:auto}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;font-size:16px;justify-content:flex-start;margin:0 9.6px}.swal2-popup.swal2-toast .swal2-footer{font-size:12.8px;margin:8px 0 0;padding:8px 0 0}.swal2-popup.swal2-toast .swal2-close{height:12.8px;line-height:12.8px;position:static;width:12.8px}.swal2-popup.swal2-toast .swal2-content{font-size:16px;justify-content:flex-start}.swal2-popup.swal2-toast .swal2-icon{height:32px;margin:0;min-width:32px;width:32px}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{align-items:center;display:flex;font-size:28.8px;font-weight:700}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:4px}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{height:32px;width:32px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:14px;width:22px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:5px}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:5px}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;height:auto;margin:0 5px;width:auto}.actions ul li .swal2-popup.swal2-toast .swal2-actions a,.dual-listbox .swal2-popup.swal2-toast .swal2-actions .dual-listbox__button,.swal2-popup.swal2-toast .swal2-actions .actions ul li a,.swal2-popup.swal2-toast .swal2-actions .btn,.swal2-popup.swal2-toast .swal2-actions .dual-listbox .dual-listbox__button{margin:0 8px}.swal2-popup.swal2-toast .swal2-styled{font-size:16px;margin:0 8px;padding:5px 10px}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(115,58,234,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#0fca7a}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{border-radius:50%;height:48px;position:absolute;transform:rotate(45deg);width:25.6px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{border-radius:64px 0 0 64px;left:-8px;top:-12.8px;transform:rotate(-45deg);transform-origin:32px 32px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{border-radius:0 64px 64px 0;left:15px;top:-4px;transform-origin:0 24px}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{height:32px;width:32px}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{height:43px;left:7px;top:0;width:7px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:5px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{left:3px;top:18px;width:12px}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{right:3px;top:15px;width:22px}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{align-items:center;bottom:0;display:flex;flex-direction:row;justify-content:center;left:0;overflow-x:hidden;padding:10px;position:fixed;right:0;top:0;transition:background-color .1s;z-index:1060;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show{background:rgba(28,43,70,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{align-self:stretch;display:flex!important;flex:1;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{align-content:center;display:flex!important;flex:1;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{align-content:center;display:flex!important;flex:1;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media (-ms-high-contrast:active),(-ms-high-contrast:none){.swal2-container .swal2-modal{margin:0!important}}.swal2-container,.swal2-popup{font-size:16px!important}.swal2-popup{background:#fff;border:none;border-radius:4px;box-sizing:border-box;display:none;flex-direction:column;font-family:inherit;font-size:1rem;justify-content:center;max-width:100%;padding:44px 40px;position:relative;width:480px}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{align-items:center;display:flex;flex-direction:column}.swal2-title{color:#364a63;font-size:24px;font-weight:700;margin:0 0 10.24px;max-width:100%;padding:0;position:relative;text-align:center;text-transform:none;word-wrap:break-word}.swal2-html-container{margin-bottom:16px}.swal2-actions{align-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin:16px auto 0;width:100%;z-index:1}.actions ul li .swal2-actions a,.dual-listbox .swal2-actions .dual-listbox__button,.swal2-actions .actions ul li a,.swal2-actions .btn,.swal2-actions .dual-listbox .dual-listbox__button{margin:0 12px}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(31,43,58,.1),rgba(31,43,58,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(31,43,58,.2),rgba(31,43,58,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{animation:swal2-rotate-loading 1.5s linear 0s infinite normal;background-color:transparent!important;border:4px solid transparent;border-radius:100%;box-sizing:border-box;color:transparent;cursor:default;height:40px;margin:7.5px;padding:0;user-select:none;width:40px}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-left:48px;margin-right:48px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm:after{animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:4px solid #b4c4d7;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:"";display:inline-block;height:24px;margin-left:8px;width:24px}.swal2-styled{border-radius:8px;box-shadow:none;font-size:15px;line-height:20px;margin:8px;min-width:144px;padding:8px 16px}.swal2-loading .swal2-styled{min-width:0}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{background:initial;background-color:#0fca7a;border:0;border-radius:4px;color:#fff}.swal2-styled.swal2-confirm:focus{outline:0}.swal2-styled.swal2-cancel{background:initial;background-color:#f2426e;border:0;border-radius:4px;color:#fff}.swal2-styled.swal2-cancel:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{border-top:1px solid #eee;color:#5a7ca7;font-size:16px;justify-content:center;margin:20px 0 0;padding:16px 0 0}.swal2-timer-progress-bar{background:rgba(31,43,58,.2);bottom:0;height:4px;left:0;position:absolute;width:100%}.swal2-image{margin:0 auto 24px;max-width:100%}.swal2-close{background:0 0;border:none;border-radius:0;color:#f7f8fa;cursor:pointer;font-family:serif;font-size:40px;height:19.2px;justify-content:center;line-height:1.2;outline:initial;overflow:hidden;padding:0;position:absolute;right:0;top:0;transition:color .1s ease-out;width:19.2px;z-index:2}.swal2-close:hover{background:0 0;color:#f2426e;transform:none}.swal2-close::-moz-focus-inner{border:0}.swal2-content{color:#8094ae;font-size:14px;font-weight:400;justify-content:center;line-height:normal;margin:0;padding:0;text-align:center;z-index:1;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:16px auto}.swal2-file,.swal2-input,.swal2-textarea{background:inherit;border:1px solid #dbdfea;border-radius:4px;box-shadow:none;box-sizing:border-box;color:inherit;font-size:14px;transition:border-color .3s,box-shadow .3s;width:100%}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f2426e!important;box-shadow:0 0 2px #f2426e!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #733aea;box-shadow:0 0 0 3px rgba(115,58,234,.1);outline:0}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#f7f8fa}.swal2-range{background:#fff;margin:16px auto}.swal2-range input{width:80%}.swal2-range output{color:inherit;font-weight:600;text-align:center;width:20%}.swal2-range input,.swal2-range output{font-size:14px;height:44px;line-height:44px;padding:0}.swal2-input{height:44px;padding:0 16px}.swal2-input[type=number]{max-width:160px}.swal2-file{background:inherit;font-size:14px}.swal2-textarea{height:108px;padding:12px}.swal2-select{background:inherit;color:inherit;font-size:14px;max-width:100%;min-width:50%;padding:6px 10px}.swal2-checkbox,.swal2-radio{align-items:center;background:#fff;color:inherit;justify-content:center}.swal2-checkbox label,.swal2-radio label{font-size:14px;margin:0 9.6px}.swal2-checkbox input,.swal2-radio input{margin:0 6.4px}.swal2-validation-message{align-items:center;background:#fff;color:#728fb3;display:none;font-size:16px;font-weight:300;justify-content:center;overflow:hidden;padding:16px}.swal2-validation-message:before{background-color:#f2426e;border-radius:50%;color:#fff;content:"!";display:inline-block;font-weight:600;height:24px;line-height:24px;margin:0 16px;min-width:24px;text-align:center;width:24px}.swal2-icon{border:4px solid transparent;border-radius:50%;box-sizing:content-box;cursor:default;font-family:inherit;height:80px;justify-content:center;line-height:80px;margin:-8px auto 24px;position:relative;transform:scale(.8);user-select:none;width:80px}.swal2-icon .swal2-icon-content{align-items:center;display:flex;font-size:60px}.swal2-icon.swal2-error{border-color:#f2426e;color:#f2426e}.swal2-icon.swal2-error .swal2-x-mark{flex-grow:1;position:relative}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{background-color:#f2426e;border-radius:2px;display:block;height:5px;position:absolute;top:37px;width:47px}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:17px;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:16px;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-success{border-color:#0fca7a;color:#0fca7a}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{border-radius:50%;height:120px;position:absolute;transform:rotate(45deg);width:60px}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{border-radius:120px 0 0 120px;left:-33.016px;top:-7px;transform:rotate(-45deg);transform-origin:60px 60px}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{border-radius:0 120px 120px 0;left:30px;top:-11px;transform:rotate(-45deg);transform-origin:0 60px}.swal2-icon.swal2-success .swal2-success-ring{border:4px solid rgba(15,202,122,.3);border-radius:50%;box-sizing:content-box;height:100%;left:-4px;position:absolute;top:-4px;width:100%;z-index:2}.swal2-icon.swal2-success .swal2-success-fix{height:90px;left:26px;position:absolute;top:8px;transform:rotate(-45deg);width:7px;z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{background-color:#0fca7a;border-radius:2px;display:block;height:5px;position:absolute;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{left:14px;top:46px;transform:rotate(45deg);width:25px}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{right:8px;top:38px;transform:rotate(-45deg);width:47px}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;background:inherit;font-weight:600;margin:0 0 20px;padding:0}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{background:#3085d6;border-radius:32px;color:#fff;height:32px;line-height:32px;text-align:center;width:32px;z-index:20}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{background:#3085d6;height:6.4px;margin:0 -1px;width:40px;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{height:50px;overflow:scroll;position:absolute;top:-9999px;width:50px}.swal2-rtl .swal2-close{left:0;right:auto}.swal2-rtl .swal2-timer-progress-bar{left:auto;right:0}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IInputSearch } from './interfaces.js';
|
|
2
|
-
export declare function InputSearch({ onChange }: IInputSearch): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function InputSearch({ name, onChange, placeholder, disableBlur }: IInputSearch): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
2
13
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
14
|
if (k2 === undefined) k2 = k;
|
|
4
15
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -38,10 +49,17 @@ var jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
38
49
|
var ui_1 = require("../../../../ui/index.js");
|
|
39
50
|
var S = __importStar(require("./styles.js"));
|
|
40
51
|
function InputSearch(_a) {
|
|
41
|
-
var onChange = _a.onChange;
|
|
42
|
-
|
|
52
|
+
var name = _a.name, onChange = _a.onChange, placeholder = _a.placeholder, disableBlur = _a.disableBlur;
|
|
53
|
+
var onChangeBlur = {
|
|
54
|
+
onChangeMode: 'blur',
|
|
55
|
+
onChangeBlur: function (value) { return onChange(value); },
|
|
56
|
+
};
|
|
57
|
+
var onChangeInput = {
|
|
58
|
+
onChangeInput: function (value) { return onChange(value); },
|
|
59
|
+
};
|
|
60
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'InputSearch', children: (0, jsx_runtime_1.jsx)(S.SearchInput, { children: (0, jsx_runtime_1.jsx)(ui_1.Input, __assign({ icon: {
|
|
43
61
|
size: 17,
|
|
44
|
-
name:
|
|
45
|
-
},
|
|
62
|
+
name: 'LupaIcon',
|
|
63
|
+
}, className: 'font-14-regular', id: name || 'search', type: 'text', name: name || 'search', placeholder: placeholder || 'Pesquisar...' }, (disableBlur ? onChangeInput : onChangeBlur))) }) }));
|
|
46
64
|
}
|
|
47
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/input-search/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/components/data/input-search/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,kCA4BC;;AAlCD,2BAA+C;AAI/C,0CAA6B;AAE7B,SAAgB,WAAW,CAAC,EAA0D;QAAxD,IAAI,UAAA,EAAE,QAAQ,cAAA,EAAE,WAAW,iBAAA,EAAE,WAAW,iBAAA;IACpE,IAAM,YAAY,GAAwB;QACxC,YAAY,EAAE,MAAM;QACpB,YAAY,EAAE,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,KAAe,CAAC,EAAzB,CAAyB;KACnD,CAAA;IAED,IAAM,aAAa,GAAwB;QACzC,aAAa,EAAE,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,KAAe,CAAC,EAAzB,CAAyB;KACpD,CAAA;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,aAAa,YACvB,uBAAC,CAAC,CAAC,WAAW,cACZ,uBAAC,UAAK,aACJ,IAAI,EAAE;oBACJ,IAAI,EAAE,EAAE;oBACR,IAAI,EAAE,UAAU;iBACjB,EACD,SAAS,EAAC,iBAAiB,EAC3B,EAAE,EAAE,IAAI,IAAI,QAAQ,EACpB,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,IAAI,QAAQ,EACtB,WAAW,EAAE,WAAW,IAAI,cAAc,IACtC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,EAChD,GACY,GACV,CACT,CAAA;AACH,CAAC"}
|
|
@@ -175,20 +175,31 @@ function AuthAdminProvider(props) {
|
|
|
175
175
|
}
|
|
176
176
|
function signIn(payload) {
|
|
177
177
|
return __awaiter(this, void 0, void 0, function () {
|
|
178
|
-
var response;
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
var token, customSignIn, resCustomSignIn, response;
|
|
179
|
+
var _a, _b, _c;
|
|
180
|
+
return __generator(this, function (_d) {
|
|
181
|
+
switch (_d.label) {
|
|
181
182
|
case 0:
|
|
182
183
|
ui_1.cookies.set('token', { value: null });
|
|
183
|
-
|
|
184
|
+
token = '';
|
|
185
|
+
customSignIn = (_c = (_b = (_a = props === null || props === void 0 ? void 0 : props.roles) === null || _a === void 0 ? void 0 : _a[(payload === null || payload === void 0 ? void 0 : payload.roleUser) || 'users']) === null || _b === void 0 ? void 0 : _b.signInConfig) === null || _c === void 0 ? void 0 : _c.auth;
|
|
186
|
+
if (!customSignIn) return [3 /*break*/, 2];
|
|
187
|
+
return [4 /*yield*/, customSignIn({ email: payload.emailAddress, password: payload.password })];
|
|
184
188
|
case 1:
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
return [4 /*yield*/, loadUser({ roleName: payload === null || payload === void 0 ? void 0 : payload.roleUser })];
|
|
189
|
+
resCustomSignIn = _d.sent();
|
|
190
|
+
token = resCustomSignIn === null || resCustomSignIn === void 0 ? void 0 : resCustomSignIn.token;
|
|
191
|
+
return [3 /*break*/, 4];
|
|
192
|
+
case 2: return [4 /*yield*/, (0, ui_1.api)({ url: 'Authentication', method: 'post', body: payload }, (payload === null || payload === void 0 ? void 0 : payload.apiURL) || (props === null || props === void 0 ? void 0 : props.apiURL))];
|
|
190
193
|
case 3:
|
|
191
|
-
|
|
194
|
+
response = _d.sent();
|
|
195
|
+
token = response.data.token;
|
|
196
|
+
_d.label = 4;
|
|
197
|
+
case 4: return [4 /*yield*/, ui_1.cookies.set('token', { value: token })];
|
|
198
|
+
case 5:
|
|
199
|
+
_d.sent();
|
|
200
|
+
return [4 /*yield*/, loadUser({ roleName: payload === null || payload === void 0 ? void 0 : payload.roleUser })];
|
|
201
|
+
case 6:
|
|
202
|
+
_d.sent();
|
|
192
203
|
return [2 /*return*/];
|
|
193
204
|
}
|
|
194
205
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/system/context/auth/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../src/system/context/auth/context.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiKS,8CAAiB;AAAE,oCAAY;;AAjKxC,+BAA2D;AAE3D,sCAAuC;AAEvC,2BAAmC;AACnC,sDAAsD;AAItD,IAAM,WAAW,GAAG,IAAA,qBAAa,EAAC,EAA+C,CAAC,CAAA;AAElF,SAAS,iBAAiB,CAAC,KAA6B;;IAChD,IAAA,KAAoB,IAAA,gBAAQ,EAAC,KAAK,CAAC,KAAK,CAAC,EAAxC,KAAK,QAAA,EAAE,QAAQ,QAAyB,CAAA;IACzC,IAAA,KAA0B,IAAA,gBAAQ,EAAC,EAAE,CAAC,EAArC,QAAQ,QAAA,EAAE,WAAW,QAAgB,CAAA;IAE5C,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAClB,IAAA,eAAe,GAAK,IAAA,mCAAiB,GAAE,gBAAxB,CAAwB;IAE/C,SAAe,aAAa;4DAAC,EAAsB;;gBAApB,gBAAkB,EAAlB,QAAQ,mBAAG,OAAO,KAAA;;;4BAC9B,qBAAM,IAAA,QAAG,EAAC;4BACzB,GAAG,EAA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UAAA;YACR,iBAAiB,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,iBAAiB;SACxB,YAGtB,KAAK,CAAC,QAAQ,GACM,CACxB,CAAA;AACH,CAAC;AAED,SAAS,YAAY;IACnB,IAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,WAAW,CAAC,CAAA;IAEvC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;IACtE,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC"}
|
|
@@ -133,11 +133,13 @@ function FiltersForm(_a) {
|
|
|
133
133
|
: value;
|
|
134
134
|
return __assign(__assign({}, reducer), (_a = {}, _a[item] = verifiedValue, _a));
|
|
135
135
|
}, {});
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
var disableEnterKeySubmitForm = !configs.enableEnterKeySubmitForm;
|
|
137
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.FormHandler, { debugMode: true, cleanFieldsOnSubmit: false, disableEnterKeySubmitForm: disableEnterKeySubmitForm, initialData: __assign(__assign({}, filtersObject), initialDataForm), modifyInitialData: modifyInitialData, onSucess: function (data) { return __awaiter(_this, void 0, void 0, function () {
|
|
138
|
+
var filtersParams, params;
|
|
138
139
|
return __generator(this, function (_a) {
|
|
140
|
+
console.log(data);
|
|
139
141
|
if (configs.disableRoutingUpdateFilters) {
|
|
140
|
-
|
|
142
|
+
filtersParams = filters.reduce(function (reducer, filter) {
|
|
141
143
|
var _a, _b;
|
|
142
144
|
if (!data[filter.name]) {
|
|
143
145
|
return __assign(__assign({}, reducer), (_a = {}, _a[filter.name] = '', _a));
|
|
@@ -146,6 +148,7 @@ function FiltersForm(_a) {
|
|
|
146
148
|
var verifiedValue = value instanceof Date ? (0, moment_1.default)(value).toString() : value;
|
|
147
149
|
return __assign(__assign({}, reducer), (_b = {}, _b[filter.name] = verifiedValue, _b));
|
|
148
150
|
}, {});
|
|
151
|
+
params = __assign(__assign({}, filtersParams), { search: data.search });
|
|
149
152
|
(0, ui_1.updateRoute)({
|
|
150
153
|
params: params,
|
|
151
154
|
router: router,
|
|
@@ -158,6 +161,7 @@ function FiltersForm(_a) {
|
|
|
158
161
|
function FiltersContent(_a) {
|
|
159
162
|
var filters = _a.filters, updateFilters = _a.updateFilters, configs = _a.configs;
|
|
160
163
|
var lastValuesRef = react_2.default.useRef({});
|
|
164
|
+
var formik = Inputs.useFormHandler().formik;
|
|
161
165
|
var _b = (0, use_filters_table_1.useFiltersTable)(), hasFiltersSelected = _b.hasFiltersSelected, base64FiltersDecoded = _b.base64FiltersDecoded, router = _b.router;
|
|
162
166
|
return ((0, jsx_runtime_1.jsxs)("div", { className: 'filters', children: [filters === null || filters === void 0 ? void 0 : filters.map(function (filter) {
|
|
163
167
|
var Element = Inputs[filter.InputComponent];
|
|
@@ -211,6 +215,8 @@ function FiltersContent(_a) {
|
|
|
211
215
|
var value = lastValuesRef.current[filter.name];
|
|
212
216
|
if (filter.isMultiple && value && value.length > 0) {
|
|
213
217
|
onInputChange(value);
|
|
218
|
+
if (configs.disableRoutingUpdateFilters)
|
|
219
|
+
return;
|
|
214
220
|
(0, ui_1.updateRoute)({
|
|
215
221
|
params: (_a = {}, _a[filter.name] = value, _a),
|
|
216
222
|
router: router,
|
|
@@ -218,10 +224,11 @@ function FiltersContent(_a) {
|
|
|
218
224
|
}
|
|
219
225
|
}
|
|
220
226
|
return ((0, react_1.createElement)(Element, __assign({}, filter, { key: filter.name, onChangeBlur: (filter === null || filter === void 0 ? void 0 : filter.onChangeMode) === 'blur' ? handleChange : undefined, onChangeInput: (filter === null || filter === void 0 ? void 0 : filter.onChangeMode) === 'blur' ? undefined : handleChange, onCloseMenu: handleMenuClose })));
|
|
221
|
-
}), configs.search && ((0, jsx_runtime_1.jsx)(components_1.InputSearch, { onChange: function (value) {
|
|
227
|
+
}), configs.search && ((0, jsx_runtime_1.jsx)(components_1.InputSearch, { disableBlur: configs === null || configs === void 0 ? void 0 : configs.disableRoutingUpdateFilters, onChange: function (value) {
|
|
222
228
|
var _a;
|
|
223
229
|
var _b;
|
|
224
|
-
return (
|
|
230
|
+
return !(configs === null || configs === void 0 ? void 0 : configs.disableRoutingUpdateFilters) &&
|
|
231
|
+
(0, ui_1.updateRoute)({ params: (_a = {}, _a[((_b = configs === null || configs === void 0 ? void 0 : configs.search) === null || _b === void 0 ? void 0 : _b.searchRouteKey) || 'search'] = value, _a.page = 1, _a), router: router });
|
|
225
232
|
} }))] }));
|
|
226
233
|
}
|
|
227
234
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,0BAwCC;;;AApED,sCAAuC;AAEvC,gDAAyB;AACzB,kDAA2B;AAE3B,2BASa;AAEb,2DAA8C;AAC9C,kDAAiD;AACjD,yDAAqD;AAIrD,0CAA6B;AAM7B,SAAgB,OAAO,CAAI,KAAqB;;IAC9C,IAAM,aAAa,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC,aAAa,KAAI,EAAE,CAAA;IACxD,IAAM,UAAU,GAAG,CAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,iBAAiB,0CAAE,OAAO,KAAI,EAAE,CAAA;IAC1D,IAAM,iBAAiB,GAAG,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,0CAAE,8BAA8B,CAAA;IAExE,IAAM,OAAO,mCAAO,UAAU,SAAK,aAAa,OAAC,CAAA;IAEjD,IAAM,MAAM,GAAG,IAAA,kBAAS,GAAE,CAAA;IAE1B,SAAS,aAAa,CAAC,OAAc;QACnC,IAAI,KAAK,CAAC,OAAO,CAAC,2BAA2B,EAAE,CAAC;YAC9C,OAAM;QACR,CAAC;QAED,IAAA,gBAAW,EAAC,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,IAAA,aAAQ,EAAC,EAAE,OAAO,SAAA,EAAE,CAAC,EAAE,EAAE,MAAM,QAAA,EAAE,CAAC,CAAA;IACrE,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,MAAM,CAAA,EAAE,CAAC;QACnD,OAAO,iCAAW,CAAA;IACpB,CAAC;IAED,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,SAAS,YACnB,wBAAC,CAAC,CAAC,OAAO,oBAAe,OAAO,CAAC,MAAM,aACrC,gCAAK,SAAS,EAAC,mBAAmB,YAChC,uBAAC,cAAS,IACR,KAAK,EAAC,EAAE,EACR,QAAQ,EAAE,uBAAC,WAAW,eAAQ,KAAK,IAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,IAAI,GACvF,GACE,EAEN,uBAAC,WAAW,eACN,KAAK,IACT,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,iBAAiB,IACpC,IACQ,GACN,CACT,CAAA;AACH,CAAC;AAED,SAAS,WAAW,CAAI,EASN;IATlB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/system/hooks/ui/use-table/components/table/filters/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,0BAwCC;;;AApED,sCAAuC;AAEvC,gDAAyB;AACzB,kDAA2B;AAE3B,2BASa;AAEb,2DAA8C;AAC9C,kDAAiD;AACjD,yDAAqD;AAIrD,0CAA6B;AAM7B,SAAgB,OAA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AC,KAAK,CAAC,CAAA;wBAEpB,IAAI,OAAO,CAAC,2BAA2B;4BAAE,OAAM;wBAE/C,IAAA,gBAAW,EAAC;4BACV,MAAM,YAAI,GAAC,MAAM,CAAC,IAAI,IAAG,KAAK,KAAE;4BAChC,MAAM,QAAA;yBACP,CAAC,CAAA;oBACJ,CAAC;gBACH,CAAC;gBAED,OAAO,CACL,2BAAC,OAAO,eACF,MAAM,IACV,GAAG,EAAE,MAAM,CAAC,IAAc,EAC1B,YAAY,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,MAAK,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,EACxE,aAAa,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,MAAK,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,EACzE,WAAW,EAAE,eAAe,IAC5B,CACH,CAAA;YACH,CAAC,CAAC,EAED,OAAO,CAAC,MAAM,IAAI,CACjB,uBAAC,wBAAW,IACV,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,2BAA2B,EACjD,QAAQ,EAAE,UAAC,KAAK;;;oBACd,OAAA,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,2BAA2B,CAAA;wBACrC,IAAA,gBAAW,EAAC,EAAE,MAAM,YAAI,GAAC,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,0CAAE,cAAc,KAAI,QAAQ,IAAG,KAAK,EAAE,OAAI,GAAE,CAAC,KAAE,EAAE,MAAM,QAAA,EAAE,CAAC,CAAA;iBAAA,GAEpG,CACH,IACG,CACP,CAAA;AACH,CAAC"}
|
|
@@ -49,6 +49,7 @@ interface IConfigurationsTable<T> {
|
|
|
49
49
|
pagination?: PaginationModel;
|
|
50
50
|
disableOrdenationTable?: boolean;
|
|
51
51
|
enabledShallowPagination?: boolean;
|
|
52
|
+
enableEnterKeySubmitForm?: boolean;
|
|
52
53
|
exports?: ExportTable[];
|
|
53
54
|
customFilterActive?: ({ filter, filterInUrl }: {
|
|
54
55
|
filter: any;
|
package/dist/test/index.d.ts
CHANGED
|
@@ -1 +1,28 @@
|
|
|
1
1
|
export declare function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro(): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const mockGroupForSale: {
|
|
3
|
+
items: {
|
|
4
|
+
produto: string;
|
|
5
|
+
grupo: string;
|
|
6
|
+
vagas: number;
|
|
7
|
+
prazo: string;
|
|
8
|
+
valorCredito: number;
|
|
9
|
+
valorParcela: number;
|
|
10
|
+
tcv: boolean;
|
|
11
|
+
rateio: boolean;
|
|
12
|
+
upgrade: boolean;
|
|
13
|
+
lanceFixo: boolean;
|
|
14
|
+
lanceIntegrado: boolean;
|
|
15
|
+
sorteioMeuPatrimonio: boolean;
|
|
16
|
+
}[];
|
|
17
|
+
pagination: {
|
|
18
|
+
page: number;
|
|
19
|
+
pageSize: number;
|
|
20
|
+
totalItems: number;
|
|
21
|
+
totalPages: number;
|
|
22
|
+
startPage: number;
|
|
23
|
+
endPage: number;
|
|
24
|
+
hasNextPage: boolean;
|
|
25
|
+
hasPreviousPage: boolean;
|
|
26
|
+
pages: number[];
|
|
27
|
+
};
|
|
28
|
+
};
|
package/dist/test/index.js
CHANGED
|
@@ -1,49 +1,142 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mockGroupForSale = void 0;
|
|
39
4
|
exports.NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro = NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro;
|
|
40
|
-
var
|
|
41
|
-
var ui_1 = require("../ui/index.js");
|
|
5
|
+
var system_1 = require("../system/index.js");
|
|
42
6
|
function NaoRemoverDaHomeUsadaParaTesteTestarAquiDentro() {
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
7
|
+
var Table = (0, system_1.useTable)({
|
|
8
|
+
columnsConfiguration: {
|
|
9
|
+
columns: [
|
|
10
|
+
{
|
|
11
|
+
id: 'produto',
|
|
12
|
+
label: 'Produto',
|
|
13
|
+
enabled: true,
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
configs: {
|
|
18
|
+
customFilters: [
|
|
19
|
+
{
|
|
20
|
+
label: 'Características',
|
|
21
|
+
InputComponent: 'Select',
|
|
22
|
+
name: 'caracteristicas',
|
|
23
|
+
placeholder: 'Características',
|
|
24
|
+
outsideFilters: true,
|
|
25
|
+
isMultiple: true,
|
|
26
|
+
maxItemsValueContainer: 1,
|
|
27
|
+
showSelectedValues: true,
|
|
28
|
+
options: [
|
|
29
|
+
{
|
|
30
|
+
label: 'Características 1',
|
|
31
|
+
value: '1',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: 'Características 2',
|
|
35
|
+
value: '2',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: 'Características 3',
|
|
39
|
+
value: '3',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
search: {
|
|
45
|
+
enabled: true,
|
|
46
|
+
},
|
|
47
|
+
// isLoading: true,
|
|
48
|
+
enableEnterKeySubmitForm: true,
|
|
49
|
+
disableRoutingUpdateFilters: true,
|
|
50
|
+
tableData: exports.mockGroupForSale === null || exports.mockGroupForSale === void 0 ? void 0 : exports.mockGroupForSale.items,
|
|
51
|
+
pagination: exports.mockGroupForSale === null || exports.mockGroupForSale === void 0 ? void 0 : exports.mockGroupForSale.pagination,
|
|
52
|
+
errorMessage: 'Não há registros cadastrados',
|
|
53
|
+
},
|
|
54
|
+
}).Table;
|
|
55
|
+
return Table;
|
|
48
56
|
}
|
|
57
|
+
exports.mockGroupForSale = {
|
|
58
|
+
items: [
|
|
59
|
+
{
|
|
60
|
+
produto: 'Auto',
|
|
61
|
+
grupo: '001068',
|
|
62
|
+
vagas: 1412,
|
|
63
|
+
prazo: '108/108',
|
|
64
|
+
valorCredito: 18000,
|
|
65
|
+
valorParcela: 325.45,
|
|
66
|
+
tcv: true,
|
|
67
|
+
rateio: false,
|
|
68
|
+
upgrade: true,
|
|
69
|
+
lanceFixo: false,
|
|
70
|
+
lanceIntegrado: true,
|
|
71
|
+
sorteioMeuPatrimonio: false,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
produto: 'auto',
|
|
75
|
+
grupo: 'Imóveis',
|
|
76
|
+
vagas: 8,
|
|
77
|
+
prazo: '200 / 150',
|
|
78
|
+
valorCredito: 350000,
|
|
79
|
+
valorParcela: 1890.75,
|
|
80
|
+
tcv: false,
|
|
81
|
+
rateio: true,
|
|
82
|
+
upgrade: false,
|
|
83
|
+
lanceFixo: true,
|
|
84
|
+
lanceIntegrado: false,
|
|
85
|
+
sorteioMeuPatrimonio: true,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
produto: 'auto',
|
|
89
|
+
grupo: 'Motos',
|
|
90
|
+
vagas: 5,
|
|
91
|
+
prazo: '80 / 60',
|
|
92
|
+
valorCredito: 23000,
|
|
93
|
+
valorParcela: 410.2,
|
|
94
|
+
tcv: true,
|
|
95
|
+
rateio: true,
|
|
96
|
+
upgrade: true,
|
|
97
|
+
lanceFixo: false,
|
|
98
|
+
lanceIntegrado: false,
|
|
99
|
+
sorteioMeuPatrimonio: false,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
produto: 'auto',
|
|
103
|
+
grupo: 'Pesados',
|
|
104
|
+
vagas: 10,
|
|
105
|
+
prazo: '150 / 100',
|
|
106
|
+
valorCredito: 160000,
|
|
107
|
+
valorParcela: 1120.55,
|
|
108
|
+
tcv: false,
|
|
109
|
+
rateio: true,
|
|
110
|
+
upgrade: true,
|
|
111
|
+
lanceFixo: true,
|
|
112
|
+
lanceIntegrado: true,
|
|
113
|
+
sorteioMeuPatrimonio: true,
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
produto: 'auto',
|
|
117
|
+
grupo: 'Patrimônio',
|
|
118
|
+
vagas: 15,
|
|
119
|
+
prazo: '180 / 120',
|
|
120
|
+
valorCredito: 80000,
|
|
121
|
+
valorParcela: 750.0,
|
|
122
|
+
tcv: true,
|
|
123
|
+
rateio: false,
|
|
124
|
+
upgrade: false,
|
|
125
|
+
lanceFixo: true,
|
|
126
|
+
lanceIntegrado: false,
|
|
127
|
+
sorteioMeuPatrimonio: true,
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
pagination: {
|
|
131
|
+
page: 1,
|
|
132
|
+
pageSize: 5,
|
|
133
|
+
totalItems: 25,
|
|
134
|
+
totalPages: 5,
|
|
135
|
+
startPage: 1,
|
|
136
|
+
endPage: 5,
|
|
137
|
+
hasNextPage: true,
|
|
138
|
+
hasPreviousPage: false,
|
|
139
|
+
pages: [1, 2, 3, 4, 5],
|
|
140
|
+
},
|
|
141
|
+
};
|
|
49
142
|
//# sourceMappingURL=index.js.map
|
package/dist/test/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/test/index.tsx"],"names":[],"mappings":";;;AAKA,wGAkDC;AAvDD,mCAAmC;AAKnC,SAAgB,8CAA8C;IACpD,IAAA,KAAK,GAAK,IAAA,iBAAQ,EAAM;QAC9B,oBAAoB,EAAE;YACpB,OAAO,EAAE;gBACP;oBACE,EAAE,EAAE,SAAS;oBACb,KAAK,EAAE,SAAS;oBAChB,OAAO,EAAE,IAAI;iBACd;aACF;SACF;QACD,OAAO,EAAE;YACP,aAAa,EAAE;gBACb;oBACE,KAAK,EAAE,iBAAiB;oBACxB,cAAc,EAAE,QAAQ;oBACxB,IAAI,EAAE,iBAAiB;oBACvB,WAAW,EAAE,iBAAiB;oBAC9B,cAAc,EAAE,IAAI;oBACpB,UAAU,EAAE,IAAI;oBAChB,sBAAsB,EAAE,CAAC;oBACzB,kBAAkB,EAAE,IAAI;oBACxB,OAAO,EAAE;wBACP;4BACE,KAAK,EAAE,mBAAmB;4BAC1B,KAAK,EAAE,GAAG;yBACX;wBACD;4BACE,KAAK,EAAE,mBAAmB;4BAC1B,KAAK,EAAE,GAAG;yBACX;wBACD;4BACE,KAAK,EAAE,mBAAmB;4BAC1B,KAAK,EAAE,GAAG;yBACX;qBACF;iBACF;aACF;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,IAAI;aACd;YACD,mBAAmB;YACnB,wBAAwB,EAAE,IAAI;YAC9B,2BAA2B,EAAE,IAAI;YACjC,SAAS,EAAE,wBAAgB,aAAhB,wBAAgB,uBAAhB,wBAAgB,CAAE,KAAK;YAClC,UAAU,EAAE,wBAAgB,aAAhB,wBAAgB,uBAAhB,wBAAgB,CAAE,UAAiB;YAC/C,YAAY,EAAE,8BAA8B;SAC7C;KACF,CAAC,MA/CW,CA+CX;IACF,OAAO,KAAK,CAAA;AACd,CAAC;AAEY,QAAA,gBAAgB,GAAG;IAC9B,KAAK,EAAE;QACL;YACE,OAA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,EAAE,EAAE;YACT,KAAK,EAAE,WAAW;YAClB,YAAY,EAAE,KAAK;YACnB,YAAY,EAAE,KAAK;YACnB,GAAG,EAAE,IAAI;YACT,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,IAAI;YACf,cAAc,EAAE,KAAK;YACrB,oBAAoB,EAAE,IAAI;SAC3B;KACF;IACD,UAAU,EAAE;QACV,IAAI,EAAE,CAAC;QACP,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,EAAE;QACd,UAAU,EAAE,CAAC;QACb,SAAS,EAAE,CAAC;QACZ,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,IAAI;QACjB,eAAe,EAAE,KAAK;QACtB,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;KACvB;CACF,CAAA"}
|
|
@@ -109,7 +109,7 @@ function FormHandlerComponent(props) {
|
|
|
109
109
|
}, children: (0, jsx_runtime_1.jsx)(formik_1.Form, { autoComplete: autoComplete, onSubmit: function (ev) {
|
|
110
110
|
ev.preventDefault();
|
|
111
111
|
onSubmit();
|
|
112
|
-
}, children: (0, jsx_runtime_1.jsxs)(S.FormHandler, { onKeyDown: handleKeyDown, id: formHandlerId, children: [stateForm.state === 'error' && (0, jsx_runtime_1.jsx)("span", { className: 'error-form', children: stateForm.message }), (0, jsx_runtime_1.jsx)("div", { className: 'conntent_form_infinity_forge', children: children }), (0, jsx_runtime_1.jsxs)("div", { className: "form-button ".concat(isStickyButtons ? 'sticky' : ''), children: [recaptcha && (0, jsx_runtime_1.jsx)("div", { id: 'recaptcha-v3' }), customAction && ((0, jsx_runtime_1.jsx)(customAction.Component, __assign({}, (customAction.props || {}), { stateForm: stateForm, handleSubmit: handleSubmit, values: formik.values, setFieldValue: formik.setFieldValue, clear: clear }))), (button === null || button === void 0 ? void 0 : button.text) && ((0, jsx_runtime_1.jsx)(ui_1.Button, __assign({}, button, { type: 'button', onClick: function () { return handleSubmit(); }, loading: stateForm.state === 'loading' }))), customSubmit &&
|
|
112
|
+
}, children: (0, jsx_runtime_1.jsxs)(S.FormHandler, { onKeyDown: handleKeyDown, id: formHandlerId, children: [stateForm.state === 'error' && (0, jsx_runtime_1.jsx)("span", { className: 'error-form', children: stateForm.message }), (0, jsx_runtime_1.jsx)("div", { className: 'conntent_form_infinity_forge', children: children }), (0, jsx_runtime_1.jsxs)("div", { className: "form-button ".concat(isStickyButtons ? 'sticky' : ''), children: [recaptcha && (0, jsx_runtime_1.jsx)("div", { id: 'recaptcha-v3' }), customAction && ((0, jsx_runtime_1.jsx)(customAction.Component, __assign({}, (customAction.props || {}), { stateForm: stateForm, handleSubmit: handleSubmit, values: formik.values, setFieldValue: formik.setFieldValue, clear: clear }))), ((button === null || button === void 0 ? void 0 : button.text) || (button === null || button === void 0 ? void 0 : button.svg)) && ((0, jsx_runtime_1.jsx)(ui_1.Button, __assign({}, button, { type: 'button', onClick: function () { return handleSubmit(); }, loading: stateForm.state === 'loading' }))), customSubmit &&
|
|
113
113
|
customSubmit.length > 0 &&
|
|
114
114
|
customSubmit.map(function (custom, index) { return ((0, jsx_runtime_1.jsx)(custom_submit_1.CustomSubmitButton, __assign({}, custom, { stateForm: stateForm, onSubmit: handleSubmit, clear: clear }), index)); })] })] }) }) }));
|
|
115
115
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ui/components/form/handler/form-handler/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJA,8BAYC;;AApKD,+BAAwD;AAExD,uDAAgC;AAChC,iCAAuE;AAEvE,2BAA6B;AAE7B,2CAAwC;AACxC,oCAAgD;AAChD,kDAAyE;AAIzE,2CAA8B;AAEjB,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAU5C,IAAI,CAAC,CAAA;AAER,SAAS,o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KAJP,KAAK,CAKV,CACH,EARmC,CAQnC,CAAC,IACA,IACQ,GACX,GACqB,CAC/B,CAAA;AACH,CAAC;AAED,SAAwB,WAAW,CAAC,KAAmB;IACrD,IAAM,YAAY,GAAG,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAA;IAElG,OAAO,CACL,6DACE,uBAAC,oBAAoB,eAAK,KAAK,EAAI,EAElC,KAAK,CAAC,SAAS,IAAI,uBAAC,gBAAM,IAAC,GAAG,EAAE,yDAAkD,YAAY,CAAE,GAAI,EAEpG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,KAAI,uBAAC,gBAAM,IAAC,GAAG,EAAC,uDAAuD,EAAC,KAAK,QAAC,KAAK,SAAG,IACvG,CACJ,CAAA;AACH,CAAC"}
|
|
@@ -25,6 +25,7 @@ function Input(props) {
|
|
|
25
25
|
var _a, _b;
|
|
26
26
|
var _c = (0, formik_1.useField)({ name: props === null || props === void 0 ? void 0 : props.name }), field = _c[0], state = _c[1], utils = _c[2];
|
|
27
27
|
var _d = (0, react_1.useState)(field.value), tempValue = _d[0], setTempValue = _d[1];
|
|
28
|
+
var blurTimeoutRef = (0, react_1.useRef)(null);
|
|
28
29
|
var formHandler = (0, ui_1.useFormHandler)();
|
|
29
30
|
function formatValueInput(value) {
|
|
30
31
|
var _a, _b, _c;
|
|
@@ -65,21 +66,38 @@ function Input(props) {
|
|
|
65
66
|
}
|
|
66
67
|
}, [field.value]);
|
|
67
68
|
var handleBlur = function (ev) {
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
utils.setValue(realValue);
|
|
72
|
-
(_a = props === null || props === void 0 ? void 0 : props.onChangeBlur) === null || _a === void 0 ? void 0 : _a.call(props, realValue, undefined, { state: state, utils: utils });
|
|
69
|
+
var value = ev.target.value;
|
|
70
|
+
if (value !== field.value) {
|
|
71
|
+
utils.setValue(value);
|
|
73
72
|
}
|
|
73
|
+
scheduleSearch(value);
|
|
74
74
|
};
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
var scheduleSearch = function (value) {
|
|
76
|
+
if (blurTimeoutRef.current) {
|
|
77
|
+
clearTimeout(blurTimeoutRef.current);
|
|
78
|
+
}
|
|
79
|
+
blurTimeoutRef.current = setTimeout(function () {
|
|
80
|
+
var _a;
|
|
81
|
+
(_a = props === null || props === void 0 ? void 0 : props.onChangeBlur) === null || _a === void 0 ? void 0 : _a.call(props, value, undefined, { state: state, utils: utils });
|
|
82
|
+
}, 800);
|
|
83
|
+
};
|
|
84
|
+
return ((0, jsx_runtime_1.jsx)(input_control_1.InputControl, __assign({}, props, { fieldValue: value, children: (0, jsx_runtime_1.jsx)("input", __assign({}, props, { id: props === null || props === void 0 ? void 0 : props.name, placeholder: props === null || props === void 0 ? void 0 : props.placeholder, type: (props === null || props === void 0 ? void 0 : props.type) || 'text', readOnly: (props === null || props === void 0 ? void 0 : props.readOnly) || ((_b = (_a = formHandler === null || formHandler === void 0 ? void 0 : formHandler.formHandlerProps) === null || _a === void 0 ? void 0 : _a.inputs) === null || _b === void 0 ? void 0 : _b.readOnly) }, field, { autoComplete: (props === null || props === void 0 ? void 0 : props.autoComplete) || 'new-password', min: props === null || props === void 0 ? void 0 : props.min, max: props === null || props === void 0 ? void 0 : props.max, value: value, onChange: function (ev) {
|
|
85
|
+
var _a, _b;
|
|
86
|
+
var value = ev.target.value;
|
|
87
|
+
if (blurTimeoutRef.current) {
|
|
88
|
+
clearTimeout(blurTimeoutRef.current);
|
|
89
|
+
blurTimeoutRef.current = null;
|
|
78
90
|
}
|
|
79
|
-
|
|
80
|
-
|
|
91
|
+
if ((props === null || props === void 0 ? void 0 : props.onChangeMode) === 'blur') {
|
|
92
|
+
setTempValue(value);
|
|
93
|
+
if ((props === null || props === void 0 ? void 0 : props.onChangeMode) === 'blur') {
|
|
94
|
+
scheduleSearch(value);
|
|
95
|
+
}
|
|
96
|
+
(_a = props === null || props === void 0 ? void 0 : props.onChangeInput) === null || _a === void 0 ? void 0 : _a.call(props, value, undefined, { state: state, utils: utils });
|
|
97
|
+
return;
|
|
81
98
|
}
|
|
82
|
-
|
|
99
|
+
field.onChange(ev);
|
|
100
|
+
(_b = props === null || props === void 0 ? void 0 : props.onChangeInput) === null || _b === void 0 ? void 0 : _b.call(props, value, undefined, { state: state, utils: utils });
|
|
83
101
|
}, onBlur: (props === null || props === void 0 ? void 0 : props.onChangeMode) === 'blur' ? handleBlur : undefined })) })));
|
|
84
102
|
}
|
|
85
103
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAWA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAWA,sBAsHC;;AAjID,+BAA4D;AAE5D,iCAAiC;AAEjC,2BAAkD;AAElD,kDAA+C;AAG/C,kDAA2B;AAE3B,SAAgB,KAAK,CAAC,KAAiB;;IAC/B,IAAA,KAAwB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,CAAC,EAAtD,KAAK,QAAA,EAAE,KAAK,QAAA,EAAE,KAAK,QAAmC,CAAA;IACvD,IAAA,KAA4B,IAAA,gBAAQ,EAAC,KAAK,CAAC,KAAK,CAAC,EAAhD,SAAS,QAAA,EAAE,YAAY,QAAyB,CAAA;IAEvD,IAAM,cAAc,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAA;IAEnC,IAAM,WAAW,GAAG,IAAA,mBAAc,GAAE,CAAA;IAEpC,SAAS,gBAAgB,CAAC,KAAK;;QAC7B,IAAI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
|
var S = __importStar(require("./styles.js"));
|
|
58
58
|
function Select(props) {
|
|
59
|
-
var _a, _b, _c;
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
59
|
+
var _a, _b, _c, _d;
|
|
60
|
+
var _e = (0, react_1.useState)(false), isLoading = _e[0], setIsLoading = _e[1];
|
|
61
|
+
var _f = (0, react_1.useState)(false), menuIsOpen = _f[0], setMenuIsOpen = _f[1];
|
|
62
|
+
var _g = (0, react_1.useState)(props.options || []), options = _g[0], setOptions = _g[1];
|
|
63
63
|
var selectRef = (0, react_1.useRef)(null);
|
|
64
|
-
var
|
|
64
|
+
var _h = (0, formik_1.useField)({ name: props.name }), field = _h[0], state = _h[1], utils = _h[2];
|
|
65
65
|
var id = (0, react_1.useMemo)(function () { return "select-".concat(props.name); }, [props.name]);
|
|
66
66
|
var isMounted = (0, ui_1.useComponentIsMounted)();
|
|
67
|
+
var formik = (0, ui_1.useFormHandler)().formik;
|
|
68
|
+
var values = (_a = formik.values) === null || _a === void 0 ? void 0 : _a[props.name];
|
|
67
69
|
var hooksParameters = {
|
|
68
70
|
id: id,
|
|
69
71
|
field: field,
|
|
@@ -80,30 +82,33 @@ function Select(props) {
|
|
|
80
82
|
onCloseMenu: props.onCloseMenu,
|
|
81
83
|
maxItemsValueContainer: props.maxItemsValueContainer,
|
|
82
84
|
};
|
|
83
|
-
var
|
|
85
|
+
var _j = (0, hooks_1.selectState)(hooksParameters), value = _j.value, valueExternalSelect = _j.valueExternalSelect;
|
|
84
86
|
var valueSelect = props.isMultiple ? value || [] : valueExternalSelect || (!(value === null || value === void 0 ? void 0 : value[0]) ? null : value[0]);
|
|
85
87
|
var selectProps = (0, hooks_1.useSelectProps)(__assign(__assign({}, hooksParameters), { valueSelect: valueSelect }));
|
|
86
88
|
var components = (0, hooks_1.useSelectComponents)(hooksParameters);
|
|
87
89
|
if (!isMounted) {
|
|
88
90
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
|
89
91
|
}
|
|
90
|
-
return ((0, jsx_runtime_1.jsxs)(S.Select, { ref: selectRef, children: [(0, jsx_runtime_1.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
: ev
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
92
|
+
return ((0, jsx_runtime_1.jsxs)(S.Select, { ref: selectRef, children: [(0, jsx_runtime_1.jsxs)(ui_1.InputControl, __assign({}, props, { i18n: { disabled: true }, children: [!!props.showSelectedValues && Array.isArray(values) && ((0, jsx_runtime_1.jsx)("div", { className: 'show_selected_values_infinity_forge', children: values === null || values === void 0 ? void 0 : values.map(function (v) {
|
|
93
|
+
var _a;
|
|
94
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("button", { type: 'button', onClick: function () { return utils.setValue(values.filter(function (value) { return value !== v; })); }, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'IconClose' }) }), (0, jsx_runtime_1.jsx)("span", { children: (_a = props.options.find(function (o) { return o.value === v; })) === null || _a === void 0 ? void 0 : _a.label })] }, v));
|
|
95
|
+
}) })), (0, jsx_runtime_1.jsx)(react_select_1.default, __assign({}, selectProps, { value: valueSelect, components: components, options: options, onChange: function (ev) {
|
|
96
|
+
var _a;
|
|
97
|
+
var value = props.onlyOneValue
|
|
98
|
+
? ((_a = ev === null || ev === void 0 ? void 0 : ev.value) !== null && _a !== void 0 ? _a : null)
|
|
99
|
+
: Array.isArray(ev)
|
|
100
|
+
? ev.map(function (ev) { return ev.value; })
|
|
101
|
+
: ev
|
|
102
|
+
? [ev.value]
|
|
103
|
+
: [];
|
|
104
|
+
if (!props.controlledOnChangeValue) {
|
|
105
|
+
utils.setValue(value);
|
|
106
|
+
}
|
|
107
|
+
props.onChangeInput && props.onChangeInput(value, function () { return utils.setValue(value); }, { state: state, utils: utils });
|
|
108
|
+
if (props.onlyOneValue) {
|
|
109
|
+
setMenuIsOpen(false);
|
|
110
|
+
}
|
|
111
|
+
} }))] })), ((_b = props === null || props === void 0 ? void 0 : props.addButton) === null || _b === void 0 ? void 0 : _b.CustomComponent) ? ((0, jsx_runtime_1.jsx)("div", { className: 'custom-component', children: (_c = props === null || props === void 0 ? void 0 : props.addButton) === null || _c === void 0 ? void 0 : _c.CustomComponent })) : (((_d = props === null || props === void 0 ? void 0 : props.addButton) === null || _d === void 0 ? void 0 : _d.onClick) && ((0, jsx_runtime_1.jsx)("button", { className: 'add', type: 'button', onClick: props.addButton.onClick, children: (0, jsx_runtime_1.jsx)(ui_1.Icon, { name: 'PlusIcon' }) }))), menuIsOpen && ((0, jsx_runtime_1.jsx)(ui_1.Overlay, { isTransparent: true, onClick: function () {
|
|
107
112
|
var _a;
|
|
108
113
|
setMenuIsOpen(false);
|
|
109
114
|
(_a = props === null || props === void 0 ? void 0 : props.onCloseMenu) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/select/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA4GC;;AAvHD,+BAA4D;AAE5D,iCAAiC;AACjC,8DAAsC;AAEtC,2BAA6G;AAE7G,iCAA0E;AAE1E,0CAA6B;AAE7B,SAAgB,MAAM,CAAC,KAAiB;;IAChC,IAAA,KAA4B,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAA1C,SAAS,QAAA,EAAE,YAAY,QAAmB,CAAA;IAC3C,IAAA,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