UNPKG

@xuda.io/runtime-bundle

Version:

The Xuda Runtime Bundle refers to a collection of scripts and libraries packaged together to provide the necessary runtime environment for executing plugins or components in the Xuda platform.

1,069 lines (903 loc) • 19.4 kB
*, ::after, ::before { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; } body { margin: 0; line-height: inherit; } html, body, body > div:first-of-type { height: 100%; } .intro img { display: block; margin: 0 auto; } .image_wrapper { border-radius: 5px; border-width: 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); overflow: hidden; vertical-align: middle; } .upload_wrapper { display: flex; position: relative; height: 100%; } .imgInp { width: 100%; height: 100%; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; } .image_img { display: block; margin: auto; } ion-thumbnail img { object-fit: contain !important; } .geo_coder_address_input { outline: none; display: inline-block; border-top: 1px solid #e6e6e6; border-left: none; border-right: none; background: transparent; padding: 1em 1px 1em 55px; width: 100%; box-shadow: none !important; } input.geo_coder_address_input li { background-color: aliceblue; } .geo_coder_wrapper:before { content: ''; position: absolute; left: 2px; top: 0; bottom: 0; width: 20px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' viewBox='0 0 54.757 54.757' style='enable-background:new 0 0 54.757 54.757;' xml:space='preserve'> <g xmlns='http://www.w3.org/2000/svg'><path d='M27.557,12c-3.859,0-7,3.141-7,7s3.141,7,7,7s7-3.141,7-7S31.416,12,27.557,12z M27.557,24c-2.757,0-5-2.243-5-5 s2.243-5,5-5s5,2.243,5,5S30.314,24,27.557,24z'/><path d='M40.94,5.617C37.318,1.995,32.502,0,27.38,0c-5.123,0-9.938,1.995-13.56,5.617c-6.703,6.702-7.536,19.312-1.804,26.952 L27.38,54.757L42.721,32.6C48.476,24.929,47.643,12.319,40.94,5.617z M41.099,31.431L27.38,51.243L13.639,31.4 C8.44,24.468,9.185,13.08,15.235,7.031C18.479,3.787,22.792,2,27.38,2s8.901,1.787,12.146,5.031 C45.576,13.08,46.321,24.468,41.099,31.431z'/></g> </svg>") center / contain no-repeat; } .geo_coder_wrapper { /* top: 5px; */ position: relative; width: 100%; } .pac-item:before { content: ''; position: absolute; left: 18px; height: 33px; width: 20px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' viewBox='0 0 54.757 54.757' style='enable-background:new 0 0 54.757 54.757;' xml:space='preserve'> <g xmlns='http://www.w3.org/2000/svg'><path d='M27.557,12c-3.859,0-7,3.141-7,7s3.141,7,7,7s7-3.141,7-7S31.416,12,27.557,12z M27.557,24c-2.757,0-5-2.243-5-5 s2.243-5,5-5s5,2.243,5,5S30.314,24,27.557,24z'/><path d='M40.94,5.617C37.318,1.995,32.502,0,27.38,0c-5.123,0-9.938,1.995-13.56,5.617c-6.703,6.702-7.536,19.312-1.804,26.952 L27.38,54.757L42.721,32.6C48.476,24.929,47.643,12.319,40.94,5.617z M41.099,31.431L27.38,51.243L13.639,31.4 C8.44,24.468,9.185,13.08,15.235,7.031C18.479,3.787,22.792,2,27.38,2s8.901,1.787,12.146,5.031 C45.576,13.08,46.321,24.468,41.099,31.431z'/></g> </svg>") center / contain no-repeat; } .pac-logo:after { display: none; } .pac-icon { display: none !important; } .pac-item { font-size: unset; color: unset; line-height: unset; padding: 1em 0 1em 70px; opacity: 1; } .pac-item-query { font-size: unset; color: unset; line-height: unset; display: block; } .pac-item span:nth-child(3) { font-size: 14px; } .pac-container { width: 100% !important; box-shadow: none; border-top: unset !important; position: absolute !important; left: unset !important; font-family: unset !important; opacity: 1; } .pac-item:last-child { border-bottom: 1px solid #e6e6e6; } .geo_coder_wrapper input[type='search']::-webkit-search-cancel-button { /* Remove default */ -webkit-appearance: none; /* Now your own custom styles */ height: 14px; width: 14px; display: block; padding-right: 2px; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC); /* setup all the background tweaks for our custom icon */ background-repeat: no-repeat; /* icon size */ background-size: 14px; } .geo_coder_wrapper input[type='search'] { border: 0 !important; border-radius: 0 !important; } .widget_wrapper { width: 100%; height: auto; } .half_modal .modal-wrapper { transition: all 0.2s ease; top: 45%; height: 55% !important; position: absolute; display: block; overflow: hidden !important; } .gmnoprint { display: none; } .gm-style-pbt { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--ion-color-primary); background: white; padding: 10px; border-radius: 5px; } input[type='file'] { color: transparent; overflow: hidden; } .action-sheet-title { height: fit-content !important; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } #apple-pay-button { display: none; background-color: black; background-image: -webkit-named-image(apple-pay-logo-white); background-size: 100% 100%; background-origin: content-box; background-repeat: no-repeat; width: 100%; height: 44px; padding: 10px 0; border-radius: 10px; } .stripe_cc_icons_list { width: 40px !important; margin-right: 10px; } [role='alert'] { text-align: center; margin-top: 15px; } .croppe_rotate { width: 17px; height: 17px; margin-left: 0px; /* overflow: visible !important; */ position: absolute; z-index: 99999; margin-top: -20px; } .croppe_retake { height: 20px; float: left; margin-left: 80px; position: absolute; z-index: 99999; margin-top: -20px; } .swiper-pagination-bullets { z-index: 9999999999; text-align: right; padding-right: 16px; } .cr-boundary { height: calc(100% - 50px) !important; } .cr-overlay { top: unset !important; left: unset !important; } @keyframes fadeInUp { 0% { opacity: 1; -webkit-transform: translateY(45px); transform: translateY(45px); } 100% { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } } ion-title ion-button { animation: fadeInUp 0.2s 1; } ion-item-divider { min-height: 6px !important; } ion-list { margin-bottom: 6px !important; } .button-block { --border-radius: 6px; } .button-round { --border-radius: 64px; } .iti__flag { background-image: url('https://intl-tel-input.com/node_modules/intl-tel-input/build/img/flags@2x.png'); } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .iti__flag { background-image: url('https://intl-tel-input.com/node_modules/intl-tel-input/build/img/flags@2x.png'); } } .iti__flag-container { position: unset !important; top: unset !important; bottom: unset !important; right: unset !important; padding: unset !important; } .phoneStyle { text-align: left !important; margin-top: 16px !important; } .phoneStyle .totalstyle { font-size: 18px; margin-left: 16px; } ion-content { --background: transparent; /* --color: white; */ } .animated { -webkit-animation-duration: 500ms !important; animation-duration: 500ms !important; } #keyPad h5 { text-align: center; font-size: 22px !important; transition: transform 0.1s; } .totalstyle { font-size: 58px; } .decimal_disabled { color: #c7c7cd80 !important; } #total div { display: inline-grid; } #totalContainer { text-align: center; margin-top: 100px; } #keyPad, #keyPad ion-row:first-of-type { height: 100%; } #keyPad ion-row:first-of-type ion-col:first-of-type ion-grid { padding-bottom: var(--ion-safe-area-bottom, 0); bottom: 0; position: absolute; width: 100%; } #progressScreen2 { position: fixed; background: rgb(0 0 0 / 70%); z-index: 999999; overflow-y: auto; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; } #progressScreen2_text { color: white; text-shadow: 1px 1px 2px #6e6e6e; } .progressScreen_logo { width: 70%; max-width: 150px; display: block; margin: auto; border-radius: 6px; } #progressScreen2_text h4 { margin: 20px 40px; } #progressScreen2_text p { margin-top: 10px; } .reviews-stars button { background: none; border: none; outline: none; padding: 0; } .reviews-stars button.active svg { fill: #ffd966; } .reviews-stars button svg { fill: #d3d2d2; width: 25px; } .reviews-stars button:hover { cursor: pointer; } /* NEW STARS */ .jq-stars { display: inline-block; } .jq-rating-label { font-size: 22px; display: inline-block; position: relative; vertical-align: top; font-family: helvetica, arial, verdana; } .jq-star { width: 100px; height: 100px; display: inline-block; cursor: pointer; } .jq-star-svg { padding-left: 3px; width: 100%; height: 100%; } .jq-star:hover .fs-star-svg path { } .jq-star-svg path { /* stroke: #000; */ stroke-linejoin: round; } /* un-used */ .jq-shadow { -webkit-filter: drop-shadow(-2px -2px 2px #888); filter: drop-shadow(-2px -2px 2px #888); } ion-button:focus { outline: none; } .ion-page { display: flex; flex-direction: column; justify-content: space-between; height: 100%; overflow: auto; position: relative; } @keyframes spinner { to { transform: rotate(360deg); } } .spinner, .spinner:before { width: 30px; height: 30px; box-sizing: border-box; } .spinner:before { content: ''; display: block; border-radius: 50%; border: 2px solid #eee; border-top-color: #b7babe; animation: spinner 0.6s linear infinite; } /* Animations */ .spinner-add, .spinner-remove { animation-fill-mode: both; animation-duration: 0.4s; } .spinner-add { animation-name: spinner-add; } @keyframes spinner-add { from { transform: scale(0); } to { transform: scale(1); } } .spinner-remove { animation-name: spinner-remove; } @keyframes spinner-remove { to { transform: scale(0); } } .swiper { width: 100%; height: 100%; } .swiper_thumb .swiper-slide { width: 25%; height: 100%; opacity: 0.4; } .swiper_thumb .swiper-slide-thumb-active { opacity: 1; } .swiper_thumb { box-sizing: border-box; padding: 10px 0 !important; } [dir='rtl'] .form-select { background-position: left 0.5rem center; } /* For those who use it direct */ [dir='rtl'] select { background-position: left 0.5rem center; } .ion-page-hidden { display: none !important; } .can-go-back > ion-header ion-back-button { display: block; } .filepond--root { height: max-content; } .ql-editor, .ql-container { height: inherit !important; } .xu_embed_div { width: 100%; height: 100%; } .expand_swiper_wrapper { width: 100%; position: fixed; height: 100%; background: rgb(0 0 0 / 50%); top: 0; } .expand_swiper_wrapper img { width: 100%; height: 100%; object-fit: contain; } .expand_swiper_wrapper .swiper-slide { text-align: center; font-size: 18px; background: #fff; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .expand_swiper_wrapper .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; } */ .ag-center-aligned-cell { text-align: center; } .grid_wrapper { width: 100%; height: 100%; display: flex; flex-direction: column; } .grid_bar { height: 40px; display: flex; align-content: center; justify-content: center; align-items: center; } .grid_bar_pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; width: 100%; background: lightgray; } .grid_bar_add { background: gold; } .grid_top { flex: 1 1 auto; } .grid_bottom { height: 60px; } .grid_add { flex: 1 1 auto; } .grid_bold_row { font-weight: bold; } .grid_add_row { background-color: red; } .grid_pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; width: 50%; height: 16px; background: lightgray; border-radius: 10px; margin-top: 11px; margin-bottom: auto; } @keyframes pulse { 50% { opacity: 0.5; } } .ag-header { z-index: 99; } .ag-popup-editor { /* transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 100ms; */ } .swiper-rtl .swiper-pagination-vertical.swiper-pagination-bullets, .swiper-vertical > .swiper-pagination-bullets { left: 10px !important; right: unset; } .preview_mark { border: cornflowerblue 2px solid !important; cursor: crosshair; } .ag-grid-contextMenu { position: absolute; display: none; background-color: whitesmoke; /* padding: 10px; */ box-shadow: 0 1px #0000000d, 0 4px 10px rgb(0 0 0 / 30%); border-radius: 6px; z-index: 99; width: 160px; height: 140px; overflow: auto; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ z-index: 99999; -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-contextMenu::-webkit-scrollbar { display: none; } .ag-grid-contextMenu ul { display: block; position: static; margin-bottom: 5px; list-style: none; margin: 0; padding: 0; } .ag-grid-contextMenu ul .ag-grid-contextMenu-item-header { padding: 10px; text-align: center; background-color: lightgray; } .ag-grid-contextMenu li { padding: 7px; padding-left: 20px; display: flex; justify-content: space-between; align-content: center; } .ag-grid-contextMenu li:hover { background-color: lightgray; cursor: pointer; } .ag-grid-popupMenu { position: absolute; display: none; background-color: whitesmoke; padding: 5px; box-shadow: 0 1px #0000000d, 0 4px 10px rgb(0 0 0 / 30%); border-radius: 6px; z-index: 99; width: 200px; height: 200px; overflow: auto; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ z-index: 99999; -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-popupMenu::-webkit-scrollbar { display: none; } .ag-grid-popupMenu ul { display: block; position: static; margin-bottom: 5px; list-style: none; margin: 0; padding: 0; } .ag-grid-popupMenu li { padding: 5px; display: flex; justify-content: space-between; align-content: center; } @-webkit-keyframes fadeIn-labelAnimation { 0% { opacity: 0; -webkit-transform: scale(0.97); -ms-transform: scale(0.97); transform: scale(0.97); } to { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } @keyframes fadeIn-labelAnimation { 0% { opacity: 0; -webkit-transform: scale(0.97); -ms-transform: scale(0.97); transform: scale(0.97); } to { opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } .labelAnimation { -webkit-animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; animation: fadeIn-labelAnimation 0.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; -webkit-backface-visibility: hidden; -webkit-transform: translateZ(0) scale(1); } .ag-grid-menu-show { display: block; } .ag-grid-menu-hide { display: none; } .ag-grid-contextMenu_item_enabled { color: black; } .ag-grid-contextMenu_item_disabled { color: lightgray; } .ag-grid-filepond-wrapper { width: 500px; margin-left: auto; margin-right: auto; margin-top: 100px; } .ag-grid-filepond-close { text-decoration: underline; color: white; } .ag-grid-filepond-close:hover { cursor: pointer; } .grid_pond { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); z-index: 99; } /* .grid_add { border: 2px red solid; } */ .ag-grid-filepond-error { color: white; display: none; } .ag-grid-filepond-error ul { list-style: num; list-style-position: inside; margin-top: 10px; } .ag-grid-filepond-error ul li { margin-top: 10px; } @-webkit-keyframes blinker { from { background-color: yellow; } to { background-color: inherit; } } .ag-grid-new-row-blink { text-decoration: blink; -webkit-animation-name: blinker; -webkit-animation-duration: 0.6s; -webkit-animation-timing-function: ease-in-out; -webkit-animation-direction: alternate; } hr { height: 0; color: inherit; border-top-width: 1px; margin: 0; } .debug_gui_progress { border: rgb(221, 255, 0) 1px dotted !important; } xu-nav { display: contents; } .progressLoader { background: transparent; position: fixed; top: 0; height: 3px !important; width: 100%; } .progress_busy { animation: progress_busy 3s infinite; } .progress_busy2 { animation: progress_busy 3s infinite; } @keyframes progress_busy { 20% { background: #25ceff; } 50% { background: #7271ff; } 70% { background: #d7412c; } 90% { background: #fcac07; } } .skeleton { animation: skeleton-loading 1s linear infinite alternate; } @keyframes skeleton-loading { 0% { background-color: hsl(200, 20%, 80%); color: hsl(200, 20%, 80%); border-color: hsl(200, 20%, 80%) !important; } 100% { background-color: hsl(200, 20%, 95%); color: hsl(200, 20%, 95%); border-color: hsl(200, 20%, 95%) !important; } } .skeleton-text { width: 100%; height: 0.7rem; margin-bottom: 0.5rem; border-radius: 0.25rem; } .skeleton-text__body { width: 75%; } .skeleton-footer { width: 30%; } .skeleton-panel { width: 100%; height: 9.7rem; margin-bottom: 0.5rem; border-radius: 0.25rem; } .live_preview_connected { border: lightgreen 2px solid; } .live_preview_online { border: red 2px solid; } .get_support_request { border: blue 2px dashed; } .get_support_request_title { float: left; position: fixed; top: 0px; left: 0px; font-size: 8px; background: blue; padding-left: 5px; padding-right: 5px; padding: 1 5 1 5; color: white; } .runtime_offline { border: rgb(255, 136, 0) 2px solid; } .get_support_online { border: red 2px dashed; } .get_support_online_title { float: left; position: fixed; top: 0px; left: 0px; font-size: 8px; background: red; padding-left: 5px; padding-right: 5px; padding: 1 5 1 5; color: white; } .help_screen { display: flex; gap: 25px; margin-top: 25px; } .help_screen button { background: #eeeeee73; padding: 10px; border-radius: 10px; color: black; } .help_screen button svg:not(h3 svg) { width: 75px; cursor: pointer; margin: 18px auto; } .display_none { display: none !important; } xurender, xu-teleport { display: none; }