eservices-core 1.2.7 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('[dir=rtl] .icon[data-v-0d979509]{transform:scaleX(-1)}.input-text-container[data-v-65e2ee2d]{position:relative;height:var(--input-height);width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-65e2ee2d]:focus-within{outline:var(--input-border-active)}.input-text__error[data-v-65e2ee2d]{position:absolute;margin:0;top:100%}.input-text[data-v-65e2ee2d]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size);outline:none}.input-text[data-v-65e2ee2d]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-65e2ee2d]{background-color:var(--input-background-color-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-65e2ee2d]{border:var(--input-border-error)}.input-text__password[data-v-65e2ee2d]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-65e2ee2d]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-title_required[data-v-65e2ee2d],.input-text__error[data-v-65e2ee2d]{color:red}.input__toggle[data-v-56d58611]{position:relative;width:40px;height:20px;background-color:var(--input-toggle-background-color);border-radius:var(--input-toggle-border-radius);cursor:pointer;transition:var(--fast);border:var(--input-toggle-border)}.input__toggle[data-v-56d58611]:before{content:"";position:absolute;top:0;bottom:0;margin:auto;left:3px;height:14px;width:14px;border-radius:var(--input-toggle-round-radius);background-color:var(--input-toggle-round-background-color);transition:var(--transition-fast)}.input__toggle.active[data-v-56d58611]{background-color:var(--input-toggle-background-color-active)}.input__toggle.active[data-v-56d58611]:before{transform:translate(20px)}.input__toggle.disabled[data-v-56d58611]{background-color:var(--input-disabled-background-color);border:var(--input-disabled-border)}.input__toggle.disabled[data-v-56d58611]:before{background-color:var(--gray-1)}.input__toggle.disabled[data-v-56d58611]{cursor:auto}.item-wrap[data-v-69ab8592]{display:flex;align-items:center}.input-select__item[data-v-69ab8592]{margin:0;text-overflow:ellipsis;overflow:hidden;color:var(--text-black);transition:var(--fast);font-size:14px;line-height:19px;font-weight:400}.input-select__item.active[data-v-69ab8592]{background-color:var(--main);color:var(--text-white)}.input-select-container[data-v-c4acd469]{position:relative;width:100%;outline:none}.input-select-container.disabled>.input-select-container__current[data-v-c4acd469]{background-color:var(--input-background-color-disabled)}.input-select-container__list[data-v-c4acd469]{display:none;position:absolute;top:calc(100% - 5px);z-index:100;padding-top:4px;border:1px solid var(--gray-1);border-top:0;max-height:250px;width:100%;overflow:auto}.input-select-container.active .input-select-container__list[data-v-c4acd469]{display:block}.input-select-container.active>.input-select-container__current>img[data-v-c4acd469]{transform:rotate(-180deg)}.input-select-container__current[data-v-c4acd469]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 0;border:var(--input-border);width:100%;border-radius:var(--input-border-radius);cursor:pointer;background-color:var(--input-background-color)}.current-placeholder[data-v-c4acd469]{padding:0 10px;color:var(--input-placeholder-color)}.input-select__ico-toggle[data-v-c4acd469]{fill:var(--main)}.input-select-container.error>.input-select-container__current[data-v-c4acd469]{border:1px solid var(--error)}.input-select-container.active>.input-select-container__current[data-v-c4acd469]{outline:var(--input-border-active)}.input-select-value[data-v-c4acd469]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 16px;color:var(--input-color)}.container-input-file[data-v-bdbf1475]{height:var(--input-height);border:var(--input-border);background-color:var(--input-background-color);border-radius:var(--input-border-radius);padding:5px;display:flex;align-items:center;position:relative}.icon__file-upload[data-v-bdbf1475]{font-size:12px;color:var(--input-color)}.input-file[data-v-bdbf1475]{position:absolute;left:0;top:0;z-index:500;width:100%;height:100%;opacity:0;cursor:pointer}.input-file[data-v-bdbf1475]::-webkit-file-upload-button{visibility:hidden}.process-info[data-v-bdbf1475]{margin:4px 0}.widget-input__container[data-v-1e3f1057]{position:relative;outline:none}.widget-input__underline[data-v-1e3f1057]{height:2px;background-color:var(--input-line-color)}.widget-input__placeholder[data-v-1e3f1057]{margin:2px 0 0;color:var(--input-line-placeholder-color);font-size:var(--input-line-placeholder-font-size);line-height:var(--input-line-placeholder-line-height);-webkit-user-select:none;user-select:none}.widget-input__placeholder_error[data-v-1e3f1057]{color:var(--error)}.input-container__content[data-v-1e3f1057]{width:100%;display:flex}.input-text[data-v-212b50e2]{height:31px;width:100%;border:unset;outline:unset;background-color:transparent;color:var(--input-line-color);font-size:var(--input-line-font-size)}.input-text__password[data-v-212b50e2]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-9c3e5ea6]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-text-container[data-v-9c3e5ea6]{position:relative;height:32px;width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-9c3e5ea6]:focus-within{border:var(--input-border-active)!important}.input-text__error[data-v-9c3e5ea6]{position:absolute;margin:0;top:100%;text-align:right}.input-text[data-v-9c3e5ea6]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size)}.input-text[data-v-9c3e5ea6]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-9c3e5ea6]{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-9c3e5ea6]{border:var(--input-border-error)}.input-text__password[data-v-9c3e5ea6]{padding:0 6px;display:flex;align-items:center}.input-text[data-v-9c3e5ea6]:focus{border:0;outline:0}.widget-button-wrap[data-v-b6be5c12]{width:fit-content;outline:none;-webkit-user-select:none;user-select:none;position:relative;--size: 30px;max-height:var(--size);height:var(--size)}.widget-button[data-v-b6be5c12]{background-color:var(--widget-button-background);color:var(--widget-button-color);border:var(--widget-button-border);border-radius:var(--widget-button-radius);height:fit-content;overflow:hidden}.widget-button__toggle[data-v-b6be5c12]{height:var(--size);width:var(--size)}.widget-button__toggle[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.widget-button__list[data-v-b6be5c12]{overflow:hidden;max-height:var(--size);transition:var(--fast);height:fit-content}.widget-button .widget-button__toggle-icon[data-v-b6be5c12]{transition:var(--fast)}.widget-button.active .widget-button__toggle-icon[data-v-b6be5c12]{transform:rotate(-180deg)}.widget-button__list-elem[data-v-b6be5c12]{line-height:var(--size);font-size:14px;padding:0 10px;transition:var(--extra-fast);min-width:80px}.widget-button__list-elem[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.function-item[data-v-73f7eb9f]{padding:10px}.form-title[data-v-c91ffa31]{flex-grow:1}.widget-form[data-v-c3e88e10]{width:100%;max-width:966px;overflow:hidden;border:var(--form-border);background-color:var(--form-background-color);box-shadow:var(--form-shadow);border-radius:var(--form-radius);border-bottom:5px solid var(--form-border-bottom)}.widget-form__head[data-v-c3e88e10]{min-height:60px;align-items:center;background-color:var(--form-head-background-color)}@media screen and (min-width: 769px){.widget-form__head[data-v-c3e88e10]{flex-wrap:nowrap;padding:0 20px 0 40px}.widget-form__head-button[data-v-c3e88e10]{margin-right:15px}}@media screen and (max-width: 768px){.widget-form[data-v-c3e88e10]{width:100%}.widget-form__head[data-v-c3e88e10]{flex-wrap:wrap}}.widget-form__head-functions[data-v-c3e88e10]{height:100%;align-items:center}.widget-form__body[data-v-c3e88e10]{overflow:auto}.form-container-item[data-v-9264f6f4]{flex-wrap:wrap;gap:10px}.form-container-item-center[data-v-9264f6f4]{flex-grow:1;max-width:240px}.form-container-item__title[data-v-9264f6f4]{min-width:180px;max-width:180px;min-height:30px;justify-content:flex-end}.form-container-item__title>span[data-v-9264f6f4]{display:flex;align-items:center;font-size:14px;height:30px;line-height:130%}.form-container-item-1 .form-container-item-center[data-v-9264f6f4]{max-width:unset}.form-container-item__right[data-v-9264f6f4]{flex-grow:1;max-width:240px}.content_double[data-v-9264f6f4]{max-width:480px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;align-items:center;justify-content:center;background-color:var(--container-auth-background-color);border-radius:var(--container-auth-border-radius);box-shadow:var(--container-auth-box-shadow);overflow:hidden;max-width:900px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;width:100%;height:100%}.container-auth-sidebar[data-v-0b1a5e81]{width:300px;background-color:var(--container-auth-sidebar-background-color)}.container-auth-main[data-v-0b1a5e81]{display:flex;flex-direction:column;flex-grow:1;position:relative}@media screen and (min-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{height:500px}.container-auth-wrap>div[data-v-0b1a5e81]{height:100%}.container-auth-sidebar[data-v-0b1a5e81]{height:100%}}@media screen and (max-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{flex-direction:column}.container-auth-sidebar[data-v-0b1a5e81]{height:220px}}.loader[data-v-12ff0501],.loader[data-v-12ff0501]:after{border-radius:50%;width:14px;height:14px}.loader[data-v-12ff0501]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8-12ff0501 1.1s infinite linear;animation:load8-12ff0501 1.1s infinite linear}@-webkit-keyframes load8-12ff0501{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8-12ff0501{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.button-wrap[data-v-937d2e62]{position:relative}.button-spinner[data-v-937d2e62]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.button-element[data-v-937d2e62]{height:100%;width:100%;padding:0 20px;cursor:pointer;background-color:transparent;outline:unset;border:unset;color:unset;font-weight:unset;font-size:unset}.widget-button-wrap[data-v-13176c56]{--button-size: 40px;max-height:var(--button-size);z-index:1;position:relative;cursor:pointer;width:fit-content}.widget-multi-button[data-v-13176c56]{display:flex;background-color:#3949ab;border-radius:20px;overflow:hidden}.button__content[data-v-13176c56]{max-height:40px;min-width:80px;transition:.2s;overflow:hidden}.button__content_active[data-v-13176c56]{max-height:200px}.button__content-title[data-v-13176c56]{white-space:nowrap;font-size:14px;line-height:20px;padding:10px 10px 10px 20px;color:#fff;margin:0;transition:background-color .2s}.button__content-title[data-v-13176c56]:hover{background-color:#223296}.button__toggle_active[data-v-13176c56]{transform:rotate(180deg)}.button__side[data-v-13176c56]{min-width:var(--button-size)}.button__size-toggle[data-v-13176c56]{height:var(--button-size)}.button__size-toggle[data-v-13176c56]{cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .1s,background-color .2s;color:#fff}.button__size-toggle[data-v-13176c56]:hover{background-color:#223296}.button__toggle-icon[data-v-13176c56]{height:16px}.button__size-progress[data-v-13176c56]{display:flex;align-items:center;justify-content:center;height:var(--button-size)}.widget-error[data-v-8a0a0924]{height:38px;background-color:#ffb694;box-shadow:4px 4px 10px #ff500033}.widget-error-text[data-v-8a0a0924]{margin:0}.widget-error-wrap[data-v-8a0a0924]{height:100%;display:flex;align-items:center;justify-content:center}.widget-error-close[data-v-8a0a0924]{display:flex;align-items:center;justify-content:center;height:100%;width:40px;cursor:pointer}.widget-error-close[data-v-8a0a0924]:after,.widget-error-close[data-v-8a0a0924]:before{position:absolute;content:"";height:20px;width:2px;background-color:#000;border-radius:2px}.widget-error-close[data-v-8a0a0924]:after{transform:rotate(45deg)}.widget-error-close[data-v-8a0a0924]:before{transform:rotate(-45deg)}.widget-error-message[data-v-8a0a0924]{font-size:14px;line-height:130%;letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.widget-error-main[data-v-8a0a0924]{width:700px}.widget-error__container-close[data-v-8a0a0924]{height:100%}.article-details[data-v-8a0a0924]{font-size:18px;line-height:130%;letter-spacing:.05em;text-decoration-line:underline;font-weight:700;cursor:pointer}.fade-enter-active[data-v-aa732044],.fade-leave-active[data-v-aa732044]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-aa732044],.fade-leave-to[data-v-aa732044]{opacity:0;max-height:0}.container-errors[data-v-8e9870dd]{display:flex;gap:1px;flex-direction:column;position:fixed;top:0;left:0;width:100%;z-index:11}.fade-enter-active[data-v-8e9870dd],.fade-leave-active[data-v-8e9870dd]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-8e9870dd],.fade-leave-to[data-v-8e9870dd]{opacity:0;max-height:0}.modal__wait[data-v-430b5c94]{padding:40px 30px;max-width:450px}*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.flex{display:flex}.flex_column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow{flex-grow:1}.grid{display:grid}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_20{gap:20px}.margin-0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px;color:#4f4f4f}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number{text-align:right}.overflow_auto{overflow:auto}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15,.padding_20{padding:15px}.es-list-container{overflow:auto}.widget-table__head[data-v-2ce532f4]{text-align:left}.widget-table__head-cell[data-v-2ce532f4]{padding:18px}.widget-table__head-title[data-v-2ce532f4]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;font-size:14px;line-height:19px;margin:0}.widget-loader[data-v-a01a837d]{display:grid;grid-template-columns:max-content max-content;padding:4px;gap:10px;align-items:center}.widget-table-loader{padding:10px 0}.breadcrumb[data-v-1702aee0]{gap:8px;align-items:center;color:#828282;cursor:pointer}.breadcrumb__title[data-v-1702aee0]{font-weight:400;font-size:12px;line-height:16px;margin:0}.breadcrumb__icon[data-v-1702aee0]{height:16px}.breadcrumb_active[data-v-1702aee0],.breadcrumb[data-v-1702aee0]:hover{color:#4f4f4f}.widget-breadcrumbs[data-v-1dfb2668]{display:flex;gap:14px}tr[data-v-47478206]{border:1px solid #F3F4FC;height:30px}th[data-v-47478206],td[data-v-47478206]{position:relative;padding:0 11px}th[data-v-47478206]{text-align:left}p[data-v-47478206]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.head-cell[data-v-03c9724f]{padding:0 15px 0 10px;display:flex}.head-cell[data-v-03c9724f]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-03c9724f]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-03c9724f]{position:absolute;inset-inline-end:4px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-03c9724f]{transform:rotate(180deg)}.head-cell-resize[data-v-03c9724f]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-03c9724f]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-03c9724f]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-ecab6d75]{position:sticky;top:-1px;z-index:1}.test-block[data-v-ecab6d75]{background-color:#e7f2ff;inset-block-start:-1px;position:absolute;z-index:2;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:0 10px;height:calc(100% + 1px);display:none;place-content:center}.widget-list-head th[data-v-ecab6d75]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.head-cell[data-v-ecab6d75]{display:flex;cursor:pointer;padding:0 10px}.head-cell-label[data-v-ecab6d75]{flex-grow:1;margin:0;white-space:nowrap;-webkit-user-select:none;user-select:none}.list-arrow[data-v-ecab6d75]{position:relative;display:block;height:15px;width:2px;background-color:gray;border-radius:2px}.list-arrow[data-v-ecab6d75]:after,.list-arrow[data-v-ecab6d75]:before{position:absolute;display:block;content:"";background-color:gray;height:8px;width:2px;border-radius:2px}.list-arrow[data-v-ecab6d75]:after{transform:rotate(-30deg);right:-2px}.list-arrow[data-v-ecab6d75]:before{transform:rotate(30deg);left:-2px}.block-list-arrow[data-v-ecab6d75]{transition:.1s}.down[data-v-ecab6d75]{transform:rotate(180deg)}.head-cell-order[data-v-ecab6d75]{display:grid;place-content:center}.widget-list-head-label[data-v-ecab6d75]{font-weight:400;font-size:13px;line-height:16px;padding:5px 0}.head-cell-resize[data-v-ecab6d75]{position:relative;padding:3px 10px;cursor:col-resize}.head-cell-resize[data-v-ecab6d75]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:gray}.widget-list-body[data-v-eb609a21]{position:relative}.widget-list-body[data-v-eb609a21]:after{content:"";background-color:transparent;z-index:-1;transition:.1s}.widget-list-body_inactive[data-v-eb609a21]:after{z-index:0;position:absolute;top:0;background-color:#afafaf80;height:100%;width:100%}.widget-section[data-v-07232553]{background-color:var(--form-section-background-color);box-shadow:var(--form-section-box-shadow);border-radius:var(--form-section-border-radius)}.widget-section__header[data-v-07232553]{border-radius:10px 10px 0 0;display:flex;padding:8px 8px 8px 40px;background-color:var(--form-section-header-background-color)}.widget-section-title[data-v-07232553]{flex-grow:1;font-weight:var(--form-section-title-font-weight);color:var(--form-section-title-color);font-size:var(--form-section-title-font-size);line-height:var(--form-section-title-line-height);margin:0}.widget-section__body[data-v-07232553]{padding:20px 40px}.widget-table__head[data-v-cae93640]{text-align:left;position:sticky;top:-1px;z-index:0}.widget-table__head-cell[data-v-cae93640]{padding:18px}.widget-table__head-title[data-v-cae93640]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;font-size:14px;line-height:19px;margin:0}.form-titles[data-v-6ea1062c]{display:flex;flex-direction:column;justify-content:center}.form-label[data-v-6ea1062c]{display:flex;gap:10px;padding:4px 7px;align-items:center}.form-container-label[data-v-6ea1062c]{margin:0 0 0 6px}.form-info[data-v-6ea1062c]{color:#828282}.form-label[data-v-6ea1062c]{background-color:#ff6262;color:#fff;border-radius:4px}.form-title[data-v-6ea1062c]{font-weight:700;font-size:18px;line-height:25px}.form-label__title[data-v-6ea1062c]{margin:0;line-height:16px}.form-label__icon[data-v-6ea1062c]{height:16px;font-size:16px}.form-label_inactive[data-v-6ea1062c]{background-color:gray}.form-label_correct[data-v-6ea1062c]{background-color:green}.form-label_warning[data-v-6ea1062c]{background-color:#ff0}.form-label_error[data-v-6ea1062c]{background-color:#ff6262}.widget-form[data-v-3d88d93f]{display:flex;flex-direction:column;gap:10px}.widget-form__head[data-v-3d88d93f]{display:flex;gap:16px;align-items:center;z-index:1;padding:10px 0}.widget-form__button[data-v-3d88d93f]{margin-left:auto}.wrap__widget-form[data-v-3d88d93f]{padding:20px}.widget-form__head[data-v-3d88d93f]{position:sticky;top:0}@media screen and (max-width: 768px){.wrap__widget-form[data-v-3d88d93f]{padding:10px}.widget-form__head[data-v-3d88d93f]{top:15px}}.head-image[data-v-3d88d93f]{padding:15px;background-color:#f3f4fc;border-radius:8px}.validation-item[data-v-e6138c02]{display:grid;grid-template-columns:70px 1fr;border:1px solid #00CCB1;border-radius:4px}.validation-item_failed[data-v-e6138c02]{border-color:#ee8030}.validation-item-header[data-v-e6138c02]{display:grid;place-content:center;background-color:#00ccb1}.validation-item_failed .validation-item-header[data-v-e6138c02]{background-color:#ee8030}.validation-item__title[data-v-e6138c02]{font-weight:700;font-size:18px;line-height:25px;color:#fff}.validation-item-content[data-v-e6138c02]{display:flex;flex-direction:column;padding:10px 16px;gap:10px}.modal-wrap[data-v-119165b9]{max-height:80%;display:flex;flex-direction:column}.modal-wrap-head[data-v-119165b9]{display:flex;align-items:center;padding:10px;background:#F3F4FC;border-radius:8px 8px 0 0}.modal-head__title[data-v-119165b9]{font-weight:700;font-size:18px;line-height:25px}.modal-wrap-body[data-v-119165b9]{background-color:#fff;border-radius:0 0 8px 8px;overflow:auto}.modal-validation-body[data-v-a39cfe2f]{display:flex;flex-direction:column;gap:10px;padding:20px}.widget-input-check[data-v-f4a3dc6c]{display:grid;place-items:center;height:20px;aspect-ratio:1/1;border:2px solid #1a1a1a;border-radius:4px;cursor:pointer;background-color:#fff}.widget-input-check_active[data-v-f4a3dc6c]{background-color:#2f2f2f}.widget-input-check>i[data-v-f4a3dc6c]{font-size:12px;height:12px;color:#fff}.widget-card[data-v-bca33c5b]{display:flex}.widget-card-toggle[data-v-bca33c5b]{padding:10px}.widget-card-wrap[data-v-bca33c5b]{display:flex;flex-grow:1;background-color:#fff;border:1px solid #cbcbcb;border-radius:8px}.widget-card-arrow[data-v-bca33c5b]{padding:10px;cursor:pointer}.card-icon-arrow[data-v-bca33c5b]{display:block;transition:transform var(--fast)}.card-icon-arrow_active[data-v-bca33c5b]{transform:rotate(90deg)}.widget-card-title[data-v-bca33c5b]{margin:0;font-weight:600;font-size:18px;line-height:20px}.widget-card-content[data-v-bca33c5b]{padding:9px 0;flex-grow:1}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
import { h as k, resolveComponent as U, openBlock as c, createElementBlock as u, createTextVNode as Ae, toDisplayString as m, createCommentVNode as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('[dir=rtl] .icon[data-v-0d979509]{transform:scaleX(-1)}.input-text-container[data-v-65e2ee2d]{position:relative;height:var(--input-height);width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-65e2ee2d]:focus-within{outline:var(--input-border-active)}.input-text__error[data-v-65e2ee2d]{position:absolute;margin:0;top:100%}.input-text[data-v-65e2ee2d]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size);outline:none}.input-text[data-v-65e2ee2d]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-65e2ee2d]{background-color:var(--input-background-color-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-65e2ee2d]{border:var(--input-border-error)}.input-text__password[data-v-65e2ee2d]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-65e2ee2d]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-title_required[data-v-65e2ee2d],.input-text__error[data-v-65e2ee2d]{color:red}.input__toggle[data-v-56d58611]{position:relative;width:40px;height:20px;background-color:var(--input-toggle-background-color);border-radius:var(--input-toggle-border-radius);cursor:pointer;transition:var(--fast);border:var(--input-toggle-border)}.input__toggle[data-v-56d58611]:before{content:"";position:absolute;top:0;bottom:0;margin:auto;left:3px;height:14px;width:14px;border-radius:var(--input-toggle-round-radius);background-color:var(--input-toggle-round-background-color);transition:var(--transition-fast)}.input__toggle.active[data-v-56d58611]{background-color:var(--input-toggle-background-color-active)}.input__toggle.active[data-v-56d58611]:before{transform:translate(20px)}.input__toggle.disabled[data-v-56d58611]{background-color:var(--input-disabled-background-color);border:var(--input-disabled-border)}.input__toggle.disabled[data-v-56d58611]:before{background-color:var(--gray-1)}.input__toggle.disabled[data-v-56d58611]{cursor:auto}.item-wrap[data-v-69ab8592]{display:flex;align-items:center}.input-select__item[data-v-69ab8592]{margin:0;text-overflow:ellipsis;overflow:hidden;color:var(--text-black);transition:var(--fast);font-size:14px;line-height:19px;font-weight:400}.input-select__item.active[data-v-69ab8592]{background-color:var(--main);color:var(--text-white)}.input-select-container[data-v-c4acd469]{position:relative;width:100%;outline:none}.input-select-container.disabled>.input-select-container__current[data-v-c4acd469]{background-color:var(--input-background-color-disabled)}.input-select-container__list[data-v-c4acd469]{display:none;position:absolute;top:calc(100% - 5px);z-index:100;padding-top:4px;border:1px solid var(--gray-1);border-top:0;max-height:250px;width:100%;overflow:auto}.input-select-container.active .input-select-container__list[data-v-c4acd469]{display:block}.input-select-container.active>.input-select-container__current>img[data-v-c4acd469]{transform:rotate(-180deg)}.input-select-container__current[data-v-c4acd469]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 0;border:var(--input-border);width:100%;border-radius:var(--input-border-radius);cursor:pointer;background-color:var(--input-background-color)}.current-placeholder[data-v-c4acd469]{padding:0 10px;color:var(--input-placeholder-color)}.input-select__ico-toggle[data-v-c4acd469]{fill:var(--main)}.input-select-container.error>.input-select-container__current[data-v-c4acd469]{border:1px solid var(--error)}.input-select-container.active>.input-select-container__current[data-v-c4acd469]{outline:var(--input-border-active)}.input-select-value[data-v-c4acd469]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;padding:0 16px;color:var(--input-color)}.container-input-file[data-v-bdbf1475]{height:var(--input-height);border:var(--input-border);background-color:var(--input-background-color);border-radius:var(--input-border-radius);padding:5px;display:flex;align-items:center;position:relative}.icon__file-upload[data-v-bdbf1475]{font-size:12px;color:var(--input-color)}.input-file[data-v-bdbf1475]{position:absolute;left:0;top:0;z-index:500;width:100%;height:100%;opacity:0;cursor:pointer}.input-file[data-v-bdbf1475]::-webkit-file-upload-button{visibility:hidden}.process-info[data-v-bdbf1475]{margin:4px 0}.widget-input__container[data-v-1e3f1057]{position:relative;outline:none}.widget-input__underline[data-v-1e3f1057]{height:2px;background-color:var(--input-line-color)}.widget-input__placeholder[data-v-1e3f1057]{margin:2px 0 0;color:var(--input-line-placeholder-color);font-size:var(--input-line-placeholder-font-size);line-height:var(--input-line-placeholder-line-height);-webkit-user-select:none;user-select:none}.widget-input__placeholder_error[data-v-1e3f1057]{color:var(--error)}.input-container__content[data-v-1e3f1057]{width:100%;display:flex}.input-text[data-v-212b50e2]{height:31px;width:100%;border:unset;outline:unset;background-color:transparent;color:var(--input-line-color);font-size:var(--input-line-font-size)}.input-text__password[data-v-212b50e2]{padding:0 6px;display:flex;align-items:center}.input-title[data-v-9c3e5ea6]{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.input-text-container[data-v-9c3e5ea6]{position:relative;height:32px;width:100%;background-color:var(--input-background-color);border:var(--input-border);border-radius:var(--input-border-radius)}.input-text-container[data-v-9c3e5ea6]:focus-within{border:var(--input-border-active)!important}.input-text__error[data-v-9c3e5ea6]{position:absolute;margin:0;top:100%;text-align:right}.input-text[data-v-9c3e5ea6]{width:100%;height:100%;padding:0 10px;background-color:transparent;border:0;color:var(--input-color);font-size:var(--input-font-size)}.input-text[data-v-9c3e5ea6]::placeholder{color:var(--input-placeholder-color)}.input-text-container[disabled=true][data-v-9c3e5ea6]{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.input-text-container[error=true][data-v-9c3e5ea6]{border:var(--input-border-error)}.input-text__password[data-v-9c3e5ea6]{padding:0 6px;display:flex;align-items:center}.input-text[data-v-9c3e5ea6]:focus{border:0;outline:0}.widget-button-wrap[data-v-b6be5c12]{width:fit-content;outline:none;-webkit-user-select:none;user-select:none;position:relative;--size: 30px;max-height:var(--size);height:var(--size)}.widget-button[data-v-b6be5c12]{background-color:var(--widget-button-background);color:var(--widget-button-color);border:var(--widget-button-border);border-radius:var(--widget-button-radius);height:fit-content;overflow:hidden}.widget-button__toggle[data-v-b6be5c12]{height:var(--size);width:var(--size)}.widget-button__toggle[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.widget-button__list[data-v-b6be5c12]{overflow:hidden;max-height:var(--size);transition:var(--fast);height:fit-content}.widget-button .widget-button__toggle-icon[data-v-b6be5c12]{transition:var(--fast)}.widget-button.active .widget-button__toggle-icon[data-v-b6be5c12]{transform:rotate(-180deg)}.widget-button__list-elem[data-v-b6be5c12]{line-height:var(--size);font-size:14px;padding:0 10px;transition:var(--extra-fast);min-width:80px}.widget-button__list-elem[data-v-b6be5c12]:hover{background-color:var(--widget-button-background-hover)}.function-item[data-v-73f7eb9f]{padding:10px}.form-title[data-v-c91ffa31]{flex-grow:1}.widget-form[data-v-c3e88e10]{width:100%;max-width:966px;overflow:hidden;border:var(--form-border);background-color:var(--form-background-color);box-shadow:var(--form-shadow);border-radius:var(--form-radius);border-bottom:5px solid var(--form-border-bottom)}.widget-form__head[data-v-c3e88e10]{min-height:60px;align-items:center;background-color:var(--form-head-background-color)}@media screen and (min-width: 769px){.widget-form__head[data-v-c3e88e10]{flex-wrap:nowrap;padding:0 20px 0 40px}.widget-form__head-button[data-v-c3e88e10]{margin-right:15px}}@media screen and (max-width: 768px){.widget-form[data-v-c3e88e10]{width:100%}.widget-form__head[data-v-c3e88e10]{flex-wrap:wrap}}.widget-form__head-functions[data-v-c3e88e10]{height:100%;align-items:center}.widget-form__body[data-v-c3e88e10]{overflow:auto}.form-container-item[data-v-9264f6f4]{flex-wrap:wrap;gap:10px}.form-container-item-center[data-v-9264f6f4]{flex-grow:1;max-width:240px}.form-container-item__title[data-v-9264f6f4]{min-width:180px;max-width:180px;min-height:30px;justify-content:flex-end}.form-container-item__title>span[data-v-9264f6f4]{display:flex;align-items:center;font-size:14px;height:30px;line-height:130%}.form-container-item-1 .form-container-item-center[data-v-9264f6f4]{max-width:unset}.form-container-item__right[data-v-9264f6f4]{flex-grow:1;max-width:240px}.content_double[data-v-9264f6f4]{max-width:480px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;align-items:center;justify-content:center;background-color:var(--container-auth-background-color);border-radius:var(--container-auth-border-radius);box-shadow:var(--container-auth-box-shadow);overflow:hidden;max-width:900px}.container-auth-wrap[data-v-0b1a5e81]{display:flex;width:100%;height:100%}.container-auth-sidebar[data-v-0b1a5e81]{width:300px;background-color:var(--container-auth-sidebar-background-color)}.container-auth-main[data-v-0b1a5e81]{display:flex;flex-direction:column;flex-grow:1;position:relative}@media screen and (min-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{height:500px}.container-auth-wrap>div[data-v-0b1a5e81]{height:100%}.container-auth-sidebar[data-v-0b1a5e81]{height:100%}}@media screen and (max-width: 768px){.container-auth-wrap[data-v-0b1a5e81]{flex-direction:column}.container-auth-sidebar[data-v-0b1a5e81]{height:220px}}.loader[data-v-12ff0501],.loader[data-v-12ff0501]:after{border-radius:50%;width:14px;height:14px}.loader[data-v-12ff0501]{font-size:2px;position:relative;text-indent:-9999em;border-top:1.1em solid rgba(255,255,255,.2);border-right:1.1em solid rgba(255,255,255,.2);border-bottom:1.1em solid rgba(255,255,255,.2);border-left:1.1em solid #ffffff;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:load8-12ff0501 1.1s infinite linear;animation:load8-12ff0501 1.1s infinite linear}@-webkit-keyframes load8-12ff0501{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8-12ff0501{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.button-wrap[data-v-937d2e62]{position:relative}.button-spinner[data-v-937d2e62]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.button-element[data-v-937d2e62]{height:100%;width:100%;padding:0 20px;cursor:pointer;background-color:transparent;outline:unset;border:unset;color:unset;font-weight:unset;font-size:unset}.widget-button-wrap[data-v-13176c56]{--button-size: 40px;max-height:var(--button-size);z-index:1;position:relative;cursor:pointer;width:fit-content}.widget-multi-button[data-v-13176c56]{display:flex;background-color:#3949ab;border-radius:20px;overflow:hidden}.button__content[data-v-13176c56]{max-height:40px;min-width:80px;transition:.2s;overflow:hidden}.button__content_active[data-v-13176c56]{max-height:200px}.button__content-title[data-v-13176c56]{white-space:nowrap;font-size:14px;line-height:20px;padding:10px 10px 10px 20px;color:#fff;margin:0;transition:background-color .2s}.button__content-title[data-v-13176c56]:hover{background-color:#223296}.button__toggle_active[data-v-13176c56]{transform:rotate(180deg)}.button__side[data-v-13176c56]{min-width:var(--button-size)}.button__size-toggle[data-v-13176c56]{height:var(--button-size)}.button__size-toggle[data-v-13176c56]{cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .1s,background-color .2s;color:#fff}.button__size-toggle[data-v-13176c56]:hover{background-color:#223296}.button__toggle-icon[data-v-13176c56]{height:16px}.button__size-progress[data-v-13176c56]{display:flex;align-items:center;justify-content:center;height:var(--button-size)}.widget-error[data-v-8a0a0924]{height:38px;background-color:#ffb694;box-shadow:4px 4px 10px #ff500033}.widget-error-text[data-v-8a0a0924]{margin:0}.widget-error-wrap[data-v-8a0a0924]{height:100%;display:flex;align-items:center;justify-content:center}.widget-error-close[data-v-8a0a0924]{display:flex;align-items:center;justify-content:center;height:100%;width:40px;cursor:pointer}.widget-error-close[data-v-8a0a0924]:after,.widget-error-close[data-v-8a0a0924]:before{position:absolute;content:"";height:20px;width:2px;background-color:#000;border-radius:2px}.widget-error-close[data-v-8a0a0924]:after{transform:rotate(45deg)}.widget-error-close[data-v-8a0a0924]:before{transform:rotate(-45deg)}.widget-error-message[data-v-8a0a0924]{font-size:14px;line-height:130%;letter-spacing:.05em;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.widget-error-main[data-v-8a0a0924]{width:700px}.widget-error__container-close[data-v-8a0a0924]{height:100%}.article-details[data-v-8a0a0924]{font-size:18px;line-height:130%;letter-spacing:.05em;text-decoration-line:underline;font-weight:700;cursor:pointer}.fade-enter-active[data-v-aa732044],.fade-leave-active[data-v-aa732044]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-aa732044],.fade-leave-to[data-v-aa732044]{opacity:0;max-height:0}.container-errors[data-v-8e9870dd]{display:flex;gap:1px;flex-direction:column;position:fixed;top:0;left:0;width:100%;z-index:11}.fade-enter-active[data-v-8e9870dd],.fade-leave-active[data-v-8e9870dd]{transition:.5s ease;max-height:38px}.fade-enter-from[data-v-8e9870dd],.fade-leave-to[data-v-8e9870dd]{opacity:0;max-height:0}.modal__wait[data-v-430b5c94]{padding:40px 30px;max-width:450px}*{--extra-fast:.1s;--fast:.2s;--medium:.3s;box-sizing:border-box;--primary: #3949ab }html,body,#app{height:100%}body{margin:0}ul{text-align:left}.flex{display:flex}.flex_column{display:flex;flex-direction:column}.flex_center{display:flex;align-items:center;justify-content:center}.flex_full,.flex_grow{flex-grow:1}.grid{display:grid}.link{text-decoration:var(--link-decoration);color:var(--link-color)}.link_hover-underline:hover,.link_hover_underline:hover{text-decoration:underline}.link_full{position:absolute;height:100%;width:100%;left:0;top:0}.text_sm{font-weight:400;font-size:12px;line-height:16px}.text_md{font-size:14px;line-height:20px}.text_lg{font-size:16px;line-height:24px}.text_size_xxl{font-size:18px;line-height:25px}.text_bold{font-weight:600}.text_nowrap{white-space:nowrap}.text_right{text-align:right}.text_center{text-align:center}.text_size_sm{font-size:12px;line-height:130%}.text_size_md{font-size:14px;line-height:140%}.text_error{color:red}.title_sm{font-weight:600;font-size:16px;line-height:24px}.title_md{font-weight:600;font-size:24px;line-height:32px}.title_lg{font-weight:700;font-size:32px;line-height:48px}.title_xxl,.title_xl{font-weight:700;font-size:48px;line-height:64px}.cursor_pointer{cursor:pointer}.cursor_default{cursor:default}button{outline:none;-webkit-user-select:none;user-select:none;transition:background-color .2s}.button{display:flex;align-items:center;justify-content:center;outline:none}.button_main{background-color:var(--button-background);color:var(--button-color)}.button_main:focus{background-color:var(--button-background-active)}.button_main:active{background-color:var(--button-background-active)}.button_white{background-color:var(--white);color:var(--main)}.button_sm{height:30px;width:130px}.button_shadow{box-shadow:0 2px 4px #00000040}.button_lg{font-weight:600;font-size:16px;line-height:24px;padding:12px 0;height:50px;width:200px}.button_disabled{background-color:var(--gray-1)}.button_resolve{background-color:var(--main);color:var(--white);border-radius:2px}.button_reject{border:1px solid var(--color-dark);border-radius:2px}.button_md{height:30px;padding:0 10px;min-width:80px}.button_disabled{background-color:var(--button-disabled-background-color);cursor:pointer!important}.color_main,.color__text_main{color:var(--main)}.color__text_black{color:var(--black-1)}.color__text_gray{color:var(--text-gray)}.color__text_red,.color_red{color:var(--red)}.color__text_white{color:var(--white)}.background_orange{background-color:var(--orange)}.background_red{background-color:var(--red)}.color_dark{color:var(--dark)}.color_light{color:var(--light)}.move-vertical-enter-active,.move-vertical-leave-active{transition:transform .5s ease}.move-vertical-enter-from,.move-vertical-leave-to{transform:translateY(-10px)}.move-horizontal-enter-active,.move-horizontal-leave-active{transition:transform .5s}.move-horizontal-enter-from,.move-horizontal-leave-to{transform:translate(-40px)}.modal-vertical-enter-active,.modal-vertical-leave-active,.modal-default{transition:transform var(--medium)}.modal-vertical-enter-active .modal-default,.modal-vertical-leave-active .modal-default{transform:translateY(-100px)}.move-vertical-fast-enter-active,.move-vertical-fast-leave-active{transition:transform var(--fast) ease}.move-vertical-fast-enter-from,.move-vertical-fast-leave-to{transform:translateY(-20px)}.slide-up-enter-active,.slide-up-leave-active{transition:transform var(--fast) ease,opacity var(--fast)}.slide-up-enter-from,.slide-up-leave-to{transform:translateY(20px);opacity:0}.opacity-enter-active,.opacity-leave-active{transition:opacity var(--fast) ease}.opacity-enter-from,.opacity-leave-to{opacity:0}.list-move,.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.list-leave-active{position:absolute}.modal-default{background-color:var(--white);position:relative;z-index:1;width:auto;background:var(--white);border-radius:var(--border-radius)}.modal-default__head{background-color:var(--black-1);text-align:center;padding:5px 0;border-radius:6px 6px 0 0}.modal-default__body{gap:20px;padding:0 15px}.modal-default__foot{padding:30px 0;display:flex;justify-content:center}.hint-tooltip{display:block;z-index:222;margin:auto;pointer-events:none;box-shadow:0 0 0 9999px #00000080}.tooltip-help-circle-in,.tooltip-help-circle-out{border-radius:50%}.tooltip-help-undefined{border-radius:50px}.tooltip-card{position:fixed;z-index:315;display:flex;flex-direction:column;width:480px;height:fit-content;margin:auto;border-radius:10px;background-color:var(--hint-background);cursor:default}.tooltip-card__foot{display:flex;justify-content:space-between;align-items:center;background-color:var(--hint-background-navigation);border-radius:10px;padding:20px}.tooltip-card__foot-current{font-weight:600;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px 20px 10px}.tooltip-card__body-title{font-weight:700;font-size:20px;line-height:24px;color:var(--white)}.tooltip-card__body-text{font-size:16px;line-height:24px;color:var(--white)}.tooltip-card__foot-button_back{background-color:var(--main-1)}.tooltip-card__foot-button_next{background-color:var(--hint)}.tooltip-card__body-close{position:absolute;right:22px;top:12px;width:20px;height:16px;opacity:.3;cursor:pointer}.tooltip-card__body-close:hover{opacity:1}.tooltip-card__body-close:before,.tooltip-card__body-close:after{position:absolute;left:15px;content:" ";height:21px;width:2px;background-color:#fff}.tooltip-card__body-close:before{transform:rotate(45deg)}.tooltip-card__body-close:after{transform:rotate(-45deg)}.tooltip-card-container-wrap{pointer-events:none;position:absolute;left:0;top:0;z-index:123132;height:100%;width:100%}.tooltip-card-container-wrap>div{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.tester-box-tooltip{pointer-events:all}.position_relative{position:relative}.position_absolute{position:absolute}.gap_5{gap:5px}.gap_10{gap:10px}.gap_20{gap:20px}.margin-0{margin:0}.widget-input{background-color:var(--input-background);border:var(--input-border);border-radius:var(--input-border-radius);color:var(--input-color)}.widget-input:disabled{background-color:var(--input-background-disabled);border:var(--input-border-disabled)}.widget-input[error=true]{border:var(--input-border-error)}.widget-input::placeholder{color:var(--input-placeholder-color)}.widget-input:disabled::placeholder{color:var(--input-placeholder-color-disabled)}.input_error{border:1px solid red!important}.input_size_md{height:var(--input-height)}.input-title{font-size:12px;line-height:16px;color:#667085;margin:4px 0}.widget-table{border-collapse:collapse}.widget-table_mini p{margin:0}.list-cell-link>a{position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;cursor:pointer}.list-cell-link>p{font-weight:500}.widget-table__cell{padding:0 20px;font-weight:400;font-size:14px;line-height:19px;color:#4f4f4f}.widget-table-cell_use{cursor:pointer}.widget-table-cell_select{width:min-content}.table-cell-toggle{--border-color: black;position:relative;display:grid;place-content:center;border:1px solid var(--border-color);height:15px;aspect-ratio:1 / 1;border-radius:50%}.table-cell-toggle_active:after{content:"";border-radius:50%;background-color:var(--border-color);height:9px;aspect-ratio:1/1}.widget-table-cell_number{text-align:right}.overflow_auto{overflow:auto}.padding_5{padding:5px}.padding_10{padding:10px}.padding_0{padding:0}.padding_15,.padding_20{padding:15px}.es-list-container{overflow:auto}.widget-table__head[data-v-2ce532f4]{text-align:left}.widget-table__head-cell[data-v-2ce532f4]{padding:18px}.widget-table__head-title[data-v-2ce532f4]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;font-size:14px;line-height:19px;margin:0}.widget-loader[data-v-a01a837d]{display:grid;grid-template-columns:max-content max-content;padding:4px;gap:10px;align-items:center}.widget-table-loader{padding:10px 0}.breadcrumb[data-v-1702aee0]{gap:8px;align-items:center;color:#828282;cursor:pointer}.breadcrumb__title[data-v-1702aee0]{font-weight:400;font-size:12px;line-height:16px;margin:0}.breadcrumb__icon[data-v-1702aee0]{height:16px}.breadcrumb_active[data-v-1702aee0],.breadcrumb[data-v-1702aee0]:hover{color:#4f4f4f}.widget-breadcrumbs[data-v-1dfb2668]{display:flex;gap:14px}tr[data-v-47478206]{border:1px solid #F3F4FC;height:30px}th[data-v-47478206],td[data-v-47478206]{position:relative;padding:0 11px}th[data-v-47478206]{text-align:left}p[data-v-47478206]{margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.head-cell[data-v-03c9724f]{padding:0 15px 0 10px;display:flex}.head-cell[data-v-03c9724f]:hover{box-shadow:0 -1px #e7f2ff}.list-head-cell-label[data-v-03c9724f]{padding:5px 0;white-space:nowrap;cursor:pointer}.head-cell-order[data-v-03c9724f]{position:absolute;inset-inline-end:4px;inset-block:0 0;margin:auto;font-size:14px;height:14px}.head-cell-order_down[data-v-03c9724f]{transform:rotate(180deg)}.head-cell-resize[data-v-03c9724f]{padding:3px 10px;cursor:col-resize;transition:background-color .1s}.head-cell-resize[data-v-03c9724f]:hover{background-color:#f5f5f5}.head-cell-resize[data-v-03c9724f]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:#d2d2d2}.widget-list-head[data-v-11644ad4]{position:sticky;top:-1px;z-index:1}.test-block[data-v-11644ad4]{background-color:#e7f2ff;inset-block-start:-1px;position:absolute;z-index:2;-webkit-user-select:none;user-select:none;white-space:nowrap;padding:0 10px;height:calc(100% + 1px);display:none;place-content:center}.widget-list-head th[data-v-11644ad4]{position:sticky;top:0;z-index:2;-webkit-user-select:none;user-select:none}.head-cell[data-v-11644ad4]{display:flex;cursor:pointer;padding:0 10px}.head-cell-label[data-v-11644ad4]{flex-grow:1;margin:0;white-space:nowrap;-webkit-user-select:none;user-select:none}.list-arrow[data-v-11644ad4]{position:relative;display:block;height:15px;width:2px;background-color:gray;border-radius:2px}.list-arrow[data-v-11644ad4]:after,.list-arrow[data-v-11644ad4]:before{position:absolute;display:block;content:"";background-color:gray;height:8px;width:2px;border-radius:2px}.list-arrow[data-v-11644ad4]:after{transform:rotate(-30deg);right:-2px}.list-arrow[data-v-11644ad4]:before{transform:rotate(30deg);left:-2px}.block-list-arrow[data-v-11644ad4]{transition:.1s}.down[data-v-11644ad4]{transform:rotate(180deg)}.head-cell-order[data-v-11644ad4]{display:grid;place-content:center}.widget-list-head-label[data-v-11644ad4]{font-weight:400;font-size:13px;line-height:16px;padding:5px 0}.head-cell-resize[data-v-11644ad4]{position:relative;padding:3px 10px;cursor:col-resize}.head-cell-resize[data-v-11644ad4]:after{content:"";margin:auto;width:1px;height:100%;display:block;background-color:gray}.widget-list-body[data-v-eb609a21]{position:relative}.widget-list-body[data-v-eb609a21]:after{content:"";background-color:transparent;z-index:-1;transition:.1s}.widget-list-body_inactive[data-v-eb609a21]:after{z-index:0;position:absolute;top:0;background-color:#afafaf80;height:100%;width:100%}.widget-section[data-v-07232553]{background-color:var(--form-section-background-color);box-shadow:var(--form-section-box-shadow);border-radius:var(--form-section-border-radius)}.widget-section__header[data-v-07232553]{border-radius:10px 10px 0 0;display:flex;padding:8px 8px 8px 40px;background-color:var(--form-section-header-background-color)}.widget-section-title[data-v-07232553]{flex-grow:1;font-weight:var(--form-section-title-font-weight);color:var(--form-section-title-color);font-size:var(--form-section-title-font-size);line-height:var(--form-section-title-line-height);margin:0}.widget-section__body[data-v-07232553]{padding:20px 40px}.widget-table__head[data-v-cae93640]{text-align:left;position:sticky;top:-1px;z-index:0}.widget-table__head-cell[data-v-cae93640]{padding:18px}.widget-table__head-title[data-v-cae93640]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600;font-size:14px;line-height:19px;margin:0}.form-titles[data-v-6ea1062c]{display:flex;flex-direction:column;justify-content:center}.form-label[data-v-6ea1062c]{display:flex;gap:10px;padding:4px 7px;align-items:center}.form-container-label[data-v-6ea1062c]{margin:0 0 0 6px}.form-info[data-v-6ea1062c]{color:#828282}.form-label[data-v-6ea1062c]{background-color:#ff6262;color:#fff;border-radius:4px}.form-title[data-v-6ea1062c]{font-weight:700;font-size:18px;line-height:25px}.form-label__title[data-v-6ea1062c]{margin:0;line-height:16px}.form-label__icon[data-v-6ea1062c]{height:16px;font-size:16px}.form-label_inactive[data-v-6ea1062c]{background-color:gray}.form-label_correct[data-v-6ea1062c]{background-color:green}.form-label_warning[data-v-6ea1062c]{background-color:#ff0}.form-label_error[data-v-6ea1062c]{background-color:#ff6262}.widget-form[data-v-3d88d93f]{display:flex;flex-direction:column;gap:10px}.widget-form__head[data-v-3d88d93f]{display:flex;gap:16px;align-items:center;z-index:1;padding:10px 0}.widget-form__button[data-v-3d88d93f]{margin-left:auto}.wrap__widget-form[data-v-3d88d93f]{padding:20px}.widget-form__head[data-v-3d88d93f]{position:sticky;top:0}@media screen and (max-width: 768px){.wrap__widget-form[data-v-3d88d93f]{padding:10px}.widget-form__head[data-v-3d88d93f]{top:15px}}.head-image[data-v-3d88d93f]{padding:15px;background-color:#f3f4fc;border-radius:8px}.validation-item[data-v-e6138c02]{display:grid;grid-template-columns:70px 1fr;border:1px solid #00CCB1;border-radius:4px}.validation-item_failed[data-v-e6138c02]{border-color:#ee8030}.validation-item-header[data-v-e6138c02]{display:grid;place-content:center;background-color:#00ccb1}.validation-item_failed .validation-item-header[data-v-e6138c02]{background-color:#ee8030}.validation-item__title[data-v-e6138c02]{font-weight:700;font-size:18px;line-height:25px;color:#fff}.validation-item-content[data-v-e6138c02]{display:flex;flex-direction:column;padding:10px 16px;gap:10px}.modal-wrap[data-v-119165b9]{max-height:80%;display:flex;flex-direction:column}.modal-wrap-head[data-v-119165b9]{display:flex;align-items:center;padding:10px;background:#F3F4FC;border-radius:8px 8px 0 0}.modal-head__title[data-v-119165b9]{font-weight:700;font-size:18px;line-height:25px}.modal-wrap-body[data-v-119165b9]{background-color:#fff;border-radius:0 0 8px 8px;overflow:auto}.modal-validation-body[data-v-a39cfe2f]{display:flex;flex-direction:column;gap:10px;padding:20px}.widget-input-check[data-v-f4a3dc6c]{display:grid;place-items:center;height:20px;aspect-ratio:1/1;border:2px solid #1a1a1a;border-radius:4px;cursor:pointer;background-color:#fff}.widget-input-check_active[data-v-f4a3dc6c]{background-color:#2f2f2f}.widget-input-check>i[data-v-f4a3dc6c]{font-size:12px;height:12px;color:#fff}.widget-card[data-v-bca33c5b]{display:flex}.widget-card-toggle[data-v-bca33c5b]{padding:10px}.widget-card-wrap[data-v-bca33c5b]{display:flex;flex-grow:1;background-color:#fff;border:1px solid #cbcbcb;border-radius:8px}.widget-card-arrow[data-v-bca33c5b]{padding:10px;cursor:pointer}.card-icon-arrow[data-v-bca33c5b]{display:block;transition:transform var(--fast)}.card-icon-arrow_active[data-v-bca33c5b]{transform:rotate(90deg)}.widget-card-title[data-v-bca33c5b]{margin:0;font-weight:600;font-size:18px;line-height:20px}.widget-card-content[data-v-bca33c5b]{padding:9px 0;flex-grow:1}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
+
import { h as k, resolveComponent as U, openBlock as c, createElementBlock as u, createTextVNode as Ae, toDisplayString as m, createCommentVNode as _, createElementVNode as d, createVNode as C, normalizeClass as I, createBlock as v, Fragment as O, renderList as j, reactive as A, defineComponent as b, renderSlot as B, pushScopeId as Dt, popScopeId as Ft, withCtx as he, withKeys as vn, computed as L, ref as G, normalizeStyle as pt, withModifiers as Mt, onMounted as Ye, onUnmounted as wn, unref as P, TransitionGroup as jt, provide as xt, inject as ft, resolveDynamicComponent as Ut, mergeProps as Bt, useSlots as qt, Transition as bn, watch as Ct, readonly as Gt } from "vue";
|
|
3
3
|
import { openModal as zt } from "jenesius-vue-modal";
|
|
4
4
|
import { Form as Y, utils as ue, FormField as ct } from "jenesius-vue-form";
|
|
5
5
|
import Ht from "object-hash";
|
|
@@ -7,7 +7,7 @@ import { RouterLink as Jt, useRoute as $n } from "vue-router";
|
|
|
7
7
|
import En from "date-and-time";
|
|
8
8
|
import { Manager as Tn } from "socket.io-client";
|
|
9
9
|
/*!
|
|
10
|
-
* eservices-core v1.2.
|
|
10
|
+
* eservices-core v1.2.8
|
|
11
11
|
* (c) 2023 ESERVICES
|
|
12
12
|
*/
|
|
13
13
|
const g = (t, e) => {
|
|
@@ -275,12 +275,12 @@ const Nn = {
|
|
|
275
275
|
class: "input-text__error text_sm"
|
|
276
276
|
};
|
|
277
277
|
function Dn(t, e, n, s, r, i) {
|
|
278
|
-
const
|
|
278
|
+
const o = U("icon");
|
|
279
279
|
return c(), u("div", Pn, [
|
|
280
280
|
t.title ? (c(), u("p", On, [
|
|
281
281
|
Ae(m(t.title) + " ", 1),
|
|
282
|
-
t.required ? (c(), u("span", Rn, "*")) :
|
|
283
|
-
])) :
|
|
282
|
+
t.required ? (c(), u("span", Rn, "*")) : _("", !0)
|
|
283
|
+
])) : _("", !0),
|
|
284
284
|
d("div", {
|
|
285
285
|
class: "input-text-container input_size_md flex",
|
|
286
286
|
disabled: t.disabled || t.isInsideDisabled,
|
|
@@ -294,19 +294,19 @@ function Dn(t, e, n, s, r, i) {
|
|
|
294
294
|
error: !!t.errorMessage,
|
|
295
295
|
ref: "input",
|
|
296
296
|
value: n.pretty(t.value),
|
|
297
|
-
onInput: e[0] || (e[0] = (...
|
|
297
|
+
onInput: e[0] || (e[0] = (...a) => i.onInput && i.onInput(...a))
|
|
298
298
|
}, null, 40, Ln),
|
|
299
299
|
t.password ? (c(), u("div", {
|
|
300
300
|
key: 0,
|
|
301
301
|
class: "input-text__password",
|
|
302
|
-
onClick: e[1] || (e[1] = (
|
|
302
|
+
onClick: e[1] || (e[1] = (a) => t.togglePasswordVisible())
|
|
303
303
|
}, [
|
|
304
|
-
C(
|
|
304
|
+
C(o, {
|
|
305
305
|
class: "cursor_pointer",
|
|
306
306
|
name: t.isPasswordVisible ? "eye-crossed" : "eye"
|
|
307
307
|
}, null, 8, ["name"])
|
|
308
|
-
])) :
|
|
309
|
-
t.errorMessage ? (c(), u("p", Wn, m(t.errorMessage), 1)) :
|
|
308
|
+
])) : _("", !0),
|
|
309
|
+
t.errorMessage ? (c(), u("p", Wn, m(t.errorMessage), 1)) : _("", !0)
|
|
310
310
|
], 8, Vn)
|
|
311
311
|
]);
|
|
312
312
|
}
|
|
@@ -318,7 +318,7 @@ const Mn = {
|
|
|
318
318
|
function jn(t, e, n, s, r, i) {
|
|
319
319
|
return c(), u("div", {
|
|
320
320
|
class: I(["input__toggle widget-input", { active: t.value, disabled: t.disabled || t.isInsideDisabled }]),
|
|
321
|
-
onClick: e[0] || (e[0] = (
|
|
321
|
+
onClick: e[0] || (e[0] = (o) => t.input(!t.value))
|
|
322
322
|
}, null, 2);
|
|
323
323
|
}
|
|
324
324
|
const xn = /* @__PURE__ */ g(Mn, [["render", jn], ["__scopeId", "data-v-56d58611"]]);
|
|
@@ -391,12 +391,12 @@ const zn = {
|
|
|
391
391
|
class: "input-text__error position_absolute margin-0 text_sm color__text_red"
|
|
392
392
|
};
|
|
393
393
|
function ts(t, e, n, s, r, i) {
|
|
394
|
-
const
|
|
394
|
+
const o = U("icon"), a = U("fragment-input-select-item");
|
|
395
395
|
return c(), u("div", Hn, [
|
|
396
396
|
t.title ? (c(), u("p", Jn, [
|
|
397
397
|
Ae(m(t.title) + " ", 1),
|
|
398
|
-
t.required ? (c(), u("span", Kn, "*")) :
|
|
399
|
-
])) :
|
|
398
|
+
t.required ? (c(), u("span", Kn, "*")) : _("", !0)
|
|
399
|
+
])) : _("", !0),
|
|
400
400
|
d("div", {
|
|
401
401
|
class: I(["input-select-container cursor_pointer", { active: t.isActive, disabled: t.disabled || t.isInsideDisabled, error: !!t.errorMessage }]),
|
|
402
402
|
onClick: e[1] || (e[1] = (l) => i.active()),
|
|
@@ -404,18 +404,18 @@ function ts(t, e, n, s, r, i) {
|
|
|
404
404
|
}, [
|
|
405
405
|
d("div", Yn, [
|
|
406
406
|
t.value === void 0 || t.value === null ? (c(), u("span", Zn, m(t.placeholder), 1)) : (c(), u("p", Xn, m(i.titleValue), 1)),
|
|
407
|
-
t.disabled || t.isInsideDisabled ?
|
|
407
|
+
t.disabled || t.isInsideDisabled ? _("", !0) : (c(), v(o, {
|
|
408
408
|
key: 2,
|
|
409
409
|
class: "input-select__ico-toggle",
|
|
410
410
|
name: "caret-down"
|
|
411
411
|
}))
|
|
412
412
|
]),
|
|
413
413
|
d("div", Qn, [
|
|
414
|
-
t.value ? (c(), v(
|
|
414
|
+
t.value ? (c(), v(a, {
|
|
415
415
|
key: 0,
|
|
416
416
|
onClick: e[0] || (e[0] = (l) => t.input(null))
|
|
417
|
-
})) :
|
|
418
|
-
(c(!0), u(O, null, j(t.arrayParse, (l, p) => (c(), v(
|
|
417
|
+
})) : _("", !0),
|
|
418
|
+
(c(!0), u(O, null, j(t.arrayParse, (l, p) => (c(), v(a, {
|
|
419
419
|
class: "input-select-list__item",
|
|
420
420
|
key: p,
|
|
421
421
|
"is-active": l.value === t.value,
|
|
@@ -423,7 +423,7 @@ function ts(t, e, n, s, r, i) {
|
|
|
423
423
|
onClick: (f) => t.input(l.value)
|
|
424
424
|
}, null, 8, ["is-active", "title", "onClick"]))), 128))
|
|
425
425
|
]),
|
|
426
|
-
t.errorMessage ? (c(), u("p", es, m(t.errorMessage), 1)) :
|
|
426
|
+
t.errorMessage ? (c(), u("p", es, m(t.errorMessage), 1)) : _("", !0)
|
|
427
427
|
], 2)
|
|
428
428
|
]);
|
|
429
429
|
}
|
|
@@ -483,27 +483,27 @@ const rs = b({
|
|
|
483
483
|
},
|
|
484
484
|
mixins: [de],
|
|
485
485
|
components: { Icon: R }
|
|
486
|
-
}), is = { class: "container-input-file" },
|
|
486
|
+
}), is = { class: "container-input-file" }, as = {
|
|
487
487
|
key: 0,
|
|
488
488
|
class: "process-info input-file__wait text_size_sm"
|
|
489
|
-
},
|
|
489
|
+
}, os = {
|
|
490
490
|
key: 1,
|
|
491
491
|
class: "process-info input-file__error text_size_sm text_error"
|
|
492
492
|
};
|
|
493
493
|
function ls(t, e, n, s, r, i) {
|
|
494
|
-
const
|
|
494
|
+
const o = U("icon");
|
|
495
495
|
return c(), u("div", is, [
|
|
496
|
-
C(
|
|
496
|
+
C(o, {
|
|
497
497
|
name: "plus",
|
|
498
498
|
class: "icon__file-upload"
|
|
499
499
|
}),
|
|
500
500
|
d("input", {
|
|
501
501
|
type: "file",
|
|
502
502
|
class: "input-file",
|
|
503
|
-
onChange: e[0] || (e[0] = (
|
|
503
|
+
onChange: e[0] || (e[0] = (a) => t.onChange(a.target.files[0]))
|
|
504
504
|
}, null, 32),
|
|
505
|
-
t.pw.wait ? (c(), u("p",
|
|
506
|
-
t.pw.error ? (c(), u("p",
|
|
505
|
+
t.pw.wait ? (c(), u("p", as, "Loading...")) : _("", !0),
|
|
506
|
+
t.pw.error ? (c(), u("p", os, "Error load file")) : _("", !0)
|
|
507
507
|
]);
|
|
508
508
|
}
|
|
509
509
|
const cs = /* @__PURE__ */ g(rs, [["render", ls], ["__scopeId", "data-v-bdbf1475"]]), us = {
|
|
@@ -546,7 +546,7 @@ function gs(t, e, n, s, r, i) {
|
|
|
546
546
|
n.placeholder ? (c(), u("p", {
|
|
547
547
|
key: 0,
|
|
548
548
|
class: I(["widget-input__placeholder", { "widget-input__placeholder_error": n.error }])
|
|
549
|
-
}, m(n.placeholder), 3)) :
|
|
549
|
+
}, m(n.placeholder), 3)) : _("", !0)
|
|
550
550
|
]);
|
|
551
551
|
}
|
|
552
552
|
const ms = /* @__PURE__ */ g(ds, [["render", gs], ["__scopeId", "data-v-1e3f1057"]]);
|
|
@@ -556,8 +556,8 @@ const ys = {
|
|
|
556
556
|
name: "InputText"
|
|
557
557
|
}, vs = ["type", "value"];
|
|
558
558
|
function ws(t, e, n, s, r, i) {
|
|
559
|
-
const
|
|
560
|
-
return c(), v(
|
|
559
|
+
const o = U("icon"), a = U("widget-input-container");
|
|
560
|
+
return c(), v(a, {
|
|
561
561
|
placeholder: t.placeholder,
|
|
562
562
|
error: !!t.errorMessage
|
|
563
563
|
}, {
|
|
@@ -574,11 +574,11 @@ function ws(t, e, n, s, r, i) {
|
|
|
574
574
|
class: "input-text__password",
|
|
575
575
|
onClick: e[2] || (e[2] = (l) => t.togglePasswordVisible())
|
|
576
576
|
}, [
|
|
577
|
-
C(
|
|
577
|
+
C(o, {
|
|
578
578
|
class: "cursor_pointer",
|
|
579
579
|
name: t.isPasswordVisible ? "eye-crossed" : "eye"
|
|
580
580
|
}, null, 8, ["name"])
|
|
581
|
-
])) :
|
|
581
|
+
])) : _("", !0)
|
|
582
582
|
]),
|
|
583
583
|
_: 1
|
|
584
584
|
}, 8, ["placeholder", "error"]);
|
|
@@ -654,12 +654,12 @@ const Es = b({
|
|
|
654
654
|
class: "input-text__error text_sm color__text_red"
|
|
655
655
|
};
|
|
656
656
|
function ks(t, e, n, s, r, i) {
|
|
657
|
-
const
|
|
657
|
+
const o = U("icon");
|
|
658
658
|
return c(), u(O, null, [
|
|
659
659
|
t.title ? (c(), u("p", Ts, [
|
|
660
660
|
Ae(m(t.title) + " ", 1),
|
|
661
|
-
t.required ? (c(), u("span", Ss, "*")) :
|
|
662
|
-
])) :
|
|
661
|
+
t.required ? (c(), u("span", Ss, "*")) : _("", !0)
|
|
662
|
+
])) : _("", !0),
|
|
663
663
|
d("div", {
|
|
664
664
|
class: "input-text-container flex",
|
|
665
665
|
disabled: t.disabled || t.isInsideDisabled,
|
|
@@ -673,19 +673,19 @@ function ks(t, e, n, s, r, i) {
|
|
|
673
673
|
error: !!t.errorMessage,
|
|
674
674
|
ref: "input",
|
|
675
675
|
value: t.pretty(t.value),
|
|
676
|
-
onInput: e[0] || (e[0] = (...
|
|
676
|
+
onInput: e[0] || (e[0] = (...a) => t.onInput && t.onInput(...a))
|
|
677
677
|
}, null, 40, Is),
|
|
678
678
|
t.password ? (c(), u("div", {
|
|
679
679
|
key: 0,
|
|
680
680
|
class: "input-text__password",
|
|
681
|
-
onClick: e[1] || (e[1] = (
|
|
681
|
+
onClick: e[1] || (e[1] = (a) => t.togglePasswordVisible())
|
|
682
682
|
}, [
|
|
683
|
-
C(
|
|
683
|
+
C(o, {
|
|
684
684
|
class: "cursor_pointer",
|
|
685
685
|
name: t.isPasswordVisible ? "eye-crossed" : "eye"
|
|
686
686
|
}, null, 8, ["name"])
|
|
687
|
-
])) :
|
|
688
|
-
t.errorMessage ? (c(), u("p", As, m(t.errorMessage), 1)) :
|
|
687
|
+
])) : _("", !0),
|
|
688
|
+
t.errorMessage ? (c(), u("p", As, m(t.errorMessage), 1)) : _("", !0)
|
|
689
689
|
], 8, Cs)
|
|
690
690
|
], 64);
|
|
691
691
|
}
|
|
@@ -703,17 +703,17 @@ const Rs = {
|
|
|
703
703
|
values: [Object, Array, String]
|
|
704
704
|
},
|
|
705
705
|
setup(t) {
|
|
706
|
-
Array.isArray(t.values) && t.values.forEach((
|
|
707
|
-
|
|
706
|
+
Array.isArray(t.values) && t.values.forEach((o) => {
|
|
707
|
+
o.func && console.warn("Prop func is deprecated. Use callback.", o);
|
|
708
708
|
});
|
|
709
709
|
const e = L(() => {
|
|
710
710
|
if (!s.value)
|
|
711
711
|
return "30px";
|
|
712
|
-
let
|
|
713
|
-
return Array.isArray(t.values) && (
|
|
712
|
+
let o = 0;
|
|
713
|
+
return Array.isArray(t.values) && (o += t.values.length), t.title && o++, typeof t.values == "string" && !Array.isArray(t.values) && o++, o * 30 + "px";
|
|
714
714
|
}), n = L(() => Array.isArray(t.values) ? t.values : typeof t.values == "string" ? { title: t.values } : [t.values]), s = G(!1);
|
|
715
|
-
function r(
|
|
716
|
-
s.value =
|
|
715
|
+
function r(o = !s.value) {
|
|
716
|
+
s.value = o, o && ke(i.value, () => r(!1));
|
|
717
717
|
}
|
|
718
718
|
const i = G(null);
|
|
719
719
|
return {
|
|
@@ -727,7 +727,7 @@ const Rs = {
|
|
|
727
727
|
name: "Button"
|
|
728
728
|
}, Vs = { class: "widget-button-wrap flex" }, Ls = ["onClick"];
|
|
729
729
|
function Ws(t, e, n, s, r, i) {
|
|
730
|
-
const
|
|
730
|
+
const o = U("icon");
|
|
731
731
|
return c(), u("div", Vs, [
|
|
732
732
|
d("div", {
|
|
733
733
|
class: I(["widget-button flex", { active: s.isActive }]),
|
|
@@ -740,24 +740,24 @@ function Ws(t, e, n, s, r, i) {
|
|
|
740
740
|
n.title ? (c(), u("span", {
|
|
741
741
|
key: 0,
|
|
742
742
|
class: "widget-button__list-elem cursor_pointer",
|
|
743
|
-
onClick: e[0] || (e[0] = (
|
|
744
|
-
}, m(n.title), 1)) :
|
|
745
|
-
(c(!0), u(O, null, j(s.array, (
|
|
743
|
+
onClick: e[0] || (e[0] = (a) => s.toggle())
|
|
744
|
+
}, m(n.title), 1)) : _("", !0),
|
|
745
|
+
(c(!0), u(O, null, j(s.array, (a, l) => (c(), u("span", {
|
|
746
746
|
class: "widget-button__list-elem cursor_pointer",
|
|
747
|
-
onClick: (p) => (
|
|
747
|
+
onClick: (p) => (a.callback(), s.toggle(!1)),
|
|
748
748
|
key: l
|
|
749
|
-
}, m(
|
|
749
|
+
}, m(a.title), 9, Ls))), 128))
|
|
750
750
|
], 4),
|
|
751
751
|
s.array.length > 1 ? (c(), u("div", {
|
|
752
752
|
key: 0,
|
|
753
753
|
class: "widget-button__toggle flex flex_center cursor_pointer",
|
|
754
|
-
onClick: e[1] || (e[1] = Mt((
|
|
754
|
+
onClick: e[1] || (e[1] = Mt((a) => s.toggle(), ["stop"]))
|
|
755
755
|
}, [
|
|
756
|
-
C(
|
|
756
|
+
C(o, {
|
|
757
757
|
class: "widget-button__toggle-icon",
|
|
758
758
|
name: "angle-small-down"
|
|
759
759
|
})
|
|
760
|
-
])) :
|
|
760
|
+
])) : _("", !0)
|
|
761
761
|
], 2)
|
|
762
762
|
]);
|
|
763
763
|
}
|
|
@@ -771,12 +771,12 @@ const Ds = {
|
|
|
771
771
|
components: { Icon: R }
|
|
772
772
|
};
|
|
773
773
|
function Fs(t, e, n, s, r, i) {
|
|
774
|
-
const
|
|
774
|
+
const o = U("icon");
|
|
775
775
|
return c(), u("div", {
|
|
776
776
|
class: "function-item cursor_pointer",
|
|
777
|
-
onClick: e[0] || (e[0] = (...
|
|
777
|
+
onClick: e[0] || (e[0] = (...a) => n.func && n.func(...a))
|
|
778
778
|
}, [
|
|
779
|
-
C(
|
|
779
|
+
C(o, { name: n.icon }, null, 8, ["name"])
|
|
780
780
|
]);
|
|
781
781
|
}
|
|
782
782
|
const Ms = /* @__PURE__ */ g(Ds, [["render", Fs], ["__scopeId", "data-v-73f7eb9f"]]);
|
|
@@ -805,15 +805,15 @@ const Gs = {
|
|
|
805
805
|
name: "WidgetForm"
|
|
806
806
|
}, zs = { class: "widget-form flex_column" }, Hs = { class: "widget-form__head flex" }, Js = { class: "widget-form__head-functions flex" }, Ks = { class: "widget-form__body" };
|
|
807
807
|
function Ys(t, e, n, s, r, i) {
|
|
808
|
-
const
|
|
808
|
+
const o = U("widget-form-title"), a = U("widget-button"), l = U("widget-form-function-item");
|
|
809
809
|
return c(), u("div", zs, [
|
|
810
810
|
d("div", Hs, [
|
|
811
|
-
C(
|
|
812
|
-
Array.isArray(n.button) && n.button.length || !Array.isArray(n.button) && n.button ? (c(), v(
|
|
811
|
+
C(o, { title: n.title }, null, 8, ["title"]),
|
|
812
|
+
Array.isArray(n.button) && n.button.length || !Array.isArray(n.button) && n.button ? (c(), v(a, {
|
|
813
813
|
key: 0,
|
|
814
814
|
class: "widget-form__head-button",
|
|
815
815
|
values: n.button
|
|
816
|
-
}, null, 8, ["values"])) :
|
|
816
|
+
}, null, 8, ["values"])) : _("", !0),
|
|
817
817
|
d("div", Js, [
|
|
818
818
|
(c(!0), u(O, null, j(n.functions, (p, f) => (c(), v(l, {
|
|
819
819
|
key: f,
|
|
@@ -865,14 +865,14 @@ function ir(t, e, n, s, r, i) {
|
|
|
865
865
|
n.subTitle ? (c(), u("div", nr, [
|
|
866
866
|
d("span", sr, m(n.subTitle), 1),
|
|
867
867
|
B(t.$slots, "centerRight", {}, void 0, !0)
|
|
868
|
-
])) :
|
|
868
|
+
])) : _("", !0),
|
|
869
869
|
t.$slots.right ? (c(), u("div", rr, [
|
|
870
870
|
B(t.$slots, "right", {}, void 0, !0)
|
|
871
|
-
])) :
|
|
871
|
+
])) : _("", !0)
|
|
872
872
|
], 2);
|
|
873
873
|
}
|
|
874
|
-
const
|
|
875
|
-
const
|
|
874
|
+
const ar = /* @__PURE__ */ g(Qs, [["render", ir], ["__scopeId", "data-v-9264f6f4"]]);
|
|
875
|
+
const or = {
|
|
876
876
|
name: "ContainerAuthView"
|
|
877
877
|
}, lr = { class: "container-auth-wrap" }, cr = { class: "container-auth-sidebar" }, ur = { class: "container-auth-main" };
|
|
878
878
|
function dr(t, e, n, s, r, i) {
|
|
@@ -885,8 +885,8 @@ function dr(t, e, n, s, r, i) {
|
|
|
885
885
|
])
|
|
886
886
|
]);
|
|
887
887
|
}
|
|
888
|
-
const pr = /* @__PURE__ */ g(
|
|
889
|
-
ContainerFormElem:
|
|
888
|
+
const pr = /* @__PURE__ */ g(or, [["render", dr], ["__scopeId", "data-v-0b1a5e81"]]), fr = {
|
|
889
|
+
ContainerFormElem: ar,
|
|
890
890
|
ContainerAuthView: pr
|
|
891
891
|
}, hr = /* @__PURE__ */ b({
|
|
892
892
|
__name: "WidgetSpinner",
|
|
@@ -921,12 +921,12 @@ const _e = /* @__PURE__ */ g(hr, [["__scopeId", "data-v-12ff0501"]]), _r = { cla
|
|
|
921
921
|
const s = _t(e.callback);
|
|
922
922
|
return (r, i) => (c(), u("div", {
|
|
923
923
|
class: "button-wrap",
|
|
924
|
-
onClick: i[0] || (i[0] = (
|
|
924
|
+
onClick: i[0] || (i[0] = (o) => P(s).call())
|
|
925
925
|
}, [
|
|
926
926
|
P(s).wait || r.wait ? (c(), v(_e, {
|
|
927
927
|
key: 0,
|
|
928
928
|
class: "button-spinner"
|
|
929
|
-
})) :
|
|
929
|
+
})) : _("", !0),
|
|
930
930
|
d("button", _r, [
|
|
931
931
|
Ae(m(r.title) + " ", 1),
|
|
932
932
|
B(r.$slots, "default", {}, void 0, !0)
|
|
@@ -953,7 +953,7 @@ const mr = /* @__PURE__ */ g(gr, [["__scopeId", "data-v-937d2e62"]]), yr = { cla
|
|
|
953
953
|
function r(i) {
|
|
954
954
|
e.setFunction(i), e.call();
|
|
955
955
|
}
|
|
956
|
-
return (i,
|
|
956
|
+
return (i, o) => (c(), u("div", yr, [
|
|
957
957
|
d("div", vr, [
|
|
958
958
|
d("div", {
|
|
959
959
|
class: I(["button__content", { button__content_active: n.active }])
|
|
@@ -961,14 +961,14 @@ const mr = /* @__PURE__ */ g(gr, [["__scopeId", "data-v-937d2e62"]]), yr = { cla
|
|
|
961
961
|
i.title ? (c(), u("p", {
|
|
962
962
|
key: 0,
|
|
963
963
|
class: "button__content-title widget-multi-button-row",
|
|
964
|
-
onClick:
|
|
965
|
-
}, m(i.title), 1)) :
|
|
964
|
+
onClick: o[0] || (o[0] = (a) => s())
|
|
965
|
+
}, m(i.title), 1)) : _("", !0),
|
|
966
966
|
d("div", wr, [
|
|
967
|
-
(c(!0), u(O, null, j(i.array, (
|
|
967
|
+
(c(!0), u(O, null, j(i.array, (a, l) => (c(), u("p", {
|
|
968
968
|
class: "button__content-title widget-multi-button-row",
|
|
969
969
|
key: l,
|
|
970
|
-
onClick: (p) => (r(
|
|
971
|
-
}, m(
|
|
970
|
+
onClick: (p) => (r(a.callback), s(!1))
|
|
971
|
+
}, m(a.title), 9, br))), 128))
|
|
972
972
|
])
|
|
973
973
|
], 2),
|
|
974
974
|
d("div", $r, [
|
|
@@ -977,13 +977,13 @@ const mr = /* @__PURE__ */ g(gr, [["__scopeId", "data-v-937d2e62"]]), yr = { cla
|
|
|
977
977
|
])) : i.array && i.array.length > 1 ? (c(), u("div", {
|
|
978
978
|
key: 1,
|
|
979
979
|
class: I(["button__size-toggle widget-multi-button-toggle", { button__toggle_active: n.active }]),
|
|
980
|
-
onClick:
|
|
980
|
+
onClick: o[1] || (o[1] = (a) => s())
|
|
981
981
|
}, [
|
|
982
982
|
C(R, {
|
|
983
983
|
class: "button__toggle-icon",
|
|
984
984
|
name: "angle-small-down"
|
|
985
985
|
})
|
|
986
|
-
], 2)) :
|
|
986
|
+
], 2)) : _("", !0)
|
|
987
987
|
])
|
|
988
988
|
])
|
|
989
989
|
]));
|
|
@@ -1050,7 +1050,7 @@ const kr = { class: "widget-error" }, Nr = { class: "widget-error-wrap" }, Pr =
|
|
|
1050
1050
|
key: 0,
|
|
1051
1051
|
onClick: s[0] || (s[0] = (r) => e("toggle")),
|
|
1052
1052
|
class: "article-details"
|
|
1053
|
-
}, "See details")) :
|
|
1053
|
+
}, "See details")) : _("", !0),
|
|
1054
1054
|
d("div", Rr, [
|
|
1055
1055
|
d("div", {
|
|
1056
1056
|
class: "widget-error-close",
|
|
@@ -1075,26 +1075,26 @@ const It = /* @__PURE__ */ g(Vr, [["__scopeId", "data-v-8a0a0924"]]), Lr = {
|
|
|
1075
1075
|
var i;
|
|
1076
1076
|
return !!((i = n.card.children) != null && i.length);
|
|
1077
1077
|
}), r = G(!0);
|
|
1078
|
-
return (i,
|
|
1078
|
+
return (i, o) => (c(), u("div", null, [
|
|
1079
1079
|
(c(), v(It, {
|
|
1080
1080
|
message: i.card.msg,
|
|
1081
1081
|
key: i.card.id,
|
|
1082
|
-
onClose:
|
|
1083
|
-
onToggle:
|
|
1082
|
+
onClose: o[0] || (o[0] = (a) => e("closeCard", i.card.id)),
|
|
1083
|
+
onToggle: o[1] || (o[1] = (a) => r.value = !r.value),
|
|
1084
1084
|
"is-group": s.value
|
|
1085
1085
|
}, null, 8, ["message", "is-group"])),
|
|
1086
1086
|
!r.value && i.card.children ? (c(), u("div", Lr, [
|
|
1087
1087
|
C(jt, { name: "fade" }, {
|
|
1088
1088
|
default: he(() => [
|
|
1089
|
-
(c(!0), u(O, null, j(i.card.children, (
|
|
1090
|
-
key:
|
|
1091
|
-
message:
|
|
1092
|
-
onClose: (l) => e("closeChild",
|
|
1089
|
+
(c(!0), u(O, null, j(i.card.children, (a) => (c(), v(It, {
|
|
1090
|
+
key: a.id,
|
|
1091
|
+
message: a.msg,
|
|
1092
|
+
onClose: (l) => e("closeChild", a.id)
|
|
1093
1093
|
}, null, 8, ["message", "onClose"]))), 128))
|
|
1094
1094
|
]),
|
|
1095
1095
|
_: 1
|
|
1096
1096
|
})
|
|
1097
|
-
])) :
|
|
1097
|
+
])) : _("", !0)
|
|
1098
1098
|
]));
|
|
1099
1099
|
}
|
|
1100
1100
|
});
|
|
@@ -1250,13 +1250,13 @@ function rt(t, e = []) {
|
|
|
1250
1250
|
}
|
|
1251
1251
|
class Gr {
|
|
1252
1252
|
static getClientData() {
|
|
1253
|
-
return
|
|
1253
|
+
return h("/close-api/client-content");
|
|
1254
1254
|
}
|
|
1255
1255
|
/**
|
|
1256
1256
|
* @description Получение навигационного меню для текущего контекста.
|
|
1257
1257
|
* */
|
|
1258
1258
|
static getNavigation() {
|
|
1259
|
-
return
|
|
1259
|
+
return h("/close-api/client/navigation");
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
1262
|
/*!
|
|
@@ -1314,7 +1314,7 @@ var tn = (t, e, n) => {
|
|
|
1314
1314
|
if (e.has(t))
|
|
1315
1315
|
throw TypeError("Cannot add the same private member more than once");
|
|
1316
1316
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
1317
|
-
},
|
|
1317
|
+
}, at = (t, e, n, s) => (tn(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), ve, Me, je;
|
|
1318
1318
|
const pe = class H extends J {
|
|
1319
1319
|
constructor() {
|
|
1320
1320
|
super(...arguments), it(this, ve, void 0), it(this, Me, "front"), this.organizations = [], it(this, je, !1);
|
|
@@ -1337,7 +1337,7 @@ const pe = class H extends J {
|
|
|
1337
1337
|
return ((e = this.person) == null ? void 0 : e.id) === this.contextId ? "person" : "organization";
|
|
1338
1338
|
}
|
|
1339
1339
|
set router(e) {
|
|
1340
|
-
|
|
1340
|
+
at(this, ve, e);
|
|
1341
1341
|
}
|
|
1342
1342
|
/**
|
|
1343
1343
|
* @description VueRouter of Application
|
|
@@ -1348,7 +1348,7 @@ const pe = class H extends J {
|
|
|
1348
1348
|
return De(this, ve);
|
|
1349
1349
|
}
|
|
1350
1350
|
set type(e) {
|
|
1351
|
-
|
|
1351
|
+
at(this, Me, e);
|
|
1352
1352
|
}
|
|
1353
1353
|
get type() {
|
|
1354
1354
|
return De(this, Me);
|
|
@@ -1360,7 +1360,7 @@ const pe = class H extends J {
|
|
|
1360
1360
|
return this.type === "front";
|
|
1361
1361
|
}
|
|
1362
1362
|
set ready(e) {
|
|
1363
|
-
|
|
1363
|
+
at(this, je, e), this.emit(H.EVENT_READY_UPDATE, e);
|
|
1364
1364
|
}
|
|
1365
1365
|
get ready() {
|
|
1366
1366
|
return De(this, je);
|
|
@@ -1443,7 +1443,7 @@ pe.EVENT_DATA_UPDATE = "event:data-update";
|
|
|
1443
1443
|
pe.CURRENT_CONTEXT_KEY = "CurrentContext";
|
|
1444
1444
|
let zr = pe;
|
|
1445
1445
|
const $ = new zr();
|
|
1446
|
-
function
|
|
1446
|
+
function uo() {
|
|
1447
1447
|
const t = A({
|
|
1448
1448
|
contextType: $.contextType,
|
|
1449
1449
|
contextId: $.contextId,
|
|
@@ -1462,7 +1462,7 @@ function Hr(t) {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
});
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function h(t, e = {}) {
|
|
1466
1466
|
return $.isFront && (e.headers || (e.headers = {}), e.headers["Context-Id"] = $.contextId), e.redirect = "manual", fetch(t, e).then((n) => n.type === "opaqueredirect" ? void window.location.replace("/auth") : n).catch(() => {
|
|
1467
1467
|
throw q.ApiNotAvailable();
|
|
1468
1468
|
}).then((n) => Hr(n).then((s) => {
|
|
@@ -1484,8 +1484,8 @@ class Qe {
|
|
|
1484
1484
|
let n = Qe.parseFieldsToGraphQL(e.reduce((r, i) => (i.name && r.push(i.name), r), []));
|
|
1485
1485
|
function s(r) {
|
|
1486
1486
|
let i = "";
|
|
1487
|
-
for (let
|
|
1488
|
-
typeof r[
|
|
1487
|
+
for (let o in r)
|
|
1488
|
+
typeof r[o] == "boolean" ? i += ` ${o} ` : i += ` ${o} { ${s(r[o])} }`;
|
|
1489
1489
|
return i;
|
|
1490
1490
|
}
|
|
1491
1491
|
return s(n);
|
|
@@ -1499,8 +1499,8 @@ class Qe {
|
|
|
1499
1499
|
static parseFieldsToGraphQL(e) {
|
|
1500
1500
|
function n(s, r) {
|
|
1501
1501
|
if (r.includes(".")) {
|
|
1502
|
-
const i = r.indexOf("."),
|
|
1503
|
-
|
|
1502
|
+
const i = r.indexOf("."), o = r.substring(i + 1), a = r.substring(0, i);
|
|
1503
|
+
a in s || (s[a] = {}), n(s[a], o);
|
|
1504
1504
|
} else
|
|
1505
1505
|
s[r] = !0;
|
|
1506
1506
|
return s;
|
|
@@ -1552,9 +1552,9 @@ const Kr = {
|
|
|
1552
1552
|
components: { WidgetSpinner: _e }
|
|
1553
1553
|
}, Yr = { class: "modal__wait modal-default flex_column" };
|
|
1554
1554
|
function Xr(t, e, n, s, r, i) {
|
|
1555
|
-
const
|
|
1555
|
+
const o = U("widget-spinner");
|
|
1556
1556
|
return c(), u("div", Yr, [
|
|
1557
|
-
C(
|
|
1557
|
+
C(o),
|
|
1558
1558
|
d("p", null, m(n.message), 1)
|
|
1559
1559
|
]);
|
|
1560
1560
|
}
|
|
@@ -1599,7 +1599,7 @@ function rn(t, e = 2) {
|
|
|
1599
1599
|
return s[0] = s[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), s.length < 2 && (s[1] = ""), s[1] = s[1].padEnd(e, "0"), s[1].length > e && (s[1] = s[1].substring(0, e)), s.join(".");
|
|
1600
1600
|
}
|
|
1601
1601
|
const Ce = {
|
|
1602
|
-
Request:
|
|
1602
|
+
Request: h,
|
|
1603
1603
|
clickOutside: ke,
|
|
1604
1604
|
getPropFromObject: Ne,
|
|
1605
1605
|
runPromiseQueue: gt,
|
|
@@ -1612,7 +1612,7 @@ const Ce = {
|
|
|
1612
1612
|
__proto__: null,
|
|
1613
1613
|
GraphQL: Qe,
|
|
1614
1614
|
Journal: nn,
|
|
1615
|
-
Request:
|
|
1615
|
+
Request: h,
|
|
1616
1616
|
clickOutside: ke,
|
|
1617
1617
|
default: Ce,
|
|
1618
1618
|
firstChapterToLowerCase: sn,
|
|
@@ -1621,10 +1621,10 @@ const Ce = {
|
|
|
1621
1621
|
runPromiseQueue: gt,
|
|
1622
1622
|
valuesToUpperCase: et
|
|
1623
1623
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1624
|
-
function
|
|
1624
|
+
function an(t, e = "") {
|
|
1625
1625
|
for (let n in t) {
|
|
1626
1626
|
if (typeof t[n] == "object") {
|
|
1627
|
-
|
|
1627
|
+
an(t[n], (e.length ? `${e}-` : "") + n);
|
|
1628
1628
|
continue;
|
|
1629
1629
|
}
|
|
1630
1630
|
let s = "--" + ((e.length ? `${e}-` : "") + n).replace(
|
|
@@ -1638,7 +1638,7 @@ const se = {};
|
|
|
1638
1638
|
function ti(t) {
|
|
1639
1639
|
for (let e in t)
|
|
1640
1640
|
se[e] = t[e];
|
|
1641
|
-
t.styles &&
|
|
1641
|
+
t.styles && an(t.styles), nn.welcome(), console.log("The config has been initialized. To get access check %c_config in console.", "background: purple; color: white"), window._config = se;
|
|
1642
1642
|
}
|
|
1643
1643
|
const ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1644
1644
|
__proto__: null
|
|
@@ -1659,7 +1659,7 @@ function Je(t, e) {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
class K {
|
|
1661
1661
|
static async anonymousGetList(e) {
|
|
1662
|
-
return await
|
|
1662
|
+
return await h(`/open-api/data/${e}`, {
|
|
1663
1663
|
method: "GET",
|
|
1664
1664
|
headers: {
|
|
1665
1665
|
"Content-Type": "application/json"
|
|
@@ -1672,22 +1672,22 @@ class K {
|
|
|
1672
1672
|
* */
|
|
1673
1673
|
static async getList(e, n) {
|
|
1674
1674
|
const s = new URLSearchParams();
|
|
1675
|
-
function r(
|
|
1675
|
+
function r(o, a) {
|
|
1676
1676
|
const l = (p) => s.append("fields", p);
|
|
1677
|
-
if (typeof
|
|
1678
|
-
return l(
|
|
1679
|
-
if (Array.isArray(
|
|
1680
|
-
return l(
|
|
1681
|
-
if (typeof
|
|
1682
|
-
return l(Object.keys(
|
|
1677
|
+
if (typeof a == "string")
|
|
1678
|
+
return l(a);
|
|
1679
|
+
if (Array.isArray(a))
|
|
1680
|
+
return l(a.join(" "));
|
|
1681
|
+
if (typeof a == "object")
|
|
1682
|
+
return l(Object.keys(a).join(" "));
|
|
1683
1683
|
}
|
|
1684
|
-
function i(
|
|
1685
|
-
if (!
|
|
1684
|
+
function i(o, a) {
|
|
1685
|
+
if (!a || !Object.keys(a).length)
|
|
1686
1686
|
return;
|
|
1687
|
-
const l = Object.entries(
|
|
1688
|
-
|
|
1687
|
+
const l = Object.entries(a).map(([p, f]) => `@${p} ${f}`).join(",");
|
|
1688
|
+
o.append("order", l);
|
|
1689
1689
|
}
|
|
1690
|
-
return n && (r(s, n.fields), i(s, n.order), n.limit && s.append("limit", n.limit.toString()), n.offset && s.append("offset", n.offset.toString()), n.filter && s.append("filter", n.filter.toString()), n.useUsageContext && s.append("useUsageContext", n.useUsageContext.toString())), await
|
|
1690
|
+
return n && (r(s, n.fields), i(s, n.order), n.limit && s.append("limit", n.limit.toString()), n.offset && s.append("offset", n.offset.toString()), n.filter && s.append("filter", n.filter.toString()), n.useUsageContext && s.append("useUsageContext", n.useUsageContext.toString())), await h(`/close-api/data/${e}?${s.toString()}`, {
|
|
1691
1691
|
method: "GET",
|
|
1692
1692
|
headers: {
|
|
1693
1693
|
"Content-Type": "application/json"
|
|
@@ -1699,22 +1699,22 @@ class K {
|
|
|
1699
1699
|
* */
|
|
1700
1700
|
static getCount(e, n) {
|
|
1701
1701
|
const s = new URLSearchParams();
|
|
1702
|
-
function r(
|
|
1702
|
+
function r(o, a) {
|
|
1703
1703
|
const l = (p) => s.append("fields", p);
|
|
1704
|
-
if (typeof
|
|
1705
|
-
return l(
|
|
1706
|
-
if (Array.isArray(
|
|
1707
|
-
return l(
|
|
1708
|
-
if (typeof
|
|
1709
|
-
return l(Object.keys(
|
|
1704
|
+
if (typeof a == "string")
|
|
1705
|
+
return l(a);
|
|
1706
|
+
if (Array.isArray(a))
|
|
1707
|
+
return l(a.join(" "));
|
|
1708
|
+
if (typeof a == "object")
|
|
1709
|
+
return l(Object.keys(a).join(" "));
|
|
1710
1710
|
}
|
|
1711
|
-
function i(
|
|
1712
|
-
if (!
|
|
1711
|
+
function i(o, a) {
|
|
1712
|
+
if (!a || !Object.keys(a).length)
|
|
1713
1713
|
return;
|
|
1714
|
-
const l = Object.entries(
|
|
1715
|
-
|
|
1714
|
+
const l = Object.entries(a).map(([p, f]) => `@${p} ${f}`).join(",");
|
|
1715
|
+
o.append("order", l);
|
|
1716
1716
|
}
|
|
1717
|
-
return n && (r(s, n.fields), i(s, n.order), n.limit && s.append("limit", n.limit.toString()), n.offset && s.append("offset", n.offset.toString()), n.filter && s.append("filter", n.filter.toString()), n.useUsageContext && s.append("useUsageContext", n.useUsageContext.toString())),
|
|
1717
|
+
return n && (r(s, n.fields), i(s, n.order), n.limit && s.append("limit", n.limit.toString()), n.offset && s.append("offset", n.offset.toString()), n.filter && s.append("filter", n.filter.toString()), n.useUsageContext && s.append("useUsageContext", n.useUsageContext.toString())), h(`/close-api/data/entities/${e}/count?${s.toString()}`, {
|
|
1718
1718
|
method: "GET",
|
|
1719
1719
|
headers: {
|
|
1720
1720
|
"Content-Type": "application/json"
|
|
@@ -1726,7 +1726,7 @@ class K {
|
|
|
1726
1726
|
* */
|
|
1727
1727
|
static create(e, n, s) {
|
|
1728
1728
|
const r = new URLSearchParams();
|
|
1729
|
-
return Je(r, s == null ? void 0 : s.masterEntities),
|
|
1729
|
+
return Je(r, s == null ? void 0 : s.masterEntities), h(`/close-api/data/${e}?${r.toString()}`, {
|
|
1730
1730
|
method: "POST",
|
|
1731
1731
|
headers: {
|
|
1732
1732
|
"Content-Type": "application/json"
|
|
@@ -1740,7 +1740,7 @@ class K {
|
|
|
1740
1740
|
* @description Default update method, update entity by primaryKeys.
|
|
1741
1741
|
* */
|
|
1742
1742
|
static update(e, n, s, r = {}) {
|
|
1743
|
-
return
|
|
1743
|
+
return h(`/close-api/data/entities/${e}`, {
|
|
1744
1744
|
method: "PUT",
|
|
1745
1745
|
headers: {
|
|
1746
1746
|
"Content-Type": "application/json"
|
|
@@ -1763,7 +1763,7 @@ class K {
|
|
|
1763
1763
|
let i = s.fields;
|
|
1764
1764
|
typeof i == "string" && (i = [i]), r.append("fields", i.join(" "));
|
|
1765
1765
|
}
|
|
1766
|
-
return
|
|
1766
|
+
return h(`/close-api/data/entities/${e}/id/${n}?${r.toString()}`, {
|
|
1767
1767
|
method: "GET",
|
|
1768
1768
|
headers: {
|
|
1769
1769
|
"Content-Type": "application/json"
|
|
@@ -1772,7 +1772,7 @@ class K {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
static updateById(e, n, s, r) {
|
|
1774
1774
|
const i = new URLSearchParams();
|
|
1775
|
-
return Je(i, r == null ? void 0 : r.masterEntities),
|
|
1775
|
+
return Je(i, r == null ? void 0 : r.masterEntities), h(`/close-api/data/entities/${e}/id/${n}?${i.toString()}`, {
|
|
1776
1776
|
method: "PUT",
|
|
1777
1777
|
headers: {
|
|
1778
1778
|
"Content-Type": "application/json"
|
|
@@ -1791,7 +1791,7 @@ class K {
|
|
|
1791
1791
|
return K.removeByKeys(e, r, s);
|
|
1792
1792
|
}
|
|
1793
1793
|
static removeByKeys(e, n, s) {
|
|
1794
|
-
return
|
|
1794
|
+
return h(`/close-api/data/entities/${e}`, {
|
|
1795
1795
|
method: "delete",
|
|
1796
1796
|
headers: {
|
|
1797
1797
|
"Content-Type": "application/json"
|
|
@@ -1800,14 +1800,14 @@ class K {
|
|
|
1800
1800
|
});
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
|
-
var
|
|
1803
|
+
var on = (t, e, n) => {
|
|
1804
1804
|
if (!e.has(t))
|
|
1805
1805
|
throw TypeError("Cannot " + n);
|
|
1806
|
-
},
|
|
1806
|
+
}, ot = (t, e, n) => (on(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Ot = (t, e, n) => {
|
|
1807
1807
|
if (e.has(t))
|
|
1808
1808
|
throw TypeError("Cannot add the same private member more than once");
|
|
1809
1809
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
1810
|
-
}, Rt = (t, e, n, s) => (
|
|
1810
|
+
}, Rt = (t, e, n, s) => (on(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), we, xe;
|
|
1811
1811
|
const yt = class fe extends J {
|
|
1812
1812
|
constructor(e) {
|
|
1813
1813
|
super(), Ot(this, we, []), Ot(this, xe, !1), this.hashParams = "", this.offset = 0, this.name = e.name;
|
|
@@ -1816,7 +1816,7 @@ const yt = class fe extends J {
|
|
|
1816
1816
|
Rt(this, xe, e), this.emit(fe.EVENT_CHANGE_WAIT, e);
|
|
1817
1817
|
}
|
|
1818
1818
|
get wait() {
|
|
1819
|
-
return
|
|
1819
|
+
return ot(this, xe);
|
|
1820
1820
|
}
|
|
1821
1821
|
read(e) {
|
|
1822
1822
|
var r, i;
|
|
@@ -1826,8 +1826,8 @@ const yt = class fe extends J {
|
|
|
1826
1826
|
[(r = e.order) == null ? void 0 : r.name]: (i = e.order) == null ? void 0 : i.duration
|
|
1827
1827
|
}), e.fields && (n.fields = e.fields), e.filter && (n.filter = e.filter);
|
|
1828
1828
|
const s = JSON.stringify(n.order) + JSON.stringify(n.filter);
|
|
1829
|
-
return s !== this.hashParams && (this.offset = 0, this.hashParams = s), e.limit && (n.limit = e.limit), e.offset && (n.offset = e.offset || this.offset), K.getList(this.name, n).then((
|
|
1830
|
-
this.array.push(...
|
|
1829
|
+
return s !== this.hashParams && (this.offset = 0, this.hashParams = s), e.limit && (n.limit = e.limit), e.offset && (n.offset = e.offset || this.offset), K.getList(this.name, n).then((o) => (this.offset === 0 && (this.array = []), this.offset += n.limit, o)).then((o) => {
|
|
1830
|
+
this.array.push(...o);
|
|
1831
1831
|
}).then(() => this.emit(fe.EVENT_DATA, this.array)).finally(() => {
|
|
1832
1832
|
this.wait = !1;
|
|
1833
1833
|
});
|
|
@@ -1836,10 +1836,10 @@ const yt = class fe extends J {
|
|
|
1836
1836
|
Rt(this, we, e), this.emit(fe.EVENT_DATA, this.array);
|
|
1837
1837
|
}
|
|
1838
1838
|
add(e) {
|
|
1839
|
-
|
|
1839
|
+
ot(this, we).push(...e), this.emit(fe.EVENT_DATA, this.array);
|
|
1840
1840
|
}
|
|
1841
1841
|
get array() {
|
|
1842
|
-
return
|
|
1842
|
+
return ot(this, we);
|
|
1843
1843
|
}
|
|
1844
1844
|
/**
|
|
1845
1845
|
* @description Function get all names from Config.
|
|
@@ -1938,7 +1938,7 @@ let tt = class extends ln {
|
|
|
1938
1938
|
}
|
|
1939
1939
|
};
|
|
1940
1940
|
tt.PROVIDE_NAME = "table-controller";
|
|
1941
|
-
function
|
|
1941
|
+
function ai(t) {
|
|
1942
1942
|
return function(n) {
|
|
1943
1943
|
return {
|
|
1944
1944
|
activate() {
|
|
@@ -1950,23 +1950,23 @@ function oi(t) {
|
|
|
1950
1950
|
};
|
|
1951
1951
|
};
|
|
1952
1952
|
}
|
|
1953
|
-
function
|
|
1953
|
+
function fo(t) {
|
|
1954
1954
|
const e = A(t.array);
|
|
1955
1955
|
xt(tt.PROVIDE_NAME, t);
|
|
1956
1956
|
const n = A(t.changes);
|
|
1957
|
-
t.on(ln.EVENT_DATA, (
|
|
1958
|
-
n.new = Object.keys(t.changes.new).reduce((
|
|
1959
|
-
const l = Number(
|
|
1960
|
-
return
|
|
1957
|
+
t.on(ln.EVENT_DATA, (o) => e.splice(0, e.length, ...o)), t.on(Y.EVENT_CHANGED, () => {
|
|
1958
|
+
n.new = Object.keys(t.changes.new).reduce((o, a) => {
|
|
1959
|
+
const l = Number(a);
|
|
1960
|
+
return o[l] = t.changes.new[l], o;
|
|
1961
1961
|
}, {});
|
|
1962
1962
|
});
|
|
1963
1963
|
const s = L(() => [
|
|
1964
|
-
...e.reduce((
|
|
1965
|
-
const l =
|
|
1966
|
-
return t.changes.remove.includes(l) ||
|
|
1967
|
-
...
|
|
1964
|
+
...e.reduce((o, a) => {
|
|
1965
|
+
const l = a[F];
|
|
1966
|
+
return t.changes.remove.includes(l) || o.push({
|
|
1967
|
+
...a,
|
|
1968
1968
|
...t.changes.edit[l]
|
|
1969
|
-
}),
|
|
1969
|
+
}), o;
|
|
1970
1970
|
}, []),
|
|
1971
1971
|
...Object.values(n.new)
|
|
1972
1972
|
]), r = Y.getParentForm();
|
|
@@ -1975,7 +1975,7 @@ function fa(t) {
|
|
|
1975
1975
|
array: s
|
|
1976
1976
|
};
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function ho(t, e) {
|
|
1979
1979
|
t.read = () => K.getList(t.name, {
|
|
1980
1980
|
fields: e == null ? void 0 : e.fields
|
|
1981
1981
|
}).then((n) => t.array = n).then(() => t.emit(Y.EVENT_READ, t.array)), t.save = () => {
|
|
@@ -1986,7 +1986,7 @@ function ha(t, e) {
|
|
|
1986
1986
|
await K.updateById(t.name, s(Number(r)), i);
|
|
1987
1987
|
});
|
|
1988
1988
|
function s(r) {
|
|
1989
|
-
const i = t.array.find((
|
|
1989
|
+
const i = t.array.find((o) => o[F] === r);
|
|
1990
1990
|
return i.id | i.Id;
|
|
1991
1991
|
}
|
|
1992
1992
|
t.changes.remove.forEach(async (r) => {
|
|
@@ -1994,12 +1994,12 @@ function ha(t, e) {
|
|
|
1994
1994
|
}), t.emit(Y.EVENT_SAVE);
|
|
1995
1995
|
};
|
|
1996
1996
|
}
|
|
1997
|
-
const
|
|
1997
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1998
1998
|
__proto__: null
|
|
1999
1999
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2000
|
-
class
|
|
2000
|
+
class go {
|
|
2001
2001
|
static readHistoryById(e, n) {
|
|
2002
|
-
return
|
|
2002
|
+
return h(`/close-api/audits/history/${e}/${n}`, {
|
|
2003
2003
|
method: "GET",
|
|
2004
2004
|
headers: {
|
|
2005
2005
|
"Content-Type": "application/json"
|
|
@@ -2008,14 +2008,14 @@ class ga {
|
|
|
2008
2008
|
const r = s.history.map((i) => {
|
|
2009
2009
|
if (!i.changes)
|
|
2010
2010
|
return i;
|
|
2011
|
-
const
|
|
2012
|
-
...
|
|
2013
|
-
oldValue:
|
|
2014
|
-
name:
|
|
2011
|
+
const o = i.changes.map((a) => ({
|
|
2012
|
+
...a,
|
|
2013
|
+
oldValue: a.originalValue,
|
|
2014
|
+
name: a.fieldName
|
|
2015
2015
|
}));
|
|
2016
2016
|
return {
|
|
2017
2017
|
...i,
|
|
2018
|
-
changes:
|
|
2018
|
+
changes: o
|
|
2019
2019
|
};
|
|
2020
2020
|
});
|
|
2021
2021
|
return {
|
|
@@ -2028,21 +2028,21 @@ class ga {
|
|
|
2028
2028
|
var cn = (t, e, n) => {
|
|
2029
2029
|
if (!e.has(t))
|
|
2030
2030
|
throw TypeError("Cannot " + n);
|
|
2031
|
-
}, te = (t, e, n) => (cn(t, e, "read from private field"), n ? n.call(t) : e.get(t)),
|
|
2031
|
+
}, te = (t, e, n) => (cn(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ae = (t, e, n) => {
|
|
2032
2032
|
if (e.has(t))
|
|
2033
2033
|
throw TypeError("Cannot add the same private member more than once");
|
|
2034
2034
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
2035
|
-
},
|
|
2035
|
+
}, oe = (t, e, n, s) => (cn(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), Ue, be, Be, qe, $e, Ee, ut;
|
|
2036
2036
|
const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne extends J {
|
|
2037
2037
|
constructor(e) {
|
|
2038
|
-
super(), this.LIST_ROW_KEY = 1,
|
|
2038
|
+
super(), this.LIST_ROW_KEY = 1, ae(this, Ue, void 0), this.array = [], ae(this, be, []), ae(this, Be, []), ae(this, qe, new Proxy({}, {
|
|
2039
2039
|
set: (n, s, r, i) => (n[s] = r, this.emit(ne.EVENT_FILTERS_UPDATE, n), !0),
|
|
2040
2040
|
deleteProperty: (n, s) => (delete n[s], this.emit(ne.EVENT_FILTERS_UPDATE, n), !0)
|
|
2041
|
-
})),
|
|
2042
|
-
}),
|
|
2041
|
+
})), ae(this, $e, !1), ae(this, Ee, (...n) => Promise), ae(this, ut, () => {
|
|
2042
|
+
}), oe(this, Ue, e.primaryKeys || []), this.name = e.name || void 0, e.config && oe(this, be, e.config);
|
|
2043
2043
|
}
|
|
2044
2044
|
set config(e) {
|
|
2045
|
-
|
|
2045
|
+
oe(this, be, e.map(ue.copyObject)), this.emitUpdateConfig();
|
|
2046
2046
|
}
|
|
2047
2047
|
get config() {
|
|
2048
2048
|
return te(this, be);
|
|
@@ -2054,7 +2054,7 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2054
2054
|
return te(this, Be);
|
|
2055
2055
|
}
|
|
2056
2056
|
set order(e) {
|
|
2057
|
-
|
|
2057
|
+
oe(this, Be, e), this.emit(ne.EVENT_ORDER_UPDATE, this.order);
|
|
2058
2058
|
}
|
|
2059
2059
|
get filters() {
|
|
2060
2060
|
return te(this, qe);
|
|
@@ -2063,7 +2063,7 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2063
2063
|
un(te(this, qe), e);
|
|
2064
2064
|
}
|
|
2065
2065
|
set wait(e) {
|
|
2066
|
-
|
|
2066
|
+
oe(this, $e, e), this.emit(Y.EVENT_WAIT, te(this, $e));
|
|
2067
2067
|
}
|
|
2068
2068
|
/**
|
|
2069
2069
|
* @description Value is true if request is running
|
|
@@ -2150,7 +2150,7 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2150
2150
|
return Object.prototype.hasOwnProperty.call(e, le);
|
|
2151
2151
|
}
|
|
2152
2152
|
set read(e) {
|
|
2153
|
-
|
|
2153
|
+
oe(this, Ee, e);
|
|
2154
2154
|
}
|
|
2155
2155
|
get read() {
|
|
2156
2156
|
return (...e) => Promise.resolve().then(() => {
|
|
@@ -2159,7 +2159,7 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2159
2159
|
}).finally(() => this.wait = !1);
|
|
2160
2160
|
}
|
|
2161
2161
|
set save(e) {
|
|
2162
|
-
|
|
2162
|
+
oe(this, Ee, e);
|
|
2163
2163
|
}
|
|
2164
2164
|
get save() {
|
|
2165
2165
|
return () => Promise.resolve().then(() => this.wait = !0).then(() => te(this, ut).call(this)).finally(() => this.wait = !1);
|
|
@@ -2215,23 +2215,23 @@ Pe.EVENT_CONFIG_UPDATE = "list-config:update";
|
|
|
2215
2215
|
Pe.EVENT_ORDER_UPDATE = "list-order:update";
|
|
2216
2216
|
Pe.EVENT_FILTERS_UPDATE = "list-filters:update";
|
|
2217
2217
|
let Q = Pe;
|
|
2218
|
-
function
|
|
2218
|
+
function oi(t, e) {
|
|
2219
2219
|
let n = "", s = 0, r = !1, i;
|
|
2220
|
-
t.read = (
|
|
2220
|
+
t.read = (o = {}) => {
|
|
2221
2221
|
if (t.wait)
|
|
2222
2222
|
return i;
|
|
2223
|
-
if (
|
|
2223
|
+
if (o.clean && (n = "", s = 0, r = !1), r)
|
|
2224
2224
|
return Promise.resolve([]);
|
|
2225
|
-
let
|
|
2226
|
-
typeof
|
|
2225
|
+
let a = e;
|
|
2226
|
+
typeof a == "function" && (a = a());
|
|
2227
2227
|
const l = {};
|
|
2228
2228
|
if (!t.name)
|
|
2229
2229
|
throw new Error("Reading list`s data without name is not available.");
|
|
2230
|
-
|
|
2231
|
-
[
|
|
2232
|
-
}),
|
|
2230
|
+
a.order && Array.isArray(a.order) && a.order.length && (l.order = {
|
|
2231
|
+
[a.order[0]]: a.order[1] || "asc"
|
|
2232
|
+
}), a.fields && (l.fields = a.fields), a.filter && (l.filter = a.filter);
|
|
2233
2233
|
const p = JSON.stringify(l.order) + JSON.stringify(l.filter) + JSON.stringify(l.fields);
|
|
2234
|
-
return p !== n && !Number.isNaN(p) && (s = 0, n = p), "limit" in
|
|
2234
|
+
return p !== n && !Number.isNaN(p) && (s = 0, n = p), "limit" in a && (l.limit = a.limit), l.offset = s || a.offset || 0, i = K.getList(t.name, l).then((f) => ((s === 0 || o.clean) && t.set([]), s += l.limit, f)).then((f) => (t.add(...f), f.length === 0 && (r = !0), f)), i;
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
2237
|
function li(t) {
|
|
@@ -2260,7 +2260,7 @@ function ci(t, e) {
|
|
|
2260
2260
|
};
|
|
2261
2261
|
return xt(n, r), r;
|
|
2262
2262
|
}
|
|
2263
|
-
function
|
|
2263
|
+
function mo(t) {
|
|
2264
2264
|
const e = A([...t.config]);
|
|
2265
2265
|
return t.on(Q.EVENT_CONFIG_UPDATE, (n) => {
|
|
2266
2266
|
e.splice(0, e.length, ...n);
|
|
@@ -2272,7 +2272,7 @@ function ui(t) {
|
|
|
2272
2272
|
n.splice(0, n.length, ...s), t.read();
|
|
2273
2273
|
}), n;
|
|
2274
2274
|
}
|
|
2275
|
-
function
|
|
2275
|
+
function yo(t) {
|
|
2276
2276
|
const e = G(""), n = L(() => {
|
|
2277
2277
|
const s = e.value.toLowerCase();
|
|
2278
2278
|
return P(t).filter((r) => e.value.length ? Object.values(r).join().toLowerCase().includes(s) : !0);
|
|
@@ -2287,37 +2287,37 @@ function un(t, e) {
|
|
|
2287
2287
|
t[n] = s;
|
|
2288
2288
|
});
|
|
2289
2289
|
}
|
|
2290
|
-
function
|
|
2290
|
+
function vo(t) {
|
|
2291
2291
|
const e = A(ue.copyObject(t.filters));
|
|
2292
2292
|
return t.on(Q.EVENT_FILTERS_UPDATE, (n) => {
|
|
2293
2293
|
un(e, n), t.read();
|
|
2294
2294
|
}), e;
|
|
2295
2295
|
}
|
|
2296
|
-
function
|
|
2296
|
+
function wo(t) {
|
|
2297
2297
|
const e = A([]);
|
|
2298
|
-
function n(
|
|
2299
|
-
return e.includes(
|
|
2298
|
+
function n(a) {
|
|
2299
|
+
return e.includes(a);
|
|
2300
2300
|
}
|
|
2301
|
-
function s(
|
|
2302
|
-
n(
|
|
2301
|
+
function s(a) {
|
|
2302
|
+
n(a) || e.push(a);
|
|
2303
2303
|
}
|
|
2304
|
-
function r(
|
|
2305
|
-
const l = e.findIndex((p) => p ===
|
|
2304
|
+
function r(a) {
|
|
2305
|
+
const l = e.findIndex((p) => p === a);
|
|
2306
2306
|
l !== -1 && e.splice(l, 1);
|
|
2307
2307
|
}
|
|
2308
|
-
function i(
|
|
2308
|
+
function i(a) {
|
|
2309
2309
|
const l = P(t);
|
|
2310
|
-
if (
|
|
2310
|
+
if (a === void 0) {
|
|
2311
2311
|
e.length === 0 ? l.forEach(s) : l.forEach(r);
|
|
2312
2312
|
return;
|
|
2313
2313
|
}
|
|
2314
|
-
n(
|
|
2314
|
+
n(a) ? r(a) : s(a);
|
|
2315
2315
|
}
|
|
2316
|
-
const
|
|
2317
|
-
const
|
|
2318
|
-
return e.length ===
|
|
2316
|
+
const o = L(() => {
|
|
2317
|
+
const a = P(t);
|
|
2318
|
+
return e.length === a.length && a.length !== 0;
|
|
2319
2319
|
});
|
|
2320
|
-
return [e, i,
|
|
2320
|
+
return [e, i, o, s, r];
|
|
2321
2321
|
}
|
|
2322
2322
|
class di extends Q {
|
|
2323
2323
|
constructor(e) {
|
|
@@ -2359,11 +2359,11 @@ const hi = {
|
|
|
2359
2359
|
}, _i = { class: "widget-table__head" }, gi = { class: "widget-table__head-title" };
|
|
2360
2360
|
function mi(t, e, n, s, r, i) {
|
|
2361
2361
|
return c(), u("tr", _i, [
|
|
2362
|
-
(c(!0), u(O, null, j(n.config, (
|
|
2362
|
+
(c(!0), u(O, null, j(n.config, (o, a) => (c(), u("th", {
|
|
2363
2363
|
class: "widget-table__head-cell",
|
|
2364
|
-
key:
|
|
2364
|
+
key: a
|
|
2365
2365
|
}, [
|
|
2366
|
-
d("p", gi, m(
|
|
2366
|
+
d("p", gi, m(o.title), 1)
|
|
2367
2367
|
]))), 128))
|
|
2368
2368
|
]);
|
|
2369
2369
|
}
|
|
@@ -2388,15 +2388,15 @@ function vi(t, e) {
|
|
|
2388
2388
|
function wi(t, e, n) {
|
|
2389
2389
|
const s = e.values;
|
|
2390
2390
|
let { name: r, value: i } = Q.getCellInfo(t, s);
|
|
2391
|
-
const
|
|
2391
|
+
const o = {
|
|
2392
2392
|
onClick: [],
|
|
2393
2393
|
class: ["widget-table__cell widget-table-cell"]
|
|
2394
2394
|
};
|
|
2395
|
-
function
|
|
2396
|
-
|
|
2395
|
+
function a(w) {
|
|
2396
|
+
o.onClick.push(() => w(s));
|
|
2397
2397
|
}
|
|
2398
2398
|
function l(w) {
|
|
2399
|
-
Array.isArray(w) ?
|
|
2399
|
+
Array.isArray(w) ? o.class.push(...w) : o.class.push(w);
|
|
2400
2400
|
}
|
|
2401
2401
|
const p = [], f = [];
|
|
2402
2402
|
if (t.hide && t.hide(s))
|
|
@@ -2420,7 +2420,7 @@ function wi(t, e, n) {
|
|
|
2420
2420
|
f.push(k(ct, {
|
|
2421
2421
|
type: "single-checkbox",
|
|
2422
2422
|
modelValue: e.selected
|
|
2423
|
-
})),
|
|
2423
|
+
})), a(bi.bind(null, n, !0));
|
|
2424
2424
|
}
|
|
2425
2425
|
if (t.checked) {
|
|
2426
2426
|
const w = t.checked(s);
|
|
@@ -2431,7 +2431,7 @@ function wi(t, e, n) {
|
|
|
2431
2431
|
})
|
|
2432
2432
|
);
|
|
2433
2433
|
}
|
|
2434
|
-
if (t.onClick &&
|
|
2434
|
+
if (t.onClick && a(t.onClick), t.link)
|
|
2435
2435
|
try {
|
|
2436
2436
|
const w = t.link(s);
|
|
2437
2437
|
if (w) {
|
|
@@ -2448,7 +2448,7 @@ function wi(t, e, n) {
|
|
|
2448
2448
|
k("p", {
|
|
2449
2449
|
class: "widget-list-cell-text"
|
|
2450
2450
|
}, i)
|
|
2451
|
-
), t.icon && f.push(k(R, { name: t.icon })), t.class && (typeof t.class == "function" ? l(t.class(s)) : l(t.class)), p.push(k("td",
|
|
2451
|
+
), t.icon && f.push(k(R, { name: t.icon })), t.class && (typeof t.class == "function" ? l(t.class(s)) : l(t.class)), p.push(k("td", o, f)), p;
|
|
2452
2452
|
}
|
|
2453
2453
|
function bi(t, e) {
|
|
2454
2454
|
t.emit("select", e);
|
|
@@ -2483,7 +2483,7 @@ const $i = {
|
|
|
2483
2483
|
setTimeout(() => {
|
|
2484
2484
|
s.value && s.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
|
|
2485
2485
|
}, 250);
|
|
2486
|
-
}), (i,
|
|
2486
|
+
}), (i, o) => (c(), u("tr", {
|
|
2487
2487
|
class: "widget-table-form",
|
|
2488
2488
|
ref_key: "refTableForm",
|
|
2489
2489
|
ref: s
|
|
@@ -2492,8 +2492,8 @@ const $i = {
|
|
|
2492
2492
|
(c(), v(Ut(i.component), Bt(i.$attrs, {
|
|
2493
2493
|
values: i.values,
|
|
2494
2494
|
new: r.value,
|
|
2495
|
-
onClose:
|
|
2496
|
-
onSave:
|
|
2495
|
+
onClose: o[0] || (o[0] = (a) => e("close")),
|
|
2496
|
+
onSave: o[1] || (o[1] = (a) => e("save", a))
|
|
2497
2497
|
}), null, 16, ["values", "new"]))
|
|
2498
2498
|
], 8, Ei)
|
|
2499
2499
|
], 512));
|
|
@@ -2531,10 +2531,10 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2531
2531
|
values: l,
|
|
2532
2532
|
hash: Ht(l)
|
|
2533
2533
|
})));
|
|
2534
|
-
function
|
|
2534
|
+
function o(l, p = !0) {
|
|
2535
2535
|
return n.selectRows ? p ? n.selectRows.indexOf(l) === -1 ? e("update:selectRows", [...n.selectRows, l]) : e("update:selectRows", n.selectRows.filter((w) => w !== l)) : e("update:selectRows", [l]) : void 0;
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function a(l) {
|
|
2538
2538
|
e("save", l), e("update:activeRow", null);
|
|
2539
2539
|
}
|
|
2540
2540
|
return (l, p) => (c(), u("div", null, [
|
|
@@ -2545,7 +2545,7 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2545
2545
|
label: "Loading data",
|
|
2546
2546
|
color: "black",
|
|
2547
2547
|
class: "widget-table-loader"
|
|
2548
|
-
})) :
|
|
2548
|
+
})) : _("", !0)
|
|
2549
2549
|
]),
|
|
2550
2550
|
_: 1
|
|
2551
2551
|
}),
|
|
@@ -2561,7 +2561,7 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2561
2561
|
config: l.config,
|
|
2562
2562
|
values: f,
|
|
2563
2563
|
selected: (T = l.selectRows) == null ? void 0 : T.includes(f),
|
|
2564
|
-
onSelect: (S) =>
|
|
2564
|
+
onSelect: (S) => o(f, S),
|
|
2565
2565
|
class: I(l.classCallback ? l.classCallback(f) : "")
|
|
2566
2566
|
}, null, 8, ["config", "values", "selected", "onSelect", "class"]),
|
|
2567
2567
|
r.value && l.activeRow === w ? (c(), v(Vt, {
|
|
@@ -2570,9 +2570,9 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2570
2570
|
"row-length": l.config.length,
|
|
2571
2571
|
values: f,
|
|
2572
2572
|
onClose: p[0] || (p[0] = (S) => e("update:activeRow", null)),
|
|
2573
|
-
onSave:
|
|
2573
|
+
onSave: a,
|
|
2574
2574
|
onRead: p[1] || (p[1] = (S) => e("read"))
|
|
2575
|
-
}, null, 8, ["component", "row-length", "values"])) :
|
|
2575
|
+
}, null, 8, ["component", "row-length", "values"])) : _("", !0)
|
|
2576
2576
|
], 64);
|
|
2577
2577
|
}), 128)),
|
|
2578
2578
|
l.activeRow === 0 ? (c(), v(Vt, {
|
|
@@ -2580,22 +2580,22 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2580
2580
|
component: r.value,
|
|
2581
2581
|
"row-length": l.config.length,
|
|
2582
2582
|
onClose: p[2] || (p[2] = (f) => e("update:activeRow", null)),
|
|
2583
|
-
onSave:
|
|
2583
|
+
onSave: a,
|
|
2584
2584
|
onRead: p[3] || (p[3] = (f) => e("read"))
|
|
2585
|
-
}, null, 8, ["component", "row-length"])) :
|
|
2585
|
+
}, null, 8, ["component", "row-length"])) : _("", !0)
|
|
2586
2586
|
])
|
|
2587
2587
|
], 2)
|
|
2588
2588
|
]));
|
|
2589
2589
|
}
|
|
2590
2590
|
});
|
|
2591
|
-
const
|
|
2591
|
+
const bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2592
2592
|
__proto__: null,
|
|
2593
2593
|
List: Q,
|
|
2594
2594
|
Table: di,
|
|
2595
2595
|
WidgetTable: Ii,
|
|
2596
2596
|
useListOrder: ui,
|
|
2597
2597
|
useListProvide: ci,
|
|
2598
|
-
useListRead:
|
|
2598
|
+
useListRead: oi,
|
|
2599
2599
|
useListState: li,
|
|
2600
2600
|
useTableActiveRow: fi
|
|
2601
2601
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -2626,23 +2626,23 @@ class Ai extends J {
|
|
|
2626
2626
|
}
|
|
2627
2627
|
}
|
|
2628
2628
|
const Fe = new Ai();
|
|
2629
|
-
function $
|
|
2629
|
+
function $o(t) {
|
|
2630
2630
|
const e = G(Fe.get(t));
|
|
2631
2631
|
return Fe.on(Fe.EVENT_NEW, (n) => {
|
|
2632
2632
|
t === n.entityName && (e.value = Fe.get(t));
|
|
2633
2633
|
}), e;
|
|
2634
2634
|
}
|
|
2635
|
-
function
|
|
2635
|
+
function Eo(t, e) {
|
|
2636
2636
|
return e.dataType === "DateTime" && typeof t == "string" ? new Date(t).toLocaleString() : t;
|
|
2637
2637
|
}
|
|
2638
|
-
class
|
|
2638
|
+
class To {
|
|
2639
2639
|
/**
|
|
2640
2640
|
* @description Загрузка словаря для определённого языка.
|
|
2641
2641
|
* */
|
|
2642
2642
|
static getDictionary(e) {
|
|
2643
2643
|
if (!e)
|
|
2644
2644
|
throw new Error(`Can't get dictionary for ${e}.`);
|
|
2645
|
-
return
|
|
2645
|
+
return h(`/open-api/internationalization/language/${e}`);
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
2648
|
let ce = {};
|
|
@@ -2668,13 +2668,13 @@ Ie.setVocabulary = function(t) {
|
|
|
2668
2668
|
vocabulary: t
|
|
2669
2669
|
});
|
|
2670
2670
|
};
|
|
2671
|
-
function
|
|
2671
|
+
function So(t = "default") {
|
|
2672
2672
|
if (dt.manager)
|
|
2673
2673
|
return dt.manager.socket(`/${t}`);
|
|
2674
2674
|
}
|
|
2675
2675
|
class dt {
|
|
2676
2676
|
}
|
|
2677
|
-
function
|
|
2677
|
+
function Co(t = window.location.origin + "/socket.io") {
|
|
2678
2678
|
dt.manager = new Tn(t, {
|
|
2679
2679
|
reconnectionDelayMax: 1e3,
|
|
2680
2680
|
withCredentials: !0,
|
|
@@ -2693,7 +2693,7 @@ const ki = { class: "breadcrumb__title" }, Ni = /* @__PURE__ */ b({
|
|
|
2693
2693
|
class: I(["breadcrumb flex", { breadcrumb_active: e.active }])
|
|
2694
2694
|
}, [
|
|
2695
2695
|
d("p", ki, m(e.title), 1),
|
|
2696
|
-
e.active ?
|
|
2696
|
+
e.active ? _("", !0) : (c(), v(R, {
|
|
2697
2697
|
key: 0,
|
|
2698
2698
|
class: "breadcrumb__icon",
|
|
2699
2699
|
name: "caret-right"
|
|
@@ -2717,7 +2717,7 @@ const Pi = /* @__PURE__ */ g(Ni, [["__scopeId", "data-v-1702aee0"]]), Oi = { cla
|
|
|
2717
2717
|
]));
|
|
2718
2718
|
}
|
|
2719
2719
|
});
|
|
2720
|
-
const
|
|
2720
|
+
const Io = /* @__PURE__ */ g(Ri, [["__scopeId", "data-v-1dfb2668"]]), Vi = {
|
|
2721
2721
|
props: {
|
|
2722
2722
|
config: Array,
|
|
2723
2723
|
values: Object,
|
|
@@ -2764,7 +2764,7 @@ const Li = /* @__PURE__ */ g(Vi, [["__scopeId", "data-v-47478206"]]), Wi = (t) =
|
|
|
2764
2764
|
Ae("core-arrow-up")
|
|
2765
2765
|
]),
|
|
2766
2766
|
_: 1
|
|
2767
|
-
}, 8, ["class"])) :
|
|
2767
|
+
}, 8, ["class"])) : _("", !0),
|
|
2768
2768
|
Fi
|
|
2769
2769
|
])
|
|
2770
2770
|
]));
|
|
@@ -2829,7 +2829,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2829
2829
|
st.splice(D, 1), st.splice(Ve, 0, ye), i(st);
|
|
2830
2830
|
} else {
|
|
2831
2831
|
const ye = n.config[D].name;
|
|
2832
|
-
|
|
2832
|
+
o(ye);
|
|
2833
2833
|
}
|
|
2834
2834
|
}
|
|
2835
2835
|
r.value.style.display = "none", document.body.style.cursor = "unset", console.groupEnd();
|
|
@@ -2848,7 +2848,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2848
2848
|
function i(l) {
|
|
2849
2849
|
e("update:config", l);
|
|
2850
2850
|
}
|
|
2851
|
-
function
|
|
2851
|
+
function o(l) {
|
|
2852
2852
|
if (!l)
|
|
2853
2853
|
return;
|
|
2854
2854
|
if (Array.isArray(l)) {
|
|
@@ -2857,11 +2857,11 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2857
2857
|
l = l[0];
|
|
2858
2858
|
}
|
|
2859
2859
|
if (n.order.length === 0 || n.order[0] !== l)
|
|
2860
|
-
return void
|
|
2860
|
+
return void a([l]);
|
|
2861
2861
|
const p = n.order.length === 1 || n.order[1] === "asc" ? "asc" : "desc";
|
|
2862
|
-
|
|
2862
|
+
a([l, p === "asc" ? "desc" : "asc"]);
|
|
2863
2863
|
}
|
|
2864
|
-
function
|
|
2864
|
+
function a(l) {
|
|
2865
2865
|
e("update:order", l);
|
|
2866
2866
|
}
|
|
2867
2867
|
return (l, p) => (c(), u("tr", {
|
|
@@ -2870,7 +2870,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2870
2870
|
ref: s
|
|
2871
2871
|
}, [
|
|
2872
2872
|
(c(!0), u(O, null, j(l.config, (f, w) => (c(), v(ji, Bt({ key: f }, f, {
|
|
2873
|
-
onOrder: (V) =>
|
|
2873
|
+
onOrder: (V) => o(f.name),
|
|
2874
2874
|
onSelect: p[0] || (p[0] = (V) => e("select")),
|
|
2875
2875
|
order: l.order
|
|
2876
2876
|
}), null, 16, ["onOrder", "order"]))), 128)),
|
|
@@ -2882,7 +2882,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2882
2882
|
], 512));
|
|
2883
2883
|
}
|
|
2884
2884
|
});
|
|
2885
|
-
const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-
|
|
2885
|
+
const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-11644ad4"]]), Bi = 50, qi = /* @__PURE__ */ b({
|
|
2886
2886
|
__name: "widget-list",
|
|
2887
2887
|
props: {
|
|
2888
2888
|
array: {},
|
|
@@ -2894,58 +2894,58 @@ const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-ecab6d75"]]), Bi = 50, q
|
|
|
2894
2894
|
emits: ["scrollEnd", "update:selectedRows", "update:order", "update:config"],
|
|
2895
2895
|
setup(t, { emit: e }) {
|
|
2896
2896
|
const n = t;
|
|
2897
|
-
function s(
|
|
2897
|
+
function s(a, l = !0) {
|
|
2898
2898
|
var p;
|
|
2899
2899
|
if (n.selectedRows)
|
|
2900
2900
|
if (!l)
|
|
2901
|
-
i([
|
|
2901
|
+
i([a]);
|
|
2902
2902
|
else {
|
|
2903
|
-
const f = n.selectedRows.indexOf(
|
|
2904
|
-
f === -1 ? n.selectedRows.push(
|
|
2903
|
+
const f = n.selectedRows.indexOf(a);
|
|
2904
|
+
f === -1 ? n.selectedRows.push(a) : (p = n.selectedRows) == null || p.splice(f, 1), i(n.selectedRows);
|
|
2905
2905
|
}
|
|
2906
2906
|
}
|
|
2907
2907
|
function r() {
|
|
2908
|
-
var
|
|
2909
|
-
if (((
|
|
2908
|
+
var a;
|
|
2909
|
+
if (((a = n.selectedRows) == null ? void 0 : a.length) !== n.array.length)
|
|
2910
2910
|
return i([...n.array]);
|
|
2911
2911
|
i([]);
|
|
2912
2912
|
}
|
|
2913
|
-
function i(
|
|
2914
|
-
e("update:selectedRows",
|
|
2913
|
+
function i(a) {
|
|
2914
|
+
e("update:selectedRows", a);
|
|
2915
2915
|
}
|
|
2916
|
-
function a
|
|
2917
|
-
if (!
|
|
2916
|
+
function o(a) {
|
|
2917
|
+
if (!a)
|
|
2918
2918
|
return;
|
|
2919
|
-
const l =
|
|
2919
|
+
const l = a.target;
|
|
2920
2920
|
l.scrollTop + l.clientHeight + Bi > l.scrollHeight && e("scrollEnd");
|
|
2921
2921
|
}
|
|
2922
|
-
return (
|
|
2922
|
+
return (a, l) => (c(), u("div", {
|
|
2923
2923
|
class: "es-list-container",
|
|
2924
|
-
onScrollPassive:
|
|
2924
|
+
onScrollPassive: o
|
|
2925
2925
|
}, [
|
|
2926
2926
|
d("table", {
|
|
2927
|
-
class: I(["widget-list", { "widget-list_load":
|
|
2927
|
+
class: I(["widget-list", { "widget-list_load": a.wait }])
|
|
2928
2928
|
}, [
|
|
2929
2929
|
d("thead", null, [
|
|
2930
2930
|
C(Ui, {
|
|
2931
2931
|
onSelect: l[0] || (l[0] = (p) => r()),
|
|
2932
2932
|
"onUpdate:order": l[1] || (l[1] = (p) => e("update:order", p)),
|
|
2933
2933
|
"onUpdate:config": l[2] || (l[2] = (p) => e("update:config", p)),
|
|
2934
|
-
config:
|
|
2935
|
-
order:
|
|
2934
|
+
config: a.config,
|
|
2935
|
+
order: a.order
|
|
2936
2936
|
}, null, 8, ["config", "order"])
|
|
2937
2937
|
]),
|
|
2938
2938
|
d("tbody", {
|
|
2939
|
-
class: I(["widget-list-body", { "widget-list-body_inactive":
|
|
2939
|
+
class: I(["widget-list-body", { "widget-list-body_inactive": a.wait }])
|
|
2940
2940
|
}, [
|
|
2941
|
-
(c(!0), u(O, null, j(
|
|
2941
|
+
(c(!0), u(O, null, j(a.array, (p, f) => {
|
|
2942
2942
|
var w;
|
|
2943
2943
|
return c(), v(Li, {
|
|
2944
2944
|
key: f,
|
|
2945
2945
|
class: "widget-list-row",
|
|
2946
2946
|
values: p,
|
|
2947
|
-
config:
|
|
2948
|
-
selected: (w =
|
|
2947
|
+
config: a.config,
|
|
2948
|
+
selected: (w = a.selectedRows) == null ? void 0 : w.includes(p),
|
|
2949
2949
|
onSelect: (V) => s(p, V)
|
|
2950
2950
|
}, null, 8, ["values", "config", "selected", "onSelect"]);
|
|
2951
2951
|
}), 128))
|
|
@@ -2954,7 +2954,7 @@ const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-ecab6d75"]]), Bi = 50, q
|
|
|
2954
2954
|
], 32));
|
|
2955
2955
|
}
|
|
2956
2956
|
});
|
|
2957
|
-
const
|
|
2957
|
+
const Ao = /* @__PURE__ */ g(qi, [["__scopeId", "data-v-eb609a21"]]), Gi = { class: "widget-section" }, zi = { class: "widget-section__header" }, Hi = { class: "widget-section-title" }, Ji = { class: "widget-section__body" }, Ki = /* @__PURE__ */ b({
|
|
2958
2958
|
__name: "widget-section",
|
|
2959
2959
|
props: {
|
|
2960
2960
|
title: {}
|
|
@@ -2970,7 +2970,7 @@ const Aa = /* @__PURE__ */ g(qi, [["__scopeId", "data-v-eb609a21"]]), Gi = { cla
|
|
|
2970
2970
|
]));
|
|
2971
2971
|
}
|
|
2972
2972
|
});
|
|
2973
|
-
const
|
|
2973
|
+
const ko = /* @__PURE__ */ g(Ki, [["__scopeId", "data-v-07232553"]]);
|
|
2974
2974
|
const Yi = {
|
|
2975
2975
|
props: {
|
|
2976
2976
|
config: Array
|
|
@@ -2979,43 +2979,43 @@ const Yi = {
|
|
|
2979
2979
|
}, Xi = { class: "widget-table__head" }, Zi = { class: "widget-table__head-title" };
|
|
2980
2980
|
function Qi(t, e, n, s, r, i) {
|
|
2981
2981
|
return c(), u("tr", Xi, [
|
|
2982
|
-
(c(!0), u(O, null, j(n.config, (
|
|
2982
|
+
(c(!0), u(O, null, j(n.config, (o, a) => (c(), u("th", {
|
|
2983
2983
|
class: "widget-table__head-cell",
|
|
2984
|
-
key:
|
|
2984
|
+
key: a
|
|
2985
2985
|
}, [
|
|
2986
|
-
d("p", Zi, m(
|
|
2986
|
+
d("p", Zi, m(o.title), 1)
|
|
2987
2987
|
]))), 128))
|
|
2988
2988
|
]);
|
|
2989
2989
|
}
|
|
2990
|
-
const
|
|
2991
|
-
function
|
|
2992
|
-
const s = t.map((r) =>
|
|
2990
|
+
const ea = /* @__PURE__ */ g(Yi, [["render", Qi], ["__scopeId", "data-v-cae93640"]]);
|
|
2991
|
+
function ta(t, e, n) {
|
|
2992
|
+
const s = t.map((r) => na(r, e, n));
|
|
2993
2993
|
return k("tr", { class: "widget-table__row widget-table-row" }, s);
|
|
2994
2994
|
}
|
|
2995
|
-
function
|
|
2995
|
+
function na(t, e, n) {
|
|
2996
2996
|
const { name: s, value: r } = Q.getCellInfo(t, e), i = {
|
|
2997
2997
|
onClick: [],
|
|
2998
2998
|
class: ["widget-table__cell widget-table-cell"]
|
|
2999
2999
|
};
|
|
3000
|
-
function
|
|
3000
|
+
function o(f) {
|
|
3001
3001
|
i.onClick.push(() => f(r, e));
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function a(f) {
|
|
3004
3004
|
Array.isArray(f) ? i.class.push(...f) : i.class.push(f);
|
|
3005
3005
|
}
|
|
3006
3006
|
const l = [], p = [];
|
|
3007
3007
|
if (t.type)
|
|
3008
|
-
switch (
|
|
3008
|
+
switch (a(`widget-table-cell_${t.type}`), t.type) {
|
|
3009
3009
|
case "edit": {
|
|
3010
|
-
t.icon = "edit",
|
|
3010
|
+
t.icon = "edit", o(n.activate);
|
|
3011
3011
|
break;
|
|
3012
3012
|
}
|
|
3013
3013
|
case "remove": {
|
|
3014
|
-
|
|
3014
|
+
o(n.removeRow), t.icon = "remove";
|
|
3015
3015
|
break;
|
|
3016
3016
|
}
|
|
3017
3017
|
case "select-multi": {
|
|
3018
|
-
|
|
3018
|
+
o(n.select.bind(n, !0)), a("widget-table-cell_use"), a("widget-table-cell_select"), p.push(k("div", { class: {
|
|
3019
3019
|
"table-cell-toggle": !0,
|
|
3020
3020
|
// @ts-ignore
|
|
3021
3021
|
"table-cell-toggle_active": n.selected.value
|
|
@@ -3023,7 +3023,7 @@ function no(t, e, n) {
|
|
|
3023
3023
|
break;
|
|
3024
3024
|
}
|
|
3025
3025
|
case "select": {
|
|
3026
|
-
|
|
3026
|
+
o(n.select.bind(n, !1)), a("widget-table-cell_use"), a("widget-table-cell_select"), p.push(k("div", { class: {
|
|
3027
3027
|
"table-cell-toggle": !0,
|
|
3028
3028
|
// @ts-ignore
|
|
3029
3029
|
"table-cell-toggle_active": n.selected.value
|
|
@@ -3031,14 +3031,14 @@ function no(t, e, n) {
|
|
|
3031
3031
|
break;
|
|
3032
3032
|
}
|
|
3033
3033
|
}
|
|
3034
|
-
return t.onClick &&
|
|
3034
|
+
return t.onClick && o(t.onClick), t.link && (p.push(k(Jt, {
|
|
3035
3035
|
to: t.link(r, e)
|
|
3036
|
-
})),
|
|
3036
|
+
})), a("list-cell-link")), t.href && (p.push(k("a", {
|
|
3037
3037
|
href: t.href(r, e),
|
|
3038
3038
|
target: "_blank"
|
|
3039
|
-
})),
|
|
3039
|
+
})), a("list-cell-link")), r && p.push(k("p", {}, r)), t.icon && p.push(k(R, { name: t.icon })), t.class && a(t.class), l.push(k("td", i, p)), l;
|
|
3040
3040
|
}
|
|
3041
|
-
const
|
|
3041
|
+
const sa = {
|
|
3042
3042
|
props: {
|
|
3043
3043
|
values: Object,
|
|
3044
3044
|
config: Object,
|
|
@@ -3061,9 +3061,9 @@ const so = {
|
|
|
3061
3061
|
n("select", r);
|
|
3062
3062
|
}
|
|
3063
3063
|
};
|
|
3064
|
-
return () =>
|
|
3064
|
+
return () => ta(t.config, t.values, s);
|
|
3065
3065
|
}
|
|
3066
|
-
},
|
|
3066
|
+
}, ra = { class: "widget-table-form" }, ia = ["colspan"], Lt = /* @__PURE__ */ b({
|
|
3067
3067
|
__name: "widget-table-form",
|
|
3068
3068
|
props: {
|
|
3069
3069
|
rowLength: {},
|
|
@@ -3073,28 +3073,28 @@ const so = {
|
|
|
3073
3073
|
},
|
|
3074
3074
|
setup(t) {
|
|
3075
3075
|
const e = t, n = L(() => {
|
|
3076
|
-
var
|
|
3077
|
-
return !((
|
|
3076
|
+
var o;
|
|
3077
|
+
return !((o = e.values) != null && o[F]);
|
|
3078
3078
|
}), s = ft(tt.PROVIDE_NAME);
|
|
3079
|
-
function r(
|
|
3080
|
-
s && (n.value ? s.create(
|
|
3079
|
+
function r(o) {
|
|
3080
|
+
s && (n.value ? s.create(o) : s.edit(e.values[F], o));
|
|
3081
3081
|
}
|
|
3082
3082
|
function i() {
|
|
3083
3083
|
e.controller.deactivate();
|
|
3084
3084
|
}
|
|
3085
|
-
return (
|
|
3086
|
-
d("td", { colspan:
|
|
3087
|
-
(c(), v(Ut(
|
|
3088
|
-
values:
|
|
3089
|
-
"table-controller":
|
|
3085
|
+
return (o, a) => (c(), u("tr", ra, [
|
|
3086
|
+
d("td", { colspan: o.rowLength }, [
|
|
3087
|
+
(c(), v(Ut(o.component), {
|
|
3088
|
+
values: o.values,
|
|
3089
|
+
"table-controller": o.controller,
|
|
3090
3090
|
onSave: r,
|
|
3091
3091
|
onClose: i,
|
|
3092
3092
|
new: n.value
|
|
3093
3093
|
}, null, 40, ["values", "table-controller", "new"]))
|
|
3094
|
-
], 8,
|
|
3094
|
+
], 8, ia)
|
|
3095
3095
|
]));
|
|
3096
3096
|
}
|
|
3097
|
-
}),
|
|
3097
|
+
}), No = /* @__PURE__ */ b({
|
|
3098
3098
|
__name: "widget-table",
|
|
3099
3099
|
props: {
|
|
3100
3100
|
array: {},
|
|
@@ -3108,50 +3108,50 @@ const so = {
|
|
|
3108
3108
|
const n = t;
|
|
3109
3109
|
ft(tt.PROVIDE_NAME);
|
|
3110
3110
|
const s = qt(), r = L(() => {
|
|
3111
|
-
var
|
|
3112
|
-
return (
|
|
3111
|
+
var a;
|
|
3112
|
+
return (a = s == null ? void 0 : s.default) == null ? void 0 : a.call(s)[0];
|
|
3113
3113
|
});
|
|
3114
|
-
function i(
|
|
3115
|
-
return n.selectRows ? l ? n.selectRows.indexOf(
|
|
3114
|
+
function i(a, l = !0) {
|
|
3115
|
+
return n.selectRows ? l ? n.selectRows.indexOf(a) === -1 ? e("update:selectRows", [...n.selectRows, a]) : e("update:selectRows", n.selectRows.filter((f) => f !== a)) : e("update:selectRows", [a]) : void 0;
|
|
3116
3116
|
}
|
|
3117
|
-
const
|
|
3118
|
-
return (
|
|
3119
|
-
class: I(["widget-table", { "widget-table_mini":
|
|
3117
|
+
const o = ai((a) => e("update:activeRow", a));
|
|
3118
|
+
return (a, l) => (c(), u("table", {
|
|
3119
|
+
class: I(["widget-table", { "widget-table_mini": a.mini }])
|
|
3120
3120
|
}, [
|
|
3121
|
-
C(
|
|
3121
|
+
C(ea, { config: a.config }, null, 8, ["config"]),
|
|
3122
3122
|
d("tbody", null, [
|
|
3123
|
-
(c(!0), u(O, null, j(
|
|
3123
|
+
(c(!0), u(O, null, j(a.array, (p, f) => {
|
|
3124
3124
|
var w;
|
|
3125
3125
|
return c(), u(O, { key: f }, [
|
|
3126
|
-
C(
|
|
3127
|
-
config:
|
|
3126
|
+
C(sa, {
|
|
3127
|
+
config: a.config,
|
|
3128
3128
|
values: p,
|
|
3129
|
-
selected: (w =
|
|
3129
|
+
selected: (w = a.selectRows) == null ? void 0 : w.includes(p[P(F)]),
|
|
3130
3130
|
onSet: l[0] || (l[0] = (V) => e("update:activeRow", V)),
|
|
3131
3131
|
onSelect: (V) => i(p[P(F)], V)
|
|
3132
3132
|
}, null, 8, ["config", "values", "selected", "onSelect"]),
|
|
3133
|
-
|
|
3133
|
+
a.activeRow === p[P(F)] ? (c(), v(Lt, {
|
|
3134
3134
|
key: 0,
|
|
3135
3135
|
component: r.value,
|
|
3136
|
-
controller: P(
|
|
3137
|
-
"row-length":
|
|
3136
|
+
controller: P(o)(p[P(F)]),
|
|
3137
|
+
"row-length": a.config.length,
|
|
3138
3138
|
values: p
|
|
3139
|
-
}, null, 8, ["component", "controller", "row-length", "values"])) :
|
|
3139
|
+
}, null, 8, ["component", "controller", "row-length", "values"])) : _("", !0)
|
|
3140
3140
|
], 64);
|
|
3141
3141
|
}), 128)),
|
|
3142
|
-
|
|
3142
|
+
a.activeRow === 0 ? (c(), v(Lt, {
|
|
3143
3143
|
key: 0,
|
|
3144
3144
|
component: r.value,
|
|
3145
|
-
controller: P(
|
|
3146
|
-
"row-length":
|
|
3147
|
-
}, null, 8, ["component", "controller", "row-length"])) :
|
|
3145
|
+
controller: P(o)(0),
|
|
3146
|
+
"row-length": a.config.length
|
|
3147
|
+
}, null, 8, ["component", "controller", "row-length"])) : _("", !0)
|
|
3148
3148
|
])
|
|
3149
3149
|
], 2));
|
|
3150
3150
|
}
|
|
3151
|
-
}),
|
|
3151
|
+
}), aa = { class: "widget-form-info flex" }, oa = { class: "form-titles" }, la = { class: "form-title margin-0" }, ca = { class: "form-info text_size_md margin-0" }, ua = {
|
|
3152
3152
|
key: 0,
|
|
3153
3153
|
class: "form-container-label"
|
|
3154
|
-
},
|
|
3154
|
+
}, da = { class: "form-label__title text_size_sm" }, pa = /* @__PURE__ */ b({
|
|
3155
3155
|
__name: "WidgetFormInfo",
|
|
3156
3156
|
props: {
|
|
3157
3157
|
title: {},
|
|
@@ -3159,12 +3159,12 @@ const so = {
|
|
|
3159
3159
|
label: {}
|
|
3160
3160
|
},
|
|
3161
3161
|
setup(t) {
|
|
3162
|
-
return (e, n) => (c(), u("div",
|
|
3163
|
-
d("div",
|
|
3164
|
-
d("p",
|
|
3165
|
-
d("p",
|
|
3162
|
+
return (e, n) => (c(), u("div", aa, [
|
|
3163
|
+
d("div", oa, [
|
|
3164
|
+
d("p", la, m(e.title), 1),
|
|
3165
|
+
d("p", ca, m(e.info), 1)
|
|
3166
3166
|
]),
|
|
3167
|
-
e.label ? (c(), u("div",
|
|
3167
|
+
e.label ? (c(), u("div", ua, [
|
|
3168
3168
|
d("div", {
|
|
3169
3169
|
class: I(["form-label", `form-label_${e.label.type}`])
|
|
3170
3170
|
}, [
|
|
@@ -3172,14 +3172,14 @@ const so = {
|
|
|
3172
3172
|
key: 0,
|
|
3173
3173
|
class: "form-label__icon",
|
|
3174
3174
|
name: e.label.icon
|
|
3175
|
-
}, null, 8, ["name"])) :
|
|
3176
|
-
d("p",
|
|
3175
|
+
}, null, 8, ["name"])) : _("", !0),
|
|
3176
|
+
d("p", da, m(e.label.title), 1)
|
|
3177
3177
|
], 2)
|
|
3178
|
-
])) :
|
|
3178
|
+
])) : _("", !0)
|
|
3179
3179
|
]));
|
|
3180
3180
|
}
|
|
3181
3181
|
});
|
|
3182
|
-
const
|
|
3182
|
+
const fa = /* @__PURE__ */ g(pa, [["__scopeId", "data-v-6ea1062c"]]), ha = { class: "wrap__widget-form" }, _a = { class: "widget-form" }, ga = { class: "widget-form__head" }, ma = { class: "head-image" }, ya = { key: 1 }, va = { class: "widget-form__body" }, wa = /* @__PURE__ */ b({
|
|
3183
3183
|
__name: "WidgetForm",
|
|
3184
3184
|
props: {
|
|
3185
3185
|
title: {},
|
|
@@ -3191,22 +3191,22 @@ const ho = /* @__PURE__ */ g(fo, [["__scopeId", "data-v-6ea1062c"]]), _o = { cla
|
|
|
3191
3191
|
wait: { type: Boolean }
|
|
3192
3192
|
},
|
|
3193
3193
|
setup(t) {
|
|
3194
|
-
return (e, n) => (c(), u("div",
|
|
3195
|
-
d("div",
|
|
3196
|
-
d("div",
|
|
3197
|
-
d("div",
|
|
3194
|
+
return (e, n) => (c(), u("div", ha, [
|
|
3195
|
+
d("div", _a, [
|
|
3196
|
+
d("div", ga, [
|
|
3197
|
+
d("div", ma, [
|
|
3198
3198
|
e.wait ? (c(), v(_e, {
|
|
3199
3199
|
key: 0,
|
|
3200
3200
|
color: "#3949AB"
|
|
3201
|
-
})) : (c(), u("div",
|
|
3201
|
+
})) : (c(), u("div", ya, [
|
|
3202
3202
|
e.icon ? (c(), v(R, {
|
|
3203
3203
|
key: 0,
|
|
3204
3204
|
class: "form-image",
|
|
3205
3205
|
name: e.icon
|
|
3206
|
-
}, null, 8, ["name"])) :
|
|
3206
|
+
}, null, 8, ["name"])) : _("", !0)
|
|
3207
3207
|
]))
|
|
3208
3208
|
]),
|
|
3209
|
-
C(
|
|
3209
|
+
C(fa, {
|
|
3210
3210
|
title: e.title,
|
|
3211
3211
|
info: e.info,
|
|
3212
3212
|
label: e.label
|
|
@@ -3215,16 +3215,16 @@ const ho = /* @__PURE__ */ g(fo, [["__scopeId", "data-v-6ea1062c"]]), _o = { cla
|
|
|
3215
3215
|
key: 0,
|
|
3216
3216
|
class: "widget-form__button",
|
|
3217
3217
|
array: e.button
|
|
3218
|
-
}, null, 8, ["array"])) :
|
|
3218
|
+
}, null, 8, ["array"])) : _("", !0)
|
|
3219
3219
|
]),
|
|
3220
|
-
d("div",
|
|
3220
|
+
d("div", va, [
|
|
3221
3221
|
B(e.$slots, "default", {}, void 0, !0)
|
|
3222
3222
|
])
|
|
3223
3223
|
])
|
|
3224
3224
|
]));
|
|
3225
3225
|
}
|
|
3226
3226
|
});
|
|
3227
|
-
const
|
|
3227
|
+
const Po = /* @__PURE__ */ g(wa, [["__scopeId", "data-v-3d88d93f"]]), ba = { class: "validation-item-header" }, $a = { class: "validation-item__title text_bold margin-0" }, Ea = { class: "validation-item-content" }, Ta = { class: "text_bold text_md margin-0" }, Sa = { class: "text_md margin-0" }, Ca = /* @__PURE__ */ b({
|
|
3228
3228
|
__name: "modal-validation-item",
|
|
3229
3229
|
props: {
|
|
3230
3230
|
message: {},
|
|
@@ -3237,42 +3237,42 @@ const Pa = /* @__PURE__ */ g(bo, [["__scopeId", "data-v-3d88d93f"]]), $o = { cla
|
|
|
3237
3237
|
return (e, n) => (c(), u("div", {
|
|
3238
3238
|
class: I(["validation-item", `validation-item_${e.statusName.toLowerCase()}`])
|
|
3239
3239
|
}, [
|
|
3240
|
-
d("div",
|
|
3241
|
-
d("p",
|
|
3240
|
+
d("div", ba, [
|
|
3241
|
+
d("p", $a, m(e.statusName), 1)
|
|
3242
3242
|
]),
|
|
3243
|
-
d("div",
|
|
3244
|
-
d("p",
|
|
3245
|
-
d("p",
|
|
3243
|
+
d("div", Ea, [
|
|
3244
|
+
d("p", Ta, m(e.title), 1),
|
|
3245
|
+
d("p", Sa, m(e.message), 1)
|
|
3246
3246
|
])
|
|
3247
3247
|
], 2));
|
|
3248
3248
|
}
|
|
3249
3249
|
});
|
|
3250
|
-
const
|
|
3250
|
+
const Ia = /* @__PURE__ */ g(Ca, [["__scopeId", "data-v-e6138c02"]]), Aa = { class: "modal-wrap" }, ka = { class: "modal-wrap-head" }, Na = { class: "modal-head__title margin-0" }, Pa = { class: "modal-wrap-body" }, Oa = /* @__PURE__ */ b({
|
|
3251
3251
|
__name: "modal-wrap",
|
|
3252
3252
|
props: {
|
|
3253
3253
|
title: {}
|
|
3254
3254
|
},
|
|
3255
3255
|
setup(t) {
|
|
3256
|
-
return (e, n) => (c(), u("div",
|
|
3257
|
-
d("div",
|
|
3258
|
-
d("p",
|
|
3256
|
+
return (e, n) => (c(), u("div", Aa, [
|
|
3257
|
+
d("div", ka, [
|
|
3258
|
+
d("p", Na, m(e.title), 1)
|
|
3259
3259
|
]),
|
|
3260
|
-
d("div",
|
|
3260
|
+
d("div", Pa, [
|
|
3261
3261
|
B(e.$slots, "default", {}, void 0, !0)
|
|
3262
3262
|
])
|
|
3263
3263
|
]));
|
|
3264
3264
|
}
|
|
3265
3265
|
});
|
|
3266
|
-
const
|
|
3266
|
+
const Ra = /* @__PURE__ */ g(Oa, [["__scopeId", "data-v-119165b9"]]), Va = { class: "modal-validation-body" }, La = /* @__PURE__ */ b({
|
|
3267
3267
|
__name: "modal-validation",
|
|
3268
3268
|
props: {
|
|
3269
3269
|
array: {}
|
|
3270
3270
|
},
|
|
3271
3271
|
setup(t) {
|
|
3272
|
-
return (e, n) => (c(), v(
|
|
3272
|
+
return (e, n) => (c(), v(Ra, { title: "Validation results" }, {
|
|
3273
3273
|
default: he(() => [
|
|
3274
|
-
d("div",
|
|
3275
|
-
(c(!0), u(O, null, j(e.array, (s, r) => (c(), v(
|
|
3274
|
+
d("div", Va, [
|
|
3275
|
+
(c(!0), u(O, null, j(e.array, (s, r) => (c(), v(Ia, {
|
|
3276
3276
|
key: r,
|
|
3277
3277
|
message: s.message,
|
|
3278
3278
|
name: s.name,
|
|
@@ -3286,7 +3286,7 @@ const Vo = /* @__PURE__ */ g(Ro, [["__scopeId", "data-v-119165b9"]]), Lo = { cla
|
|
|
3286
3286
|
}));
|
|
3287
3287
|
}
|
|
3288
3288
|
});
|
|
3289
|
-
const
|
|
3289
|
+
const Oo = /* @__PURE__ */ g(La, [["__scopeId", "data-v-a39cfe2f"]]), Wa = ["alt", "src"], Ro = /* @__PURE__ */ b({
|
|
3290
3290
|
__name: "widget-image",
|
|
3291
3291
|
props: {
|
|
3292
3292
|
src: {},
|
|
@@ -3304,9 +3304,9 @@ const Oa = /* @__PURE__ */ g(Wo, [["__scopeId", "data-v-a39cfe2f"]]), Do = ["alt
|
|
|
3304
3304
|
ref_key: "refImage",
|
|
3305
3305
|
ref: n,
|
|
3306
3306
|
src: s.src || s.$props.default
|
|
3307
|
-
}, null, 8,
|
|
3307
|
+
}, null, 8, Wa));
|
|
3308
3308
|
}
|
|
3309
|
-
}),
|
|
3309
|
+
}), Da = /* @__PURE__ */ b({
|
|
3310
3310
|
__name: "widget-input-check",
|
|
3311
3311
|
props: {
|
|
3312
3312
|
modelValue: { type: Boolean }
|
|
@@ -3324,14 +3324,14 @@ const Oa = /* @__PURE__ */ g(Wo, [["__scopeId", "data-v-a39cfe2f"]]), Do = ["alt
|
|
|
3324
3324
|
r.modelValue ? (c(), v(R, {
|
|
3325
3325
|
key: 0,
|
|
3326
3326
|
name: "check"
|
|
3327
|
-
})) :
|
|
3327
|
+
})) : _("", !0)
|
|
3328
3328
|
], 2));
|
|
3329
3329
|
}
|
|
3330
3330
|
});
|
|
3331
|
-
const
|
|
3331
|
+
const Fa = /* @__PURE__ */ g(Da, [["__scopeId", "data-v-f4a3dc6c"]]), Ma = { class: "widget-card" }, ja = { class: "widget-card-toggle" }, xa = { class: "widget-card-wrap" }, Ua = { class: "widget-card-content" }, Ba = {
|
|
3332
3332
|
key: 0,
|
|
3333
3333
|
class: "widget-card-title"
|
|
3334
|
-
},
|
|
3334
|
+
}, qa = /* @__PURE__ */ b({
|
|
3335
3335
|
__name: "widget-card",
|
|
3336
3336
|
props: {
|
|
3337
3337
|
title: {}
|
|
@@ -3343,14 +3343,14 @@ const Mo = /* @__PURE__ */ g(Fo, [["__scopeId", "data-v-f4a3dc6c"]]), jo = { cla
|
|
|
3343
3343
|
});
|
|
3344
3344
|
return e({
|
|
3345
3345
|
state: n
|
|
3346
|
-
}), (s, r) => (c(), u("div",
|
|
3347
|
-
d("div",
|
|
3348
|
-
C(
|
|
3346
|
+
}), (s, r) => (c(), u("div", Ma, [
|
|
3347
|
+
d("div", ja, [
|
|
3348
|
+
C(Fa, {
|
|
3349
3349
|
modelValue: n.selected,
|
|
3350
3350
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => n.selected = i)
|
|
3351
3351
|
}, null, 8, ["modelValue"])
|
|
3352
3352
|
]),
|
|
3353
|
-
d("div",
|
|
3353
|
+
d("div", xa, [
|
|
3354
3354
|
d("div", {
|
|
3355
3355
|
class: "widget-card-arrow",
|
|
3356
3356
|
onClick: r[1] || (r[1] = (i) => n.hidden = !n.hidden)
|
|
@@ -3360,16 +3360,16 @@ const Mo = /* @__PURE__ */ g(Fo, [["__scopeId", "data-v-f4a3dc6c"]]), jo = { cla
|
|
|
3360
3360
|
class: I(["card-icon-arrow", { "card-icon-arrow_active": !n.hidden }])
|
|
3361
3361
|
}, null, 8, ["class"])
|
|
3362
3362
|
]),
|
|
3363
|
-
d("div",
|
|
3364
|
-
s.title ? (c(), u("p",
|
|
3363
|
+
d("div", Ua, [
|
|
3364
|
+
s.title ? (c(), u("p", Ba, m(s.title), 1)) : _("", !0),
|
|
3365
3365
|
B(s.$slots, "main", {}, void 0, !0),
|
|
3366
|
-
n.hidden ?
|
|
3366
|
+
n.hidden ? _("", !0) : B(s.$slots, "sub", { key: 1 }, void 0, !0)
|
|
3367
3367
|
])
|
|
3368
3368
|
])
|
|
3369
3369
|
]));
|
|
3370
3370
|
}
|
|
3371
3371
|
});
|
|
3372
|
-
const
|
|
3372
|
+
const Vo = /* @__PURE__ */ g(qa, [["__scopeId", "data-v-bca33c5b"]]);
|
|
3373
3373
|
class x {
|
|
3374
3374
|
static parseError(e) {
|
|
3375
3375
|
let n = e.errors ? Object.values(e.errors).map((s) => s[0]) : null;
|
|
@@ -3379,7 +3379,7 @@ class x {
|
|
|
3379
3379
|
* @deprecated
|
|
3380
3380
|
* */
|
|
3381
3381
|
static login(e) {
|
|
3382
|
-
return
|
|
3382
|
+
return h(se.identityServerURL + "/api/Authenticate/Login", {
|
|
3383
3383
|
method: "POST",
|
|
3384
3384
|
headers: {
|
|
3385
3385
|
"Content-Type": "application/json"
|
|
@@ -3395,7 +3395,7 @@ class x {
|
|
|
3395
3395
|
* @deprecated
|
|
3396
3396
|
* */
|
|
3397
3397
|
static registration(e) {
|
|
3398
|
-
return e.AppName = se.applicationName,
|
|
3398
|
+
return e.AppName = se.applicationName, h(se.identityServerURL + "/api/Authenticate/Registration", {
|
|
3399
3399
|
method: "POST",
|
|
3400
3400
|
headers: {
|
|
3401
3401
|
"Content-Type": "application/json"
|
|
@@ -3426,7 +3426,7 @@ class x {
|
|
|
3426
3426
|
* steps.
|
|
3427
3427
|
* */
|
|
3428
3428
|
static requestStepRegistrationProcess(e, n) {
|
|
3429
|
-
return
|
|
3429
|
+
return h(`${se.identityServerURL}/api/Authenticate/${e}`, {
|
|
3430
3430
|
method: "POST",
|
|
3431
3431
|
headers: {
|
|
3432
3432
|
"Content-Type": "application/json"
|
|
@@ -3449,7 +3449,7 @@ class x {
|
|
|
3449
3449
|
* @return {ILoginAnswer} answer
|
|
3450
3450
|
* */
|
|
3451
3451
|
static requestStepLoginProcess(e, n) {
|
|
3452
|
-
return
|
|
3452
|
+
return h(`${se.identityServerURL}/api/Authenticate/${e}`, {
|
|
3453
3453
|
method: "POST",
|
|
3454
3454
|
headers: {
|
|
3455
3455
|
"Content-Type": "application/json"
|
|
@@ -3466,7 +3466,7 @@ class x {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
const fn = class Te {
|
|
3468
3468
|
static async create(e) {
|
|
3469
|
-
return
|
|
3469
|
+
return h(Te.url, {
|
|
3470
3470
|
method: "post",
|
|
3471
3471
|
body: JSON.stringify(e),
|
|
3472
3472
|
headers: {
|
|
@@ -3483,7 +3483,7 @@ const fn = class Te {
|
|
|
3483
3483
|
entityName: e.entity.name,
|
|
3484
3484
|
entityCatalogId: e.entity.catalogId
|
|
3485
3485
|
});
|
|
3486
|
-
return
|
|
3486
|
+
return h(Te.url + "?" + n.toString(), {
|
|
3487
3487
|
method: "get"
|
|
3488
3488
|
});
|
|
3489
3489
|
}
|
|
@@ -3491,12 +3491,12 @@ const fn = class Te {
|
|
|
3491
3491
|
* @description Получение списка сообщений по Talk Id.
|
|
3492
3492
|
*/
|
|
3493
3493
|
static async readMessages(e) {
|
|
3494
|
-
return
|
|
3494
|
+
return h(`${Te.url}/${e}/messages`, {
|
|
3495
3495
|
method: "get"
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
3498
|
static async createMessage(e) {
|
|
3499
|
-
return
|
|
3499
|
+
return h(`${Te.url}/${e.talkId}/messages`, {
|
|
3500
3500
|
method: "post",
|
|
3501
3501
|
body: JSON.stringify({
|
|
3502
3502
|
text: e.text
|
|
@@ -3509,9 +3509,9 @@ const fn = class Te {
|
|
|
3509
3509
|
};
|
|
3510
3510
|
fn.url = "/close-api/communications";
|
|
3511
3511
|
let Ge = fn;
|
|
3512
|
-
class
|
|
3512
|
+
class Lo {
|
|
3513
3513
|
static async getDefaultView(e) {
|
|
3514
|
-
return
|
|
3514
|
+
return h("/close-api/views/" + e, {
|
|
3515
3515
|
method: "GET",
|
|
3516
3516
|
headers: {
|
|
3517
3517
|
"Content-Type": "application/json"
|
|
@@ -3527,7 +3527,7 @@ function Wt(t) {
|
|
|
3527
3527
|
}
|
|
3528
3528
|
const hn = class ze {
|
|
3529
3529
|
static async getStartConfig(e, n) {
|
|
3530
|
-
return
|
|
3530
|
+
return h([ze.url, e, n].join("/"), {
|
|
3531
3531
|
method: "GET",
|
|
3532
3532
|
headers: {
|
|
3533
3533
|
"Content-Type": "application/json"
|
|
@@ -3535,7 +3535,7 @@ const hn = class ze {
|
|
|
3535
3535
|
});
|
|
3536
3536
|
}
|
|
3537
3537
|
static async startProcess(e, n) {
|
|
3538
|
-
return
|
|
3538
|
+
return h([ze.url, e, n].join("/"), {
|
|
3539
3539
|
method: "POST",
|
|
3540
3540
|
headers: {
|
|
3541
3541
|
"Content-Type": "application/json"
|
|
@@ -3543,7 +3543,7 @@ const hn = class ze {
|
|
|
3543
3543
|
}).then(Wt);
|
|
3544
3544
|
}
|
|
3545
3545
|
static async runStep(e, n, s, r, i) {
|
|
3546
|
-
return
|
|
3546
|
+
return h([ze.url, e, n].join("/"), {
|
|
3547
3547
|
method: "PUT",
|
|
3548
3548
|
headers: {
|
|
3549
3549
|
"Content-Type": "application/json"
|
|
@@ -3571,15 +3571,18 @@ class _n {
|
|
|
3571
3571
|
}
|
|
3572
3572
|
static getById(e, n, s = []) {
|
|
3573
3573
|
const r = new URLSearchParams();
|
|
3574
|
-
return Je(r, s), n && r.append("id", n),
|
|
3574
|
+
return Je(r, s), n && r.append("id", n), h([this.url, e].join("/") + `?${r.toString()}`);
|
|
3575
3575
|
}
|
|
3576
3576
|
static getFieldInformation(e, n) {
|
|
3577
|
-
return
|
|
3577
|
+
return h(`/open-api/metadata/${e}/fields/${n}`);
|
|
3578
|
+
}
|
|
3579
|
+
static getTreatmentListField(e, n) {
|
|
3580
|
+
return h(`/open-api/metadata/${e}/list-fields/${n}`);
|
|
3578
3581
|
}
|
|
3579
3582
|
}
|
|
3580
|
-
class
|
|
3583
|
+
class Wo {
|
|
3581
3584
|
static invite(e, n, s) {
|
|
3582
|
-
return
|
|
3585
|
+
return h("/close-api/accounts/invitePerson", {
|
|
3583
3586
|
method: "POST",
|
|
3584
3587
|
headers: {
|
|
3585
3588
|
"Content-Type": "application/json"
|
|
@@ -3592,7 +3595,7 @@ class Wa {
|
|
|
3592
3595
|
});
|
|
3593
3596
|
}
|
|
3594
3597
|
static accept(e, n) {
|
|
3595
|
-
return
|
|
3598
|
+
return h("/close-api/accounts/markInvite", {
|
|
3596
3599
|
method: "POST",
|
|
3597
3600
|
headers: {
|
|
3598
3601
|
"Content-Type": "application/json"
|
|
@@ -3605,7 +3608,7 @@ class Wa {
|
|
|
3605
3608
|
});
|
|
3606
3609
|
}
|
|
3607
3610
|
static decline(e, n) {
|
|
3608
|
-
return
|
|
3611
|
+
return h("/close-api/accounts/markInvite", {
|
|
3609
3612
|
method: "POST",
|
|
3610
3613
|
headers: {
|
|
3611
3614
|
"Content-Type": "application/json"
|
|
@@ -3623,15 +3626,15 @@ class gn {
|
|
|
3623
3626
|
return "/close-api/rules-validation/";
|
|
3624
3627
|
}
|
|
3625
3628
|
static validate(e, n) {
|
|
3626
|
-
return
|
|
3629
|
+
return h(gn.url + e, {
|
|
3627
3630
|
method: "POST",
|
|
3628
3631
|
body: JSON.stringify(n)
|
|
3629
3632
|
});
|
|
3630
3633
|
}
|
|
3631
3634
|
}
|
|
3632
|
-
class
|
|
3635
|
+
class Do {
|
|
3633
3636
|
static getConfiguration() {
|
|
3634
|
-
return
|
|
3637
|
+
return h("/open-api/webserver-configuration", {
|
|
3635
3638
|
method: "GET",
|
|
3636
3639
|
headers: {
|
|
3637
3640
|
"Content-Type": "application/json"
|
|
@@ -3639,7 +3642,7 @@ class Da {
|
|
|
3639
3642
|
});
|
|
3640
3643
|
}
|
|
3641
3644
|
}
|
|
3642
|
-
class
|
|
3645
|
+
class Ga {
|
|
3643
3646
|
static url() {
|
|
3644
3647
|
return "/close-api/actions";
|
|
3645
3648
|
}
|
|
@@ -3651,7 +3654,7 @@ class zo {
|
|
|
3651
3654
|
}
|
|
3652
3655
|
static getById(e, n, s = []) {
|
|
3653
3656
|
const r = new URLSearchParams();
|
|
3654
|
-
return Je(r, s),
|
|
3657
|
+
return Je(r, s), h([this.url(), e, n].join("/") + `?${r.toString()}`, {
|
|
3655
3658
|
method: "GET"
|
|
3656
3659
|
});
|
|
3657
3660
|
}
|
|
@@ -3693,8 +3696,8 @@ const mn = class yn extends J {
|
|
|
3693
3696
|
}
|
|
3694
3697
|
};
|
|
3695
3698
|
mn.EVENT_DATA = "list-config:update";
|
|
3696
|
-
let
|
|
3697
|
-
class
|
|
3699
|
+
let Fo = mn;
|
|
3700
|
+
class Mo extends J {
|
|
3698
3701
|
constructor(e) {
|
|
3699
3702
|
super(), this.name = "Communication", this.read = () => {
|
|
3700
3703
|
}, this.id = e;
|
|
@@ -3706,7 +3709,7 @@ class Ma extends J {
|
|
|
3706
3709
|
return Ge.read(e).then((n) => n.length === 0 ? Ge.create(e) : n[0]);
|
|
3707
3710
|
}
|
|
3708
3711
|
}
|
|
3709
|
-
function
|
|
3712
|
+
function jo(t) {
|
|
3710
3713
|
const e = Y.getParentForm();
|
|
3711
3714
|
e ? e.subscribe(t) : console.warn(q.ParentFormNotFound());
|
|
3712
3715
|
const n = A([]);
|
|
@@ -3714,7 +3717,7 @@ function ja(t) {
|
|
|
3714
3717
|
array: n
|
|
3715
3718
|
};
|
|
3716
3719
|
}
|
|
3717
|
-
function
|
|
3720
|
+
function za(t) {
|
|
3718
3721
|
return typeof t != "object" || t === null ? !1 : !!(t.hasOwnProperty("start") || t.hasOwnProperty("end"));
|
|
3719
3722
|
}
|
|
3720
3723
|
function X(t) {
|
|
@@ -3724,10 +3727,10 @@ function X(t) {
|
|
|
3724
3727
|
const r = s.map((i) => typeof i == "string" ? `'${i}'` : i).join(", ");
|
|
3725
3728
|
return s.length && e.push(`@${n} in (${r})`), e;
|
|
3726
3729
|
}
|
|
3727
|
-
if (
|
|
3730
|
+
if (za(s)) {
|
|
3728
3731
|
let r = function(i) {
|
|
3729
|
-
var
|
|
3730
|
-
return ((
|
|
3732
|
+
var o;
|
|
3733
|
+
return ((o = i.match(/([^Z]*)/)) == null ? void 0 : o[0]) + "0000Z";
|
|
3731
3734
|
};
|
|
3732
3735
|
return s.start && e.push(`@${n} ge ${r(s.start)}`), s.end && e.push(`@${n} le ${r(s.end)}`), e;
|
|
3733
3736
|
}
|
|
@@ -3762,33 +3765,33 @@ X.is = function(e, n) {
|
|
|
3762
3765
|
X.or = function(...e) {
|
|
3763
3766
|
return e.join(" or ");
|
|
3764
3767
|
};
|
|
3765
|
-
function
|
|
3768
|
+
function Ha(t, e = "images") {
|
|
3766
3769
|
return `/static-folder/${e}/${t}`;
|
|
3767
3770
|
}
|
|
3768
|
-
function
|
|
3771
|
+
function Ja(t, e, n) {
|
|
3769
3772
|
return t.reduce((s, r) => {
|
|
3770
|
-
var
|
|
3773
|
+
var a;
|
|
3771
3774
|
let i = typeof e == "function" ? e(r) : r[e];
|
|
3772
|
-
const
|
|
3773
|
-
return
|
|
3775
|
+
const o = (a = s[s.length - 1]) == null ? void 0 : a.value;
|
|
3776
|
+
return o && n(o, i) ? s[s.length - 1].array.push(r) : s.push({
|
|
3774
3777
|
value: i,
|
|
3775
3778
|
array: [r]
|
|
3776
3779
|
}), s;
|
|
3777
3780
|
}, []);
|
|
3778
3781
|
}
|
|
3779
|
-
function
|
|
3782
|
+
function Ka() {
|
|
3780
3783
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(
|
|
3781
3784
|
/[018]/g,
|
|
3782
3785
|
(t) => (t ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> t / 4).toString(16)
|
|
3783
3786
|
);
|
|
3784
3787
|
}
|
|
3785
|
-
function
|
|
3788
|
+
function xo(t, e = 1e3) {
|
|
3786
3789
|
let n = 0;
|
|
3787
3790
|
return (...s) => {
|
|
3788
3791
|
clearTimeout(n), n = setTimeout(() => t(...s), e);
|
|
3789
3792
|
};
|
|
3790
3793
|
}
|
|
3791
|
-
function
|
|
3794
|
+
function Uo(t, e) {
|
|
3792
3795
|
const n = G(null);
|
|
3793
3796
|
function s() {
|
|
3794
3797
|
return t.name ? _n.getById(t.name, e, []).then((r) => {
|
|
@@ -3811,21 +3814,21 @@ class wt extends Error {
|
|
|
3811
3814
|
return new wt("Status is undefined.");
|
|
3812
3815
|
}
|
|
3813
3816
|
}
|
|
3814
|
-
class
|
|
3817
|
+
class Ya extends wt {
|
|
3815
3818
|
}
|
|
3816
|
-
function
|
|
3819
|
+
function Bo(t, e) {
|
|
3817
3820
|
const n = A([]);
|
|
3818
|
-
async function s(i,
|
|
3821
|
+
async function s(i, o) {
|
|
3819
3822
|
if (!i)
|
|
3820
|
-
throw
|
|
3821
|
-
const
|
|
3822
|
-
n.splice(0, n.length), n.push(...
|
|
3823
|
+
throw Ya.UndefinedStatus();
|
|
3824
|
+
const a = await Ga.get({ criterion: i });
|
|
3825
|
+
n.splice(0, n.length), n.push(...a.map((l) => r(l, o)));
|
|
3823
3826
|
}
|
|
3824
3827
|
return {
|
|
3825
3828
|
actions: n,
|
|
3826
3829
|
update: s
|
|
3827
3830
|
};
|
|
3828
|
-
function r(i,
|
|
3831
|
+
function r(i, o) {
|
|
3829
3832
|
return {
|
|
3830
3833
|
title: i.title,
|
|
3831
3834
|
callback: () => (() => Promise.resolve().then(() => {
|
|
@@ -3835,7 +3838,7 @@ function Ba(t, e) {
|
|
|
3835
3838
|
method: "POST",
|
|
3836
3839
|
body: JSON.stringify({
|
|
3837
3840
|
keys: {
|
|
3838
|
-
Id:
|
|
3841
|
+
Id: o
|
|
3839
3842
|
},
|
|
3840
3843
|
contextId: $.contextId
|
|
3841
3844
|
}),
|
|
@@ -3862,7 +3865,7 @@ class Ke {
|
|
|
3862
3865
|
return fetch(`${Ke.url()}/status/${e}/${n}`).then((s) => s.json());
|
|
3863
3866
|
}
|
|
3864
3867
|
}
|
|
3865
|
-
function
|
|
3868
|
+
function qo(t) {
|
|
3866
3869
|
const e = A({
|
|
3867
3870
|
title: "Loading",
|
|
3868
3871
|
type: "wait"
|
|
@@ -3874,17 +3877,17 @@ function qa(t) {
|
|
|
3874
3877
|
});
|
|
3875
3878
|
}
|
|
3876
3879
|
return t.on(Y.EVENT_READ, (s) => {
|
|
3877
|
-
var
|
|
3880
|
+
var o, a;
|
|
3878
3881
|
const { code: r, name: i } = {
|
|
3879
|
-
code: (
|
|
3880
|
-
name: (
|
|
3882
|
+
code: (o = s.Status) == null ? void 0 : o.Code,
|
|
3883
|
+
name: (a = s.Status) == null ? void 0 : a.Name
|
|
3881
3884
|
};
|
|
3882
3885
|
return t.name ? !Number.isInteger(r) && !i ? void console.log("Undefined code or name is Status prop.") : Ke.getStatuses(t.name, r).then((l) => {
|
|
3883
3886
|
e.type = l.type, e.title = i;
|
|
3884
3887
|
}) : void console.log("Form without name.");
|
|
3885
3888
|
}), { label: e, update: n };
|
|
3886
3889
|
}
|
|
3887
|
-
function
|
|
3890
|
+
function Go(t, e) {
|
|
3888
3891
|
const n = $n(), s = L(() => Number(n.params.id)), r = A({
|
|
3889
3892
|
ready: !1,
|
|
3890
3893
|
show: !1
|
|
@@ -3919,7 +3922,7 @@ function Ga(t, e) {
|
|
|
3919
3922
|
formShadowState: r
|
|
3920
3923
|
};
|
|
3921
3924
|
}
|
|
3922
|
-
function
|
|
3925
|
+
function zo() {
|
|
3923
3926
|
const t = A({
|
|
3924
3927
|
contextId: $.contextId,
|
|
3925
3928
|
person: $.person,
|
|
@@ -3947,7 +3950,7 @@ function za() {
|
|
|
3947
3950
|
isPerson: n
|
|
3948
3951
|
};
|
|
3949
3952
|
}
|
|
3950
|
-
function
|
|
3953
|
+
function Ho(t, e) {
|
|
3951
3954
|
const n = A({
|
|
3952
3955
|
ready: !1,
|
|
3953
3956
|
show: !1
|
|
@@ -3964,8 +3967,8 @@ function Ha(t, e) {
|
|
|
3964
3967
|
fields: r.fields
|
|
3965
3968
|
});
|
|
3966
3969
|
}).then(Ce.valuesToUpperCase).then((i) => (i.hasOwnProperty("Version") && (t.version = Number(i.Version)), t.setValues(i), n.show = !0, i)).catch((i) => {
|
|
3967
|
-
const
|
|
3968
|
-
throw M.add("error",
|
|
3970
|
+
const o = He(i);
|
|
3971
|
+
throw M.add("error", o.message), o;
|
|
3969
3972
|
}).finally(() => {
|
|
3970
3973
|
n.ready = !0;
|
|
3971
3974
|
});
|
|
@@ -3978,12 +3981,12 @@ function Ha(t, e) {
|
|
|
3978
3981
|
}).then((i) => {
|
|
3979
3982
|
t.version = i.version || i.Version;
|
|
3980
3983
|
}).catch((i) => {
|
|
3981
|
-
const
|
|
3982
|
-
throw M.add("error",
|
|
3984
|
+
const o = He(i);
|
|
3985
|
+
throw M.add("error", o.message), o;
|
|
3983
3986
|
});
|
|
3984
3987
|
}, t.on(Y.EVENT_SAVE, t.read.bind(t)), { shadowFormState: n, initShadow: s };
|
|
3985
3988
|
}
|
|
3986
|
-
class
|
|
3989
|
+
class Jo {
|
|
3987
3990
|
static getRequiredDocuments(e, n, s) {
|
|
3988
3991
|
const r = new URLSearchParams({
|
|
3989
3992
|
entity: e,
|
|
@@ -4001,7 +4004,7 @@ class Se {
|
|
|
4001
4004
|
return fetch(`/${Se.url()}/calculator/${e}`);
|
|
4002
4005
|
}
|
|
4003
4006
|
static calculate(e, n) {
|
|
4004
|
-
return
|
|
4007
|
+
return h(`/${Se.url()}/calculator`, {
|
|
4005
4008
|
method: "POST",
|
|
4006
4009
|
headers: {
|
|
4007
4010
|
"Content-Type": "application/json"
|
|
@@ -4041,7 +4044,7 @@ class Se {
|
|
|
4041
4044
|
* @description Метод для создания онлайн платежа.
|
|
4042
4045
|
* */
|
|
4043
4046
|
static createOnlinePayment(e, n) {
|
|
4044
|
-
return
|
|
4047
|
+
return h(`/${Se.url()}/online-payment`, {
|
|
4045
4048
|
method: "POST",
|
|
4046
4049
|
headers: {
|
|
4047
4050
|
"Content-Type": "application/json"
|
|
@@ -4057,7 +4060,7 @@ class Se {
|
|
|
4057
4060
|
* все полученные данные(в нашем случае весь URL) на аппсервер.
|
|
4058
4061
|
* */
|
|
4059
4062
|
static applyOnlinePayment(e) {
|
|
4060
|
-
return
|
|
4063
|
+
return h(`/${Se.url()}/online-payment`, {
|
|
4061
4064
|
method: "PUT",
|
|
4062
4065
|
headers: {
|
|
4063
4066
|
"Content-Type": "application/json"
|
|
@@ -4068,7 +4071,7 @@ class Se {
|
|
|
4068
4071
|
});
|
|
4069
4072
|
}
|
|
4070
4073
|
}
|
|
4071
|
-
class
|
|
4074
|
+
class Ko {
|
|
4072
4075
|
/**
|
|
4073
4076
|
* @description Загрузка конфигурации из списка
|
|
4074
4077
|
* */
|
|
@@ -4076,38 +4079,38 @@ class Ka {
|
|
|
4076
4079
|
const s = new URLSearchParams();
|
|
4077
4080
|
s.set("entity", e), n && s.set("mark", n);
|
|
4078
4081
|
const r = `/close-api/views/list/configs?${s.toString()}`;
|
|
4079
|
-
return
|
|
4082
|
+
return h(r);
|
|
4080
4083
|
}
|
|
4081
4084
|
}
|
|
4082
|
-
function
|
|
4085
|
+
function Xa(t) {
|
|
4083
4086
|
return t.statusName === "Completed";
|
|
4084
4087
|
}
|
|
4085
|
-
function
|
|
4088
|
+
function Za(t) {
|
|
4086
4089
|
return t.statusName === "FinalStepWithConfirmation";
|
|
4087
4090
|
}
|
|
4088
|
-
function
|
|
4091
|
+
function Qa(t) {
|
|
4089
4092
|
return t.statusName === "ValidationError";
|
|
4090
4093
|
}
|
|
4091
|
-
function
|
|
4094
|
+
function Yo(t, e, n) {
|
|
4092
4095
|
let s = null;
|
|
4093
4096
|
const r = A({
|
|
4094
4097
|
wait: null
|
|
4095
4098
|
});
|
|
4096
|
-
let i = [],
|
|
4097
|
-
const
|
|
4099
|
+
let i = [], o = null;
|
|
4100
|
+
const a = G(null);
|
|
4098
4101
|
function l() {
|
|
4099
|
-
|
|
4102
|
+
a.value = i.find((y) => y.name === o) || null;
|
|
4100
4103
|
}
|
|
4101
4104
|
function p() {
|
|
4102
4105
|
var y;
|
|
4103
|
-
return
|
|
4106
|
+
return o ? ((y = i.find((W) => W.name === o)) == null ? void 0 : y.fields) || [] : [];
|
|
4104
4107
|
}
|
|
4105
4108
|
function f(y) {
|
|
4106
|
-
if (l(),
|
|
4109
|
+
if (l(), Qa(y))
|
|
4107
4110
|
return void n.onValidation(y.validationResults);
|
|
4108
|
-
if ((y.statusName === "FinalStep" || y.statusName === "NextStep") && (!p().length ||
|
|
4111
|
+
if ((y.statusName === "FinalStep" || y.statusName === "NextStep") && (!p().length || eo(p(), n.presets)))
|
|
4109
4112
|
return re(n.presets || {});
|
|
4110
|
-
|
|
4113
|
+
Xa(y) && n.onCompleted(y), Za(y) && n.onConfirmation(y);
|
|
4111
4114
|
}
|
|
4112
4115
|
async function w() {
|
|
4113
4116
|
try {
|
|
@@ -4134,7 +4137,7 @@ function Ya(t, e, n) {
|
|
|
4134
4137
|
}).then((y) => (r.wait = !1, y));
|
|
4135
4138
|
}
|
|
4136
4139
|
function T(y) {
|
|
4137
|
-
return
|
|
4140
|
+
return o = y.nextStepName, s = y.token, y;
|
|
4138
4141
|
}
|
|
4139
4142
|
function S(y) {
|
|
4140
4143
|
const W = He(y);
|
|
@@ -4146,18 +4149,18 @@ function Ya(t, e, n) {
|
|
|
4146
4149
|
});
|
|
4147
4150
|
}
|
|
4148
4151
|
function re(y = {}) {
|
|
4149
|
-
return !s || !
|
|
4152
|
+
return !s || !o ? Promise.reject("Not step or token.") : (r.wait = "Expect the result", lt.runStep(e, t, o, s, y).then(T).then(f).catch(S).finally(() => {
|
|
4150
4153
|
r.wait = !1;
|
|
4151
4154
|
}));
|
|
4152
4155
|
}
|
|
4153
4156
|
return {
|
|
4154
4157
|
initialize: w,
|
|
4155
4158
|
state: r,
|
|
4156
|
-
currentStepConfig: Gt(
|
|
4159
|
+
currentStepConfig: Gt(a),
|
|
4157
4160
|
next: re
|
|
4158
4161
|
};
|
|
4159
4162
|
}
|
|
4160
|
-
function
|
|
4163
|
+
function eo(t, e) {
|
|
4161
4164
|
for (let n = 0; n < t.length; n++) {
|
|
4162
4165
|
const s = t[n];
|
|
4163
4166
|
if (!ue.getPropFromObject(e, s.name))
|
|
@@ -4165,13 +4168,13 @@ function ta(t, e) {
|
|
|
4165
4168
|
}
|
|
4166
4169
|
return !0;
|
|
4167
4170
|
}
|
|
4168
|
-
const
|
|
4169
|
-
class
|
|
4171
|
+
const to = "close-api/proxy/Equipment/Search";
|
|
4172
|
+
class Xo {
|
|
4170
4173
|
static search(e, n, s, r, i) {
|
|
4171
|
-
const
|
|
4172
|
-
|
|
4173
|
-
const
|
|
4174
|
-
return
|
|
4174
|
+
const o = new URLSearchParams();
|
|
4175
|
+
o.append("pattern", e || ""), n && o.append("categoryId", n), s && o.append("useType", String(s)), r && o.append("statusCode", r), i && (o.append("limit", String(i.limit)), o.append("offset", String(i.offset)));
|
|
4176
|
+
const a = `/${to}?${o.toString()}`;
|
|
4177
|
+
return h(a, {
|
|
4175
4178
|
method: "GET",
|
|
4176
4179
|
headers: {
|
|
4177
4180
|
"Content-Type": "application/json"
|
|
@@ -4179,19 +4182,19 @@ class Xa {
|
|
|
4179
4182
|
});
|
|
4180
4183
|
}
|
|
4181
4184
|
}
|
|
4182
|
-
const
|
|
4185
|
+
const Zo = {
|
|
4183
4186
|
clickOutside: ke,
|
|
4184
4187
|
requestHandler: mt,
|
|
4185
4188
|
valuesToUpperCase: et,
|
|
4186
4189
|
prettyDate: vt,
|
|
4187
4190
|
prettyDateWithTime: dn,
|
|
4188
4191
|
Filter: X,
|
|
4189
|
-
staticLink:
|
|
4190
|
-
groupArrayByField:
|
|
4191
|
-
uuidv4:
|
|
4192
|
-
Request:
|
|
4192
|
+
staticLink: Ha,
|
|
4193
|
+
groupArrayByField: Ja,
|
|
4194
|
+
uuidv4: Ka,
|
|
4195
|
+
Request: h,
|
|
4193
4196
|
prettyMoney: rn
|
|
4194
|
-
},
|
|
4197
|
+
}, Qo = {
|
|
4195
4198
|
widgets: Ur,
|
|
4196
4199
|
usage: Br,
|
|
4197
4200
|
utils: ei,
|
|
@@ -4201,80 +4204,80 @@ const Za = {
|
|
|
4201
4204
|
};
|
|
4202
4205
|
export {
|
|
4203
4206
|
zr as ApplicationManager,
|
|
4204
|
-
|
|
4205
|
-
$
|
|
4207
|
+
Mo as Communication,
|
|
4208
|
+
$o as ComputedMetadata,
|
|
4206
4209
|
q as CoreError,
|
|
4207
4210
|
X as Filter,
|
|
4208
4211
|
Q as List,
|
|
4209
|
-
|
|
4212
|
+
Fo as ListConfig,
|
|
4210
4213
|
$ as Manager,
|
|
4211
4214
|
Fe as MetadataStore,
|
|
4212
|
-
|
|
4215
|
+
Oo as ModalValidation,
|
|
4213
4216
|
M as NotificationSystem,
|
|
4214
4217
|
_t as ProcessWrap,
|
|
4215
|
-
|
|
4218
|
+
h as Request,
|
|
4216
4219
|
F as SYMBOL_ROW,
|
|
4217
4220
|
tt as Table,
|
|
4218
|
-
|
|
4221
|
+
Io as WidgetBreadcrumbs,
|
|
4219
4222
|
mr as WidgetButton,
|
|
4220
|
-
|
|
4221
|
-
|
|
4223
|
+
Vo as WidgetCard,
|
|
4224
|
+
Po as WidgetForm,
|
|
4222
4225
|
R as WidgetIcon,
|
|
4223
|
-
|
|
4224
|
-
|
|
4226
|
+
Ro as WidgetImage,
|
|
4227
|
+
Ao as WidgetList,
|
|
4225
4228
|
Yt as WidgetMultiButton,
|
|
4226
4229
|
jr as WidgetNotificationSystem,
|
|
4227
|
-
|
|
4230
|
+
ko as WidgetSection,
|
|
4228
4231
|
_e as WidgetSpinner,
|
|
4229
|
-
|
|
4230
|
-
|
|
4232
|
+
No as WidgetTable,
|
|
4233
|
+
Ga as actionService,
|
|
4231
4234
|
x as authService,
|
|
4232
4235
|
Se as billingService,
|
|
4233
4236
|
ke as clickOutside,
|
|
4234
4237
|
Gr as clientService,
|
|
4235
4238
|
Ge as communicationService,
|
|
4236
|
-
|
|
4239
|
+
Ko as configurationService,
|
|
4237
4240
|
K as dataService,
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4241
|
+
xo as debounce,
|
|
4242
|
+
Qo as default,
|
|
4243
|
+
Jo as documentsService,
|
|
4244
|
+
Xo as equipmentService,
|
|
4242
4245
|
ss as fileService,
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
+
go as historyService,
|
|
4247
|
+
To as internationalizationService,
|
|
4248
|
+
Wo as invitationService,
|
|
4246
4249
|
_n as metadataService,
|
|
4247
|
-
|
|
4248
|
-
|
|
4250
|
+
bo as newImport,
|
|
4251
|
+
Do as openService,
|
|
4249
4252
|
He as parseError,
|
|
4250
|
-
|
|
4253
|
+
Eo as prettifyValueByMetadata,
|
|
4251
4254
|
lt as processWizardService,
|
|
4252
4255
|
mt as requestHandler,
|
|
4253
4256
|
gn as ruleValidationService,
|
|
4254
|
-
|
|
4257
|
+
Co as setupSocket,
|
|
4255
4258
|
Ie as t,
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4259
|
+
_o as testTypes,
|
|
4260
|
+
jo as useCommunication,
|
|
4261
|
+
zo as useCustomerState,
|
|
4262
|
+
Bo as useFormAction,
|
|
4263
|
+
qo as useFormLabel,
|
|
4264
|
+
Uo as useFormMetadata,
|
|
4265
|
+
Ho as useFormRequest,
|
|
4266
|
+
Go as useFormRequestData,
|
|
4267
|
+
mo as useListConfig,
|
|
4268
|
+
vo as useListFilter,
|
|
4266
4269
|
ui as useListOrder,
|
|
4267
4270
|
ci as useListProvide,
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
+
oi as useListRead,
|
|
4272
|
+
yo as useListSearch,
|
|
4273
|
+
wo as useListSelect,
|
|
4271
4274
|
li as useListState,
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4275
|
+
uo as useManagerState,
|
|
4276
|
+
So as useSocket,
|
|
4277
|
+
ho as useTableRequest,
|
|
4278
|
+
fo as useTableState,
|
|
4279
|
+
Yo as useWizard,
|
|
4280
|
+
Zo as utils,
|
|
4281
|
+
Lo as viewService
|
|
4279
4282
|
};
|
|
4280
4283
|
//# sourceMappingURL=eservices-core.es.js.map
|