eservices-core 1.2.7 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eservices-core.cjs.js +4 -4
- package/dist/eservices-core.es.js +649 -646
- package/dist/eservices-core.umd.js +5 -5
- package/dist/frontend/core/index.d.ts +3 -13
- package/dist/frontend/core/services/metadata-service.d.ts +2 -1
- package/dist/frontend/core/widgets/index.d.ts +0 -11
- package/dist/frontend/core/widgets/spinner/{widget-loader.vue.d.ts → widget-wait.vue.d.ts} +0 -6
- package/package.json +1 -1
- package/dist/frontend/core/widgets/spinner/index.d.ts +0 -12
- /package/dist/frontend/core/widgets/spinner/{WidgetSpinner.vue.d.ts → widget-spinner.vue.d.ts} +0 -0
|
@@ -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
|
|
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-661e0416],.loader[data-v-661e0416]:after{border-radius:50%;width:14px;height:14px}.loader[data-v-661e0416]{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-661e0416 1.1s infinite linear;animation:load8-661e0416 1.1s infinite linear}@-webkit-keyframes load8-661e0416{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8-661e0416{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.button-wrap[data-v-3cf452e1]{position:relative}.button-spinner[data-v-3cf452e1]{position:absolute;top:0;bottom:0;left:5px;margin:auto}.button-element[data-v-3cf452e1]{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-3edae6ea]{--button-size: 40px;max-height:var(--button-size);z-index:1;position:relative;cursor:pointer;width:fit-content}.widget-multi-button[data-v-3edae6ea]{display:flex;background-color:#3949ab;border-radius:20px;overflow:hidden}.button__content[data-v-3edae6ea]{max-height:40px;min-width:80px;transition:.2s;overflow:hidden}.button__content_active[data-v-3edae6ea]{max-height:200px}.button__content-title[data-v-3edae6ea]{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-3edae6ea]:hover{background-color:#223296}.button__toggle_active[data-v-3edae6ea]{transform:rotate(180deg)}.button__side[data-v-3edae6ea]{min-width:var(--button-size)}.button__size-toggle[data-v-3edae6ea]{height:var(--button-size)}.button__size-toggle[data-v-3edae6ea]{cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .1s,background-color .2s;color:#fff}.button__size-toggle[data-v-3edae6ea]:hover{background-color:#223296}.button__toggle-icon[data-v-3edae6ea]{height:16px}.button__size-progress[data-v-3edae6ea]{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-4d18289e]{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-wait[data-v-2038b2ba]{align-items:center}.wait-spinner[data-v-2038b2ba]{padding:8px}.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-f076ad65]{display:flex;flex-direction:column;gap:10px}.widget-form__head[data-v-f076ad65]{display:flex;gap:16px;align-items:center;z-index:1;padding:10px 0}.widget-form__button[data-v-f076ad65]{margin-left:auto}.wrap__widget-form[data-v-f076ad65]{padding:20px}.widget-form__head[data-v-f076ad65]{position:sticky;top:0}@media screen and (max-width: 768px){.wrap__widget-form[data-v-f076ad65]{padding:10px}.widget-form__head[data-v-f076ad65]{top:15px}}.head-image[data-v-f076ad65]{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 Ie, 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.9
|
|
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
|
-
|
|
282
|
-
t.required ? (c(), u("span", Rn, "*")) :
|
|
283
|
-
])) :
|
|
281
|
+
Ie(m(t.title) + " ", 1),
|
|
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"]]);
|
|
@@ -334,7 +334,7 @@ function qn(t, e, n, s, r, i) {
|
|
|
334
334
|
]);
|
|
335
335
|
}
|
|
336
336
|
const Gn = /* @__PURE__ */ g(Un, [["render", qn], ["__scopeId", "data-v-69ab8592"]]);
|
|
337
|
-
function
|
|
337
|
+
function Ae(t, e) {
|
|
338
338
|
if (!t)
|
|
339
339
|
return console.warn("Element is not provided.");
|
|
340
340
|
function n(r, i) {
|
|
@@ -368,7 +368,7 @@ const zn = {
|
|
|
368
368
|
},
|
|
369
369
|
watch: {
|
|
370
370
|
isActive(t) {
|
|
371
|
-
t &&
|
|
371
|
+
t && Ae(this.$refs.input, () => this.hide());
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
components: { Icon: R, FragmentInputSelectItem: Gn },
|
|
@@ -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
|
-
|
|
398
|
-
t.required ? (c(), u("span", Kn, "*")) :
|
|
399
|
-
])) :
|
|
397
|
+
Ie(m(t.title) + " ", 1),
|
|
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
|
-
|
|
661
|
-
t.required ? (c(), u("span", Ss, "*")) :
|
|
662
|
-
])) :
|
|
660
|
+
Ie(m(t.title) + " ", 1),
|
|
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 && Ae(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,11 +885,11 @@ 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
|
-
__name: "
|
|
892
|
+
__name: "widget-spinner",
|
|
893
893
|
props: {
|
|
894
894
|
color: {}
|
|
895
895
|
},
|
|
@@ -900,7 +900,7 @@ const pr = /* @__PURE__ */ g(ar, [["render", dr], ["__scopeId", "data-v-0b1a5e81
|
|
|
900
900
|
}, null, 4));
|
|
901
901
|
}
|
|
902
902
|
});
|
|
903
|
-
const
|
|
903
|
+
const ke = /* @__PURE__ */ g(hr, [["__scopeId", "data-v-661e0416"]]), _r = { class: "button-element" }, gr = /* @__PURE__ */ b({
|
|
904
904
|
__name: "WidgetButton",
|
|
905
905
|
props: {
|
|
906
906
|
title: {},
|
|
@@ -921,20 +921,20 @@ 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
|
-
P(s).wait || r.wait ? (c(), v(
|
|
926
|
+
P(s).wait || r.wait ? (c(), v(ke, {
|
|
927
927
|
key: 0,
|
|
928
928
|
class: "button-spinner"
|
|
929
|
-
})) :
|
|
929
|
+
})) : _("", !0),
|
|
930
930
|
d("button", _r, [
|
|
931
|
-
|
|
931
|
+
Ie(m(r.title) + " ", 1),
|
|
932
932
|
B(r.$slots, "default", {}, void 0, !0)
|
|
933
933
|
])
|
|
934
934
|
]));
|
|
935
935
|
}
|
|
936
936
|
});
|
|
937
|
-
const mr = /* @__PURE__ */ g(gr, [["__scopeId", "data-v-
|
|
937
|
+
const mr = /* @__PURE__ */ g(gr, [["__scopeId", "data-v-3cf452e1"]]), yr = { class: "widget-button-wrap" }, vr = { class: "widget-multi-button" }, wr = { class: "widget-button-list" }, br = ["onClick"], $r = { class: "button__side" }, Er = {
|
|
938
938
|
key: 0,
|
|
939
939
|
class: "button__size-progress"
|
|
940
940
|
}, Tr = /* @__PURE__ */ b({
|
|
@@ -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,41 +961,39 @@ 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, [
|
|
975
975
|
P(e).wait ? (c(), u("div", Er, [
|
|
976
|
-
C(
|
|
976
|
+
C(ke, { class: "button-spinner" })
|
|
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
|
]));
|
|
990
990
|
}
|
|
991
991
|
});
|
|
992
|
-
const Yt = /* @__PURE__ */ g(Tr, [["__scopeId", "data-v-
|
|
992
|
+
const Yt = /* @__PURE__ */ g(Tr, [["__scopeId", "data-v-3edae6ea"]]), Sr = {
|
|
993
993
|
WidgetButton: mr,
|
|
994
994
|
WidgetMultiButton: Yt
|
|
995
995
|
}, Cr = {
|
|
996
996
|
Icon: R
|
|
997
|
-
}, Ir = {
|
|
998
|
-
WidgetSpinner: _e
|
|
999
997
|
}, M = new class {
|
|
1000
998
|
constructor() {
|
|
1001
999
|
this.store = A([]);
|
|
@@ -1008,7 +1006,7 @@ const Yt = /* @__PURE__ */ g(Tr, [["__scopeId", "data-v-13176c56"]]), Sr = {
|
|
|
1008
1006
|
* @param options Params for current notification item: children, timeout (Default 10) in seconds.
|
|
1009
1007
|
*/
|
|
1010
1008
|
add(e, n, { children: s, timeout: r = 10 } = {}) {
|
|
1011
|
-
const i = new
|
|
1009
|
+
const i = new Ir(e, n, r, s || []);
|
|
1012
1010
|
return this.store.push(i), r && setTimeout(this.remove.bind(this, i.id), r * 1e3), i;
|
|
1013
1011
|
}
|
|
1014
1012
|
/**
|
|
@@ -1032,8 +1030,8 @@ const Yt = /* @__PURE__ */ g(Tr, [["__scopeId", "data-v-13176c56"]]), Sr = {
|
|
|
1032
1030
|
}
|
|
1033
1031
|
};
|
|
1034
1032
|
Xt.cardId = 1;
|
|
1035
|
-
let
|
|
1036
|
-
const
|
|
1033
|
+
let Ir = Xt;
|
|
1034
|
+
const Ar = { class: "widget-error" }, kr = { class: "widget-error-wrap" }, Nr = { class: "widget-error-main" }, Pr = { class: "widget-error-text widget-error-message" }, Or = { class: "widget-error__container-close" }, Rr = /* @__PURE__ */ b({
|
|
1037
1035
|
__name: "WidgetError",
|
|
1038
1036
|
props: {
|
|
1039
1037
|
isGroup: { type: Boolean },
|
|
@@ -1041,17 +1039,17 @@ const kr = { class: "widget-error" }, Nr = { class: "widget-error-wrap" }, Pr =
|
|
|
1041
1039
|
},
|
|
1042
1040
|
emits: ["close", "toggle"],
|
|
1043
1041
|
setup(t, { emit: e }) {
|
|
1044
|
-
return (n, s) => (c(), u("div",
|
|
1045
|
-
d("div",
|
|
1046
|
-
d("div",
|
|
1047
|
-
d("p",
|
|
1042
|
+
return (n, s) => (c(), u("div", Ar, [
|
|
1043
|
+
d("div", kr, [
|
|
1044
|
+
d("div", Nr, [
|
|
1045
|
+
d("p", Pr, m(n.message), 1)
|
|
1048
1046
|
]),
|
|
1049
1047
|
n.isGroup ? (c(), u("p", {
|
|
1050
1048
|
key: 0,
|
|
1051
1049
|
onClick: s[0] || (s[0] = (r) => e("toggle")),
|
|
1052
1050
|
class: "article-details"
|
|
1053
|
-
}, "See details")) :
|
|
1054
|
-
d("div",
|
|
1051
|
+
}, "See details")) : _("", !0),
|
|
1052
|
+
d("div", Or, [
|
|
1055
1053
|
d("div", {
|
|
1056
1054
|
class: "widget-error-close",
|
|
1057
1055
|
onClick: s[1] || (s[1] = (r) => e("close"))
|
|
@@ -1061,10 +1059,10 @@ const kr = { class: "widget-error" }, Nr = { class: "widget-error-wrap" }, Pr =
|
|
|
1061
1059
|
]));
|
|
1062
1060
|
}
|
|
1063
1061
|
});
|
|
1064
|
-
const It = /* @__PURE__ */ g(
|
|
1062
|
+
const It = /* @__PURE__ */ g(Rr, [["__scopeId", "data-v-8a0a0924"]]), Vr = {
|
|
1065
1063
|
key: 0,
|
|
1066
1064
|
class: "widget-error-details"
|
|
1067
|
-
},
|
|
1065
|
+
}, Lr = /* @__PURE__ */ b({
|
|
1068
1066
|
__name: "WidgetErrorGroup",
|
|
1069
1067
|
props: {
|
|
1070
1068
|
card: {}
|
|
@@ -1075,36 +1073,36 @@ const It = /* @__PURE__ */ g(Vr, [["__scopeId", "data-v-8a0a0924"]]), Lr = {
|
|
|
1075
1073
|
var i;
|
|
1076
1074
|
return !!((i = n.card.children) != null && i.length);
|
|
1077
1075
|
}), r = G(!0);
|
|
1078
|
-
return (i,
|
|
1076
|
+
return (i, o) => (c(), u("div", null, [
|
|
1079
1077
|
(c(), v(It, {
|
|
1080
1078
|
message: i.card.msg,
|
|
1081
1079
|
key: i.card.id,
|
|
1082
|
-
onClose:
|
|
1083
|
-
onToggle:
|
|
1080
|
+
onClose: o[0] || (o[0] = (a) => e("closeCard", i.card.id)),
|
|
1081
|
+
onToggle: o[1] || (o[1] = (a) => r.value = !r.value),
|
|
1084
1082
|
"is-group": s.value
|
|
1085
1083
|
}, null, 8, ["message", "is-group"])),
|
|
1086
|
-
!r.value && i.card.children ? (c(), u("div",
|
|
1084
|
+
!r.value && i.card.children ? (c(), u("div", Vr, [
|
|
1087
1085
|
C(jt, { name: "fade" }, {
|
|
1088
1086
|
default: he(() => [
|
|
1089
|
-
(c(!0), u(O, null, j(i.card.children, (
|
|
1090
|
-
key:
|
|
1091
|
-
message:
|
|
1092
|
-
onClose: (l) => e("closeChild",
|
|
1087
|
+
(c(!0), u(O, null, j(i.card.children, (a) => (c(), v(It, {
|
|
1088
|
+
key: a.id,
|
|
1089
|
+
message: a.msg,
|
|
1090
|
+
onClose: (l) => e("closeChild", a.id)
|
|
1093
1091
|
}, null, 8, ["message", "onClose"]))), 128))
|
|
1094
1092
|
]),
|
|
1095
1093
|
_: 1
|
|
1096
1094
|
})
|
|
1097
|
-
])) :
|
|
1095
|
+
])) : _("", !0)
|
|
1098
1096
|
]));
|
|
1099
1097
|
}
|
|
1100
1098
|
});
|
|
1101
|
-
const
|
|
1099
|
+
const Wr = /* @__PURE__ */ g(Lr, [["__scopeId", "data-v-aa732044"]]), Dr = { class: "container-errors" }, Fr = /* @__PURE__ */ b({
|
|
1102
1100
|
__name: "WidgetNotificationSystem",
|
|
1103
1101
|
setup(t) {
|
|
1104
|
-
return (e, n) => (c(), u("div",
|
|
1102
|
+
return (e, n) => (c(), u("div", Dr, [
|
|
1105
1103
|
C(jt, { name: "fade" }, {
|
|
1106
1104
|
default: he(() => [
|
|
1107
|
-
(c(!0), u(O, null, j(P(M).store, (s) => (c(), v(
|
|
1105
|
+
(c(!0), u(O, null, j(P(M).store, (s) => (c(), v(Wr, {
|
|
1108
1106
|
key: s.id,
|
|
1109
1107
|
card: s,
|
|
1110
1108
|
onCloseCard: (r) => P(M).remove(s.id),
|
|
@@ -1116,19 +1114,18 @@ const Dr = /* @__PURE__ */ g(Wr, [["__scopeId", "data-v-aa732044"]]), Fr = { cla
|
|
|
1116
1114
|
]));
|
|
1117
1115
|
}
|
|
1118
1116
|
});
|
|
1119
|
-
const
|
|
1120
|
-
default:
|
|
1117
|
+
const Mr = /* @__PURE__ */ g(Fr, [["__scopeId", "data-v-8e9870dd"]]), jr = {
|
|
1118
|
+
default: Mr
|
|
1121
1119
|
};
|
|
1122
|
-
let
|
|
1120
|
+
let xr = {
|
|
1123
1121
|
inputs: Os,
|
|
1124
1122
|
forms: Zs,
|
|
1125
|
-
spinners: Ir,
|
|
1126
1123
|
containers: fr,
|
|
1127
1124
|
buttons: Sr,
|
|
1128
1125
|
icons: Cr,
|
|
1129
|
-
errorSystem:
|
|
1126
|
+
errorSystem: jr
|
|
1130
1127
|
};
|
|
1131
|
-
const
|
|
1128
|
+
const Ur = {
|
|
1132
1129
|
inputs: In
|
|
1133
1130
|
};
|
|
1134
1131
|
function Ne(t, e) {
|
|
@@ -1237,9 +1234,9 @@ Qt.ID = 0;
|
|
|
1237
1234
|
let q = Qt;
|
|
1238
1235
|
const en = "Please try again later or submit a feedback if problem doesn't go.";
|
|
1239
1236
|
function He(t) {
|
|
1240
|
-
return typeof t == "string" ? rt(t) :
|
|
1237
|
+
return typeof t == "string" ? rt(t) : Br(t) ? rt(t.message) : rt(en);
|
|
1241
1238
|
}
|
|
1242
|
-
function
|
|
1239
|
+
function Br(t) {
|
|
1243
1240
|
return !!(typeof t == "object" && Object.hasOwnProperty.call(t, "message") && t !== null);
|
|
1244
1241
|
}
|
|
1245
1242
|
function rt(t, e = []) {
|
|
@@ -1248,15 +1245,15 @@ function rt(t, e = []) {
|
|
|
1248
1245
|
details: e
|
|
1249
1246
|
};
|
|
1250
1247
|
}
|
|
1251
|
-
class
|
|
1248
|
+
class qr {
|
|
1252
1249
|
static getClientData() {
|
|
1253
|
-
return
|
|
1250
|
+
return h("/close-api/client-content");
|
|
1254
1251
|
}
|
|
1255
1252
|
/**
|
|
1256
1253
|
* @description Получение навигационного меню для текущего контекста.
|
|
1257
1254
|
* */
|
|
1258
1255
|
static getNavigation() {
|
|
1259
|
-
return
|
|
1256
|
+
return h("/close-api/client/navigation");
|
|
1260
1257
|
}
|
|
1261
1258
|
}
|
|
1262
1259
|
/*!
|
|
@@ -1314,10 +1311,10 @@ var tn = (t, e, n) => {
|
|
|
1314
1311
|
if (e.has(t))
|
|
1315
1312
|
throw TypeError("Cannot add the same private member more than once");
|
|
1316
1313
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
1317
|
-
},
|
|
1314
|
+
}, at = (t, e, n, s) => (tn(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), ye, Me, je;
|
|
1318
1315
|
const pe = class H extends J {
|
|
1319
1316
|
constructor() {
|
|
1320
|
-
super(...arguments), it(this,
|
|
1317
|
+
super(...arguments), it(this, ye, void 0), it(this, Me, "front"), this.organizations = [], it(this, je, !1);
|
|
1321
1318
|
}
|
|
1322
1319
|
set language(e) {
|
|
1323
1320
|
localStorage.setItem(H.LOCALSTORAGE_LANGUAGE_KEY, e);
|
|
@@ -1337,18 +1334,18 @@ const pe = class H extends J {
|
|
|
1337
1334
|
return ((e = this.person) == null ? void 0 : e.id) === this.contextId ? "person" : "organization";
|
|
1338
1335
|
}
|
|
1339
1336
|
set router(e) {
|
|
1340
|
-
|
|
1337
|
+
at(this, ye, e);
|
|
1341
1338
|
}
|
|
1342
1339
|
/**
|
|
1343
1340
|
* @description VueRouter of Application
|
|
1344
1341
|
* */
|
|
1345
1342
|
get router() {
|
|
1346
|
-
if (!De(this,
|
|
1343
|
+
if (!De(this, ye))
|
|
1347
1344
|
throw new Error("Router was not founded. Please set router: Manager.router = router: VueRouter");
|
|
1348
|
-
return De(this,
|
|
1345
|
+
return De(this, ye);
|
|
1349
1346
|
}
|
|
1350
1347
|
set type(e) {
|
|
1351
|
-
|
|
1348
|
+
at(this, Me, e);
|
|
1352
1349
|
}
|
|
1353
1350
|
get type() {
|
|
1354
1351
|
return De(this, Me);
|
|
@@ -1360,7 +1357,7 @@ const pe = class H extends J {
|
|
|
1360
1357
|
return this.type === "front";
|
|
1361
1358
|
}
|
|
1362
1359
|
set ready(e) {
|
|
1363
|
-
|
|
1360
|
+
at(this, je, e), this.emit(H.EVENT_READY_UPDATE, e);
|
|
1364
1361
|
}
|
|
1365
1362
|
get ready() {
|
|
1366
1363
|
return De(this, je);
|
|
@@ -1404,7 +1401,7 @@ const pe = class H extends J {
|
|
|
1404
1401
|
}
|
|
1405
1402
|
}
|
|
1406
1403
|
loadCustomerData() {
|
|
1407
|
-
return
|
|
1404
|
+
return qr.getClientData();
|
|
1408
1405
|
}
|
|
1409
1406
|
/**
|
|
1410
1407
|
* @description The main method of application. Load the main information about user.
|
|
@@ -1432,7 +1429,7 @@ const pe = class H extends J {
|
|
|
1432
1429
|
console.log("DEPRECATED"), localStorage.setItem(this.getListKeyById(e), JSON.stringify(n));
|
|
1433
1430
|
}
|
|
1434
1431
|
};
|
|
1435
|
-
|
|
1432
|
+
ye = /* @__PURE__ */ new WeakMap();
|
|
1436
1433
|
Me = /* @__PURE__ */ new WeakMap();
|
|
1437
1434
|
je = /* @__PURE__ */ new WeakMap();
|
|
1438
1435
|
pe.DEFAULT_LANGUAGE = "en";
|
|
@@ -1441,9 +1438,9 @@ pe.EVENT_CONTEXT_UPDATE = "event:context-update";
|
|
|
1441
1438
|
pe.EVENT_READY_UPDATE = "event:ready-update";
|
|
1442
1439
|
pe.EVENT_DATA_UPDATE = "event:data-update";
|
|
1443
1440
|
pe.CURRENT_CONTEXT_KEY = "CurrentContext";
|
|
1444
|
-
let
|
|
1445
|
-
const $ = new
|
|
1446
|
-
function
|
|
1441
|
+
let Gr = pe;
|
|
1442
|
+
const $ = new Gr();
|
|
1443
|
+
function uo() {
|
|
1447
1444
|
const t = A({
|
|
1448
1445
|
contextType: $.contextType,
|
|
1449
1446
|
contextId: $.contextId,
|
|
@@ -1453,7 +1450,7 @@ function da() {
|
|
|
1453
1450
|
t.contextType = $.contextType, t.contextId = $.contextId, t.context = $.context;
|
|
1454
1451
|
}), t;
|
|
1455
1452
|
}
|
|
1456
|
-
function
|
|
1453
|
+
function zr(t) {
|
|
1457
1454
|
return t.text().then((e) => {
|
|
1458
1455
|
try {
|
|
1459
1456
|
return JSON.parse(e);
|
|
@@ -1462,10 +1459,10 @@ function Hr(t) {
|
|
|
1462
1459
|
}
|
|
1463
1460
|
});
|
|
1464
1461
|
}
|
|
1465
|
-
function
|
|
1462
|
+
function h(t, e = {}) {
|
|
1466
1463
|
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
1464
|
throw q.ApiNotAvailable();
|
|
1468
|
-
}).then((n) =>
|
|
1465
|
+
}).then((n) => zr(n).then((s) => {
|
|
1469
1466
|
if (!n.ok)
|
|
1470
1467
|
throw s;
|
|
1471
1468
|
return s;
|
|
@@ -1484,8 +1481,8 @@ class Qe {
|
|
|
1484
1481
|
let n = Qe.parseFieldsToGraphQL(e.reduce((r, i) => (i.name && r.push(i.name), r), []));
|
|
1485
1482
|
function s(r) {
|
|
1486
1483
|
let i = "";
|
|
1487
|
-
for (let
|
|
1488
|
-
typeof r[
|
|
1484
|
+
for (let o in r)
|
|
1485
|
+
typeof r[o] == "boolean" ? i += ` ${o} ` : i += ` ${o} { ${s(r[o])} }`;
|
|
1489
1486
|
return i;
|
|
1490
1487
|
}
|
|
1491
1488
|
return s(n);
|
|
@@ -1499,8 +1496,8 @@ class Qe {
|
|
|
1499
1496
|
static parseFieldsToGraphQL(e) {
|
|
1500
1497
|
function n(s, r) {
|
|
1501
1498
|
if (r.includes(".")) {
|
|
1502
|
-
const i = r.indexOf("."),
|
|
1503
|
-
|
|
1499
|
+
const i = r.indexOf("."), o = r.substring(i + 1), a = r.substring(0, i);
|
|
1500
|
+
a in s || (s[a] = {}), n(s[a], o);
|
|
1504
1501
|
} else
|
|
1505
1502
|
s[r] = !0;
|
|
1506
1503
|
return s;
|
|
@@ -1508,7 +1505,7 @@ class Qe {
|
|
|
1508
1505
|
return e.reduce(n, {});
|
|
1509
1506
|
}
|
|
1510
1507
|
}
|
|
1511
|
-
class
|
|
1508
|
+
class Hr {
|
|
1512
1509
|
constructor() {
|
|
1513
1510
|
this.public = !1, this.errors = new Proxy([], {
|
|
1514
1511
|
set: (e, n, s) => (n !== "length" && this.public && console.log(`Journal [Error] ${JSON.stringify(s)}`), e[n] = s, !0)
|
|
@@ -1540,25 +1537,25 @@ class Jr {
|
|
|
1540
1537
|
console.log("The journal has been initialized. To get access check %c_journal in console.", "background: blue; color: white");
|
|
1541
1538
|
}
|
|
1542
1539
|
}
|
|
1543
|
-
const nn = new
|
|
1540
|
+
const nn = new Hr();
|
|
1544
1541
|
function sn(t) {
|
|
1545
1542
|
return t && t[0].toLowerCase() + t.slice(1);
|
|
1546
1543
|
}
|
|
1547
|
-
const
|
|
1544
|
+
const Jr = {
|
|
1548
1545
|
props: {
|
|
1549
1546
|
message: String
|
|
1550
1547
|
},
|
|
1551
1548
|
name: "ModalWait",
|
|
1552
|
-
components: { WidgetSpinner:
|
|
1553
|
-
},
|
|
1554
|
-
function
|
|
1555
|
-
const
|
|
1556
|
-
return c(), u("div",
|
|
1557
|
-
C(
|
|
1549
|
+
components: { WidgetSpinner: ke }
|
|
1550
|
+
}, Kr = { class: "modal__wait modal-default flex_column" };
|
|
1551
|
+
function Yr(t, e, n, s, r, i) {
|
|
1552
|
+
const o = U("widget-spinner");
|
|
1553
|
+
return c(), u("div", Kr, [
|
|
1554
|
+
C(o),
|
|
1558
1555
|
d("p", null, m(n.message), 1)
|
|
1559
1556
|
]);
|
|
1560
1557
|
}
|
|
1561
|
-
const
|
|
1558
|
+
const Xr = /* @__PURE__ */ g(Jr, [["render", Yr], ["__scopeId", "data-v-4d18289e"]]), Zr = {
|
|
1562
1559
|
error: !0,
|
|
1563
1560
|
wait: !1,
|
|
1564
1561
|
throw: !0
|
|
@@ -1567,9 +1564,9 @@ async function mt(t, e = {}) {
|
|
|
1567
1564
|
const n = {
|
|
1568
1565
|
modalWait: null
|
|
1569
1566
|
};
|
|
1570
|
-
e = Object.assign({}, e,
|
|
1567
|
+
e = Object.assign({}, e, Zr);
|
|
1571
1568
|
try {
|
|
1572
|
-
e.wait && (n.modalWait = await zt(
|
|
1569
|
+
e.wait && (n.modalWait = await zt(Xr, { message: typeof e.wait == "string" ? e.wait : "" }));
|
|
1573
1570
|
} catch (s) {
|
|
1574
1571
|
console.warn(s);
|
|
1575
1572
|
}
|
|
@@ -1598,9 +1595,9 @@ function rn(t, e = 2) {
|
|
|
1598
1595
|
let s = String(t).split(".");
|
|
1599
1596
|
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
1597
|
}
|
|
1601
|
-
const
|
|
1602
|
-
Request:
|
|
1603
|
-
clickOutside:
|
|
1598
|
+
const Se = {
|
|
1599
|
+
Request: h,
|
|
1600
|
+
clickOutside: Ae,
|
|
1604
1601
|
getPropFromObject: Ne,
|
|
1605
1602
|
runPromiseQueue: gt,
|
|
1606
1603
|
GraphQL: Qe,
|
|
@@ -1608,23 +1605,23 @@ const Ce = {
|
|
|
1608
1605
|
requestHandler: mt,
|
|
1609
1606
|
valuesToUpperCase: et,
|
|
1610
1607
|
prettyMoney: rn
|
|
1611
|
-
},
|
|
1608
|
+
}, Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1612
1609
|
__proto__: null,
|
|
1613
1610
|
GraphQL: Qe,
|
|
1614
1611
|
Journal: nn,
|
|
1615
|
-
Request:
|
|
1616
|
-
clickOutside:
|
|
1617
|
-
default:
|
|
1612
|
+
Request: h,
|
|
1613
|
+
clickOutside: Ae,
|
|
1614
|
+
default: Se,
|
|
1618
1615
|
firstChapterToLowerCase: sn,
|
|
1619
1616
|
getPropFromObject: Ne,
|
|
1620
1617
|
requestHandler: mt,
|
|
1621
1618
|
runPromiseQueue: gt,
|
|
1622
1619
|
valuesToUpperCase: et
|
|
1623
1620
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1624
|
-
function
|
|
1621
|
+
function an(t, e = "") {
|
|
1625
1622
|
for (let n in t) {
|
|
1626
1623
|
if (typeof t[n] == "object") {
|
|
1627
|
-
|
|
1624
|
+
an(t[n], (e.length ? `${e}-` : "") + n);
|
|
1628
1625
|
continue;
|
|
1629
1626
|
}
|
|
1630
1627
|
let s = "--" + ((e.length ? `${e}-` : "") + n).replace(
|
|
@@ -1635,31 +1632,31 @@ function on(t, e = "") {
|
|
|
1635
1632
|
}
|
|
1636
1633
|
}
|
|
1637
1634
|
const se = {};
|
|
1638
|
-
function
|
|
1635
|
+
function ei(t) {
|
|
1639
1636
|
for (let e in t)
|
|
1640
1637
|
se[e] = t[e];
|
|
1641
|
-
t.styles &&
|
|
1638
|
+
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
1639
|
}
|
|
1643
|
-
const
|
|
1640
|
+
const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1644
1641
|
__proto__: null
|
|
1645
1642
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1646
|
-
function
|
|
1643
|
+
function ni(t) {
|
|
1647
1644
|
return Array.isArray(t) && t.length === 2 && typeof t[0] == "string" && typeof t[1] == "number";
|
|
1648
1645
|
}
|
|
1649
|
-
const
|
|
1646
|
+
const si = "masterId", ri = "masterEntity";
|
|
1650
1647
|
function Je(t, e) {
|
|
1651
1648
|
if (!Array.isArray(e))
|
|
1652
1649
|
return;
|
|
1653
|
-
if (
|
|
1650
|
+
if (ni(e))
|
|
1654
1651
|
return n(e);
|
|
1655
1652
|
e.forEach(n);
|
|
1656
1653
|
function n(s) {
|
|
1657
|
-
t.append(
|
|
1654
|
+
t.append(ri, s[0]), t.append(si, s[1].toString());
|
|
1658
1655
|
}
|
|
1659
1656
|
}
|
|
1660
1657
|
class K {
|
|
1661
1658
|
static async anonymousGetList(e) {
|
|
1662
|
-
return await
|
|
1659
|
+
return await h(`/open-api/data/${e}`, {
|
|
1663
1660
|
method: "GET",
|
|
1664
1661
|
headers: {
|
|
1665
1662
|
"Content-Type": "application/json"
|
|
@@ -1672,22 +1669,22 @@ class K {
|
|
|
1672
1669
|
* */
|
|
1673
1670
|
static async getList(e, n) {
|
|
1674
1671
|
const s = new URLSearchParams();
|
|
1675
|
-
function r(
|
|
1672
|
+
function r(o, a) {
|
|
1676
1673
|
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(
|
|
1674
|
+
if (typeof a == "string")
|
|
1675
|
+
return l(a);
|
|
1676
|
+
if (Array.isArray(a))
|
|
1677
|
+
return l(a.join(" "));
|
|
1678
|
+
if (typeof a == "object")
|
|
1679
|
+
return l(Object.keys(a).join(" "));
|
|
1683
1680
|
}
|
|
1684
|
-
function i(
|
|
1685
|
-
if (!
|
|
1681
|
+
function i(o, a) {
|
|
1682
|
+
if (!a || !Object.keys(a).length)
|
|
1686
1683
|
return;
|
|
1687
|
-
const l = Object.entries(
|
|
1688
|
-
|
|
1684
|
+
const l = Object.entries(a).map(([p, f]) => `@${p} ${f}`).join(",");
|
|
1685
|
+
o.append("order", l);
|
|
1689
1686
|
}
|
|
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
|
|
1687
|
+
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
1688
|
method: "GET",
|
|
1692
1689
|
headers: {
|
|
1693
1690
|
"Content-Type": "application/json"
|
|
@@ -1699,22 +1696,22 @@ class K {
|
|
|
1699
1696
|
* */
|
|
1700
1697
|
static getCount(e, n) {
|
|
1701
1698
|
const s = new URLSearchParams();
|
|
1702
|
-
function r(
|
|
1699
|
+
function r(o, a) {
|
|
1703
1700
|
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(
|
|
1701
|
+
if (typeof a == "string")
|
|
1702
|
+
return l(a);
|
|
1703
|
+
if (Array.isArray(a))
|
|
1704
|
+
return l(a.join(" "));
|
|
1705
|
+
if (typeof a == "object")
|
|
1706
|
+
return l(Object.keys(a).join(" "));
|
|
1710
1707
|
}
|
|
1711
|
-
function i(
|
|
1712
|
-
if (!
|
|
1708
|
+
function i(o, a) {
|
|
1709
|
+
if (!a || !Object.keys(a).length)
|
|
1713
1710
|
return;
|
|
1714
|
-
const l = Object.entries(
|
|
1715
|
-
|
|
1711
|
+
const l = Object.entries(a).map(([p, f]) => `@${p} ${f}`).join(",");
|
|
1712
|
+
o.append("order", l);
|
|
1716
1713
|
}
|
|
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())),
|
|
1714
|
+
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
1715
|
method: "GET",
|
|
1719
1716
|
headers: {
|
|
1720
1717
|
"Content-Type": "application/json"
|
|
@@ -1726,7 +1723,7 @@ class K {
|
|
|
1726
1723
|
* */
|
|
1727
1724
|
static create(e, n, s) {
|
|
1728
1725
|
const r = new URLSearchParams();
|
|
1729
|
-
return Je(r, s == null ? void 0 : s.masterEntities),
|
|
1726
|
+
return Je(r, s == null ? void 0 : s.masterEntities), h(`/close-api/data/${e}?${r.toString()}`, {
|
|
1730
1727
|
method: "POST",
|
|
1731
1728
|
headers: {
|
|
1732
1729
|
"Content-Type": "application/json"
|
|
@@ -1740,7 +1737,7 @@ class K {
|
|
|
1740
1737
|
* @description Default update method, update entity by primaryKeys.
|
|
1741
1738
|
* */
|
|
1742
1739
|
static update(e, n, s, r = {}) {
|
|
1743
|
-
return
|
|
1740
|
+
return h(`/close-api/data/entities/${e}`, {
|
|
1744
1741
|
method: "PUT",
|
|
1745
1742
|
headers: {
|
|
1746
1743
|
"Content-Type": "application/json"
|
|
@@ -1763,7 +1760,7 @@ class K {
|
|
|
1763
1760
|
let i = s.fields;
|
|
1764
1761
|
typeof i == "string" && (i = [i]), r.append("fields", i.join(" "));
|
|
1765
1762
|
}
|
|
1766
|
-
return
|
|
1763
|
+
return h(`/close-api/data/entities/${e}/id/${n}?${r.toString()}`, {
|
|
1767
1764
|
method: "GET",
|
|
1768
1765
|
headers: {
|
|
1769
1766
|
"Content-Type": "application/json"
|
|
@@ -1772,7 +1769,7 @@ class K {
|
|
|
1772
1769
|
}
|
|
1773
1770
|
static updateById(e, n, s, r) {
|
|
1774
1771
|
const i = new URLSearchParams();
|
|
1775
|
-
return Je(i, r == null ? void 0 : r.masterEntities),
|
|
1772
|
+
return Je(i, r == null ? void 0 : r.masterEntities), h(`/close-api/data/entities/${e}/id/${n}?${i.toString()}`, {
|
|
1776
1773
|
method: "PUT",
|
|
1777
1774
|
headers: {
|
|
1778
1775
|
"Content-Type": "application/json"
|
|
@@ -1791,7 +1788,7 @@ class K {
|
|
|
1791
1788
|
return K.removeByKeys(e, r, s);
|
|
1792
1789
|
}
|
|
1793
1790
|
static removeByKeys(e, n, s) {
|
|
1794
|
-
return
|
|
1791
|
+
return h(`/close-api/data/entities/${e}`, {
|
|
1795
1792
|
method: "delete",
|
|
1796
1793
|
headers: {
|
|
1797
1794
|
"Content-Type": "application/json"
|
|
@@ -1800,23 +1797,23 @@ class K {
|
|
|
1800
1797
|
});
|
|
1801
1798
|
}
|
|
1802
1799
|
}
|
|
1803
|
-
var
|
|
1800
|
+
var on = (t, e, n) => {
|
|
1804
1801
|
if (!e.has(t))
|
|
1805
1802
|
throw TypeError("Cannot " + n);
|
|
1806
|
-
},
|
|
1803
|
+
}, ot = (t, e, n) => (on(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Ot = (t, e, n) => {
|
|
1807
1804
|
if (e.has(t))
|
|
1808
1805
|
throw TypeError("Cannot add the same private member more than once");
|
|
1809
1806
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
1810
|
-
}, Rt = (t, e, n, s) => (
|
|
1807
|
+
}, Rt = (t, e, n, s) => (on(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), ve, xe;
|
|
1811
1808
|
const yt = class fe extends J {
|
|
1812
1809
|
constructor(e) {
|
|
1813
|
-
super(), Ot(this,
|
|
1810
|
+
super(), Ot(this, ve, []), Ot(this, xe, !1), this.hashParams = "", this.offset = 0, this.name = e.name;
|
|
1814
1811
|
}
|
|
1815
1812
|
set wait(e) {
|
|
1816
1813
|
Rt(this, xe, e), this.emit(fe.EVENT_CHANGE_WAIT, e);
|
|
1817
1814
|
}
|
|
1818
1815
|
get wait() {
|
|
1819
|
-
return
|
|
1816
|
+
return ot(this, xe);
|
|
1820
1817
|
}
|
|
1821
1818
|
read(e) {
|
|
1822
1819
|
var r, i;
|
|
@@ -1826,20 +1823,20 @@ const yt = class fe extends J {
|
|
|
1826
1823
|
[(r = e.order) == null ? void 0 : r.name]: (i = e.order) == null ? void 0 : i.duration
|
|
1827
1824
|
}), e.fields && (n.fields = e.fields), e.filter && (n.filter = e.filter);
|
|
1828
1825
|
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(...
|
|
1826
|
+
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) => {
|
|
1827
|
+
this.array.push(...o);
|
|
1831
1828
|
}).then(() => this.emit(fe.EVENT_DATA, this.array)).finally(() => {
|
|
1832
1829
|
this.wait = !1;
|
|
1833
1830
|
});
|
|
1834
1831
|
}
|
|
1835
1832
|
set array(e) {
|
|
1836
|
-
Rt(this,
|
|
1833
|
+
Rt(this, ve, e), this.emit(fe.EVENT_DATA, this.array);
|
|
1837
1834
|
}
|
|
1838
1835
|
add(e) {
|
|
1839
|
-
|
|
1836
|
+
ot(this, ve).push(...e), this.emit(fe.EVENT_DATA, this.array);
|
|
1840
1837
|
}
|
|
1841
1838
|
get array() {
|
|
1842
|
-
return
|
|
1839
|
+
return ot(this, ve);
|
|
1843
1840
|
}
|
|
1844
1841
|
/**
|
|
1845
1842
|
* @description Function get all names from Config.
|
|
@@ -1868,7 +1865,7 @@ const yt = class fe extends J {
|
|
|
1868
1865
|
return typeof e.name == "string" ? e.name : Array.isArray(e.name) ? e.name[0] : null;
|
|
1869
1866
|
}
|
|
1870
1867
|
};
|
|
1871
|
-
|
|
1868
|
+
ve = /* @__PURE__ */ new WeakMap();
|
|
1872
1869
|
xe = /* @__PURE__ */ new WeakMap();
|
|
1873
1870
|
yt.EVENT_DATA = "LIST:DATA";
|
|
1874
1871
|
yt.EVENT_CHANGE_WAIT = "LIST:UPDATE-WAIT";
|
|
@@ -1938,7 +1935,7 @@ let tt = class extends ln {
|
|
|
1938
1935
|
}
|
|
1939
1936
|
};
|
|
1940
1937
|
tt.PROVIDE_NAME = "table-controller";
|
|
1941
|
-
function
|
|
1938
|
+
function ii(t) {
|
|
1942
1939
|
return function(n) {
|
|
1943
1940
|
return {
|
|
1944
1941
|
activate() {
|
|
@@ -1950,23 +1947,23 @@ function oi(t) {
|
|
|
1950
1947
|
};
|
|
1951
1948
|
};
|
|
1952
1949
|
}
|
|
1953
|
-
function
|
|
1950
|
+
function fo(t) {
|
|
1954
1951
|
const e = A(t.array);
|
|
1955
1952
|
xt(tt.PROVIDE_NAME, t);
|
|
1956
1953
|
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
|
|
1954
|
+
t.on(ln.EVENT_DATA, (o) => e.splice(0, e.length, ...o)), t.on(Y.EVENT_CHANGED, () => {
|
|
1955
|
+
n.new = Object.keys(t.changes.new).reduce((o, a) => {
|
|
1956
|
+
const l = Number(a);
|
|
1957
|
+
return o[l] = t.changes.new[l], o;
|
|
1961
1958
|
}, {});
|
|
1962
1959
|
});
|
|
1963
1960
|
const s = L(() => [
|
|
1964
|
-
...e.reduce((
|
|
1965
|
-
const l =
|
|
1966
|
-
return t.changes.remove.includes(l) ||
|
|
1967
|
-
...
|
|
1961
|
+
...e.reduce((o, a) => {
|
|
1962
|
+
const l = a[F];
|
|
1963
|
+
return t.changes.remove.includes(l) || o.push({
|
|
1964
|
+
...a,
|
|
1968
1965
|
...t.changes.edit[l]
|
|
1969
|
-
}),
|
|
1966
|
+
}), o;
|
|
1970
1967
|
}, []),
|
|
1971
1968
|
...Object.values(n.new)
|
|
1972
1969
|
]), r = Y.getParentForm();
|
|
@@ -1975,7 +1972,7 @@ function fa(t) {
|
|
|
1975
1972
|
array: s
|
|
1976
1973
|
};
|
|
1977
1974
|
}
|
|
1978
|
-
function
|
|
1975
|
+
function ho(t, e) {
|
|
1979
1976
|
t.read = () => K.getList(t.name, {
|
|
1980
1977
|
fields: e == null ? void 0 : e.fields
|
|
1981
1978
|
}).then((n) => t.array = n).then(() => t.emit(Y.EVENT_READ, t.array)), t.save = () => {
|
|
@@ -1986,7 +1983,7 @@ function ha(t, e) {
|
|
|
1986
1983
|
await K.updateById(t.name, s(Number(r)), i);
|
|
1987
1984
|
});
|
|
1988
1985
|
function s(r) {
|
|
1989
|
-
const i = t.array.find((
|
|
1986
|
+
const i = t.array.find((o) => o[F] === r);
|
|
1990
1987
|
return i.id | i.Id;
|
|
1991
1988
|
}
|
|
1992
1989
|
t.changes.remove.forEach(async (r) => {
|
|
@@ -1994,12 +1991,12 @@ function ha(t, e) {
|
|
|
1994
1991
|
}), t.emit(Y.EVENT_SAVE);
|
|
1995
1992
|
};
|
|
1996
1993
|
}
|
|
1997
|
-
const
|
|
1994
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1998
1995
|
__proto__: null
|
|
1999
1996
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2000
|
-
class
|
|
1997
|
+
class go {
|
|
2001
1998
|
static readHistoryById(e, n) {
|
|
2002
|
-
return
|
|
1999
|
+
return h(`/close-api/audits/history/${e}/${n}`, {
|
|
2003
2000
|
method: "GET",
|
|
2004
2001
|
headers: {
|
|
2005
2002
|
"Content-Type": "application/json"
|
|
@@ -2008,14 +2005,14 @@ class ga {
|
|
|
2008
2005
|
const r = s.history.map((i) => {
|
|
2009
2006
|
if (!i.changes)
|
|
2010
2007
|
return i;
|
|
2011
|
-
const
|
|
2012
|
-
...
|
|
2013
|
-
oldValue:
|
|
2014
|
-
name:
|
|
2008
|
+
const o = i.changes.map((a) => ({
|
|
2009
|
+
...a,
|
|
2010
|
+
oldValue: a.originalValue,
|
|
2011
|
+
name: a.fieldName
|
|
2015
2012
|
}));
|
|
2016
2013
|
return {
|
|
2017
2014
|
...i,
|
|
2018
|
-
changes:
|
|
2015
|
+
changes: o
|
|
2019
2016
|
};
|
|
2020
2017
|
});
|
|
2021
2018
|
return {
|
|
@@ -2028,24 +2025,24 @@ class ga {
|
|
|
2028
2025
|
var cn = (t, e, n) => {
|
|
2029
2026
|
if (!e.has(t))
|
|
2030
2027
|
throw TypeError("Cannot " + n);
|
|
2031
|
-
}, te = (t, e, n) => (cn(t, e, "read from private field"), n ? n.call(t) : e.get(t)),
|
|
2028
|
+
}, te = (t, e, n) => (cn(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ae = (t, e, n) => {
|
|
2032
2029
|
if (e.has(t))
|
|
2033
2030
|
throw TypeError("Cannot add the same private member more than once");
|
|
2034
2031
|
e instanceof WeakSet ? e.add(t) : e.set(t, n);
|
|
2035
|
-
},
|
|
2032
|
+
}, oe = (t, e, n, s) => (cn(t, e, "write to private field"), s ? s.call(t, n) : e.set(t, n), n), Ue, we, Be, qe, be, $e, ut;
|
|
2036
2033
|
const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne extends J {
|
|
2037
2034
|
constructor(e) {
|
|
2038
|
-
super(), this.LIST_ROW_KEY = 1,
|
|
2035
|
+
super(), this.LIST_ROW_KEY = 1, ae(this, Ue, void 0), this.array = [], ae(this, we, []), ae(this, Be, []), ae(this, qe, new Proxy({}, {
|
|
2039
2036
|
set: (n, s, r, i) => (n[s] = r, this.emit(ne.EVENT_FILTERS_UPDATE, n), !0),
|
|
2040
2037
|
deleteProperty: (n, s) => (delete n[s], this.emit(ne.EVENT_FILTERS_UPDATE, n), !0)
|
|
2041
|
-
})),
|
|
2042
|
-
}),
|
|
2038
|
+
})), ae(this, be, !1), ae(this, $e, (...n) => Promise), ae(this, ut, () => {
|
|
2039
|
+
}), oe(this, Ue, e.primaryKeys || []), this.name = e.name || void 0, e.config && oe(this, we, e.config);
|
|
2043
2040
|
}
|
|
2044
2041
|
set config(e) {
|
|
2045
|
-
|
|
2042
|
+
oe(this, we, e.map(ue.copyObject)), this.emitUpdateConfig();
|
|
2046
2043
|
}
|
|
2047
2044
|
get config() {
|
|
2048
|
-
return te(this,
|
|
2045
|
+
return te(this, we);
|
|
2049
2046
|
}
|
|
2050
2047
|
emitUpdateConfig() {
|
|
2051
2048
|
this.emit(ne.EVENT_CONFIG_UPDATE, this.config);
|
|
@@ -2054,7 +2051,7 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2054
2051
|
return te(this, Be);
|
|
2055
2052
|
}
|
|
2056
2053
|
set order(e) {
|
|
2057
|
-
|
|
2054
|
+
oe(this, Be, e), this.emit(ne.EVENT_ORDER_UPDATE, this.order);
|
|
2058
2055
|
}
|
|
2059
2056
|
get filters() {
|
|
2060
2057
|
return te(this, qe);
|
|
@@ -2063,13 +2060,13 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2063
2060
|
un(te(this, qe), e);
|
|
2064
2061
|
}
|
|
2065
2062
|
set wait(e) {
|
|
2066
|
-
|
|
2063
|
+
oe(this, be, e), this.emit(Y.EVENT_WAIT, te(this, be));
|
|
2067
2064
|
}
|
|
2068
2065
|
/**
|
|
2069
2066
|
* @description Value is true if request is running
|
|
2070
2067
|
* */
|
|
2071
2068
|
get wait() {
|
|
2072
|
-
return te(this,
|
|
2069
|
+
return te(this, be);
|
|
2073
2070
|
}
|
|
2074
2071
|
get primaryKeys() {
|
|
2075
2072
|
return te(this, Ue);
|
|
@@ -2150,16 +2147,16 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2150
2147
|
return Object.prototype.hasOwnProperty.call(e, le);
|
|
2151
2148
|
}
|
|
2152
2149
|
set read(e) {
|
|
2153
|
-
|
|
2150
|
+
oe(this, $e, e);
|
|
2154
2151
|
}
|
|
2155
2152
|
get read() {
|
|
2156
2153
|
return (...e) => Promise.resolve().then(() => {
|
|
2157
|
-
const n = te(this,
|
|
2154
|
+
const n = te(this, $e).call(this, ...e);
|
|
2158
2155
|
return this.wait = !0, n;
|
|
2159
2156
|
}).finally(() => this.wait = !1);
|
|
2160
2157
|
}
|
|
2161
2158
|
set save(e) {
|
|
2162
|
-
|
|
2159
|
+
oe(this, $e, e);
|
|
2163
2160
|
}
|
|
2164
2161
|
get save() {
|
|
2165
2162
|
return () => Promise.resolve().then(() => this.wait = !0).then(() => te(this, ut).call(this)).finally(() => this.wait = !1);
|
|
@@ -2204,11 +2201,11 @@ const le = "_______LIST_______ROW_______INDEX________NAME_______", Pe = class ne
|
|
|
2204
2201
|
}
|
|
2205
2202
|
};
|
|
2206
2203
|
Ue = /* @__PURE__ */ new WeakMap();
|
|
2207
|
-
|
|
2204
|
+
we = /* @__PURE__ */ new WeakMap();
|
|
2208
2205
|
Be = /* @__PURE__ */ new WeakMap();
|
|
2209
2206
|
qe = /* @__PURE__ */ new WeakMap();
|
|
2207
|
+
be = /* @__PURE__ */ new WeakMap();
|
|
2210
2208
|
$e = /* @__PURE__ */ new WeakMap();
|
|
2211
|
-
Ee = /* @__PURE__ */ new WeakMap();
|
|
2212
2209
|
ut = /* @__PURE__ */ new WeakMap();
|
|
2213
2210
|
Pe.EVENT_DATA = "list-data: update";
|
|
2214
2211
|
Pe.EVENT_CONFIG_UPDATE = "list-config:update";
|
|
@@ -2217,24 +2214,24 @@ Pe.EVENT_FILTERS_UPDATE = "list-filters:update";
|
|
|
2217
2214
|
let Q = Pe;
|
|
2218
2215
|
function ai(t, e) {
|
|
2219
2216
|
let n = "", s = 0, r = !1, i;
|
|
2220
|
-
t.read = (
|
|
2217
|
+
t.read = (o = {}) => {
|
|
2221
2218
|
if (t.wait)
|
|
2222
2219
|
return i;
|
|
2223
|
-
if (
|
|
2220
|
+
if (o.clean && (n = "", s = 0, r = !1), r)
|
|
2224
2221
|
return Promise.resolve([]);
|
|
2225
|
-
let
|
|
2226
|
-
typeof
|
|
2222
|
+
let a = e;
|
|
2223
|
+
typeof a == "function" && (a = a());
|
|
2227
2224
|
const l = {};
|
|
2228
2225
|
if (!t.name)
|
|
2229
2226
|
throw new Error("Reading list`s data without name is not available.");
|
|
2230
|
-
|
|
2231
|
-
[
|
|
2232
|
-
}),
|
|
2227
|
+
a.order && Array.isArray(a.order) && a.order.length && (l.order = {
|
|
2228
|
+
[a.order[0]]: a.order[1] || "asc"
|
|
2229
|
+
}), a.fields && (l.fields = a.fields), a.filter && (l.filter = a.filter);
|
|
2233
2230
|
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
|
|
2231
|
+
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
2232
|
};
|
|
2236
2233
|
}
|
|
2237
|
-
function
|
|
2234
|
+
function oi(t) {
|
|
2238
2235
|
const e = A({
|
|
2239
2236
|
wait: t.wait,
|
|
2240
2237
|
array: []
|
|
@@ -2245,7 +2242,7 @@ function li(t) {
|
|
|
2245
2242
|
e.wait = t.wait;
|
|
2246
2243
|
}), e;
|
|
2247
2244
|
}
|
|
2248
|
-
function
|
|
2245
|
+
function li(t, e) {
|
|
2249
2246
|
const n = "list-flex-config", s = ft(n, void 0);
|
|
2250
2247
|
if (s)
|
|
2251
2248
|
return s;
|
|
@@ -2260,19 +2257,19 @@ function ci(t, e) {
|
|
|
2260
2257
|
};
|
|
2261
2258
|
return xt(n, r), r;
|
|
2262
2259
|
}
|
|
2263
|
-
function
|
|
2260
|
+
function mo(t) {
|
|
2264
2261
|
const e = A([...t.config]);
|
|
2265
2262
|
return t.on(Q.EVENT_CONFIG_UPDATE, (n) => {
|
|
2266
2263
|
e.splice(0, e.length, ...n);
|
|
2267
2264
|
}), e;
|
|
2268
2265
|
}
|
|
2269
|
-
function
|
|
2266
|
+
function ci(t) {
|
|
2270
2267
|
const e = t.order || [], n = A(e);
|
|
2271
2268
|
return t.on(Q.EVENT_ORDER_UPDATE, (s) => {
|
|
2272
2269
|
n.splice(0, n.length, ...s), t.read();
|
|
2273
2270
|
}), n;
|
|
2274
2271
|
}
|
|
2275
|
-
function
|
|
2272
|
+
function yo(t) {
|
|
2276
2273
|
const e = G(""), n = L(() => {
|
|
2277
2274
|
const s = e.value.toLowerCase();
|
|
2278
2275
|
return P(t).filter((r) => e.value.length ? Object.values(r).join().toLowerCase().includes(s) : !0);
|
|
@@ -2287,41 +2284,41 @@ function un(t, e) {
|
|
|
2287
2284
|
t[n] = s;
|
|
2288
2285
|
});
|
|
2289
2286
|
}
|
|
2290
|
-
function
|
|
2287
|
+
function vo(t) {
|
|
2291
2288
|
const e = A(ue.copyObject(t.filters));
|
|
2292
2289
|
return t.on(Q.EVENT_FILTERS_UPDATE, (n) => {
|
|
2293
2290
|
un(e, n), t.read();
|
|
2294
2291
|
}), e;
|
|
2295
2292
|
}
|
|
2296
|
-
function
|
|
2293
|
+
function wo(t) {
|
|
2297
2294
|
const e = A([]);
|
|
2298
|
-
function n(
|
|
2299
|
-
return e.includes(
|
|
2295
|
+
function n(a) {
|
|
2296
|
+
return e.includes(a);
|
|
2300
2297
|
}
|
|
2301
|
-
function s(
|
|
2302
|
-
n(
|
|
2298
|
+
function s(a) {
|
|
2299
|
+
n(a) || e.push(a);
|
|
2303
2300
|
}
|
|
2304
|
-
function r(
|
|
2305
|
-
const l = e.findIndex((p) => p ===
|
|
2301
|
+
function r(a) {
|
|
2302
|
+
const l = e.findIndex((p) => p === a);
|
|
2306
2303
|
l !== -1 && e.splice(l, 1);
|
|
2307
2304
|
}
|
|
2308
|
-
function i(
|
|
2305
|
+
function i(a) {
|
|
2309
2306
|
const l = P(t);
|
|
2310
|
-
if (
|
|
2307
|
+
if (a === void 0) {
|
|
2311
2308
|
e.length === 0 ? l.forEach(s) : l.forEach(r);
|
|
2312
2309
|
return;
|
|
2313
2310
|
}
|
|
2314
|
-
n(
|
|
2311
|
+
n(a) ? r(a) : s(a);
|
|
2315
2312
|
}
|
|
2316
|
-
const
|
|
2317
|
-
const
|
|
2318
|
-
return e.length ===
|
|
2313
|
+
const o = L(() => {
|
|
2314
|
+
const a = P(t);
|
|
2315
|
+
return e.length === a.length && a.length !== 0;
|
|
2319
2316
|
});
|
|
2320
|
-
return [e, i,
|
|
2317
|
+
return [e, i, o, s, r];
|
|
2321
2318
|
}
|
|
2322
|
-
class
|
|
2319
|
+
class ui extends Q {
|
|
2323
2320
|
constructor(e) {
|
|
2324
|
-
super(e), this.changes = [], this.save =
|
|
2321
|
+
super(e), this.changes = [], this.save = di.bind(this);
|
|
2325
2322
|
}
|
|
2326
2323
|
get changed() {
|
|
2327
2324
|
return !!this.changes.find((e) => e.status === "active");
|
|
@@ -2335,13 +2332,13 @@ class di extends Q {
|
|
|
2335
2332
|
});
|
|
2336
2333
|
}
|
|
2337
2334
|
}
|
|
2338
|
-
function
|
|
2335
|
+
function di() {
|
|
2339
2336
|
const t = this.changes.filter((e) => e.status === "active");
|
|
2340
2337
|
return gt(t.map((e) => {
|
|
2341
2338
|
console.log("++");
|
|
2342
2339
|
}));
|
|
2343
2340
|
}
|
|
2344
|
-
function
|
|
2341
|
+
function pi() {
|
|
2345
2342
|
const t = G(null);
|
|
2346
2343
|
function e(n) {
|
|
2347
2344
|
t.value = n && Ht(n);
|
|
@@ -2351,23 +2348,23 @@ function fi() {
|
|
|
2351
2348
|
activateRow: e
|
|
2352
2349
|
};
|
|
2353
2350
|
}
|
|
2354
|
-
const
|
|
2351
|
+
const fi = {
|
|
2355
2352
|
props: {
|
|
2356
2353
|
config: Array
|
|
2357
2354
|
},
|
|
2358
2355
|
name: "WidgetTableHead"
|
|
2359
|
-
},
|
|
2360
|
-
function
|
|
2361
|
-
return c(), u("tr",
|
|
2362
|
-
(c(!0), u(O, null, j(n.config, (
|
|
2356
|
+
}, hi = { class: "widget-table__head" }, _i = { class: "widget-table__head-title" };
|
|
2357
|
+
function gi(t, e, n, s, r, i) {
|
|
2358
|
+
return c(), u("tr", hi, [
|
|
2359
|
+
(c(!0), u(O, null, j(n.config, (o, a) => (c(), u("th", {
|
|
2363
2360
|
class: "widget-table__head-cell",
|
|
2364
|
-
key:
|
|
2361
|
+
key: a
|
|
2365
2362
|
}, [
|
|
2366
|
-
d("p",
|
|
2363
|
+
d("p", _i, m(o.title), 1)
|
|
2367
2364
|
]))), 128))
|
|
2368
2365
|
]);
|
|
2369
2366
|
}
|
|
2370
|
-
const
|
|
2367
|
+
const mi = /* @__PURE__ */ g(fi, [["render", gi], ["__scopeId", "data-v-2ce532f4"]]);
|
|
2371
2368
|
function dn(t) {
|
|
2372
2369
|
return vt(t, "YYYY/MM/DD HH:mm:ss");
|
|
2373
2370
|
}
|
|
@@ -2381,22 +2378,22 @@ function vt(t, e = "YYYY/MM/DD") {
|
|
|
2381
2378
|
return console.log(n), "Invalid date";
|
|
2382
2379
|
}
|
|
2383
2380
|
}
|
|
2384
|
-
function
|
|
2385
|
-
const n = t.config.map((s) =>
|
|
2381
|
+
function yi(t, e) {
|
|
2382
|
+
const n = t.config.map((s) => vi(s, t, e));
|
|
2386
2383
|
return k("tr", { class: "widget-table__row widget-table-row" }, n);
|
|
2387
2384
|
}
|
|
2388
|
-
function
|
|
2385
|
+
function vi(t, e, n) {
|
|
2389
2386
|
const s = e.values;
|
|
2390
2387
|
let { name: r, value: i } = Q.getCellInfo(t, s);
|
|
2391
|
-
const
|
|
2388
|
+
const o = {
|
|
2392
2389
|
onClick: [],
|
|
2393
2390
|
class: ["widget-table__cell widget-table-cell"]
|
|
2394
2391
|
};
|
|
2395
|
-
function
|
|
2396
|
-
|
|
2392
|
+
function a(w) {
|
|
2393
|
+
o.onClick.push(() => w(s));
|
|
2397
2394
|
}
|
|
2398
2395
|
function l(w) {
|
|
2399
|
-
Array.isArray(w) ?
|
|
2396
|
+
Array.isArray(w) ? o.class.push(...w) : o.class.push(w);
|
|
2400
2397
|
}
|
|
2401
2398
|
const p = [], f = [];
|
|
2402
2399
|
if (t.hide && t.hide(s))
|
|
@@ -2420,7 +2417,7 @@ function wi(t, e, n) {
|
|
|
2420
2417
|
f.push(k(ct, {
|
|
2421
2418
|
type: "single-checkbox",
|
|
2422
2419
|
modelValue: e.selected
|
|
2423
|
-
})),
|
|
2420
|
+
})), a(wi.bind(null, n, !0));
|
|
2424
2421
|
}
|
|
2425
2422
|
if (t.checked) {
|
|
2426
2423
|
const w = t.checked(s);
|
|
@@ -2431,7 +2428,7 @@ function wi(t, e, n) {
|
|
|
2431
2428
|
})
|
|
2432
2429
|
);
|
|
2433
2430
|
}
|
|
2434
|
-
if (t.onClick &&
|
|
2431
|
+
if (t.onClick && a(t.onClick), t.link)
|
|
2435
2432
|
try {
|
|
2436
2433
|
const w = t.link(s);
|
|
2437
2434
|
if (w) {
|
|
@@ -2448,28 +2445,28 @@ function wi(t, e, n) {
|
|
|
2448
2445
|
k("p", {
|
|
2449
2446
|
class: "widget-list-cell-text"
|
|
2450
2447
|
}, 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",
|
|
2448
|
+
), 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
2449
|
}
|
|
2453
|
-
function
|
|
2450
|
+
function wi(t, e) {
|
|
2454
2451
|
t.emit("select", e);
|
|
2455
2452
|
}
|
|
2456
2453
|
function pn(t, e) {
|
|
2457
2454
|
return () => {
|
|
2458
2455
|
try {
|
|
2459
|
-
return
|
|
2456
|
+
return yi(t, e);
|
|
2460
2457
|
} catch (n) {
|
|
2461
2458
|
return console.warn(n), null;
|
|
2462
2459
|
}
|
|
2463
2460
|
};
|
|
2464
2461
|
}
|
|
2465
|
-
const
|
|
2462
|
+
const bi = {
|
|
2466
2463
|
props: {
|
|
2467
2464
|
values: Object,
|
|
2468
2465
|
config: Object,
|
|
2469
2466
|
selected: Boolean
|
|
2470
2467
|
},
|
|
2471
2468
|
setup: pn
|
|
2472
|
-
},
|
|
2469
|
+
}, $i = ["colspan"], Vt = /* @__PURE__ */ b({
|
|
2473
2470
|
__name: "widget-table-form",
|
|
2474
2471
|
props: {
|
|
2475
2472
|
rowLength: {},
|
|
@@ -2483,7 +2480,7 @@ const $i = {
|
|
|
2483
2480
|
setTimeout(() => {
|
|
2484
2481
|
s.value && s.value.scrollIntoView({ block: "nearest", inline: "nearest", behavior: "smooth" });
|
|
2485
2482
|
}, 250);
|
|
2486
|
-
}), (i,
|
|
2483
|
+
}), (i, o) => (c(), u("tr", {
|
|
2487
2484
|
class: "widget-table-form",
|
|
2488
2485
|
ref_key: "refTableForm",
|
|
2489
2486
|
ref: s
|
|
@@ -2492,26 +2489,28 @@ const $i = {
|
|
|
2492
2489
|
(c(), v(Ut(i.component), Bt(i.$attrs, {
|
|
2493
2490
|
values: i.values,
|
|
2494
2491
|
new: r.value,
|
|
2495
|
-
onClose:
|
|
2496
|
-
onSave:
|
|
2492
|
+
onClose: o[0] || (o[0] = (a) => e("close")),
|
|
2493
|
+
onSave: o[1] || (o[1] = (a) => e("save", a))
|
|
2497
2494
|
}), null, 16, ["values", "new"]))
|
|
2498
|
-
], 8,
|
|
2495
|
+
], 8, $i)
|
|
2499
2496
|
], 512));
|
|
2500
2497
|
}
|
|
2501
|
-
}),
|
|
2502
|
-
__name: "widget-
|
|
2498
|
+
}), Ei = { class: "widget-wait flex gap_10 padding_15" }, Ti = { class: "text_md" }, Si = /* @__PURE__ */ b({
|
|
2499
|
+
__name: "widget-wait",
|
|
2503
2500
|
props: {
|
|
2504
|
-
color: {},
|
|
2505
2501
|
label: {}
|
|
2506
2502
|
},
|
|
2507
2503
|
setup(t) {
|
|
2508
|
-
return (e, n) => (c(), u("div",
|
|
2509
|
-
C(
|
|
2510
|
-
|
|
2504
|
+
return (e, n) => (c(), u("div", Ei, [
|
|
2505
|
+
C(ke, {
|
|
2506
|
+
color: "var(--primary)",
|
|
2507
|
+
class: "wait-spinner"
|
|
2508
|
+
}),
|
|
2509
|
+
d("span", Ti, m(e.label), 1)
|
|
2511
2510
|
]));
|
|
2512
2511
|
}
|
|
2513
2512
|
});
|
|
2514
|
-
const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-
|
|
2513
|
+
const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-2038b2ba"]]), Ii = /* @__PURE__ */ b({
|
|
2515
2514
|
__name: "widget-table",
|
|
2516
2515
|
props: {
|
|
2517
2516
|
array: {},
|
|
@@ -2531,10 +2530,10 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2531
2530
|
values: l,
|
|
2532
2531
|
hash: Ht(l)
|
|
2533
2532
|
})));
|
|
2534
|
-
function
|
|
2533
|
+
function o(l, p = !0) {
|
|
2535
2534
|
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
2535
|
}
|
|
2537
|
-
function
|
|
2536
|
+
function a(l) {
|
|
2538
2537
|
e("save", l), e("update:activeRow", null);
|
|
2539
2538
|
}
|
|
2540
2539
|
return (l, p) => (c(), u("div", null, [
|
|
@@ -2545,23 +2544,23 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2545
2544
|
label: "Loading data",
|
|
2546
2545
|
color: "black",
|
|
2547
2546
|
class: "widget-table-loader"
|
|
2548
|
-
})) :
|
|
2547
|
+
})) : _("", !0)
|
|
2549
2548
|
]),
|
|
2550
2549
|
_: 1
|
|
2551
2550
|
}),
|
|
2552
2551
|
d("table", {
|
|
2553
2552
|
class: I(["widget-table", { "widget-table_mini": l.mini }])
|
|
2554
2553
|
}, [
|
|
2555
|
-
C(
|
|
2554
|
+
C(mi, { config: l.config }, null, 8, ["config"]),
|
|
2556
2555
|
d("tbody", null, [
|
|
2557
2556
|
(c(!0), u(O, null, j(i.value, ({ values: f, hash: w }, V) => {
|
|
2558
2557
|
var T;
|
|
2559
2558
|
return c(), u(O, { key: V }, [
|
|
2560
|
-
C(
|
|
2559
|
+
C(bi, {
|
|
2561
2560
|
config: l.config,
|
|
2562
2561
|
values: f,
|
|
2563
2562
|
selected: (T = l.selectRows) == null ? void 0 : T.includes(f),
|
|
2564
|
-
onSelect: (S) =>
|
|
2563
|
+
onSelect: (S) => o(f, S),
|
|
2565
2564
|
class: I(l.classCallback ? l.classCallback(f) : "")
|
|
2566
2565
|
}, null, 8, ["config", "values", "selected", "onSelect", "class"]),
|
|
2567
2566
|
r.value && l.activeRow === w ? (c(), v(Vt, {
|
|
@@ -2570,9 +2569,9 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2570
2569
|
"row-length": l.config.length,
|
|
2571
2570
|
values: f,
|
|
2572
2571
|
onClose: p[0] || (p[0] = (S) => e("update:activeRow", null)),
|
|
2573
|
-
onSave:
|
|
2572
|
+
onSave: a,
|
|
2574
2573
|
onRead: p[1] || (p[1] = (S) => e("read"))
|
|
2575
|
-
}, null, 8, ["component", "row-length", "values"])) :
|
|
2574
|
+
}, null, 8, ["component", "row-length", "values"])) : _("", !0)
|
|
2576
2575
|
], 64);
|
|
2577
2576
|
}), 128)),
|
|
2578
2577
|
l.activeRow === 0 ? (c(), v(Vt, {
|
|
@@ -2580,24 +2579,24 @@ const Ci = /* @__PURE__ */ g(Si, [["__scopeId", "data-v-a01a837d"]]), Ii = /* @_
|
|
|
2580
2579
|
component: r.value,
|
|
2581
2580
|
"row-length": l.config.length,
|
|
2582
2581
|
onClose: p[2] || (p[2] = (f) => e("update:activeRow", null)),
|
|
2583
|
-
onSave:
|
|
2582
|
+
onSave: a,
|
|
2584
2583
|
onRead: p[3] || (p[3] = (f) => e("read"))
|
|
2585
|
-
}, null, 8, ["component", "row-length"])) :
|
|
2584
|
+
}, null, 8, ["component", "row-length"])) : _("", !0)
|
|
2586
2585
|
])
|
|
2587
2586
|
], 2)
|
|
2588
2587
|
]));
|
|
2589
2588
|
}
|
|
2590
2589
|
});
|
|
2591
|
-
const
|
|
2590
|
+
const bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2592
2591
|
__proto__: null,
|
|
2593
2592
|
List: Q,
|
|
2594
|
-
Table:
|
|
2593
|
+
Table: ui,
|
|
2595
2594
|
WidgetTable: Ii,
|
|
2596
|
-
useListOrder:
|
|
2597
|
-
useListProvide:
|
|
2595
|
+
useListOrder: ci,
|
|
2596
|
+
useListProvide: li,
|
|
2598
2597
|
useListRead: ai,
|
|
2599
|
-
useListState:
|
|
2600
|
-
useTableActiveRow:
|
|
2598
|
+
useListState: oi,
|
|
2599
|
+
useTableActiveRow: pi
|
|
2601
2600
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2602
2601
|
class Ai extends J {
|
|
2603
2602
|
constructor() {
|
|
@@ -2626,27 +2625,27 @@ class Ai extends J {
|
|
|
2626
2625
|
}
|
|
2627
2626
|
}
|
|
2628
2627
|
const Fe = new Ai();
|
|
2629
|
-
function $
|
|
2628
|
+
function $o(t) {
|
|
2630
2629
|
const e = G(Fe.get(t));
|
|
2631
2630
|
return Fe.on(Fe.EVENT_NEW, (n) => {
|
|
2632
2631
|
t === n.entityName && (e.value = Fe.get(t));
|
|
2633
2632
|
}), e;
|
|
2634
2633
|
}
|
|
2635
|
-
function
|
|
2634
|
+
function Eo(t, e) {
|
|
2636
2635
|
return e.dataType === "DateTime" && typeof t == "string" ? new Date(t).toLocaleString() : t;
|
|
2637
2636
|
}
|
|
2638
|
-
class
|
|
2637
|
+
class To {
|
|
2639
2638
|
/**
|
|
2640
2639
|
* @description Загрузка словаря для определённого языка.
|
|
2641
2640
|
* */
|
|
2642
2641
|
static getDictionary(e) {
|
|
2643
2642
|
if (!e)
|
|
2644
2643
|
throw new Error(`Can't get dictionary for ${e}.`);
|
|
2645
|
-
return
|
|
2644
|
+
return h(`/open-api/internationalization/language/${e}`);
|
|
2646
2645
|
}
|
|
2647
2646
|
}
|
|
2648
2647
|
let ce = {};
|
|
2649
|
-
function
|
|
2648
|
+
function Ce(t) {
|
|
2650
2649
|
if (typeof t != "string")
|
|
2651
2650
|
return console.trace(`Label is not provided for translation: ${t}`), "undefined";
|
|
2652
2651
|
const e = ue.getPropFromObject((this == null ? void 0 : this.vocabulary) || ce, t);
|
|
@@ -2655,26 +2654,26 @@ function Ie(t) {
|
|
|
2655
2654
|
const n = ue.getPropFromObject(ce == null ? void 0 : ce.root, t);
|
|
2656
2655
|
return typeof n == "string" ? n : (typeof e === void 0 && console.warn(`Translation for label "${t}" is not founded.`), t);
|
|
2657
2656
|
}
|
|
2658
|
-
|
|
2657
|
+
Ce.setGlobalVocabulary = function(t) {
|
|
2659
2658
|
ce = t;
|
|
2660
2659
|
};
|
|
2661
|
-
|
|
2662
|
-
return
|
|
2660
|
+
Ce.getScope = function(t) {
|
|
2661
|
+
return Ce.bind({
|
|
2663
2662
|
vocabulary: ue.getPropFromObject(ce, t)
|
|
2664
2663
|
});
|
|
2665
2664
|
};
|
|
2666
|
-
|
|
2667
|
-
return typeof t == "string" && (t = ue.getPropFromObject(ce, t)),
|
|
2665
|
+
Ce.setVocabulary = function(t) {
|
|
2666
|
+
return typeof t == "string" && (t = ue.getPropFromObject(ce, t)), Ce.bind({
|
|
2668
2667
|
vocabulary: t
|
|
2669
2668
|
});
|
|
2670
2669
|
};
|
|
2671
|
-
function
|
|
2670
|
+
function So(t = "default") {
|
|
2672
2671
|
if (dt.manager)
|
|
2673
2672
|
return dt.manager.socket(`/${t}`);
|
|
2674
2673
|
}
|
|
2675
2674
|
class dt {
|
|
2676
2675
|
}
|
|
2677
|
-
function
|
|
2676
|
+
function Co(t = window.location.origin + "/socket.io") {
|
|
2678
2677
|
dt.manager = new Tn(t, {
|
|
2679
2678
|
reconnectionDelayMax: 1e3,
|
|
2680
2679
|
withCredentials: !0,
|
|
@@ -2693,7 +2692,7 @@ const ki = { class: "breadcrumb__title" }, Ni = /* @__PURE__ */ b({
|
|
|
2693
2692
|
class: I(["breadcrumb flex", { breadcrumb_active: e.active }])
|
|
2694
2693
|
}, [
|
|
2695
2694
|
d("p", ki, m(e.title), 1),
|
|
2696
|
-
e.active ?
|
|
2695
|
+
e.active ? _("", !0) : (c(), v(R, {
|
|
2697
2696
|
key: 0,
|
|
2698
2697
|
class: "breadcrumb__icon",
|
|
2699
2698
|
name: "caret-right"
|
|
@@ -2717,7 +2716,7 @@ const Pi = /* @__PURE__ */ g(Ni, [["__scopeId", "data-v-1702aee0"]]), Oi = { cla
|
|
|
2717
2716
|
]));
|
|
2718
2717
|
}
|
|
2719
2718
|
});
|
|
2720
|
-
const
|
|
2719
|
+
const Io = /* @__PURE__ */ g(Ri, [["__scopeId", "data-v-1dfb2668"]]), Vi = {
|
|
2721
2720
|
props: {
|
|
2722
2721
|
config: Array,
|
|
2723
2722
|
values: Object,
|
|
@@ -2761,10 +2760,10 @@ const Li = /* @__PURE__ */ g(Vi, [["__scopeId", "data-v-47478206"]]), Wi = (t) =
|
|
|
2761
2760
|
class: I(["head-cell-order", { "head-cell-order_down": s.order.length > 1 && s.order[1] === "desc" }])
|
|
2762
2761
|
}, {
|
|
2763
2762
|
default: he(() => [
|
|
2764
|
-
|
|
2763
|
+
Ie("core-arrow-up")
|
|
2765
2764
|
]),
|
|
2766
2765
|
_: 1
|
|
2767
|
-
}, 8, ["class"])) :
|
|
2766
|
+
}, 8, ["class"])) : _("", !0),
|
|
2768
2767
|
Fi
|
|
2769
2768
|
])
|
|
2770
2769
|
]));
|
|
@@ -2815,40 +2814,40 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2815
2814
|
function N(z) {
|
|
2816
2815
|
return z.screenX + W - ee;
|
|
2817
2816
|
}
|
|
2818
|
-
const re = s.value, y = [...re.children].filter((z) => z.localName === "th"), W = ((St = re.offsetParent) == null ? void 0 : St.scrollLeft) || 0, ie = y.map((z) => z.clientWidth),
|
|
2817
|
+
const re = s.value, y = [...re.children].filter((z) => z.localName === "th"), W = ((St = re.offsetParent) == null ? void 0 : St.scrollLeft) || 0, ie = y.map((z) => z.clientWidth), _e = V(S.target), ee = re.getBoundingClientRect().left, Re = N(S), D = l(ie, Re), bt = ie.slice(0, D).reduce((z, Z) => z + Z, 0), $t = Re - bt, nt = re.offsetWidth, ge = y[D].clientWidth;
|
|
2819
2818
|
if (n.config[D].type === "multi-select")
|
|
2820
2819
|
return;
|
|
2821
|
-
console.group("START"), console.log(), console.log("Start screenX", S.screenX), console.log("Widths", ie), console.log("max width", nt), console.log("Start Position", Re), console.log("Position From", D), console.log("Start Position", D), console.log("Global offset (Отступ самой таблицы от края экрана)", ee), console.log("Del", $t), console.groupEnd(), r.value.innerText = y[D].textContent || "", r.value.style.display = "grid", r.value.style.width =
|
|
2820
|
+
console.group("START"), console.log(), console.log("Start screenX", S.screenX), console.log("Widths", ie), console.log("max width", nt), console.log("Start Position", Re), console.log("Position From", D), console.log("Start Position", D), console.log("Global offset (Отступ самой таблицы от края экрана)", ee), console.log("Del", $t), console.groupEnd(), r.value.innerText = y[D].textContent || "", r.value.style.display = "grid", r.value.style.width = ge + "px", r.value.style.cursor = "grabbing", f(bt), w(ge), document.addEventListener("pointermove", Tt, { passive: !0 }), document.addEventListener("pointerup", Et);
|
|
2822
2821
|
function Et(z) {
|
|
2823
|
-
if (console.group("END"), document.removeEventListener("pointermove", Tt), document.removeEventListener("pointerup", Et),
|
|
2822
|
+
if (console.group("END"), document.removeEventListener("pointermove", Tt), document.removeEventListener("pointerup", Et), _e && (n.config[D].width = r.value.style.width, n.config[D].minWidth = r.value.style.width, n.config[D].maxWidth = r.value.style.width, i(n.config)), !_e) {
|
|
2824
2823
|
const Z = z.screenX + W - ee;
|
|
2825
2824
|
console.log("ENP Position", Z);
|
|
2826
2825
|
const Ve = p(ie, Z);
|
|
2827
2826
|
if (console.log(D, "->", Ve), Ve !== D) {
|
|
2828
|
-
const
|
|
2829
|
-
st.splice(D, 1), st.splice(Ve, 0,
|
|
2827
|
+
const me = n.config[D], st = n.config;
|
|
2828
|
+
st.splice(D, 1), st.splice(Ve, 0, me), i(st);
|
|
2830
2829
|
} else {
|
|
2831
|
-
const
|
|
2832
|
-
|
|
2830
|
+
const me = n.config[D].name;
|
|
2831
|
+
o(me);
|
|
2833
2832
|
}
|
|
2834
2833
|
}
|
|
2835
2834
|
r.value.style.display = "none", document.body.style.cursor = "unset", console.groupEnd();
|
|
2836
2835
|
}
|
|
2837
2836
|
function Tt(z) {
|
|
2838
|
-
if (
|
|
2839
|
-
const
|
|
2840
|
-
w(
|
|
2837
|
+
if (_e) {
|
|
2838
|
+
const me = N(z) - Re + ge;
|
|
2839
|
+
w(me);
|
|
2841
2840
|
return;
|
|
2842
2841
|
}
|
|
2843
2842
|
let Z = z.screenX + W - ee - $t;
|
|
2844
|
-
Z < 0 && (Z = 0), Z +
|
|
2843
|
+
Z < 0 && (Z = 0), Z + ge > nt && (Z = nt - ge), f(Z);
|
|
2845
2844
|
}
|
|
2846
2845
|
});
|
|
2847
2846
|
});
|
|
2848
2847
|
function i(l) {
|
|
2849
2848
|
e("update:config", l);
|
|
2850
2849
|
}
|
|
2851
|
-
function
|
|
2850
|
+
function o(l) {
|
|
2852
2851
|
if (!l)
|
|
2853
2852
|
return;
|
|
2854
2853
|
if (Array.isArray(l)) {
|
|
@@ -2857,11 +2856,11 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2857
2856
|
l = l[0];
|
|
2858
2857
|
}
|
|
2859
2858
|
if (n.order.length === 0 || n.order[0] !== l)
|
|
2860
|
-
return void
|
|
2859
|
+
return void a([l]);
|
|
2861
2860
|
const p = n.order.length === 1 || n.order[1] === "asc" ? "asc" : "desc";
|
|
2862
|
-
|
|
2861
|
+
a([l, p === "asc" ? "desc" : "asc"]);
|
|
2863
2862
|
}
|
|
2864
|
-
function
|
|
2863
|
+
function a(l) {
|
|
2865
2864
|
e("update:order", l);
|
|
2866
2865
|
}
|
|
2867
2866
|
return (l, p) => (c(), u("tr", {
|
|
@@ -2870,7 +2869,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2870
2869
|
ref: s
|
|
2871
2870
|
}, [
|
|
2872
2871
|
(c(!0), u(O, null, j(l.config, (f, w) => (c(), v(ji, Bt({ key: f }, f, {
|
|
2873
|
-
onOrder: (V) =>
|
|
2872
|
+
onOrder: (V) => o(f.name),
|
|
2874
2873
|
onSelect: p[0] || (p[0] = (V) => e("select")),
|
|
2875
2874
|
order: l.order
|
|
2876
2875
|
}), null, 16, ["onOrder", "order"]))), 128)),
|
|
@@ -2882,7 +2881,7 @@ const ji = /* @__PURE__ */ g(Mi, [["__scopeId", "data-v-03c9724f"]]), xi = /* @_
|
|
|
2882
2881
|
], 512));
|
|
2883
2882
|
}
|
|
2884
2883
|
});
|
|
2885
|
-
const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-
|
|
2884
|
+
const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-11644ad4"]]), Bi = 50, qi = /* @__PURE__ */ b({
|
|
2886
2885
|
__name: "widget-list",
|
|
2887
2886
|
props: {
|
|
2888
2887
|
array: {},
|
|
@@ -2894,58 +2893,58 @@ const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-ecab6d75"]]), Bi = 50, q
|
|
|
2894
2893
|
emits: ["scrollEnd", "update:selectedRows", "update:order", "update:config"],
|
|
2895
2894
|
setup(t, { emit: e }) {
|
|
2896
2895
|
const n = t;
|
|
2897
|
-
function s(
|
|
2896
|
+
function s(a, l = !0) {
|
|
2898
2897
|
var p;
|
|
2899
2898
|
if (n.selectedRows)
|
|
2900
2899
|
if (!l)
|
|
2901
|
-
i([
|
|
2900
|
+
i([a]);
|
|
2902
2901
|
else {
|
|
2903
|
-
const f = n.selectedRows.indexOf(
|
|
2904
|
-
f === -1 ? n.selectedRows.push(
|
|
2902
|
+
const f = n.selectedRows.indexOf(a);
|
|
2903
|
+
f === -1 ? n.selectedRows.push(a) : (p = n.selectedRows) == null || p.splice(f, 1), i(n.selectedRows);
|
|
2905
2904
|
}
|
|
2906
2905
|
}
|
|
2907
2906
|
function r() {
|
|
2908
|
-
var
|
|
2909
|
-
if (((
|
|
2907
|
+
var a;
|
|
2908
|
+
if (((a = n.selectedRows) == null ? void 0 : a.length) !== n.array.length)
|
|
2910
2909
|
return i([...n.array]);
|
|
2911
2910
|
i([]);
|
|
2912
2911
|
}
|
|
2913
|
-
function i(
|
|
2914
|
-
e("update:selectedRows",
|
|
2912
|
+
function i(a) {
|
|
2913
|
+
e("update:selectedRows", a);
|
|
2915
2914
|
}
|
|
2916
|
-
function a
|
|
2917
|
-
if (!
|
|
2915
|
+
function o(a) {
|
|
2916
|
+
if (!a)
|
|
2918
2917
|
return;
|
|
2919
|
-
const l =
|
|
2918
|
+
const l = a.target;
|
|
2920
2919
|
l.scrollTop + l.clientHeight + Bi > l.scrollHeight && e("scrollEnd");
|
|
2921
2920
|
}
|
|
2922
|
-
return (
|
|
2921
|
+
return (a, l) => (c(), u("div", {
|
|
2923
2922
|
class: "es-list-container",
|
|
2924
|
-
onScrollPassive:
|
|
2923
|
+
onScrollPassive: o
|
|
2925
2924
|
}, [
|
|
2926
2925
|
d("table", {
|
|
2927
|
-
class: I(["widget-list", { "widget-list_load":
|
|
2926
|
+
class: I(["widget-list", { "widget-list_load": a.wait }])
|
|
2928
2927
|
}, [
|
|
2929
2928
|
d("thead", null, [
|
|
2930
2929
|
C(Ui, {
|
|
2931
2930
|
onSelect: l[0] || (l[0] = (p) => r()),
|
|
2932
2931
|
"onUpdate:order": l[1] || (l[1] = (p) => e("update:order", p)),
|
|
2933
2932
|
"onUpdate:config": l[2] || (l[2] = (p) => e("update:config", p)),
|
|
2934
|
-
config:
|
|
2935
|
-
order:
|
|
2933
|
+
config: a.config,
|
|
2934
|
+
order: a.order
|
|
2936
2935
|
}, null, 8, ["config", "order"])
|
|
2937
2936
|
]),
|
|
2938
2937
|
d("tbody", {
|
|
2939
|
-
class: I(["widget-list-body", { "widget-list-body_inactive":
|
|
2938
|
+
class: I(["widget-list-body", { "widget-list-body_inactive": a.wait }])
|
|
2940
2939
|
}, [
|
|
2941
|
-
(c(!0), u(O, null, j(
|
|
2940
|
+
(c(!0), u(O, null, j(a.array, (p, f) => {
|
|
2942
2941
|
var w;
|
|
2943
2942
|
return c(), v(Li, {
|
|
2944
2943
|
key: f,
|
|
2945
2944
|
class: "widget-list-row",
|
|
2946
2945
|
values: p,
|
|
2947
|
-
config:
|
|
2948
|
-
selected: (w =
|
|
2946
|
+
config: a.config,
|
|
2947
|
+
selected: (w = a.selectedRows) == null ? void 0 : w.includes(p),
|
|
2949
2948
|
onSelect: (V) => s(p, V)
|
|
2950
2949
|
}, null, 8, ["values", "config", "selected", "onSelect"]);
|
|
2951
2950
|
}), 128))
|
|
@@ -2954,7 +2953,7 @@ const Ui = /* @__PURE__ */ g(xi, [["__scopeId", "data-v-ecab6d75"]]), Bi = 50, q
|
|
|
2954
2953
|
], 32));
|
|
2955
2954
|
}
|
|
2956
2955
|
});
|
|
2957
|
-
const
|
|
2956
|
+
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
2957
|
__name: "widget-section",
|
|
2959
2958
|
props: {
|
|
2960
2959
|
title: {}
|
|
@@ -2970,7 +2969,7 @@ const Aa = /* @__PURE__ */ g(qi, [["__scopeId", "data-v-eb609a21"]]), Gi = { cla
|
|
|
2970
2969
|
]));
|
|
2971
2970
|
}
|
|
2972
2971
|
});
|
|
2973
|
-
const
|
|
2972
|
+
const ko = /* @__PURE__ */ g(Ki, [["__scopeId", "data-v-07232553"]]);
|
|
2974
2973
|
const Yi = {
|
|
2975
2974
|
props: {
|
|
2976
2975
|
config: Array
|
|
@@ -2979,43 +2978,43 @@ const Yi = {
|
|
|
2979
2978
|
}, Xi = { class: "widget-table__head" }, Zi = { class: "widget-table__head-title" };
|
|
2980
2979
|
function Qi(t, e, n, s, r, i) {
|
|
2981
2980
|
return c(), u("tr", Xi, [
|
|
2982
|
-
(c(!0), u(O, null, j(n.config, (
|
|
2981
|
+
(c(!0), u(O, null, j(n.config, (o, a) => (c(), u("th", {
|
|
2983
2982
|
class: "widget-table__head-cell",
|
|
2984
|
-
key:
|
|
2983
|
+
key: a
|
|
2985
2984
|
}, [
|
|
2986
|
-
d("p", Zi, m(
|
|
2985
|
+
d("p", Zi, m(o.title), 1)
|
|
2987
2986
|
]))), 128))
|
|
2988
2987
|
]);
|
|
2989
2988
|
}
|
|
2990
|
-
const
|
|
2991
|
-
function
|
|
2992
|
-
const s = t.map((r) =>
|
|
2989
|
+
const ea = /* @__PURE__ */ g(Yi, [["render", Qi], ["__scopeId", "data-v-cae93640"]]);
|
|
2990
|
+
function ta(t, e, n) {
|
|
2991
|
+
const s = t.map((r) => na(r, e, n));
|
|
2993
2992
|
return k("tr", { class: "widget-table__row widget-table-row" }, s);
|
|
2994
2993
|
}
|
|
2995
|
-
function
|
|
2994
|
+
function na(t, e, n) {
|
|
2996
2995
|
const { name: s, value: r } = Q.getCellInfo(t, e), i = {
|
|
2997
2996
|
onClick: [],
|
|
2998
2997
|
class: ["widget-table__cell widget-table-cell"]
|
|
2999
2998
|
};
|
|
3000
|
-
function
|
|
2999
|
+
function o(f) {
|
|
3001
3000
|
i.onClick.push(() => f(r, e));
|
|
3002
3001
|
}
|
|
3003
|
-
function
|
|
3002
|
+
function a(f) {
|
|
3004
3003
|
Array.isArray(f) ? i.class.push(...f) : i.class.push(f);
|
|
3005
3004
|
}
|
|
3006
3005
|
const l = [], p = [];
|
|
3007
3006
|
if (t.type)
|
|
3008
|
-
switch (
|
|
3007
|
+
switch (a(`widget-table-cell_${t.type}`), t.type) {
|
|
3009
3008
|
case "edit": {
|
|
3010
|
-
t.icon = "edit",
|
|
3009
|
+
t.icon = "edit", o(n.activate);
|
|
3011
3010
|
break;
|
|
3012
3011
|
}
|
|
3013
3012
|
case "remove": {
|
|
3014
|
-
|
|
3013
|
+
o(n.removeRow), t.icon = "remove";
|
|
3015
3014
|
break;
|
|
3016
3015
|
}
|
|
3017
3016
|
case "select-multi": {
|
|
3018
|
-
|
|
3017
|
+
o(n.select.bind(n, !0)), a("widget-table-cell_use"), a("widget-table-cell_select"), p.push(k("div", { class: {
|
|
3019
3018
|
"table-cell-toggle": !0,
|
|
3020
3019
|
// @ts-ignore
|
|
3021
3020
|
"table-cell-toggle_active": n.selected.value
|
|
@@ -3023,7 +3022,7 @@ function no(t, e, n) {
|
|
|
3023
3022
|
break;
|
|
3024
3023
|
}
|
|
3025
3024
|
case "select": {
|
|
3026
|
-
|
|
3025
|
+
o(n.select.bind(n, !1)), a("widget-table-cell_use"), a("widget-table-cell_select"), p.push(k("div", { class: {
|
|
3027
3026
|
"table-cell-toggle": !0,
|
|
3028
3027
|
// @ts-ignore
|
|
3029
3028
|
"table-cell-toggle_active": n.selected.value
|
|
@@ -3031,14 +3030,14 @@ function no(t, e, n) {
|
|
|
3031
3030
|
break;
|
|
3032
3031
|
}
|
|
3033
3032
|
}
|
|
3034
|
-
return t.onClick &&
|
|
3033
|
+
return t.onClick && o(t.onClick), t.link && (p.push(k(Jt, {
|
|
3035
3034
|
to: t.link(r, e)
|
|
3036
|
-
})),
|
|
3035
|
+
})), a("list-cell-link")), t.href && (p.push(k("a", {
|
|
3037
3036
|
href: t.href(r, e),
|
|
3038
3037
|
target: "_blank"
|
|
3039
|
-
})),
|
|
3038
|
+
})), 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
3039
|
}
|
|
3041
|
-
const
|
|
3040
|
+
const sa = {
|
|
3042
3041
|
props: {
|
|
3043
3042
|
values: Object,
|
|
3044
3043
|
config: Object,
|
|
@@ -3061,9 +3060,9 @@ const so = {
|
|
|
3061
3060
|
n("select", r);
|
|
3062
3061
|
}
|
|
3063
3062
|
};
|
|
3064
|
-
return () =>
|
|
3063
|
+
return () => ta(t.config, t.values, s);
|
|
3065
3064
|
}
|
|
3066
|
-
},
|
|
3065
|
+
}, ra = { class: "widget-table-form" }, ia = ["colspan"], Lt = /* @__PURE__ */ b({
|
|
3067
3066
|
__name: "widget-table-form",
|
|
3068
3067
|
props: {
|
|
3069
3068
|
rowLength: {},
|
|
@@ -3073,28 +3072,28 @@ const so = {
|
|
|
3073
3072
|
},
|
|
3074
3073
|
setup(t) {
|
|
3075
3074
|
const e = t, n = L(() => {
|
|
3076
|
-
var
|
|
3077
|
-
return !((
|
|
3075
|
+
var o;
|
|
3076
|
+
return !((o = e.values) != null && o[F]);
|
|
3078
3077
|
}), s = ft(tt.PROVIDE_NAME);
|
|
3079
|
-
function r(
|
|
3080
|
-
s && (n.value ? s.create(
|
|
3078
|
+
function r(o) {
|
|
3079
|
+
s && (n.value ? s.create(o) : s.edit(e.values[F], o));
|
|
3081
3080
|
}
|
|
3082
3081
|
function i() {
|
|
3083
3082
|
e.controller.deactivate();
|
|
3084
3083
|
}
|
|
3085
|
-
return (
|
|
3086
|
-
d("td", { colspan:
|
|
3087
|
-
(c(), v(Ut(
|
|
3088
|
-
values:
|
|
3089
|
-
"table-controller":
|
|
3084
|
+
return (o, a) => (c(), u("tr", ra, [
|
|
3085
|
+
d("td", { colspan: o.rowLength }, [
|
|
3086
|
+
(c(), v(Ut(o.component), {
|
|
3087
|
+
values: o.values,
|
|
3088
|
+
"table-controller": o.controller,
|
|
3090
3089
|
onSave: r,
|
|
3091
3090
|
onClose: i,
|
|
3092
3091
|
new: n.value
|
|
3093
3092
|
}, null, 40, ["values", "table-controller", "new"]))
|
|
3094
|
-
], 8,
|
|
3093
|
+
], 8, ia)
|
|
3095
3094
|
]));
|
|
3096
3095
|
}
|
|
3097
|
-
}),
|
|
3096
|
+
}), No = /* @__PURE__ */ b({
|
|
3098
3097
|
__name: "widget-table",
|
|
3099
3098
|
props: {
|
|
3100
3099
|
array: {},
|
|
@@ -3108,50 +3107,50 @@ const so = {
|
|
|
3108
3107
|
const n = t;
|
|
3109
3108
|
ft(tt.PROVIDE_NAME);
|
|
3110
3109
|
const s = qt(), r = L(() => {
|
|
3111
|
-
var
|
|
3112
|
-
return (
|
|
3110
|
+
var a;
|
|
3111
|
+
return (a = s == null ? void 0 : s.default) == null ? void 0 : a.call(s)[0];
|
|
3113
3112
|
});
|
|
3114
|
-
function i(
|
|
3115
|
-
return n.selectRows ? l ? n.selectRows.indexOf(
|
|
3113
|
+
function i(a, l = !0) {
|
|
3114
|
+
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
3115
|
}
|
|
3117
|
-
const
|
|
3118
|
-
return (
|
|
3119
|
-
class: I(["widget-table", { "widget-table_mini":
|
|
3116
|
+
const o = ii((a) => e("update:activeRow", a));
|
|
3117
|
+
return (a, l) => (c(), u("table", {
|
|
3118
|
+
class: I(["widget-table", { "widget-table_mini": a.mini }])
|
|
3120
3119
|
}, [
|
|
3121
|
-
C(
|
|
3120
|
+
C(ea, { config: a.config }, null, 8, ["config"]),
|
|
3122
3121
|
d("tbody", null, [
|
|
3123
|
-
(c(!0), u(O, null, j(
|
|
3122
|
+
(c(!0), u(O, null, j(a.array, (p, f) => {
|
|
3124
3123
|
var w;
|
|
3125
3124
|
return c(), u(O, { key: f }, [
|
|
3126
|
-
C(
|
|
3127
|
-
config:
|
|
3125
|
+
C(sa, {
|
|
3126
|
+
config: a.config,
|
|
3128
3127
|
values: p,
|
|
3129
|
-
selected: (w =
|
|
3128
|
+
selected: (w = a.selectRows) == null ? void 0 : w.includes(p[P(F)]),
|
|
3130
3129
|
onSet: l[0] || (l[0] = (V) => e("update:activeRow", V)),
|
|
3131
3130
|
onSelect: (V) => i(p[P(F)], V)
|
|
3132
3131
|
}, null, 8, ["config", "values", "selected", "onSelect"]),
|
|
3133
|
-
|
|
3132
|
+
a.activeRow === p[P(F)] ? (c(), v(Lt, {
|
|
3134
3133
|
key: 0,
|
|
3135
3134
|
component: r.value,
|
|
3136
|
-
controller: P(
|
|
3137
|
-
"row-length":
|
|
3135
|
+
controller: P(o)(p[P(F)]),
|
|
3136
|
+
"row-length": a.config.length,
|
|
3138
3137
|
values: p
|
|
3139
|
-
}, null, 8, ["component", "controller", "row-length", "values"])) :
|
|
3138
|
+
}, null, 8, ["component", "controller", "row-length", "values"])) : _("", !0)
|
|
3140
3139
|
], 64);
|
|
3141
3140
|
}), 128)),
|
|
3142
|
-
|
|
3141
|
+
a.activeRow === 0 ? (c(), v(Lt, {
|
|
3143
3142
|
key: 0,
|
|
3144
3143
|
component: r.value,
|
|
3145
|
-
controller: P(
|
|
3146
|
-
"row-length":
|
|
3147
|
-
}, null, 8, ["component", "controller", "row-length"])) :
|
|
3144
|
+
controller: P(o)(0),
|
|
3145
|
+
"row-length": a.config.length
|
|
3146
|
+
}, null, 8, ["component", "controller", "row-length"])) : _("", !0)
|
|
3148
3147
|
])
|
|
3149
3148
|
], 2));
|
|
3150
3149
|
}
|
|
3151
|
-
}),
|
|
3150
|
+
}), 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
3151
|
key: 0,
|
|
3153
3152
|
class: "form-container-label"
|
|
3154
|
-
},
|
|
3153
|
+
}, da = { class: "form-label__title text_size_sm" }, pa = /* @__PURE__ */ b({
|
|
3155
3154
|
__name: "WidgetFormInfo",
|
|
3156
3155
|
props: {
|
|
3157
3156
|
title: {},
|
|
@@ -3159,12 +3158,12 @@ const so = {
|
|
|
3159
3158
|
label: {}
|
|
3160
3159
|
},
|
|
3161
3160
|
setup(t) {
|
|
3162
|
-
return (e, n) => (c(), u("div",
|
|
3163
|
-
d("div",
|
|
3164
|
-
d("p",
|
|
3165
|
-
d("p",
|
|
3161
|
+
return (e, n) => (c(), u("div", aa, [
|
|
3162
|
+
d("div", oa, [
|
|
3163
|
+
d("p", la, m(e.title), 1),
|
|
3164
|
+
d("p", ca, m(e.info), 1)
|
|
3166
3165
|
]),
|
|
3167
|
-
e.label ? (c(), u("div",
|
|
3166
|
+
e.label ? (c(), u("div", ua, [
|
|
3168
3167
|
d("div", {
|
|
3169
3168
|
class: I(["form-label", `form-label_${e.label.type}`])
|
|
3170
3169
|
}, [
|
|
@@ -3172,14 +3171,14 @@ const so = {
|
|
|
3172
3171
|
key: 0,
|
|
3173
3172
|
class: "form-label__icon",
|
|
3174
3173
|
name: e.label.icon
|
|
3175
|
-
}, null, 8, ["name"])) :
|
|
3176
|
-
d("p",
|
|
3174
|
+
}, null, 8, ["name"])) : _("", !0),
|
|
3175
|
+
d("p", da, m(e.label.title), 1)
|
|
3177
3176
|
], 2)
|
|
3178
|
-
])) :
|
|
3177
|
+
])) : _("", !0)
|
|
3179
3178
|
]));
|
|
3180
3179
|
}
|
|
3181
3180
|
});
|
|
3182
|
-
const
|
|
3181
|
+
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
3182
|
__name: "WidgetForm",
|
|
3184
3183
|
props: {
|
|
3185
3184
|
title: {},
|
|
@@ -3191,22 +3190,22 @@ const ho = /* @__PURE__ */ g(fo, [["__scopeId", "data-v-6ea1062c"]]), _o = { cla
|
|
|
3191
3190
|
wait: { type: Boolean }
|
|
3192
3191
|
},
|
|
3193
3192
|
setup(t) {
|
|
3194
|
-
return (e, n) => (c(), u("div",
|
|
3195
|
-
d("div",
|
|
3196
|
-
d("div",
|
|
3197
|
-
d("div",
|
|
3198
|
-
e.wait ? (c(), v(
|
|
3193
|
+
return (e, n) => (c(), u("div", ha, [
|
|
3194
|
+
d("div", _a, [
|
|
3195
|
+
d("div", ga, [
|
|
3196
|
+
d("div", ma, [
|
|
3197
|
+
e.wait ? (c(), v(ke, {
|
|
3199
3198
|
key: 0,
|
|
3200
3199
|
color: "#3949AB"
|
|
3201
|
-
})) : (c(), u("div",
|
|
3200
|
+
})) : (c(), u("div", ya, [
|
|
3202
3201
|
e.icon ? (c(), v(R, {
|
|
3203
3202
|
key: 0,
|
|
3204
3203
|
class: "form-image",
|
|
3205
3204
|
name: e.icon
|
|
3206
|
-
}, null, 8, ["name"])) :
|
|
3205
|
+
}, null, 8, ["name"])) : _("", !0)
|
|
3207
3206
|
]))
|
|
3208
3207
|
]),
|
|
3209
|
-
C(
|
|
3208
|
+
C(fa, {
|
|
3210
3209
|
title: e.title,
|
|
3211
3210
|
info: e.info,
|
|
3212
3211
|
label: e.label
|
|
@@ -3215,16 +3214,16 @@ const ho = /* @__PURE__ */ g(fo, [["__scopeId", "data-v-6ea1062c"]]), _o = { cla
|
|
|
3215
3214
|
key: 0,
|
|
3216
3215
|
class: "widget-form__button",
|
|
3217
3216
|
array: e.button
|
|
3218
|
-
}, null, 8, ["array"])) :
|
|
3217
|
+
}, null, 8, ["array"])) : _("", !0)
|
|
3219
3218
|
]),
|
|
3220
|
-
d("div",
|
|
3219
|
+
d("div", va, [
|
|
3221
3220
|
B(e.$slots, "default", {}, void 0, !0)
|
|
3222
3221
|
])
|
|
3223
3222
|
])
|
|
3224
3223
|
]));
|
|
3225
3224
|
}
|
|
3226
3225
|
});
|
|
3227
|
-
const
|
|
3226
|
+
const Po = /* @__PURE__ */ g(wa, [["__scopeId", "data-v-f076ad65"]]), 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
3227
|
__name: "modal-validation-item",
|
|
3229
3228
|
props: {
|
|
3230
3229
|
message: {},
|
|
@@ -3237,42 +3236,42 @@ const Pa = /* @__PURE__ */ g(bo, [["__scopeId", "data-v-3d88d93f"]]), $o = { cla
|
|
|
3237
3236
|
return (e, n) => (c(), u("div", {
|
|
3238
3237
|
class: I(["validation-item", `validation-item_${e.statusName.toLowerCase()}`])
|
|
3239
3238
|
}, [
|
|
3240
|
-
d("div",
|
|
3241
|
-
d("p",
|
|
3239
|
+
d("div", ba, [
|
|
3240
|
+
d("p", $a, m(e.statusName), 1)
|
|
3242
3241
|
]),
|
|
3243
|
-
d("div",
|
|
3244
|
-
d("p",
|
|
3245
|
-
d("p",
|
|
3242
|
+
d("div", Ea, [
|
|
3243
|
+
d("p", Ta, m(e.title), 1),
|
|
3244
|
+
d("p", Sa, m(e.message), 1)
|
|
3246
3245
|
])
|
|
3247
3246
|
], 2));
|
|
3248
3247
|
}
|
|
3249
3248
|
});
|
|
3250
|
-
const
|
|
3249
|
+
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
3250
|
__name: "modal-wrap",
|
|
3252
3251
|
props: {
|
|
3253
3252
|
title: {}
|
|
3254
3253
|
},
|
|
3255
3254
|
setup(t) {
|
|
3256
|
-
return (e, n) => (c(), u("div",
|
|
3257
|
-
d("div",
|
|
3258
|
-
d("p",
|
|
3255
|
+
return (e, n) => (c(), u("div", Aa, [
|
|
3256
|
+
d("div", ka, [
|
|
3257
|
+
d("p", Na, m(e.title), 1)
|
|
3259
3258
|
]),
|
|
3260
|
-
d("div",
|
|
3259
|
+
d("div", Pa, [
|
|
3261
3260
|
B(e.$slots, "default", {}, void 0, !0)
|
|
3262
3261
|
])
|
|
3263
3262
|
]));
|
|
3264
3263
|
}
|
|
3265
3264
|
});
|
|
3266
|
-
const
|
|
3265
|
+
const Ra = /* @__PURE__ */ g(Oa, [["__scopeId", "data-v-119165b9"]]), Va = { class: "modal-validation-body" }, La = /* @__PURE__ */ b({
|
|
3267
3266
|
__name: "modal-validation",
|
|
3268
3267
|
props: {
|
|
3269
3268
|
array: {}
|
|
3270
3269
|
},
|
|
3271
3270
|
setup(t) {
|
|
3272
|
-
return (e, n) => (c(), v(
|
|
3271
|
+
return (e, n) => (c(), v(Ra, { title: "Validation results" }, {
|
|
3273
3272
|
default: he(() => [
|
|
3274
|
-
d("div",
|
|
3275
|
-
(c(!0), u(O, null, j(e.array, (s, r) => (c(), v(
|
|
3273
|
+
d("div", Va, [
|
|
3274
|
+
(c(!0), u(O, null, j(e.array, (s, r) => (c(), v(Ia, {
|
|
3276
3275
|
key: r,
|
|
3277
3276
|
message: s.message,
|
|
3278
3277
|
name: s.name,
|
|
@@ -3286,7 +3285,7 @@ const Vo = /* @__PURE__ */ g(Ro, [["__scopeId", "data-v-119165b9"]]), Lo = { cla
|
|
|
3286
3285
|
}));
|
|
3287
3286
|
}
|
|
3288
3287
|
});
|
|
3289
|
-
const
|
|
3288
|
+
const Oo = /* @__PURE__ */ g(La, [["__scopeId", "data-v-a39cfe2f"]]), Wa = ["alt", "src"], Ro = /* @__PURE__ */ b({
|
|
3290
3289
|
__name: "widget-image",
|
|
3291
3290
|
props: {
|
|
3292
3291
|
src: {},
|
|
@@ -3304,9 +3303,9 @@ const Oa = /* @__PURE__ */ g(Wo, [["__scopeId", "data-v-a39cfe2f"]]), Do = ["alt
|
|
|
3304
3303
|
ref_key: "refImage",
|
|
3305
3304
|
ref: n,
|
|
3306
3305
|
src: s.src || s.$props.default
|
|
3307
|
-
}, null, 8,
|
|
3306
|
+
}, null, 8, Wa));
|
|
3308
3307
|
}
|
|
3309
|
-
}),
|
|
3308
|
+
}), Da = /* @__PURE__ */ b({
|
|
3310
3309
|
__name: "widget-input-check",
|
|
3311
3310
|
props: {
|
|
3312
3311
|
modelValue: { type: Boolean }
|
|
@@ -3324,14 +3323,14 @@ const Oa = /* @__PURE__ */ g(Wo, [["__scopeId", "data-v-a39cfe2f"]]), Do = ["alt
|
|
|
3324
3323
|
r.modelValue ? (c(), v(R, {
|
|
3325
3324
|
key: 0,
|
|
3326
3325
|
name: "check"
|
|
3327
|
-
})) :
|
|
3326
|
+
})) : _("", !0)
|
|
3328
3327
|
], 2));
|
|
3329
3328
|
}
|
|
3330
3329
|
});
|
|
3331
|
-
const
|
|
3330
|
+
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
3331
|
key: 0,
|
|
3333
3332
|
class: "widget-card-title"
|
|
3334
|
-
},
|
|
3333
|
+
}, qa = /* @__PURE__ */ b({
|
|
3335
3334
|
__name: "widget-card",
|
|
3336
3335
|
props: {
|
|
3337
3336
|
title: {}
|
|
@@ -3343,14 +3342,14 @@ const Mo = /* @__PURE__ */ g(Fo, [["__scopeId", "data-v-f4a3dc6c"]]), jo = { cla
|
|
|
3343
3342
|
});
|
|
3344
3343
|
return e({
|
|
3345
3344
|
state: n
|
|
3346
|
-
}), (s, r) => (c(), u("div",
|
|
3347
|
-
d("div",
|
|
3348
|
-
C(
|
|
3345
|
+
}), (s, r) => (c(), u("div", Ma, [
|
|
3346
|
+
d("div", ja, [
|
|
3347
|
+
C(Fa, {
|
|
3349
3348
|
modelValue: n.selected,
|
|
3350
3349
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => n.selected = i)
|
|
3351
3350
|
}, null, 8, ["modelValue"])
|
|
3352
3351
|
]),
|
|
3353
|
-
d("div",
|
|
3352
|
+
d("div", xa, [
|
|
3354
3353
|
d("div", {
|
|
3355
3354
|
class: "widget-card-arrow",
|
|
3356
3355
|
onClick: r[1] || (r[1] = (i) => n.hidden = !n.hidden)
|
|
@@ -3360,16 +3359,16 @@ const Mo = /* @__PURE__ */ g(Fo, [["__scopeId", "data-v-f4a3dc6c"]]), jo = { cla
|
|
|
3360
3359
|
class: I(["card-icon-arrow", { "card-icon-arrow_active": !n.hidden }])
|
|
3361
3360
|
}, null, 8, ["class"])
|
|
3362
3361
|
]),
|
|
3363
|
-
d("div",
|
|
3364
|
-
s.title ? (c(), u("p",
|
|
3362
|
+
d("div", Ua, [
|
|
3363
|
+
s.title ? (c(), u("p", Ba, m(s.title), 1)) : _("", !0),
|
|
3365
3364
|
B(s.$slots, "main", {}, void 0, !0),
|
|
3366
|
-
n.hidden ?
|
|
3365
|
+
n.hidden ? _("", !0) : B(s.$slots, "sub", { key: 1 }, void 0, !0)
|
|
3367
3366
|
])
|
|
3368
3367
|
])
|
|
3369
3368
|
]));
|
|
3370
3369
|
}
|
|
3371
3370
|
});
|
|
3372
|
-
const
|
|
3371
|
+
const Vo = /* @__PURE__ */ g(qa, [["__scopeId", "data-v-bca33c5b"]]);
|
|
3373
3372
|
class x {
|
|
3374
3373
|
static parseError(e) {
|
|
3375
3374
|
let n = e.errors ? Object.values(e.errors).map((s) => s[0]) : null;
|
|
@@ -3379,7 +3378,7 @@ class x {
|
|
|
3379
3378
|
* @deprecated
|
|
3380
3379
|
* */
|
|
3381
3380
|
static login(e) {
|
|
3382
|
-
return
|
|
3381
|
+
return h(se.identityServerURL + "/api/Authenticate/Login", {
|
|
3383
3382
|
method: "POST",
|
|
3384
3383
|
headers: {
|
|
3385
3384
|
"Content-Type": "application/json"
|
|
@@ -3395,7 +3394,7 @@ class x {
|
|
|
3395
3394
|
* @deprecated
|
|
3396
3395
|
* */
|
|
3397
3396
|
static registration(e) {
|
|
3398
|
-
return e.AppName = se.applicationName,
|
|
3397
|
+
return e.AppName = se.applicationName, h(se.identityServerURL + "/api/Authenticate/Registration", {
|
|
3399
3398
|
method: "POST",
|
|
3400
3399
|
headers: {
|
|
3401
3400
|
"Content-Type": "application/json"
|
|
@@ -3426,7 +3425,7 @@ class x {
|
|
|
3426
3425
|
* steps.
|
|
3427
3426
|
* */
|
|
3428
3427
|
static requestStepRegistrationProcess(e, n) {
|
|
3429
|
-
return
|
|
3428
|
+
return h(`${se.identityServerURL}/api/Authenticate/${e}`, {
|
|
3430
3429
|
method: "POST",
|
|
3431
3430
|
headers: {
|
|
3432
3431
|
"Content-Type": "application/json"
|
|
@@ -3449,7 +3448,7 @@ class x {
|
|
|
3449
3448
|
* @return {ILoginAnswer} answer
|
|
3450
3449
|
* */
|
|
3451
3450
|
static requestStepLoginProcess(e, n) {
|
|
3452
|
-
return
|
|
3451
|
+
return h(`${se.identityServerURL}/api/Authenticate/${e}`, {
|
|
3453
3452
|
method: "POST",
|
|
3454
3453
|
headers: {
|
|
3455
3454
|
"Content-Type": "application/json"
|
|
@@ -3464,9 +3463,9 @@ class x {
|
|
|
3464
3463
|
return e;
|
|
3465
3464
|
}
|
|
3466
3465
|
}
|
|
3467
|
-
const fn = class
|
|
3466
|
+
const fn = class Ee {
|
|
3468
3467
|
static async create(e) {
|
|
3469
|
-
return
|
|
3468
|
+
return h(Ee.url, {
|
|
3470
3469
|
method: "post",
|
|
3471
3470
|
body: JSON.stringify(e),
|
|
3472
3471
|
headers: {
|
|
@@ -3483,7 +3482,7 @@ const fn = class Te {
|
|
|
3483
3482
|
entityName: e.entity.name,
|
|
3484
3483
|
entityCatalogId: e.entity.catalogId
|
|
3485
3484
|
});
|
|
3486
|
-
return
|
|
3485
|
+
return h(Ee.url + "?" + n.toString(), {
|
|
3487
3486
|
method: "get"
|
|
3488
3487
|
});
|
|
3489
3488
|
}
|
|
@@ -3491,12 +3490,12 @@ const fn = class Te {
|
|
|
3491
3490
|
* @description Получение списка сообщений по Talk Id.
|
|
3492
3491
|
*/
|
|
3493
3492
|
static async readMessages(e) {
|
|
3494
|
-
return
|
|
3493
|
+
return h(`${Ee.url}/${e}/messages`, {
|
|
3495
3494
|
method: "get"
|
|
3496
3495
|
});
|
|
3497
3496
|
}
|
|
3498
3497
|
static async createMessage(e) {
|
|
3499
|
-
return
|
|
3498
|
+
return h(`${Ee.url}/${e.talkId}/messages`, {
|
|
3500
3499
|
method: "post",
|
|
3501
3500
|
body: JSON.stringify({
|
|
3502
3501
|
text: e.text
|
|
@@ -3509,9 +3508,9 @@ const fn = class Te {
|
|
|
3509
3508
|
};
|
|
3510
3509
|
fn.url = "/close-api/communications";
|
|
3511
3510
|
let Ge = fn;
|
|
3512
|
-
class
|
|
3511
|
+
class Lo {
|
|
3513
3512
|
static async getDefaultView(e) {
|
|
3514
|
-
return
|
|
3513
|
+
return h("/close-api/views/" + e, {
|
|
3515
3514
|
method: "GET",
|
|
3516
3515
|
headers: {
|
|
3517
3516
|
"Content-Type": "application/json"
|
|
@@ -3527,7 +3526,7 @@ function Wt(t) {
|
|
|
3527
3526
|
}
|
|
3528
3527
|
const hn = class ze {
|
|
3529
3528
|
static async getStartConfig(e, n) {
|
|
3530
|
-
return
|
|
3529
|
+
return h([ze.url, e, n].join("/"), {
|
|
3531
3530
|
method: "GET",
|
|
3532
3531
|
headers: {
|
|
3533
3532
|
"Content-Type": "application/json"
|
|
@@ -3535,7 +3534,7 @@ const hn = class ze {
|
|
|
3535
3534
|
});
|
|
3536
3535
|
}
|
|
3537
3536
|
static async startProcess(e, n) {
|
|
3538
|
-
return
|
|
3537
|
+
return h([ze.url, e, n].join("/"), {
|
|
3539
3538
|
method: "POST",
|
|
3540
3539
|
headers: {
|
|
3541
3540
|
"Content-Type": "application/json"
|
|
@@ -3543,7 +3542,7 @@ const hn = class ze {
|
|
|
3543
3542
|
}).then(Wt);
|
|
3544
3543
|
}
|
|
3545
3544
|
static async runStep(e, n, s, r, i) {
|
|
3546
|
-
return
|
|
3545
|
+
return h([ze.url, e, n].join("/"), {
|
|
3547
3546
|
method: "PUT",
|
|
3548
3547
|
headers: {
|
|
3549
3548
|
"Content-Type": "application/json"
|
|
@@ -3571,15 +3570,18 @@ class _n {
|
|
|
3571
3570
|
}
|
|
3572
3571
|
static getById(e, n, s = []) {
|
|
3573
3572
|
const r = new URLSearchParams();
|
|
3574
|
-
return Je(r, s), n && r.append("id", n),
|
|
3573
|
+
return Je(r, s), n && r.append("id", n), h([this.url, e].join("/") + `?${r.toString()}`);
|
|
3575
3574
|
}
|
|
3576
3575
|
static getFieldInformation(e, n) {
|
|
3577
|
-
return
|
|
3576
|
+
return h(`/open-api/metadata/${e}/fields/${n}`);
|
|
3577
|
+
}
|
|
3578
|
+
static getTreatmentListField(e, n) {
|
|
3579
|
+
return h(`/open-api/metadata/${e}/list-fields/${n}`);
|
|
3578
3580
|
}
|
|
3579
3581
|
}
|
|
3580
|
-
class
|
|
3582
|
+
class Wo {
|
|
3581
3583
|
static invite(e, n, s) {
|
|
3582
|
-
return
|
|
3584
|
+
return h("/close-api/accounts/invitePerson", {
|
|
3583
3585
|
method: "POST",
|
|
3584
3586
|
headers: {
|
|
3585
3587
|
"Content-Type": "application/json"
|
|
@@ -3592,7 +3594,7 @@ class Wa {
|
|
|
3592
3594
|
});
|
|
3593
3595
|
}
|
|
3594
3596
|
static accept(e, n) {
|
|
3595
|
-
return
|
|
3597
|
+
return h("/close-api/accounts/markInvite", {
|
|
3596
3598
|
method: "POST",
|
|
3597
3599
|
headers: {
|
|
3598
3600
|
"Content-Type": "application/json"
|
|
@@ -3605,7 +3607,7 @@ class Wa {
|
|
|
3605
3607
|
});
|
|
3606
3608
|
}
|
|
3607
3609
|
static decline(e, n) {
|
|
3608
|
-
return
|
|
3610
|
+
return h("/close-api/accounts/markInvite", {
|
|
3609
3611
|
method: "POST",
|
|
3610
3612
|
headers: {
|
|
3611
3613
|
"Content-Type": "application/json"
|
|
@@ -3623,15 +3625,15 @@ class gn {
|
|
|
3623
3625
|
return "/close-api/rules-validation/";
|
|
3624
3626
|
}
|
|
3625
3627
|
static validate(e, n) {
|
|
3626
|
-
return
|
|
3628
|
+
return h(gn.url + e, {
|
|
3627
3629
|
method: "POST",
|
|
3628
3630
|
body: JSON.stringify(n)
|
|
3629
3631
|
});
|
|
3630
3632
|
}
|
|
3631
3633
|
}
|
|
3632
|
-
class
|
|
3634
|
+
class Do {
|
|
3633
3635
|
static getConfiguration() {
|
|
3634
|
-
return
|
|
3636
|
+
return h("/open-api/webserver-configuration", {
|
|
3635
3637
|
method: "GET",
|
|
3636
3638
|
headers: {
|
|
3637
3639
|
"Content-Type": "application/json"
|
|
@@ -3639,7 +3641,7 @@ class Da {
|
|
|
3639
3641
|
});
|
|
3640
3642
|
}
|
|
3641
3643
|
}
|
|
3642
|
-
class
|
|
3644
|
+
class Ga {
|
|
3643
3645
|
static url() {
|
|
3644
3646
|
return "/close-api/actions";
|
|
3645
3647
|
}
|
|
@@ -3651,7 +3653,7 @@ class zo {
|
|
|
3651
3653
|
}
|
|
3652
3654
|
static getById(e, n, s = []) {
|
|
3653
3655
|
const r = new URLSearchParams();
|
|
3654
|
-
return Je(r, s),
|
|
3656
|
+
return Je(r, s), h([this.url(), e, n].join("/") + `?${r.toString()}`, {
|
|
3655
3657
|
method: "GET"
|
|
3656
3658
|
});
|
|
3657
3659
|
}
|
|
@@ -3693,8 +3695,8 @@ const mn = class yn extends J {
|
|
|
3693
3695
|
}
|
|
3694
3696
|
};
|
|
3695
3697
|
mn.EVENT_DATA = "list-config:update";
|
|
3696
|
-
let
|
|
3697
|
-
class
|
|
3698
|
+
let Fo = mn;
|
|
3699
|
+
class Mo extends J {
|
|
3698
3700
|
constructor(e) {
|
|
3699
3701
|
super(), this.name = "Communication", this.read = () => {
|
|
3700
3702
|
}, this.id = e;
|
|
@@ -3706,7 +3708,7 @@ class Ma extends J {
|
|
|
3706
3708
|
return Ge.read(e).then((n) => n.length === 0 ? Ge.create(e) : n[0]);
|
|
3707
3709
|
}
|
|
3708
3710
|
}
|
|
3709
|
-
function
|
|
3711
|
+
function jo(t) {
|
|
3710
3712
|
const e = Y.getParentForm();
|
|
3711
3713
|
e ? e.subscribe(t) : console.warn(q.ParentFormNotFound());
|
|
3712
3714
|
const n = A([]);
|
|
@@ -3714,7 +3716,7 @@ function ja(t) {
|
|
|
3714
3716
|
array: n
|
|
3715
3717
|
};
|
|
3716
3718
|
}
|
|
3717
|
-
function
|
|
3719
|
+
function za(t) {
|
|
3718
3720
|
return typeof t != "object" || t === null ? !1 : !!(t.hasOwnProperty("start") || t.hasOwnProperty("end"));
|
|
3719
3721
|
}
|
|
3720
3722
|
function X(t) {
|
|
@@ -3724,10 +3726,10 @@ function X(t) {
|
|
|
3724
3726
|
const r = s.map((i) => typeof i == "string" ? `'${i}'` : i).join(", ");
|
|
3725
3727
|
return s.length && e.push(`@${n} in (${r})`), e;
|
|
3726
3728
|
}
|
|
3727
|
-
if (
|
|
3729
|
+
if (za(s)) {
|
|
3728
3730
|
let r = function(i) {
|
|
3729
|
-
var
|
|
3730
|
-
return ((
|
|
3731
|
+
var o;
|
|
3732
|
+
return ((o = i.match(/([^Z]*)/)) == null ? void 0 : o[0]) + "0000Z";
|
|
3731
3733
|
};
|
|
3732
3734
|
return s.start && e.push(`@${n} ge ${r(s.start)}`), s.end && e.push(`@${n} le ${r(s.end)}`), e;
|
|
3733
3735
|
}
|
|
@@ -3762,33 +3764,33 @@ X.is = function(e, n) {
|
|
|
3762
3764
|
X.or = function(...e) {
|
|
3763
3765
|
return e.join(" or ");
|
|
3764
3766
|
};
|
|
3765
|
-
function
|
|
3767
|
+
function Ha(t, e = "images") {
|
|
3766
3768
|
return `/static-folder/${e}/${t}`;
|
|
3767
3769
|
}
|
|
3768
|
-
function
|
|
3770
|
+
function Ja(t, e, n) {
|
|
3769
3771
|
return t.reduce((s, r) => {
|
|
3770
|
-
var
|
|
3772
|
+
var a;
|
|
3771
3773
|
let i = typeof e == "function" ? e(r) : r[e];
|
|
3772
|
-
const
|
|
3773
|
-
return
|
|
3774
|
+
const o = (a = s[s.length - 1]) == null ? void 0 : a.value;
|
|
3775
|
+
return o && n(o, i) ? s[s.length - 1].array.push(r) : s.push({
|
|
3774
3776
|
value: i,
|
|
3775
3777
|
array: [r]
|
|
3776
3778
|
}), s;
|
|
3777
3779
|
}, []);
|
|
3778
3780
|
}
|
|
3779
|
-
function
|
|
3781
|
+
function Ka() {
|
|
3780
3782
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(
|
|
3781
3783
|
/[018]/g,
|
|
3782
3784
|
(t) => (t ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> t / 4).toString(16)
|
|
3783
3785
|
);
|
|
3784
3786
|
}
|
|
3785
|
-
function
|
|
3787
|
+
function xo(t, e = 1e3) {
|
|
3786
3788
|
let n = 0;
|
|
3787
3789
|
return (...s) => {
|
|
3788
3790
|
clearTimeout(n), n = setTimeout(() => t(...s), e);
|
|
3789
3791
|
};
|
|
3790
3792
|
}
|
|
3791
|
-
function
|
|
3793
|
+
function Uo(t, e) {
|
|
3792
3794
|
const n = G(null);
|
|
3793
3795
|
function s() {
|
|
3794
3796
|
return t.name ? _n.getById(t.name, e, []).then((r) => {
|
|
@@ -3811,21 +3813,21 @@ class wt extends Error {
|
|
|
3811
3813
|
return new wt("Status is undefined.");
|
|
3812
3814
|
}
|
|
3813
3815
|
}
|
|
3814
|
-
class
|
|
3816
|
+
class Ya extends wt {
|
|
3815
3817
|
}
|
|
3816
|
-
function
|
|
3818
|
+
function Bo(t, e) {
|
|
3817
3819
|
const n = A([]);
|
|
3818
|
-
async function s(i,
|
|
3820
|
+
async function s(i, o) {
|
|
3819
3821
|
if (!i)
|
|
3820
|
-
throw
|
|
3821
|
-
const
|
|
3822
|
-
n.splice(0, n.length), n.push(...
|
|
3822
|
+
throw Ya.UndefinedStatus();
|
|
3823
|
+
const a = await Ga.get({ criterion: i });
|
|
3824
|
+
n.splice(0, n.length), n.push(...a.map((l) => r(l, o)));
|
|
3823
3825
|
}
|
|
3824
3826
|
return {
|
|
3825
3827
|
actions: n,
|
|
3826
3828
|
update: s
|
|
3827
3829
|
};
|
|
3828
|
-
function r(i,
|
|
3830
|
+
function r(i, o) {
|
|
3829
3831
|
return {
|
|
3830
3832
|
title: i.title,
|
|
3831
3833
|
callback: () => (() => Promise.resolve().then(() => {
|
|
@@ -3835,7 +3837,7 @@ function Ba(t, e) {
|
|
|
3835
3837
|
method: "POST",
|
|
3836
3838
|
body: JSON.stringify({
|
|
3837
3839
|
keys: {
|
|
3838
|
-
Id:
|
|
3840
|
+
Id: o
|
|
3839
3841
|
},
|
|
3840
3842
|
contextId: $.contextId
|
|
3841
3843
|
}),
|
|
@@ -3862,7 +3864,7 @@ class Ke {
|
|
|
3862
3864
|
return fetch(`${Ke.url()}/status/${e}/${n}`).then((s) => s.json());
|
|
3863
3865
|
}
|
|
3864
3866
|
}
|
|
3865
|
-
function
|
|
3867
|
+
function qo(t) {
|
|
3866
3868
|
const e = A({
|
|
3867
3869
|
title: "Loading",
|
|
3868
3870
|
type: "wait"
|
|
@@ -3874,17 +3876,17 @@ function qa(t) {
|
|
|
3874
3876
|
});
|
|
3875
3877
|
}
|
|
3876
3878
|
return t.on(Y.EVENT_READ, (s) => {
|
|
3877
|
-
var
|
|
3879
|
+
var o, a;
|
|
3878
3880
|
const { code: r, name: i } = {
|
|
3879
|
-
code: (
|
|
3880
|
-
name: (
|
|
3881
|
+
code: (o = s.Status) == null ? void 0 : o.Code,
|
|
3882
|
+
name: (a = s.Status) == null ? void 0 : a.Name
|
|
3881
3883
|
};
|
|
3882
3884
|
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
3885
|
e.type = l.type, e.title = i;
|
|
3884
3886
|
}) : void console.log("Form without name.");
|
|
3885
3887
|
}), { label: e, update: n };
|
|
3886
3888
|
}
|
|
3887
|
-
function
|
|
3889
|
+
function Go(t, e) {
|
|
3888
3890
|
const n = $n(), s = L(() => Number(n.params.id)), r = A({
|
|
3889
3891
|
ready: !1,
|
|
3890
3892
|
show: !1
|
|
@@ -3893,7 +3895,7 @@ function Ga(t, e) {
|
|
|
3893
3895
|
r.ready = !1;
|
|
3894
3896
|
}), Ct(() => s.value, () => {
|
|
3895
3897
|
Number.isInteger(s.value) && t.read();
|
|
3896
|
-
}, { immediate: !0 }), t.read =
|
|
3898
|
+
}, { immediate: !0 }), t.read = Se.requestHandler.bind(
|
|
3897
3899
|
null,
|
|
3898
3900
|
() => Promise.resolve().then(() => {
|
|
3899
3901
|
if (!t.name)
|
|
@@ -3901,12 +3903,12 @@ function Ga(t, e) {
|
|
|
3901
3903
|
return K.readById(t.name, s.value, {
|
|
3902
3904
|
fields: e.fields
|
|
3903
3905
|
});
|
|
3904
|
-
}).then(
|
|
3906
|
+
}).then(Se.valuesToUpperCase).then((i) => (Number.isInteger(i.Version) && (t.version = i.Version), t.setValues(i), r.show = !0, i)).catch((i) => {
|
|
3905
3907
|
throw Object.prototype.hasOwnProperty.call(i, "status") && [403, 404].includes(i.status) && (r.show = !1), i;
|
|
3906
3908
|
}).finally(() => {
|
|
3907
3909
|
r.ready = !0;
|
|
3908
3910
|
})
|
|
3909
|
-
), t.save =
|
|
3911
|
+
), t.save = Se.requestHandler.bind(
|
|
3910
3912
|
null,
|
|
3911
3913
|
() => Promise.resolve().then(() => {
|
|
3912
3914
|
if (!t.name)
|
|
@@ -3919,7 +3921,7 @@ function Ga(t, e) {
|
|
|
3919
3921
|
formShadowState: r
|
|
3920
3922
|
};
|
|
3921
3923
|
}
|
|
3922
|
-
function
|
|
3924
|
+
function zo() {
|
|
3923
3925
|
const t = A({
|
|
3924
3926
|
contextId: $.contextId,
|
|
3925
3927
|
person: $.person,
|
|
@@ -3947,7 +3949,7 @@ function za() {
|
|
|
3947
3949
|
isPerson: n
|
|
3948
3950
|
};
|
|
3949
3951
|
}
|
|
3950
|
-
function
|
|
3952
|
+
function Ho(t, e) {
|
|
3951
3953
|
const n = A({
|
|
3952
3954
|
ready: !1,
|
|
3953
3955
|
show: !1
|
|
@@ -3963,9 +3965,9 @@ function Ha(t, e) {
|
|
|
3963
3965
|
return K.readById(t.name, r.id, {
|
|
3964
3966
|
fields: r.fields
|
|
3965
3967
|
});
|
|
3966
|
-
}).then(
|
|
3967
|
-
const
|
|
3968
|
-
throw M.add("error",
|
|
3968
|
+
}).then(Se.valuesToUpperCase).then((i) => (i.hasOwnProperty("Version") && (t.version = Number(i.Version)), t.setValues(i), n.show = !0, i)).catch((i) => {
|
|
3969
|
+
const o = He(i);
|
|
3970
|
+
throw M.add("error", o.message), o;
|
|
3969
3971
|
}).finally(() => {
|
|
3970
3972
|
n.ready = !0;
|
|
3971
3973
|
});
|
|
@@ -3978,12 +3980,12 @@ function Ha(t, e) {
|
|
|
3978
3980
|
}).then((i) => {
|
|
3979
3981
|
t.version = i.version || i.Version;
|
|
3980
3982
|
}).catch((i) => {
|
|
3981
|
-
const
|
|
3982
|
-
throw M.add("error",
|
|
3983
|
+
const o = He(i);
|
|
3984
|
+
throw M.add("error", o.message), o;
|
|
3983
3985
|
});
|
|
3984
3986
|
}, t.on(Y.EVENT_SAVE, t.read.bind(t)), { shadowFormState: n, initShadow: s };
|
|
3985
3987
|
}
|
|
3986
|
-
class
|
|
3988
|
+
class Jo {
|
|
3987
3989
|
static getRequiredDocuments(e, n, s) {
|
|
3988
3990
|
const r = new URLSearchParams({
|
|
3989
3991
|
entity: e,
|
|
@@ -3993,15 +3995,15 @@ class Ja {
|
|
|
3993
3995
|
return fetch(`/close-api/views/required-documents?${r.toString()}`).then((i) => i.json());
|
|
3994
3996
|
}
|
|
3995
3997
|
}
|
|
3996
|
-
class
|
|
3998
|
+
class Te {
|
|
3997
3999
|
static url() {
|
|
3998
4000
|
return "close-api/billing";
|
|
3999
4001
|
}
|
|
4000
4002
|
static getBillingMetadata(e) {
|
|
4001
|
-
return fetch(`/${
|
|
4003
|
+
return fetch(`/${Te.url()}/calculator/${e}`);
|
|
4002
4004
|
}
|
|
4003
4005
|
static calculate(e, n) {
|
|
4004
|
-
return
|
|
4006
|
+
return h(`/${Te.url()}/calculator`, {
|
|
4005
4007
|
method: "POST",
|
|
4006
4008
|
headers: {
|
|
4007
4009
|
"Content-Type": "application/json"
|
|
@@ -4041,7 +4043,7 @@ class Se {
|
|
|
4041
4043
|
* @description Метод для создания онлайн платежа.
|
|
4042
4044
|
* */
|
|
4043
4045
|
static createOnlinePayment(e, n) {
|
|
4044
|
-
return
|
|
4046
|
+
return h(`/${Te.url()}/online-payment`, {
|
|
4045
4047
|
method: "POST",
|
|
4046
4048
|
headers: {
|
|
4047
4049
|
"Content-Type": "application/json"
|
|
@@ -4057,7 +4059,7 @@ class Se {
|
|
|
4057
4059
|
* все полученные данные(в нашем случае весь URL) на аппсервер.
|
|
4058
4060
|
* */
|
|
4059
4061
|
static applyOnlinePayment(e) {
|
|
4060
|
-
return
|
|
4062
|
+
return h(`/${Te.url()}/online-payment`, {
|
|
4061
4063
|
method: "PUT",
|
|
4062
4064
|
headers: {
|
|
4063
4065
|
"Content-Type": "application/json"
|
|
@@ -4068,7 +4070,7 @@ class Se {
|
|
|
4068
4070
|
});
|
|
4069
4071
|
}
|
|
4070
4072
|
}
|
|
4071
|
-
class
|
|
4073
|
+
class Ko {
|
|
4072
4074
|
/**
|
|
4073
4075
|
* @description Загрузка конфигурации из списка
|
|
4074
4076
|
* */
|
|
@@ -4076,38 +4078,38 @@ class Ka {
|
|
|
4076
4078
|
const s = new URLSearchParams();
|
|
4077
4079
|
s.set("entity", e), n && s.set("mark", n);
|
|
4078
4080
|
const r = `/close-api/views/list/configs?${s.toString()}`;
|
|
4079
|
-
return
|
|
4081
|
+
return h(r);
|
|
4080
4082
|
}
|
|
4081
4083
|
}
|
|
4082
|
-
function
|
|
4084
|
+
function Xa(t) {
|
|
4083
4085
|
return t.statusName === "Completed";
|
|
4084
4086
|
}
|
|
4085
|
-
function
|
|
4087
|
+
function Za(t) {
|
|
4086
4088
|
return t.statusName === "FinalStepWithConfirmation";
|
|
4087
4089
|
}
|
|
4088
|
-
function
|
|
4090
|
+
function Qa(t) {
|
|
4089
4091
|
return t.statusName === "ValidationError";
|
|
4090
4092
|
}
|
|
4091
|
-
function
|
|
4093
|
+
function Yo(t, e, n) {
|
|
4092
4094
|
let s = null;
|
|
4093
4095
|
const r = A({
|
|
4094
4096
|
wait: null
|
|
4095
4097
|
});
|
|
4096
|
-
let i = [],
|
|
4097
|
-
const
|
|
4098
|
+
let i = [], o = null;
|
|
4099
|
+
const a = G(null);
|
|
4098
4100
|
function l() {
|
|
4099
|
-
|
|
4101
|
+
a.value = i.find((y) => y.name === o) || null;
|
|
4100
4102
|
}
|
|
4101
4103
|
function p() {
|
|
4102
4104
|
var y;
|
|
4103
|
-
return
|
|
4105
|
+
return o ? ((y = i.find((W) => W.name === o)) == null ? void 0 : y.fields) || [] : [];
|
|
4104
4106
|
}
|
|
4105
4107
|
function f(y) {
|
|
4106
|
-
if (l(),
|
|
4108
|
+
if (l(), Qa(y))
|
|
4107
4109
|
return void n.onValidation(y.validationResults);
|
|
4108
|
-
if ((y.statusName === "FinalStep" || y.statusName === "NextStep") && (!p().length ||
|
|
4110
|
+
if ((y.statusName === "FinalStep" || y.statusName === "NextStep") && (!p().length || eo(p(), n.presets)))
|
|
4109
4111
|
return re(n.presets || {});
|
|
4110
|
-
|
|
4112
|
+
Xa(y) && n.onCompleted(y), Za(y) && n.onConfirmation(y);
|
|
4111
4113
|
}
|
|
4112
4114
|
async function w() {
|
|
4113
4115
|
try {
|
|
@@ -4123,7 +4125,7 @@ function Ya(t, e, n) {
|
|
|
4123
4125
|
label: W.title,
|
|
4124
4126
|
name: W.stepName,
|
|
4125
4127
|
number: W.number,
|
|
4126
|
-
fields: W.frontendEntity.objectTypes.reduce((ie,
|
|
4128
|
+
fields: W.frontendEntity.objectTypes.reduce((ie, _e) => (_e.properties.forEach((ee) => {
|
|
4127
4129
|
ie.push({
|
|
4128
4130
|
name: ee.name,
|
|
4129
4131
|
label: ee.title,
|
|
@@ -4134,7 +4136,7 @@ function Ya(t, e, n) {
|
|
|
4134
4136
|
}).then((y) => (r.wait = !1, y));
|
|
4135
4137
|
}
|
|
4136
4138
|
function T(y) {
|
|
4137
|
-
return
|
|
4139
|
+
return o = y.nextStepName, s = y.token, y;
|
|
4138
4140
|
}
|
|
4139
4141
|
function S(y) {
|
|
4140
4142
|
const W = He(y);
|
|
@@ -4146,18 +4148,18 @@ function Ya(t, e, n) {
|
|
|
4146
4148
|
});
|
|
4147
4149
|
}
|
|
4148
4150
|
function re(y = {}) {
|
|
4149
|
-
return !s || !
|
|
4151
|
+
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
4152
|
r.wait = !1;
|
|
4151
4153
|
}));
|
|
4152
4154
|
}
|
|
4153
4155
|
return {
|
|
4154
4156
|
initialize: w,
|
|
4155
4157
|
state: r,
|
|
4156
|
-
currentStepConfig: Gt(
|
|
4158
|
+
currentStepConfig: Gt(a),
|
|
4157
4159
|
next: re
|
|
4158
4160
|
};
|
|
4159
4161
|
}
|
|
4160
|
-
function
|
|
4162
|
+
function eo(t, e) {
|
|
4161
4163
|
for (let n = 0; n < t.length; n++) {
|
|
4162
4164
|
const s = t[n];
|
|
4163
4165
|
if (!ue.getPropFromObject(e, s.name))
|
|
@@ -4165,13 +4167,13 @@ function ta(t, e) {
|
|
|
4165
4167
|
}
|
|
4166
4168
|
return !0;
|
|
4167
4169
|
}
|
|
4168
|
-
const
|
|
4169
|
-
class
|
|
4170
|
+
const to = "close-api/proxy/Equipment/Search";
|
|
4171
|
+
class Xo {
|
|
4170
4172
|
static search(e, n, s, r, i) {
|
|
4171
|
-
const
|
|
4172
|
-
|
|
4173
|
-
const
|
|
4174
|
-
return
|
|
4173
|
+
const o = new URLSearchParams();
|
|
4174
|
+
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)));
|
|
4175
|
+
const a = `/${to}?${o.toString()}`;
|
|
4176
|
+
return h(a, {
|
|
4175
4177
|
method: "GET",
|
|
4176
4178
|
headers: {
|
|
4177
4179
|
"Content-Type": "application/json"
|
|
@@ -4179,102 +4181,103 @@ class Xa {
|
|
|
4179
4181
|
});
|
|
4180
4182
|
}
|
|
4181
4183
|
}
|
|
4182
|
-
const
|
|
4183
|
-
clickOutside:
|
|
4184
|
+
const Zo = {
|
|
4185
|
+
clickOutside: Ae,
|
|
4184
4186
|
requestHandler: mt,
|
|
4185
4187
|
valuesToUpperCase: et,
|
|
4186
4188
|
prettyDate: vt,
|
|
4187
4189
|
prettyDateWithTime: dn,
|
|
4188
4190
|
Filter: X,
|
|
4189
|
-
staticLink:
|
|
4190
|
-
groupArrayByField:
|
|
4191
|
-
uuidv4:
|
|
4192
|
-
Request:
|
|
4191
|
+
staticLink: Ha,
|
|
4192
|
+
groupArrayByField: Ja,
|
|
4193
|
+
uuidv4: Ka,
|
|
4194
|
+
Request: h,
|
|
4193
4195
|
prettyMoney: rn
|
|
4194
|
-
},
|
|
4195
|
-
widgets:
|
|
4196
|
-
usage:
|
|
4197
|
-
utils:
|
|
4196
|
+
}, Qo = {
|
|
4197
|
+
widgets: xr,
|
|
4198
|
+
usage: Ur,
|
|
4199
|
+
utils: Qr,
|
|
4198
4200
|
mixins: kn,
|
|
4199
|
-
config:
|
|
4200
|
-
types:
|
|
4201
|
+
config: ei,
|
|
4202
|
+
types: ti
|
|
4201
4203
|
};
|
|
4202
4204
|
export {
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
$
|
|
4205
|
+
Gr as ApplicationManager,
|
|
4206
|
+
Mo as Communication,
|
|
4207
|
+
$o as ComputedMetadata,
|
|
4206
4208
|
q as CoreError,
|
|
4207
4209
|
X as Filter,
|
|
4208
4210
|
Q as List,
|
|
4209
|
-
|
|
4211
|
+
Fo as ListConfig,
|
|
4210
4212
|
$ as Manager,
|
|
4211
4213
|
Fe as MetadataStore,
|
|
4212
|
-
|
|
4214
|
+
Oo as ModalValidation,
|
|
4213
4215
|
M as NotificationSystem,
|
|
4214
4216
|
_t as ProcessWrap,
|
|
4215
|
-
|
|
4217
|
+
h as Request,
|
|
4216
4218
|
F as SYMBOL_ROW,
|
|
4217
4219
|
tt as Table,
|
|
4218
|
-
|
|
4220
|
+
Io as WidgetBreadcrumbs,
|
|
4219
4221
|
mr as WidgetButton,
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
+
Vo as WidgetCard,
|
|
4223
|
+
Po as WidgetForm,
|
|
4222
4224
|
R as WidgetIcon,
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
+
Ro as WidgetImage,
|
|
4226
|
+
Ao as WidgetList,
|
|
4225
4227
|
Yt as WidgetMultiButton,
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4228
|
+
Mr as WidgetNotificationSystem,
|
|
4229
|
+
ko as WidgetSection,
|
|
4230
|
+
ke as WidgetSpinner,
|
|
4231
|
+
No as WidgetTable,
|
|
4232
|
+
Ci as WidgetWait,
|
|
4233
|
+
Ga as actionService,
|
|
4231
4234
|
x as authService,
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
+
Te as billingService,
|
|
4236
|
+
Ae as clickOutside,
|
|
4237
|
+
qr 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
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4257
|
+
Co as setupSocket,
|
|
4258
|
+
Ce as t,
|
|
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,
|
|
4269
|
+
ci as useListOrder,
|
|
4270
|
+
li as useListProvide,
|
|
4268
4271
|
ai as useListRead,
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4272
|
+
yo as useListSearch,
|
|
4273
|
+
wo as useListSelect,
|
|
4274
|
+
oi as useListState,
|
|
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
|